Changed files:
botnet.spec -> 1.5
Group(fr): Librairies
Group(pl): Biblioteki
Source0: http://zekiller.skytech.org/fichiers/botnet/%{name}-%{version}.tar.gz
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)
URL: http://zekiller.skytech.org/main.html
BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
-LDFLAGS="-s" ; export LDFLAGS
+LDFLAGS="-s"; export LDFLAGS
install -d $RPM_BUILD_ROOT%{_examplesdir}/%{name}-%{version}
%{__make} DESTDIR=$RPM_BUILD_ROOT install
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.*.*
strip --strip-unneeded $RPM_BUILD_ROOT%{_libdir}/*.so.*.*