Minor spec file reformatting

epel9
Todd Zullinger 14 years ago
parent 5011849e9a
commit d73ca2015d

@ -1,19 +1,20 @@
%{!?ruby_sitelibdir: %define ruby_sitelibdir %(ruby -rrbconfig -e 'puts Config::CONFIG["sitelibdir"]')} %{!?ruby_sitelibdir: %global ruby_sitelibdir %(ruby -rrbconfig -e 'puts Config::CONFIG["sitelibdir"]')}
%define has_ruby_abi 0%{?fedora} || 0%{?rhel} >= 5 %global has_ruby_abi 0%{?fedora} || 0%{?rhel} >= 5
%define has_ruby_noarch %has_ruby_abi %global has_ruby_noarch %has_ruby_abi
Summary: Ruby module for collecting simple facts about a host operating system
Name: facter Name: facter
Version: 1.6.1 Version: 1.6.1
Release: 1%{?dist} Release: 1%{?dist}
License: ASL 2.0 Summary: Ruby module for collecting simple facts about a host operating system
Group: System Environment/Base Group: System Environment/Base
License: ASL 2.0
URL: http://www.puppetlabs.com/puppet/related-projects/%{name}/ URL: http://www.puppetlabs.com/puppet/related-projects/%{name}/
Source0: http://puppetlabs.com/downloads/%{name}/%{name}-%{version}.tar.gz Source0: http://puppetlabs.com/downloads/%{name}/%{name}-%{version}.tar.gz
Source1: http://puppetlabs.com/downloads/%{name}/%{name}-%{version}.tar.gz.asc Source1: http://puppetlabs.com/downloads/%{name}/%{name}-%{version}.tar.gz.asc
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
%if %has_ruby_noarch %if %has_ruby_noarch
BuildArch: noarch BuildArch: noarch
%endif %endif
@ -33,12 +34,16 @@ operating system. Additional facts can be added through simple Ruby scripts
%prep %prep
%setup -q %setup -q
%build %build
# Nothing to build
%install %install
rm -rf %{buildroot} rm -rf %{buildroot}
ruby install.rb --destdir=%{buildroot} --quick --no-rdoc ruby install.rb --destdir=%{buildroot} --quick --no-rdoc
%clean %clean
rm -rf %{buildroot} rm -rf %{buildroot}
@ -53,6 +58,7 @@ rm -rf %{buildroot}
%changelog %changelog
* Thu Sep 29 2011 Todd Zullinger <tmz@pobox.com> - 1.6.1-1 * Thu Sep 29 2011 Todd Zullinger <tmz@pobox.com> - 1.6.1-1
- Update to 1.6.1 - Update to 1.6.1
- Minor spec file reformatting
* Wed Jul 27 2011 Todd Zullinger <tmz@pobox.com> - 1.6.0-2 * Wed Jul 27 2011 Todd Zullinger <tmz@pobox.com> - 1.6.0-2
- Update license tag, GPLv2+ -> ASL 2.0 - Update license tag, GPLv2+ -> ASL 2.0

Loading…
Cancel
Save