From ab57bc28b4d2b80846bab2b79a31e64a6e8555c2 Mon Sep 17 00:00:00 2001 From: Sebastian Zagrodzki Date: Wed, 23 Aug 2000 16:57:32 +0000 Subject: [PATCH] - added examples patch Changed files: botnet.spec -> 1.5 --- botnet.spec | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/botnet.spec b/botnet.spec index 9359cf4..e49e3b3 100644 --- a/botnet.spec +++ b/botnet.spec @@ -8,6 +8,7 @@ Group: Libraries Group(fr): Librairies Group(pl): Biblioteki Source0: http://zekiller.skytech.org/fichiers/botnet/%{name}-%{version}.tar.gz +Patch0: %{name}-examples.patch URL: http://zekiller.skytech.org/main.html BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) @@ -59,6 +60,8 @@ korzystaj %prep %setup -q +%patch0 -p1 + %build aclocal @@ -66,7 +69,7 @@ autoheader autoconf automake -LDFLAGS="-s" ; export LDFLAGS +LDFLAGS="-s"; export LDFLAGS %configure %{__make} @@ -77,7 +80,8 @@ rm -rf $RPM_BUILD_ROOT install -d $RPM_BUILD_ROOT%{_examplesdir}/%{name}-%{version} %{__make} DESTDIR=$RPM_BUILD_ROOT install -install example/*.c $RPM_BUILD_ROOT%{_examplesdir}/%{name}-%{version} +install example/*.c $RPM_BUILD_ROOT/%{_examplesdir}/%{name}-%{version} +install example/Makefile.new $RPM_BUILD_ROOT/%{_examplesdir}/%{name}-%{version}/Makefile strip --strip-unneeded $RPM_BUILD_ROOT%{_libdir}/*.so.*.* -- 2.43.0