[volume_key] Use BuildRequires: /usr/bin/gpg instead of gnupg

Miloslav Trmac mitr at fedoraproject.org
Mon Aug 6 12:11:08 UTC 2012


commit 85c6d0916a154a8b2967ee5a47f7959f5edb6269
Author: Miloslav Trmač <mitr at redhat.com>
Date:   Mon Aug 6 14:09:50 2012 +0200

    Use BuildRequires: /usr/bin/gpg instead of gnupg
    
    This makes the spec file compatible with RHEL, which doesn't ship GnuPG
    1, only a compat symlink.

 volume_key.spec |    7 +++++--
 1 files changed, 5 insertions(+), 2 deletions(-)
---
diff --git a/volume_key.spec b/volume_key.spec
index d40e5ea..5835ef9 100644
--- a/volume_key.spec
+++ b/volume_key.spec
@@ -3,14 +3,14 @@
 Summary: An utility for manipulating storage encryption keys and passphrases
 Name: volume_key
 Version: 0.3.8
-Release: 3%{?dist}
+Release: 4%{?dist}
 License: GPLv2
 Group: Applications/System
 URL: https://fedorahosted.org/volume_key/
 Requires: volume_key-libs%{?_isa} = %{version}-%{release}
 
 Source0: https://fedorahosted.org/releases/v/o/volume_key/volume_key-%{version}.tar.xz
-BuildRequires: cryptsetup-luks-devel, gettext-devel, glib2-devel, gnupg
+BuildRequires: cryptsetup-luks-devel, gettext-devel, glib2-devel, /usr/bin/gpg
 BuildRequires: gpgme-devel, libblkid-devel, nss-devel, python-devel
 
 %description
@@ -114,6 +114,9 @@ rm -rf $RPM_BUILD_ROOT
 %{python_sitearch}/volume_key.py*
 
 %changelog
+* Mon Aug  6 2012 Miloslav Trmač <mitr at redhat.com> - 0.3.8-4
+- Use BuildRequires: /usr/bin/gpg instead of gnupg, for compatibility with RHEL
+
 * Mon Jul 23 2012 Miloslav Trmač <mitr at redhat.com> - 0.3.8-3
 - Add Requires: /usr/bin/gpg
   Resolves: #842074


More information about the scm-commits mailing list