]> git.pld-linux.org Git - packages/upx.git/commitdiff
- added opt patch
authorJan Rękorajski <baggins@pld-linux.org>
Thu, 28 Dec 2000 15:46:20 +0000 (15:46 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
- buildrequires glibc-static
- use RPM_OPT_FLAGS

Changed files:
    upx.spec -> 1.5

upx.spec

index 848eefa8b4eaefe8d7184417a73dbd68c02abe00..ec375cdbdf4f818014fa94b1da00c0aa860e08b0 100644 (file)
--- a/upx.spec
+++ b/upx.spec
@@ -8,7 +8,9 @@ Group:          Applications
 Group(de):     Applikationen
 Group(pl):     Aplikacje
 Source0:       http://wildsau.idv.uni-linz.ac.at/mfx/download/upx/%{name}-%{version}-src.tar.gz
+Patch0:                %{name}-opt.patch
 URL:           http://upx.tsx.org
+BuildRequires: glibc-static
 BuildRequires: ucl-devel
 Exclusivearch: %{ix86}
 BuildRoot:     %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
@@ -30,13 +32,14 @@ wa
 
 %prep
 %setup -q
+%patch0 -p1
 
 %build
 
 cd doc
-%{__make}
+%{__make} CFLAGS_O="$RPM_OPT_FLAGS"
 cd ../src
-%{__make} 
+%{__make} CFLAGS_O="$RPM_OPT_FLAGS"
 cd ..
 
 %install
This page took 0.02821 seconds and 4 git commands to generate.