X-Git-Url: http://git.pld-linux.org/?a=blobdiff_plain;f=chpax.spec;fp=chpax.spec;h=f956efe78b9399c3a804e5c87140011328cc864c;hb=f08807a6007a9a3c352b436dda991955977d2529;hp=263a242865766d8c9ab141e3e7fe1e2490e420c9;hpb=2f80c0a9884f5ac2539a8e98d31f32ec106719eb;p=packages%2Fchpax.git diff --git a/chpax.spec b/chpax.spec index 263a242..f956efe 100644 --- a/chpax.spec +++ b/chpax.spec @@ -2,13 +2,12 @@ Summary: Manage PaX flags for ELF and a.out binaries Summary(pl): Zarz±dca znaczników PaX dla binarek ELF oraz a.out Name: chpax Version: 0.5 -Release: 0 +Release: 1 License: Public Domain Group: Applications/System Source0: http://pageexec.virtualave.net/%{name}-%{version}.tar.gz # Source0-md5: aeb0c1aae2c087df369a4c30e0f1adbd -#Source1: http://www.openwall.com/linux/linux-2.2.21-ow2.tar.gz -# Source1-md5: f84249514f5ae1f7c445955725738174 +Patch0: %{name}-elf.patch URL: http://pageexec.virtualave.net/ BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) @@ -26,14 +25,12 @@ odpowiednio za %prep %setup -q -#tar -xzf %{SOURCE1} -#cp `find -name chstk.c` . +%patch0 -p2 %build %{__make} \ CC="%{__cc}" \ CFLAGS="%{rpmcflags}" -#%{__cc} %{rpmcflags} %{rpmldflags} -o chstk chstk.c %install rm -rf $RPM_BUILD_ROOT