diff options
-rw-r--r-- | conf/redhat/puppet.spec | 16 |
1 files changed, 15 insertions, 1 deletions
diff --git a/conf/redhat/puppet.spec b/conf/redhat/puppet.spec index 2266f8a99..080741029 100644 --- a/conf/redhat/puppet.spec +++ b/conf/redhat/puppet.spec @@ -2,10 +2,13 @@ %define pbuild %{_builddir}/%{name}-%{version} %define confdir conf/redhat +%define has_ruby_abi 0%{?fedora:%fedora} >= 5 || 0%{?rhel:%rhel} >= 5 +%define has_ruby_noarch %has_ruby_abi + Summary: A network tool for managing many disparate systems Name: puppet Version: 0.20.1 -Release: 1%{?dist} +Release: 2%{?dist} License: GPL Group: System Environment/Base @@ -13,10 +16,14 @@ URL: http://reductivelabs.com/projects/puppet/ Source: http://reductivelabs.com/downloads/puppet/%{name}-%{version}.tgz Requires: ruby >= 1.8.1 +%if %has_ruby_abi Requires: ruby(abi) = 1.8 +%endif Requires: facter >= 1.1.4 BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) +%if %has_ruby_noarch BuildArchitectures: noarch +%endif BuildRequires: ruby >= 1.8.1 %description @@ -127,6 +134,13 @@ fi %{__rm} -rf %{buildroot} %changelog +* Mon Nov 20 2006 David Lutterkort <dlutter@redhat.com> - 0.20.1-2 +- Make require ruby(abi) and buildarch: noarch conditional for fedora 5 or + later to allow building on older fedora releases + +* Mon Nov 13 2006 David Lutterkort <dlutter@redhat.com> - 0.20.1-1 +- New version + * Mon Oct 23 2006 David Lutterkort <dlutter@redhat.com> - 0.20.0-1 - New version |