Use ruby($lib) for augeas and shadow requirements

This is more compatible with all Fedora and EPEL branches than using the
ruby-$lib package name.
epel9
Todd Zullinger 13 years ago
parent 56447683b8
commit 05448476bc

@ -38,7 +38,7 @@ BuildArch: noarch
%if "%{ruby_version}"
Requires: ruby(abi) = %{ruby_version}
%endif
Requires: ruby-shadow
Requires: ruby(shadow)
%endif
# Pull in ruby selinux bindings where available
@ -54,7 +54,7 @@ Requires: facter >= 1.5
%if "%{ruby_version}" == "1.8"
Requires: ruby >= 1.8.5
%endif
%{!?_without_augeas:Requires: ruby-augeas}
%{!?_without_augeas:Requires: ruby(augeas)}
Requires(pre): shadow-utils
Requires(post): chkconfig
@ -279,6 +279,7 @@ rm -rf %{buildroot}
- Move rpmlint fixes to %%prep, add a few additional fixes
- Bump minimum ruby version to 1.8.5 now that EL-4 is all but dead
- Update install locations for Fedora-17 / Ruby-1.9
- Use ruby($lib) for augeas and shadow requirements
* Thu Jan 05 2012 Todd Zullinger <tmz@pobox.com> - 2.6.13-2
- Revert to minimal patch for augeas >= 0.10 (bz#771097)

Loading…
Cancel
Save