[packages/ruby-di-ruby-lvm-attrib] cleanup other version attributes
glen
glen at pld-linux.org
Fri Jun 5 11:01:09 CEST 2015
commit dfc3ef3a6c842398c6a05304727b8c748213c971
Author: Elan Ruusamäe <glen at delfi.ee>
Date: Fri Jun 5 12:00:29 2015 +0300
cleanup other version attributes
we have strict dep on lvm2 package, we do not need other versions
ruby-di-ruby-lvm-attrib.spec | 6 ++++++
1 file changed, 6 insertions(+)
---
diff --git a/ruby-di-ruby-lvm-attrib.spec b/ruby-di-ruby-lvm-attrib.spec
index e520f51..e53577b 100644
--- a/ruby-di-ruby-lvm-attrib.spec
+++ b/ruby-di-ruby-lvm-attrib.spec
@@ -27,6 +27,12 @@ A list of attributes for LVM objects
%patch0 -p1
%{__sed} -i -e '1 s,#!.*ruby,#!%{__ruby},' bin/*
+# 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)
+mv extra-attributes/$ver* lib/lvm/attributes
+
%build
# write .gemspec
%__gem_helper spec
================================================================
---- gitweb:
http://git.pld-linux.org/gitweb.cgi/packages/ruby-di-ruby-lvm-attrib.git/commitdiff/dfc3ef3a6c842398c6a05304727b8c748213c971
More information about the pld-cvs-commit
mailing list