Sophie

Sophie

distrib > Mandriva > 2009.0 > i586 > by-pkgid > abe02a8c1db8f48800acc66e1c34af27 > files > 3

ccs-tools-1.6.4-1mnb2.src.rpm


As we build every rpm as a normal user, not as root, we cant use 
chown here.

It's also no point as the filelist defattr and attr sets them correctly for us.

Signed-off-by: Thomas Backlund <tmb@mandriva.org>

--- ccstools/Makefile.orig	2008-08-04 22:53:53.000000000 +0300
+++ ccstools/Makefile	2008-08-04 22:54:19.000000000 +0300
@@ -22,7 +22,7 @@ install: all
 	cp -af --remove-destination realpath domainmatch init_policy.sh tomoyo_init_policy.sh $(INSTALLDIR)/usr/lib/ccs/
 	cp -af --remove-destination $(MISC_FILES) $(INSTALLDIR)/usr/lib/ccs/misc/
 	cp -af --remove-destination README.ccs COPYING.ccs $(INSTALLDIR)/usr/lib/ccs/
-	chown -R root:root ccs-init tomoyo-init $(INSTALLDIR)/usr/lib/ccs/
+###	chown -R root:root ccs-init tomoyo-init $(INSTALLDIR)/usr/lib/ccs/
 	chmod 4755 $(INSTALLDIR)/usr/lib/ccs/misc/force-logout
 	chmod 700 ccs-init tomoyo-init
 	cp -af --remove-destination ccs-init tomoyo-init $(INSTALLDIR)/sbin/