]> git.pld-linux.org Git - packages/pwdutils.git/commitdiff
- mark /etc/shadow as config (if you don't want to lose your /etc/shadow when switchi...
authorArkadiusz Miśkiewicz <arekm@maven.pl>
Sun, 4 Jan 2004 03:10:11 +0000 (03:10 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
Changed files:
    pwdutils.spec -> 1.13

pwdutils.spec

index 80a0f3daf43a913d606e7b306e1f6b3736ea326f..45c5c9265631d366488211cdd1fa17e07539b05c 100644 (file)
@@ -95,6 +95,8 @@ install %{SOURCE6} $RPM_BUILD_ROOT/etc/pam.d/chsh
 install %{SOURCE7} $RPM_BUILD_ROOT/etc/pam.d/passwd
 install %{SOURCE8} $RPM_BUILD_ROOT/etc/pam.d/useradd
 
+:> $RPM_BUILD_ROOT/etc/shadow
+
 %find_lang %{name}
 
 %clean
@@ -127,6 +129,7 @@ fi
 %files -f %{name}.lang
 %defattr(644,root,root,755)
 %doc ChangeLog NEWS README THANKS TODO
+%attr(600,root,root) %config(noreplace) %verify(not md5 size mtime) %ghost %{_sysconfdir}/shadow
 %attr(750,root,root) %dir %{_sysconfdir}/default
 %attr(640,root,root) %config(noreplace) %verify(not md5 size mtime) %{_sysconfdir}/default/*
 %attr(750,root,root) %dir %{_sysconfdir}/%{name}
This page took 0.039908 seconds and 4 git commands to generate.