rpms/puppet/F-9 .cvsignore, 1.25, 1.26 puppet.spec, 1.30, 1.31 sources, 1.26, 1.27
Todd M. Zullinger
tmz at fedoraproject.org
Tue Mar 24 01:04:45 UTC 2009
- Previous message (by thread): rpms/puppet/F-10 .cvsignore, 1.25, 1.26 puppet.spec, 1.30, 1.31 sources, 1.26, 1.27
- Next message (by thread): rpms/qemu/devel .cvsignore, 1.12, 1.13 qemu.spec, 1.68, 1.69 sources, 1.12, 1.13 kvm-fix-strayR.patch, 1.1, NONE
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
Author: tmz
Update of /cvs/extras/rpms/puppet/F-9
In directory cvs1.fedora.phx.redhat.com:/tmp/cvs-serv14115/F-9
Modified Files:
.cvsignore puppet.spec sources
Log Message:
Update to 0.24.8
- Quiet output from %pre
- Use upstream install script
- Increase required facter version to >= 1.5
Index: .cvsignore
===================================================================
RCS file: /cvs/extras/rpms/puppet/F-9/.cvsignore,v
retrieving revision 1.25
retrieving revision 1.26
diff -u -r1.25 -r1.26
--- .cvsignore 16 Dec 2008 08:45:53 -0000 1.25
+++ .cvsignore 24 Mar 2009 01:04:15 -0000 1.26
@@ -1 +1 @@
-puppet-0.24.7.tgz
+puppet-0.24.8.tgz
Index: puppet.spec
===================================================================
RCS file: /cvs/extras/rpms/puppet/F-9/puppet.spec,v
retrieving revision 1.30
retrieving revision 1.31
diff -u -r1.30 -r1.31
--- puppet.spec 16 Dec 2008 22:46:36 -0000 1.30
+++ puppet.spec 24 Mar 2009 01:04:15 -0000 1.31
@@ -2,8 +2,8 @@
%define confdir conf/redhat
Name: puppet
-Version: 0.24.7
-Release: 4%{?dist}
+Version: 0.24.8
+Release: 1%{?dist}
Summary: A network tool for managing many disparate systems
License: GPLv2+
URL: http://puppet.reductivelabs.com/
@@ -12,6 +12,7 @@
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
+BuildRequires: facter >= 1.5
BuildRequires: ruby >= 1.8.1
%if 0%{?fedora} || 0%{?rhel} >= 5
@@ -25,7 +26,7 @@
Requires: libselinux-ruby
%endif
-Requires: facter >= 1.1.4
+Requires: facter >= 1.5
Requires: ruby >= 1.8.1
Requires: ruby-augeas
Requires(pre): shadow-utils
@@ -56,10 +57,11 @@
%prep
%setup -q
+# Move puppetca, puppetd, and puppetmasterd to sbin
+mkdir sbin
+mv bin/puppet{ca,d,masterd} sbin/
+
%build
-for f in bin/* ; do
- sed -i -e '1c#!/usr/bin/ruby' $f
-done
# Fix some rpmlint complaints
for f in mac_dscl.pp mac_dscl_revert.pp \
mac_netinfo.pp mac_pkgdmg.pp ; do
@@ -75,24 +77,12 @@
%install
rm -rf %{buildroot}
-install -d -m0755 %{buildroot}%{_sbindir}
-install -d -m0755 %{buildroot}%{_bindir}
-install -d -m0755 %{buildroot}%{ruby_sitelibdir}
+ruby install.rb --destdir=%{buildroot} --quick --no-rdoc
+
install -d -m0755 %{buildroot}%{_sysconfdir}/puppet/manifests
-install -d -m0755 %{buildroot}%{_docdir}/%{name}-%{version}
-install -d -m0755 %{buildroot}%{_mandir}/man8
install -d -m0755 %{buildroot}%{_localstatedir}/lib/puppet
install -d -m0755 %{buildroot}%{_localstatedir}/run/puppet
install -d -m0755 %{buildroot}%{_localstatedir}/log/puppet
-install -Dp -m0755 bin/* %{buildroot}%{_sbindir}
-mv %{buildroot}%{_sbindir}/puppet %{buildroot}%{_bindir}/puppet
-mv %{buildroot}%{_sbindir}/ralsh %{buildroot}%{_bindir}/ralsh
-mv %{buildroot}%{_sbindir}/filebucket %{buildroot}%{_bindir}/filebucket
-mv %{buildroot}%{_sbindir}/puppetrun %{buildroot}%{_bindir}/puppetrun
-mv %{buildroot}%{_sbindir}/puppetdoc %{buildroot}%{_bindir}/puppetdoc
-install -Dp -m0644 lib/puppet.rb %{buildroot}%{ruby_sitelibdir}/puppet.rb
-cp -a lib/puppet %{buildroot}%{ruby_sitelibdir}
-find %{buildroot}%{ruby_sitelibdir} -type f -perm +ugo+x -print0 | xargs -0 -r chmod a-x
install -Dp -m0644 %{confdir}/client.sysconfig %{buildroot}%{_sysconfdir}/sysconfig/puppet
install -Dp -m0755 %{confdir}/client.init %{buildroot}%{_initrddir}/puppet
install -Dp -m0644 %{confdir}/server.sysconfig %{buildroot}%{_sysconfdir}/sysconfig/puppetmaster
@@ -100,7 +90,7 @@
install -Dp -m0644 %{confdir}/fileserver.conf %{buildroot}%{_sysconfdir}/puppet/fileserver.conf
install -Dp -m0644 %{confdir}/puppet.conf %{buildroot}%{_sysconfdir}/puppet/puppet.conf
install -Dp -m0644 %{confdir}/logrotate %{buildroot}%{_sysconfdir}/logrotate.d/puppet
-install -Dp -m0644 man/man8/* %{buildroot}%{_mandir}/man8
+
# We need something for these ghosted files, otherwise rpmbuild
# will complain loudly. They won't be included in the binary packages
touch %{buildroot}%{_sysconfdir}/puppet/puppetmasterd.conf
@@ -153,13 +143,13 @@
# Fixed uid/gid were assigned in bz 472073 (Fedora), 471918 (RHEL-5),
# and 471919 (RHEL-4)
%pre
-getent group puppet >/dev/null || groupadd -r puppet -g 52
-getent passwd puppet >/dev/null || \
+getent group puppet &>/dev/null || groupadd -r puppet -g 52 &>/dev/null
+getent passwd puppet &>/dev/null || \
useradd -r -u 52 -g puppet -d %{_localstatedir}/lib/puppet -s /sbin/nologin \
- -c "Puppet" puppet || :
+ -c "Puppet" puppet &>/dev/null || :
# ensure that old setups have the right puppet home dir
if [ $1 -gt 1 ] ; then
- usermod -d %{_localstatedir}/lib/puppet puppet || :
+ usermod -d %{_localstatedir}/lib/puppet puppet &>/dev/null || :
fi
%post
@@ -194,6 +184,15 @@
rm -rf %{buildroot}
%changelog
+* Mon Mar 23 2009 Todd Zullinger <tmz at pobox.com> - 0.24.8-1
+- Update to 0.24.8
+- Quiet output from %%pre
+- Use upstream install script
+- Increase required facter version to >= 1.5
+
+* Thu Feb 26 2009 Fedora Release Engineering <rel-eng at lists.fedoraproject.org> - 0.24.7-5
+- Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild
+
* Tue Dec 16 2008 Todd Zullinger <tmz at pobox.com> - 0.24.7-4
- Remove redundant useradd from %%pre
Index: sources
===================================================================
RCS file: /cvs/extras/rpms/puppet/F-9/sources,v
retrieving revision 1.26
retrieving revision 1.27
diff -u -r1.26 -r1.27
--- sources 16 Dec 2008 08:45:54 -0000 1.26
+++ sources 24 Mar 2009 01:04:15 -0000 1.27
@@ -1 +1 @@
-36f57de5c2e069d04752f0539034227d puppet-0.24.7.tgz
+288d46dee00acad64d0f3ecc6d8ba6fa puppet-0.24.8.tgz
- Previous message (by thread): rpms/puppet/F-10 .cvsignore, 1.25, 1.26 puppet.spec, 1.30, 1.31 sources, 1.26, 1.27
- Next message (by thread): rpms/qemu/devel .cvsignore, 1.12, 1.13 qemu.spec, 1.68, 1.69 sources, 1.12, 1.13 kvm-fix-strayR.patch, 1.1, NONE
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
More information about the fedora-extras-commits
mailing list