commit 9f8028ac64982a94a92b9452295f9d0570c82736
Author: Elan Ruusamäe <[email protected]>
Date:   Sun Jun 7 21:52:52 2015 +0300

    use device-mapper-devel in deps as lvm2 is shadowed by vserver-packages

 ruby-di-ruby-lvm-attrib.spec | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)
---
diff --git a/ruby-di-ruby-lvm-attrib.spec b/ruby-di-ruby-lvm-attrib.spec
index 7999f8e..b78278f 100644
--- a/ruby-di-ruby-lvm-attrib.spec
+++ b/ruby-di-ruby-lvm-attrib.spec
@@ -10,13 +10,13 @@ Source0:    
http://rubygems.org/downloads/%{pkgname}-%{version}.gem
 Patch0:                
https://github.com/gregsymons/di-ruby-lvm-attrib/pull/26.patch
 # Patch0-md5:  162fa09f563143f5bc8c97804c5fef0f
 URL:           https://github.com/gregsymons/di-ruby-lvm-attrib
-BuildRequires: lvm2
+BuildRequires: device-mapper-devel
 BuildRequires: rpm-rubyprov
 BuildRequires: rpmbuild(macros) >= 1.656
 BuildRequires: sed >= 4.0
 # requires specific lvm2 version, because attributes need to be generated for 
each version
 # https://github.com/gregsymons/di-ruby-lvm-attrib#adding-attributes
-%requires_eq lvm2
+%requires_eq_to lvm2 device-mapper-devel
 BuildArch:     noarch
 BuildRoot:     %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
 
@@ -31,7 +31,7 @@ A list of attributes for LVM objects
 # as we have strict dep on lvm2 package, we do not need other versions
 install -d extra-attributes
 mv lib/lvm/attributes/* extra-attributes
-ver=$(rpm -q --qf '%{V}' lvm2)
+ver=$(rpm -q --qf '%{V}' device-mapper-devel)
 mv extra-attributes/$ver* lib/lvm/attributes
 
 %build
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/ruby-di-ruby-lvm-attrib.git/commitdiff/9f8028ac64982a94a92b9452295f9d0570c82736

_______________________________________________
pld-cvs-commit mailing list
[email protected]
http://lists.pld-linux.org/mailman/listinfo/pld-cvs-commit

Reply via email to