Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
V
vlc
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Redmine
Redmine
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Operations
Operations
Metrics
Environments
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
videolan
vlc
Commits
787c763b
Commit
787c763b
authored
Nov 30, 2007
by
Jean-Paul Saman
Committed by
Jean-Paul Saman
Mar 05, 2008
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Bailout when rpmbuild fails.
parent
1ec022da
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
4 deletions
+4
-4
extras/contrib/src/Makefile
extras/contrib/src/Makefile
+4
-4
No files found.
extras/contrib/src/Makefile
View file @
787c763b
...
...
@@ -193,15 +193,15 @@ define RPM_PREPARE
endef
define
RPM_BUILD_SPEC
CFLAGS
=
"
${CFLAGS}
"
LDFLAGS
=
"
${LDFLAGS}
"
$(RPMBUILD)
-v
--rcfile
/usr/lib/rpm/rpmrc:
${PREFIX}
/rpmrc
-ba
rpm/SPECS/
$(
subst
-rpm
,.spec,
$@
)
||
true
CFLAGS
=
"
${CFLAGS}
"
LDFLAGS
=
"
${LDFLAGS}
"
$(RPMBUILD)
-v
--rcfile
/usr/lib/rpm/rpmrc:
${PREFIX}
/rpmrc
-ba
rpm/SPECS/
$(
subst
-rpm
,.spec,
$@
endef
define RPM_REBUILD_SRC
CFLAGS
=
"
${CFLAGS}
"
LDFLAGS
=
"
${LDFLAGS}
"
$(RPMBUILD)
-v
--rcfile
/usr/lib/rpm/rpmrc:
${PREFIX}
/rpmrc
--rebuild
$<
||
true
CFLAGS
=
"
${CFLAGS}
"
LDFLAGS
=
"
${LDFLAGS}
"
$(RPMBUILD)
-v
--rcfile
/usr/lib/rpm/rpmrc:
${PREFIX}
/rpmrc
--rebuild
$<
endef
define RPM_BUILD_COMPRESSED
CFLAGS
=
"
${CFLAGS}
"
LDFLAGS
=
"
${LDFLAGS}
"
$(RPMBUILD)
-v
--rcfile
/usr/lib/rpm/rpmrc:
${PREFIX}
/rpmrc
-ta
$<
||
true
CFLAGS
=
"
${CFLAGS}
"
LDFLAGS
=
"
${LDFLAGS}
"
$(RPMBUILD)
-v
--rcfile
/usr/lib/rpm/rpmrc:
${PREFIX}
/rpmrc
-ta
$<
endef
### Darwin-specific ###
...
...
@@ -1123,7 +1123,7 @@ libdvdnav-rpm: libdvdnav-$(LIBDVDNAV_VERSION).tar.bz2
$(RPM_PREPARE)
cp
Patches/dvdnav.patch rpm/SOURCES/
cp
libdvdnav/misc/libdvdnav.spec rpm/SPECS/
sed
-e
's/%define prefix \/home\/jpsaman\/Source\/vlc-0.8.6c-bugfix-m2x.git\/extras\/contrib/%define prefix \/usr/'
-e
's/Copyright: GPL/License: GPL\nPatch0: dvdnav.patch/'
-e
's/%setup/%setup -n libdvdnav-
${LIBDVDNAV_VERSION}
\n%patch -p1/'
-e
's/%{name}-%{version}.tar.gz/%{name}-
${LIBDVDNAV_VERSION}
.tar.bz2/'
-e
's/#\/dvdnav.m4/%{prefix}\/include\/dvdread\/\*\n%{prefix}\/lib\/libdvdread.\*\n%{prefix}\/share\/aclocal\/dvdnav.m4/'
-i
.orig rpm/SPECS/libdvdnav.spec
sed
-e
's/%define prefix \/home\/jpsaman\/Source\/vlc-0.8.6c-bugfix-m2x.git\/extras\/contrib/%define prefix \/usr/'
-e
's/Copyright: GPL/License: GPL\nPatch0: dvdnav.patch/'
-e
's/%setup/%setup -n libdvdnav-
${LIBDVDNAV_VERSION}
\n%patch -p1/'
-e
's/%{name}-%{version}.tar.gz/%{name}-
${LIBDVDNAV_VERSION}
.tar.bz2/'
-e
's/#\/dvdnav.m4/%{prefix}\/include\/dvdread\/\*\n%{prefix}\/lib\/libdvdread.\*\n%{prefix}\/share\/aclocal\/dvdnav.m4/'
-
e
's/configure/configure --enable-static --with-libdvdcss=$
${RPM_BUILD_DIR}
\/libdvdcss/'
-
i
.orig rpm/SPECS/libdvdnav.spec
$(RPM_BUILD_SPEC)
touch
$@
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment