SPECS: webCDwriter.spec - correct atributes in %file

wolvverine wolvverine at pld-linux.org
Sun Oct 2 20:21:45 CEST 2005


Author: wolvverine                   Date: Sun Oct  2 18:21:45 2005 GMT
Module: SPECS                         Tag: HEAD
---- Log message:
- correct atributes in %file

---- Files affected:
SPECS:
   webCDwriter.spec (1.32 -> 1.33) 

---- Diffs:

================================================================
Index: SPECS/webCDwriter.spec
diff -u SPECS/webCDwriter.spec:1.32 SPECS/webCDwriter.spec:1.33
--- SPECS/webCDwriter.spec:1.32	Sun Oct  2 19:56:09 2005
+++ SPECS/webCDwriter.spec	Sun Oct  2 20:21:39 2005
@@ -13,7 +13,7 @@
 Summary(pl):	Narzędzie do sieciowego nagrywania CD
 Name:		webCDwriter
 Version:	2.7.2
-Release:	0.3
+Release:	0.4
 License:	GPL v2+
 Group:		Networking/Daemons
 Source0:	http://joerghaeger.de/webCDwriter/download/%{name}-%{version}.tar.bz2
@@ -141,20 +141,20 @@
 # XX: packaging policy violations
 #make "setgid root copies" of cdrdao, cdrecord, mkisofs and readcd
 
-#for tool in cdrdao cdrecord mkisofs readcd
-#do
-# 	if [ ! -e %{_bindir}/CDWserver/bin/$tool ]; then
-# 		if [ -e %{_bindir}/$tool ]; then
-# 			cp -af %{_bindir}/$tool %{_bindir}/CDWserver/bin/ || :
-# 		else
-# 			cp -af /usr/local/bin/$tool %{_bindir}/CDWserver/bin/ 2> /dev/null || :
-# 		fi
-# 	fi
-# 	if [ -e %{_bindir}/CDWserver/bin/$tool ]; then
-# 		%{__chown} root:%{CDWgroup} %{_bindir}/CDWserver/bin/$tool || :
-# 		%{__chmod} 4750 %{_bindir}/CDWserver/bin/$tool || :
-# 	fi
-# done
+for tool in cdrdao cdrecord mkisofs readcd
+do
+ 	if [ ! -e %{_bindir}/CDWserver/bin/$tool ]; then
+ 		if [ -e %{_bindir}/$tool ]; then
+ 			cp -af %{_bindir}/$tool %{_bindir}/CDWserver/bin/ || :
+ 		else
+ 			cp -af /usr/local/bin/$tool %{_bindir}/CDWserver/bin/ 2> /dev/null || :
+ 		fi
+ 	fi
+ 	if [ -e %{_bindir}/CDWserver/bin/$tool ]; then
+ 		%{__chown} root:%{CDWgroup} %{_bindir}/CDWserver/bin/$tool || :
+ 		%{__chmod} 4750 %{_bindir}/CDWserver/bin/$tool || :
+ 	fi
+done
 
 #move old projects files to new localization (FHS)
 if [ -e /home/CDWserver/ ]; then
@@ -194,9 +194,9 @@
 /etc/pam.d/cdwserver
 /etc/CDWserver/mime.types
 %attr(600,%{CDWuser},%{CDWgroup}) %config(noreplace) %verify(not md5 mtime size) /etc/CDWserver/accounts
-%config(noreplace) %attr(650, %{CDWuser}, %{CDWgroup}) %verify(not md5 mtime size) /etc/CDWserver/config
-%attr(650,root,%{CDWgroup}) %verify(not md5 mtime size) /etc/CDWserver/config.default
-%config(noreplace) %attr(650, root, %{CDWgroup}) %verify(not md5 mtime size)/etc/CDWserver/config-root
+%config(noreplace) %attr(640, %{CDWuser}, %{CDWgroup}) %verify(not md5 mtime size) /etc/CDWserver/config
+%attr(640,root,%{CDWgroup}) %verify(not md5 mtime size) /etc/CDWserver/config.default
+%config(noreplace) %attr(640, root, %{CDWgroup}) %verify(not md5 mtime size)/etc/CDWserver/config-root
 %config(noreplace) %verify(not md5 mtime size) /etc/CDWserver/greeting
 %config(noreplace) %verify(not md5 mtime size) /etc/CDWserver/waitForCD
 %attr(600,%{CDWuser},%{CDWgroup}) %config(noreplace) %verify(not md5 mtime size) /etc/CDWserver/password
@@ -279,6 +279,9 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.33  2005/10/02 18:21:39  wolvverine
+- correct atributes in %file
+
 Revision 1.32  2005/10/02 17:56:09  wolvverine
 - correct %pre
 
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/SPECS/webCDwriter.spec?r1=1.32&r2=1.33&f=u




More information about the pld-cvs-commit mailing list