ruby-hiera/ruby-hiera.spec

76 lines
2.4 KiB
RPMSpec

Name: ruby-hiera
Version: 3.12.0
Release: 1mamba
Summary: A pluggable data store for hierarcical data
Group: System/Management
Vendor: openmamba
Distribution: openmamba
Packager: Silvan Calarco <silvan.calarco@mambasoft.it>
URL: https://www.puppet.com/docs/puppet/7/hiera.html
Source: https://rubygems.org/downloads/hiera-%{version}.gem
License: Apache License 2.0
## AUTOBUILDREQ-BEGIN
## AUTOBUILDREQ-END
Requires: ruby >= 3.2.0
BuildRequires: ruby >= 3.2.0
%description
A pluggable data store for hierarcical data.
%prep
%setup -q -c %{name}-%{version}
%build
%install
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
gemdir="$(ruby -rrubygems -e'puts Gem.default_dir')"
gem install --no-user-install --ignore-dependencies -i "%{buildroot}$gemdir" \
-n "%{buildroot}/usr/bin" "%{SOURCE0}"
rm -rf %{buildroot}${gemdir}/cache
%clean
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
%files
%defattr(-,root,root)
%{_bindir}/hiera
%{_libdir}/ruby/gems/*/specifications/hiera-*.gemspec
%dir %{_libdir}/ruby/gems/*/gems/hiera-%{version}
%{_libdir}/ruby/gems/*/gems/hiera-%{version}/*
%dir %{_libdir}/ruby/gems/*/doc/hiera-%{version}
%{_libdir}/ruby/gems/*/doc/hiera-%{version}/*
%changelog
* Thu Feb 09 2023 Automatic Build System <autodist@mambasoft.it> 3.12.0-1mamba
- automatic version update by autodist
* Mon Jan 02 2023 Silvan Calarco <silvan.calarco@mambasoft.it> 3.11.0-2mamba
- rebuilt with ruby 3.2.0
* Fri Dec 09 2022 Automatic Build System <autodist@mambasoft.it> 3.11.0-1mamba
- automatic version update by autodist
* Wed Aug 03 2022 Automatic Build System <autodist@mambasoft.it> 3.10.0-1mamba
- automatic version update by autodist
* Wed Apr 20 2022 Automatic Build System <autodist@mambasoft.it> 3.9.0-1mamba
- automatic version update by autodist
* Mon Feb 07 2022 Automatic Build System <autodist@mambasoft.it> 3.8.0-1mamba
- automatic version update by autodist
* Thu Mar 18 2021 Automatic Build System <autodist@mambasoft.it> 3.7.0-1mamba
- automatic version update by autodist
* Sat Mar 06 2021 Automatic Build System <autodist@mambasoft.it> 3.6.0-1mamba
- automatic version update by autodist
* Tue Jul 17 2018 Silvan Calarco <silvan.calarco@mambasoft.it> 3.4.3-1mamba
- update to 3.4.3
* Wed Dec 11 2013 Silvan Calarco <silvan.calarco@mambasoft.it> 1.3.0-1mamba
- package created using the webbuild interface