From: Jan Rękorajski Date: Tue, 20 Jul 1999 11:04:33 +0000 (+0000) Subject: - fixed usage of macros X-Git-Tag: fake-1_1_6-1~8 X-Git-Url: http://git.pld-linux.org/?p=packages%2Ffake.git;a=commitdiff_plain;h=8c753cd46b72c844d8409982cce7551947a2a6fb - fixed usage of macros - added/removed neccesary/obsolete patches - FHS 2.0 compliance where needed - gzipping docs where needed Changed files: fake.spec -> 1.7 --- diff --git a/fake.spec b/fake.spec index 82f8b7e..385839f 100644 --- a/fake.spec +++ b/fake.spec @@ -4,7 +4,7 @@ Version: 1.1.1 Release: 2 Copyright: GPL Group: Networking/Utilities -Source: ftp://ftp.zipworld.com.au/pub/linux/fake/fake-%{ver}.tar.gz +Source: ftp://ftp.zipworld.com.au/pub/linux/fake/%{name}-%{version}.tar.gz URL: http://linux.zipworld.com.au/redundant_linux/ BuildRoot: /tmp/%{name}-%{version}-root @@ -18,15 +18,16 @@ switch in backup servers on a LAN. make patch %build -CFLAGS="${RPM_OPT_FLAGS}" -make +make CC="gcc $RPM_OPT_FLAGS" %install rm -rf $RPM_BUILD_ROOT make ROOT_DIR=$RPM_BUILD_ROOT install -gzip -9nf README AUTHORS ChangeLog docs/{arp_fun,redundant_linux.txt}.txt +rm -rf $RPM_BUILD_ROOT/etc/fake/run/CVS + +gzip -9nf README AUTHORS ChangeLog docs/{arp_fun,redundant_linux}.txt %clean rm -rf $RPM_BUILD_ROOT @@ -34,8 +35,8 @@ rm -rf $RPM_BUILD_ROOT %files %defattr(644,root,root,755) %doc *.gz docs/*.txt.gz -%{prefix}/bin/send_arp -%{prefix}/bin/fake +%attr(755,root,root) %{_bindir}/send_arp +%attr(755,root,root) %{_bindir}/fake %config /etc/fake/.fakerc %config /etc/fake/clear_routers %config /etc/fake/instance_config/203.12.97.7.cfg