SPECS: smokeping.spec - more verbose %files - adapterized

pawelz pawelz at pld-linux.org
Sun Sep 21 20:56:25 CEST 2008


Author: pawelz                       Date: Sun Sep 21 18:56:25 2008 GMT
Module: SPECS                         Tag: HEAD
---- Log message:
- more verbose %files
- adapterized

---- Files affected:
SPECS:
   smokeping.spec (1.51 -> 1.52) 

---- Diffs:

================================================================
Index: SPECS/smokeping.spec
diff -u SPECS/smokeping.spec:1.51 SPECS/smokeping.spec:1.52
--- SPECS/smokeping.spec:1.51	Mon Aug  4 13:37:34 2008
+++ SPECS/smokeping.spec	Sun Sep 21 20:56:19 2008
@@ -67,7 +67,7 @@
 decruft() { %{__sed} -i -e "s|$1|$2|g" `grep -lr "$1" *` ;}
 
 # eliminate Tobi's quirks
-decruft /usr/sepp/bin %{_bindir}
+decruft %{_prefix}/sepp/bin %{_bindir}
 
 decruft /home/oetiker/data/projects/AADJ-smokeping/dist/etc	%{_sysconfdir}
 decruft /home/oetiker/data/projects/AADJ-smokeping/dist/lib	%{_datadir}/%{name}
@@ -76,7 +76,7 @@
 decruft '^use lib .*rrdtool.*;' ''
 
 # there's no SpeedyCGI for apache2? use regular perl...
-decruft %{_bindir}/speedy %{_bindir}/perl
+decruft %{_bindir}/speedy %{__perl}
 
 # working config in wrong location
 decruft "etc/config.dist" "%{_sysconfdir}/config"
@@ -182,13 +182,19 @@
 %files
 %defattr(644,root,root,755)
 %doc CHANGES CONTRIBUTORS COPYRIGHT README TODO doc/*.txt doc/*.html
-%attr(755,root,root) %{_sbindir}/*
+%attr(755,root,root) %{_sbindir}/smokeping
+%attr(755,root,root) %{_sbindir}/tSmoke
 %{_datadir}/smokeping
-%exclude %{_datadir}/smokeping/*.cgi
-%{_mandir}/man1/*.1*
+%exclude %{_datadir}/smokeping/smokeping.cgi
+%{_mandir}/man1/smokeping.1*
+%{_mandir}/man1/smokeping.cgi.1*
+%{_mandir}/man1/tSmoke.1*
 %dir %{_sysconfdir}
-%config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/*
-%attr(754,root,root) /etc/rc.d/init.d/*
+%config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/basepage.html
+%config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/config
+%config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/config.dist
+%config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/smokemail
+%attr(754,root,root) /etc/rc.d/init.d/smokeping
 %dir %{_sharedstatedir}/%{name}
 %{_sharedstatedir}/%{name}/rrd
 %dir %attr(775,root,http) %{_sharedstatedir}/%{name}/img
@@ -199,7 +205,7 @@
 %attr(640,root,root) %config(noreplace) %verify(not md5 mtime size) %{_wwwconfdir}/apache.conf
 %attr(640,root,root) %config(noreplace) %verify(not md5 mtime size) %{_wwwconfdir}/httpd.conf
 %attr(640,root,root) %config(noreplace) %verify(not md5 mtime size) %{_wwwconfdir}/lighttpd.conf
-%attr(755,root,root) %{_cgi_bindir}/*.cgi
+%attr(755,root,root) %{_cgi_bindir}/smokeping.cgi
 
 %define	date	%(echo `LC_ALL="C" date +"%a %b %d %Y"`)
 %changelog
@@ -207,6 +213,10 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.52  2008/09/21 18:56:19  pawelz
+- more verbose %files
+- adapterized
+
 Revision 1.51  2008/08/04 11:37:34  zbyniu
 - up to 2.4.1
 
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/SPECS/smokeping.spec?r1=1.51&r2=1.52&f=u



More information about the pld-cvs-commit mailing list