conf/redhat/facter.spec in facter-1.6.5 vs conf/redhat/facter.spec in facter-1.6.6
- old
+ new
@@ -1,28 +1,31 @@
-%{!?ruby_sitelibdir: %define ruby_sitelibdir %(ruby -rrbconfig -e 'puts Object.const_get(defined?(RbConfig) ? :RbConfig : :Config)::CONFIG["sitelibdir"]'
+%{!?ruby_sitelibdir: %define ruby_sitelibdir %(ruby -rrbconfig -e 'puts Object.const_get(defined?(RbConfig) ? :RbConfig : :Config)::CONFIG["sitelibdir"]')}
%define has_ruby_abi 0%{?fedora} || 0%{?rhel} >= 5
%define has_ruby_noarch %has_ruby_abi
-%global _ver 1.6.4
Summary: Ruby module for collecting simple facts about a host operating system
Name: facter
-Version: 1.6.4
-Release: 0.1rc1%{?dist}
+Version: 1.6.6
+Release: 1%{?dist}
+#Release: 0.1rc1%{?dist}
License: Apache 2.0
Group: System Environment/Base
-URL: http://www.puppetlabs.com/puppet/related-projects/%{name}/
-Source0: http://puppetlabs.com/downloads/%{name}/%{name}-%{version}rc1.tar.gz
+URL: http://www.puppetlabs.com/puppet/related-projects/%{name}
+#Source0: http://puppetlabs.com/downloads/%{name}/%{name}-%{version}rc1.tar.gz
+Source0: http://puppetlabs.com/downloads/%{name}/%{name}-%{version}.tar.gz
#Source1: http://puppetlabs.com/downloads/%{name}/%{name}-%{version}rc1.tar.gz.asc
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
%if %has_ruby_noarch
BuildArch: noarch
%endif
Requires: ruby >= 1.8.1
Requires: which
+# Note: dmidecode is only available on x86 and x86_64 so this package may need to move into being
+# arch specific if people are using ppc, arm, s390 etc
Requires: dmidecode
Requires: pciutils
%if %has_ruby_abi
Requires: ruby(abi) = 1.8
%endif
@@ -32,11 +35,12 @@
Ruby module for collecting simple facts about a host Operating
system. Some of the facts are preconfigured, such as the hostname and the
operating system. Additional facts can be added through simple Ruby scripts
%prep
-%setup -q -n %{name}-%{version}rc1
+%setup -q -n %{name}-%{version}
+#%setup -q -n %{name}-%{version}rc1
%build
%install
rm -rf %{buildroot}
@@ -53,9 +57,15 @@
%{ruby_sitelibdir}/facter
%doc CHANGELOG INSTALL LICENSE README.md
%changelog
+* Thu Feb 23 2012 Michael Stahnke <stahnma@puppetlabs.com> - 1.6.6-1
+- Update for 1.6.6
+
+* Wed Jan 25 2012 Matthaus Litteken <matthaus@puppetlabs.com> - 1.6.5-1
+- Update to 1.6.5
+
* Wed Nov 30 2011 Matthaus Litteken <matthaus@puppetlabs.com> - 1.6.4-0.1rc1
- 1.6.4 rc1
* Mon Oct 31 2011 Michael Stahnke <stahnma@puppetlabs.com> - 1.6.3-0.1rc1
- 1.6.3 rc1