diff options
author | Todd Zullinger <tmz@pobox.com> | 2010-05-03 14:54:39 -0400 |
---|---|---|
committer | test branch <puppet-dev@googlegroups.com> | 2010-02-17 06:50:53 -0800 |
commit | 6a66d5edeaab8979bad4527a82fa6cebd9b966f7 (patch) | |
tree | 38dbdb3cb8a33fa24cfde9cdbd24802579bd5b71 /conf | |
parent | 46c72bb1039029a4f0e7ccbdfe39ff24475ea844 (diff) | |
download | puppet-6a66d5edeaab8979bad4527a82fa6cebd9b966f7.tar.gz puppet-6a66d5edeaab8979bad4527a82fa6cebd9b966f7.tar.xz puppet-6a66d5edeaab8979bad4527a82fa6cebd9b966f7.zip |
Update Red Hat spec file for 0.25.5
With RHEL-6 just around the corner, now is also a good time to adjust
the ruby(selinux) conditional to work there. The rundir-perms patch
from tarball is applied rather than including it separately in the SRPM.
It makes for one less file to track in downstream distros. Other minor
changes are pulled in from the Fedora/EPEL spec file.
Diffstat (limited to 'conf')
-rw-r--r-- | conf/redhat/puppet.spec | 24 |
1 files changed, 15 insertions, 9 deletions
diff --git a/conf/redhat/puppet.spec b/conf/redhat/puppet.spec index aaebd5188..6791cea77 100644 --- a/conf/redhat/puppet.spec +++ b/conf/redhat/puppet.spec @@ -1,16 +1,17 @@ # Augeas and SELinux requirements may be disabled at build time by passing # --without augeas and/or --without selinux to rpmbuild or mock -%{!?ruby_sitelibdir: %define ruby_sitelibdir %(ruby -rrbconfig -e 'puts Config::CONFIG["sitelibdir"]')} -%define confdir conf/redhat +%{!?ruby_sitelibdir: %global ruby_sitelibdir %(ruby -rrbconfig -e 'puts Config::CONFIG["sitelibdir"]')} +%global confdir conf/redhat Name: puppet -Version: 0.25.2 +Version: 0.25.5 Release: 1%{?dist} Summary: A network tool for managing many disparate systems License: GPLv2+ -URL: http://puppet.reductivelabs.com/ -Source0: http://reductivelabs.com/downloads/puppet/%{name}-%{version}.tar.gz +URL: http://puppetlabs.com +Source0: http://puppetlabs.com/downloads/%{name}/%{name}-%{version}.tar.gz +Source1: http://puppetlabs.com/downloads/%{name}/%{name}-%{version}.tar.gz.sign Patch0: rundir-perms.patch Group: System Environment/Base @@ -26,10 +27,10 @@ Requires: ruby-shadow %endif # Pull in ruby selinux bindings where available -%if 0%{?fedora} -%if 0%{?fedora} >= 12 +%if 0%{?fedora} >= 12 || 0%{?rhel} >= 6 %{!?_without_selinux:Requires: ruby(selinux)} %else +%if 0%{?fedora} || 0%{?rhel} >= 5 %{!?_without_selinux:Requires: libselinux-ruby} %endif %endif @@ -65,7 +66,7 @@ The server can also function as a certificate authority and file server. %prep %setup -q -%patch0 -p1 +patch -p1 < conf/redhat/rundir-perms.patch %build # Fix some rpmlint complaints @@ -153,9 +154,9 @@ install -Dp -m0644 ext/vim/syntax/puppet.vim $vimdir/syntax/puppet.vim %attr(-, puppet, puppet) %{_localstatedir}/run/puppet %attr(-, puppet, puppet) %{_localstatedir}/log/puppet %attr(-, puppet, puppet) %{_localstatedir}/lib/puppet +%{_mandir}/man5/puppet.conf.5.gz %{_mandir}/man8/pi.8.gz %{_mandir}/man8/puppet.8.gz -%{_mandir}/man8/puppet.conf.8.gz %{_mandir}/man8/puppetca.8.gz %{_mandir}/man8/puppetd.8.gz %{_mandir}/man8/ralsh.8.gz @@ -220,6 +221,11 @@ fi rm -rf %{buildroot} %changelog +* Mon May 03 2010 Todd Zullinger <tmz@pobox.com> - 0.25.5-1 +- Update to 0.25.5 +- Adjust selinux conditional for EL-6 +- Apply rundir-perms patch from tarball rather than including it separately + * Fri Jan 01 2010 Todd Zullinger <tmz@pobox.com> - 0.25.2-1 - Update to 0.25.2 - Install auth.conf, puppetqd manpage, and queuing examples/docs |