[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

rpms/pm-utils/devel pm-utils.spec,1.37,1.38



Author: pjones

Update of /cvs/dist/rpms/pm-utils/devel
In directory cvs.devel.redhat.com:/tmp/cvs-serv2642

Modified Files:
	pm-utils.spec 
Log Message:
- install the right filename
- get "install" syntax right



Index: pm-utils.spec
===================================================================
RCS file: /cvs/dist/rpms/pm-utils/devel/pm-utils.spec,v
retrieving revision 1.37
retrieving revision 1.38
diff -u -r1.37 -r1.38
--- pm-utils.spec	14 Jun 2006 04:33:48 -0000	1.37
+++ pm-utils.spec	14 Jun 2006 04:42:40 -0000	1.38
@@ -79,11 +79,13 @@
 
 install -m 755 -d $RPM_BUILD_ROOT/%{_sysconfdir}/pam.d
 for x in %{SOURCE1} %{SOURCE2} %{SOURCE3} ; do
-	install -m 644 $x $RPM_BUILD_ROOT/%{_sysconfdir}/pam.d/${x%%.pam}
+	y=$(basename ${x%%.pam})
+	install -T -m 644 $x $RPM_BUILD_ROOT/%{_sysconfdir}/pam.d/$y
 done
 install -m 755 -d $RPM_BUILD_ROOT/%{_sysconfdir}/security/console.apps/
 for x in %{SOURCE4} %{SOURCE5} %{SOURCE6} ; do
-	install -m 644 $x $RPM_BUILD_ROOT/%{_sysconfdir}/security/console.apps/${x%%.app}
+	y=$(basename ${x%%.app})
+	install -T -m 644 $x $RPM_BUILD_ROOT/%{_sysconfdir}/security/console.apps/$y
 done
 install -m 755 -d $RPM_BUILD_ROOT/%{_bindir}
 pushd $RPM_BUILD_ROOT/%{_bindir}


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]