rpms/pam_mount/devel pam_mount.spec,1.29,1.30

Till Maas (till) fedora-extras-commits at redhat.com
Mon Jan 7 21:06:15 UTC 2008


Author: till

Update of /cvs/pkgs/rpms/pam_mount/devel
In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv11787

Modified Files:
	pam_mount.spec 
Log Message:
* Mon Jan 07 2008 Till Maas <opensource till name> - 0.32-2
- fix config conversion scriptlet



Index: pam_mount.spec
===================================================================
RCS file: /cvs/pkgs/rpms/pam_mount/devel/pam_mount.spec,v
retrieving revision 1.29
retrieving revision 1.30
diff -u -r1.29 -r1.30
--- pam_mount.spec	7 Jan 2008 20:34:54 -0000	1.29
+++ pam_mount.spec	7 Jan 2008 21:05:23 -0000	1.30
@@ -1,6 +1,6 @@
 Name:           pam_mount
 Version:        0.32
-Release:        1%{?dist}
+Release:        2%{?dist}
 Summary:        A PAM module that can mount volumes for a user session
 
 Group:          System Environment/Base
@@ -72,15 +72,8 @@
 rm -f %{buildroot}/%{_lib}/security/*.{a,la}
 
 
-%pre
-if [ $1 -gt 1 ]; then
-   # Upgrade
-   touch -a %{_sysconfdir}/security/pam_mount.conf.xml
-fi
-
 %post
-if [ -e %{_sysconfdir}/security/pam_mount.conf -a \
-     ! -s %{_sysconfdir}/security/pam_mount.conf.xml ]; then
+if [ -e %{_sysconfdir}/security/pam_mount.conf ]; then
     convert_pam_mount_conf.pl <%{_sysconfdir}/security/pam_mount.conf \
                               >%{_sysconfdir}/security/pam_mount.conf.xml;
 fi;
@@ -112,6 +105,9 @@
 
 
 %changelog
+* Mon Jan 07 2008 Till Maas <opensource till name> - 0.32-2
+- fix config conversion scriptlet
+
 * Mon Jan 07 2008 Till Maas <opensource till name> - 0.32-1
 - update to new version
 - add default/example config to %%doc




More information about the fedora-extras-commits mailing list