rpms/pam_mount/devel pam_mount.spec,1.57,1.58

Till Maas till at fedoraproject.org
Fri Aug 7 14:12:35 UTC 2009


Author: till

Update of /cvs/pkgs/rpms/pam_mount/devel
In directory cvs1.fedora.phx.redhat.com:/tmp/cvs-serv8161

Modified Files:
	pam_mount.spec 
Log Message:
* Fri Aug 07 2009 Till Maas <opensource at till.name> - 1.27-3
- Use %global instead of %define
- BR: lzip only if the tarball might be packaged with lzip / has a .lz suffix



Index: pam_mount.spec
===================================================================
RCS file: /cvs/pkgs/rpms/pam_mount/devel/pam_mount.spec,v
retrieving revision 1.57
retrieving revision 1.58
diff -u -p -r1.57 -r1.58
--- pam_mount.spec	25 Jul 2009 23:09:52 -0000	1.57
+++ pam_mount.spec	7 Aug 2009 14:12:35 -0000	1.58
@@ -1,8 +1,8 @@
-%define packext bz2
+%global packext bz2
 
 Name:           pam_mount
 Version:        1.27
-Release:        2%{?dist}
+Release:        3%{?dist}
 Summary:        A PAM module that can mount volumes for a user session
 
 Group:          System Environment/Base
@@ -18,7 +18,9 @@ BuildRoot:      %{_tmppath}/%{name}-%{ve
 BuildRequires:  glib2-devel, pam-devel, openssl-devel
 BuildRequires:  libxml2-devel
 BuildRequires:  libHX-devel >= 2.8
+%if %packext == lz
 BuildRequires:  lzip
+%endif
 Requires:       pam
 Requires:       libHX >= 2.8
 
@@ -110,6 +112,10 @@ rm -rf $RPM_BUILD_ROOT
 
 
 %changelog
+* Fri Aug 07 2009 Till Maas <opensource at till.name> - 1.27-3
+- Use %%global instead of %%define
+- BR: lzip only if the tarball might be packaged with lzip / has a .lz suffix
+
 * Sat Jul 25 2009 Fedora Release Engineering <rel-eng at lists.fedoraproject.org> - 1.27-2
 - Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild
 




More information about the scm-commits mailing list