]> git.pld-linux.org Git - packages/fake.git/commitdiff
- fixed usage of macros
authorJan Rękorajski <baggins@pld-linux.org>
Tue, 20 Jul 1999 11:04:33 +0000 (11:04 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
- added/removed neccesary/obsolete patches
- FHS 2.0 compliance where needed
- gzipping docs where needed

Changed files:
    fake.spec -> 1.7

fake.spec

index 82f8b7e4d1e19fc41226bdfe274ccd091c025563..385839f25905299e8f5918eacc04e269eedcfafc 100644 (file)
--- 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
This page took 0.071015 seconds and 4 git commands to generate.