8341 is a puppet bug that speaks of facter loading mulitple times. In order to have the reporter test he asked we have an RPM available for facter.
RPM Spec file has been updated and fixed. * Apache 2.0 should be ASL 2.0 accroding to the Fedora/RHEL packaging guidelines. * Signing has switched (for the last time) from .sign to .asc. * Documentation now globs correctly as we have removed COPYING * Updated spec file changelog. For (#8407) changing the build to be noarch on Red Hat/Fedora systems >= EL5 The rest EL4/SLES need to be arch dependent still. Signed-off-by: Michael Stahnke <[email protected]> --- conf/redhat/facter.spec | 21 ++++++++++++++++----- 1 files changed, 16 insertions(+), 5 deletions(-) diff --git a/conf/redhat/facter.spec b/conf/redhat/facter.spec index e78b655..cd0ed59 100644 --- a/conf/redhat/facter.spec +++ b/conf/redhat/facter.spec @@ -7,11 +7,11 @@ Summary: Ruby module for collecting simple facts about a host operating system Name: facter Version: 1.6.0 Release: 1%{?dist} -License: Apache 2.0 +License: ASL 2.0 Group: System Environment/Base URL: http://www.puppetlabs.com/puppet/related-projects/%{name}/ Source0: http://puppetlabs.com/downloads/%{name}/%{name}-%{version}.tar.gz -Source1: http://puppetlabs.com/downloads/%{name}/%{name}-%{version}.tar.gz.sign +Source1: http://puppetlabs.com/downloads/%{name}/%{name}-%{version}.tar.gz.asc BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) %if %has_ruby_noarch @@ -23,6 +23,14 @@ Requires: which %if %has_ruby_abi Requires: ruby(abi) = 1.8 %endif + +# If you're not EL/Fedora > 5, then you probably need to be arch dependent. +# Otherwise, you can be noarch. +# SLES must be arch dependent as of 11. +%if %has_ruby_abi +BuildArch: noarch +%endif + BuildRequires: ruby >= 1.8.1 %description @@ -48,12 +56,15 @@ rm -rf %{buildroot} %{_bindir}/facter %{ruby_sitelibdir}/facter.rb %{ruby_sitelibdir}/facter -%doc CHANGELOG COPYING INSTALL LICENSE README +%doc CHANGELOG INSTALL LICENSE README.md %changelog -* Thu Jun 23 2011 Michael Stahnke <[email protected]> - 1.6.0-1 -- Update to 1.6.0 +* Wed Jul 13 2011 Michael Stahnke <[email protected]> - 1.6.0-2 +- Update to not be architecture dependant + +* Wed Jul 13 2011 Michael Stahnke <[email protected]> - 1.6.0-1 +- Update to 1.6.0 * Sat Aug 28 2010 Todd Zullinger <[email protected]> - 1.5.8-1 - Update to 1.5.8 -- 1.7.4.4 -- You received this message because you are subscribed to the Google Groups "Puppet Developers" group. To post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/puppet-dev?hl=en.
