[ruby-shadow: 1/2] Fix ruby_archdir conditional so shadow.so gets installed to the proper location on EL7
Sam Kottler
skottler at fedoraproject.org
Sat May 31 08:57:55 UTC 2014
commit f2c40ea51e9f4fb9e43c359e060cec7c83a5a0b7
Author: Sam Kottler <shk at linux.com>
Date: Sat May 31 04:50:11 2014 -0400
Fix ruby_archdir conditional so shadow.so gets installed to the proper location on EL7
ruby-shadow.spec | 7 +++++--
1 files changed, 5 insertions(+), 2 deletions(-)
---
diff --git a/ruby-shadow.spec b/ruby-shadow.spec
index b9f56f6..4e1bd29 100644
--- a/ruby-shadow.spec
+++ b/ruby-shadow.spec
@@ -1,4 +1,4 @@
-%if 0%{?fedora}
+%if 0%{?fedora} || 0%{?rhel} >= 7
%global ruby_archdir %{ruby_vendorarchdir}
%else
%global ruby_archdir %(ruby -rrbconfig -e 'puts RbConfig::CONFIG["sitearchdir"]')
@@ -6,7 +6,7 @@
Name: ruby-shadow
Version: 1.4.1
-Release: 21%{?dist}
+Release: 22%{?dist}
Summary: Ruby bindings for shadow password access
Group: System Environment/Libraries
License: Public Domain
@@ -51,6 +51,9 @@ rm -rf %{buildroot}
%{ruby_archdir}/shadow.so
%changelog
+* Sat May 31 2014 Sam Kottler <skottler at fedoraproject.org> - 1.4.1-22
+- Fix conditional so shadow.so gets installed to the proper location (BZ#1094046)
+
* Thu Jan 23 2014 Orion Poplawski <orion at cora.nwra.com> - 1.4.1-21
- Update ruby requires conditionals for EPEL7
More information about the scm-commits
mailing list