summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJan Rękorajski2000-12-28 15:46:20 (GMT)
committercvs2git2012-06-24 12:13:13 (GMT)
commit83bc65bad7938cd0e2bd0b18b1ddf65cea39a6e6 (patch)
tree75e4f241e5a9a28eb3d0beeb8fd115c8b50f142a
parenta704734a8b9f0db1ea212eb8807ee44cffee73c6 (diff)
downloadupx-83bc65bad7938cd0e2bd0b18b1ddf65cea39a6e6.zip
upx-83bc65bad7938cd0e2bd0b18b1ddf65cea39a6e6.tar.gz
- added opt patch
- buildrequires glibc-static - use RPM_OPT_FLAGS Changed files: upx.spec -> 1.5
-rw-r--r--upx.spec7
1 files changed, 5 insertions, 2 deletions
diff --git a/upx.spec b/upx.spec
index 848eefa..ec375cd 100644
--- 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żnych dla bezpieczeństwa systemu. Do pracy wymaga dostępu do systemu
%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