packages: freenet6-client/freenet6-client.spec - BR: libstdc++-devel - impr...

sparky sparky at pld-linux.org
Fri Jan 28 19:09:19 CET 2011


Author: sparky                       Date: Fri Jan 28 18:09:19 2011 GMT
Module: packages                      Tag: HEAD
---- Log message:
- BR: libstdc++-devel
- improved file flow: %post before %files

---- Files affected:
packages/freenet6-client:
   freenet6-client.spec (1.14 -> 1.15) 

---- Diffs:

================================================================
Index: packages/freenet6-client/freenet6-client.spec
diff -u packages/freenet6-client/freenet6-client.spec:1.14 packages/freenet6-client/freenet6-client.spec:1.15
--- packages/freenet6-client/freenet6-client.spec:1.14	Sun Mar 22 23:33:45 2009
+++ packages/freenet6-client/freenet6-client.spec	Fri Jan 28 19:09:14 2011
@@ -13,6 +13,7 @@
 Source2:	%{name}.conf
 Patch0:		%{name}-pld.patch
 URL:		http://www.freenet6.net/
+BuildRequires:	libstdc++-devel
 Requires(post,preun):	/sbin/chkconfig
 Requires:	glibc >= 2.2.1
 Requires:	iproute2 >= 2.2.4
@@ -104,18 +105,6 @@
 %clean
 rm -rf $RPM_BUILD_ROOT
 
-%files
-%defattr(644,root,root,755)
-%attr(755,root,root) %{_sbindir}/gw6c
-%dir %{_sysconfdir}/gw6c
-%config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/gw6c/gw6c.conf
-%attr(754,root,root) /etc/rc.d/init.d/*
-%dir %{_datadir}/gw6c
-%dir %{_datadir}/gw6c/template
-%{_datadir}/gw6c/template/linux.sh
-%{_mandir}/man5/*
-%{_mandir}/man8/*
-
 %post
 /sbin/chkconfig --add freenet6
 if [ -f /var/lock/subsys/freenet6 ]; then
@@ -132,12 +121,28 @@
 	/sbin/chkconfig --del freenet6
 fi
 
+%files
+%defattr(644,root,root,755)
+%attr(755,root,root) %{_sbindir}/gw6c
+%dir %{_sysconfdir}/gw6c
+%config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/gw6c/gw6c.conf
+%attr(754,root,root) /etc/rc.d/init.d/*
+%dir %{_datadir}/gw6c
+%dir %{_datadir}/gw6c/template
+%{_datadir}/gw6c/template/linux.sh
+%{_mandir}/man5/*
+%{_mandir}/man8/*
+
 %define date	%(echo `LC_ALL="C" date +"%a %b %d %Y"`)
 %changelog
 * %{date} PLD Team <feedback at pld-linux.org>
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.15  2011/01/28 18:09:14  sparky
+- BR: libstdc++-devel
+- improved file flow: %post before %files
+
 Revision 1.14  2009/03/22 22:33:45  baggins
 - unified: removed _initrddir macro usage
 
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/packages/freenet6-client/freenet6-client.spec?r1=1.14&r2=1.15&f=u



More information about the pld-cvs-commit mailing list