Projects
Essentials
MPlayer
Sign Up
Log In
Username
Password
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
Expand all
Collapse all
Changes of Revision 100
View file
MPlayer.spec
Changed
@@ -206,7 +206,6 @@ Patch13: MPlayer-fix_win32_pointer_casts.patch # PATCH-PACKMAN-FIX change include path for libsmbclient with samba 4.0 Patch15: MPlayer-samba4-include-path.patch -Patch20: MPlayer-svn_version.patch Patch21: MPlayer-1.0rc4-distro-config.patch # fixes for crashes found while fixing CVE-2008-1558 Patch22: MPlayer-rtsp-extra-fixes.patch @@ -490,10 +489,6 @@ %patch5 %patch13 %patch15 -# only apply if packaging an SVN snapshot: -%if 0%{?revision} -%patch20 -%endif %patch21 %patch22 %patch25 @@ -511,12 +506,7 @@ %patch40 %build -%if 0%{?revision} -sed -i 's|@@SVN_REVISION@@|%{revision}|g;s|@@SUSE_VERSION@@|%{suseversion}-Packman|g' ./version.sh -%else -gawk '{gsub ("%{version}-","%{version}-%{suseversion}-Packman-"); print $0}' <version.sh >version.sh.patched -mv version.sh.patched version.sh -%endif +echo '%{version}-Packman' > VERSION export HOSTCFLAGS="$RPM_OPT_FLAGS `pkg-config --cflags libavutil`" export CFLAGS="$CFLAGS $RPM_OPT_FLAGS -fno-strict-aliasing -fomit-frame-pointer"
View file
MPlayer-svn_version.patch
Deleted
@@ -1,18 +0,0 @@ ---- version.sh.orig 2013-01-21 04:08:18.000000000 +0100 -+++ version.sh 2013-11-04 12:05:07.752711400 +0100 -@@ -8,13 +8,8 @@ - if test -z $version ; then - # Extract revision number from file used by daily tarball snapshots - # or from the places different Subversion versions have it. --svn_revision=$(cat snapshot_version 2> /dev/null) --test $svn_revision || svn_revision=$(LC_ALL=C svn info 2> /dev/null | grep Revision | cut -d' ' -f2) --test $svn_revision || svn_revision=$(grep revision .svn/entries 2>/dev/null | cut -d '"' -f2) --test $svn_revision || svn_revision=$(sed -n -e '/^dir$/{n;p;q;}' .svn/entries 2>/dev/null) --test $svn_revision && svn_revision=SVN-r$svn_revision --test $svn_revision || svn_revision=UNKNOWN --version=$svn_revision -+svn_revision='@@SVN_REVISION@@' -+suse_version='@@SUSE_VERSION@@' - fi - - NEW_REVISION="#define VERSION \"${version}${extra}\""
Locations
Projects
Search
Status Monitor
Help
Open Build Service
OBS Manuals
API Documentation
OBS Portal
Reporting a Bug
Contact
Mailing List
Forums
Chat (IRC)
Twitter
Open Build Service (OBS)
is an
openSUSE project
.