|
 |
0e1948 |
%global gem_name builder
|
|
 |
0e1948 |
|
|
 |
0e1948 |
Name: rubygem-%{gem_name}
|
|
 |
0e1948 |
Version: 3.2.4
|
|
 |
0e1948 |
Release: 4%{?dist}
|
|
 |
0e1948 |
Summary: Builders for MarkUp
|
|
 |
0e1948 |
License: MIT
|
|
 |
0e1948 |
URL: http://onestepback.org
|
|
 |
0e1948 |
Source0: https://rubygems.org/gems/%{gem_name}-%{version}.gem
|
|
 |
0e1948 |
# Attemt to fix BlankSlate for Ruby 3.0 compatibility.
|
|
 |
0e1948 |
# https://github.com/tenderlove/builder/issues/13
|
|
 |
0e1948 |
Patch0: rubygem-builder-3.2.4-Fix-Ruby-3-compatibility.patch
|
|
 |
0e1948 |
# Builder carries copy of Blankslate, which was in the meantime extracted into
|
|
 |
0e1948 |
# independent gem.
|
|
 |
0e1948 |
# https://github.com/jimweirich/builder/issues/24
|
|
 |
0e1948 |
#
|
|
 |
0e1948 |
# Moreover, rubygem-blankslate is not yet in Fedora.
|
|
 |
0e1948 |
# https://bugzilla.redhat.com/show_bug.cgi?id=771316
|
|
 |
0e1948 |
#
|
|
 |
0e1948 |
# Requires: rubygem(blankslate)
|
|
 |
0e1948 |
BuildRequires: ruby(release)
|
|
 |
0e1948 |
BuildRequires: rubygems-devel
|
|
 |
0e1948 |
BuildRequires: ruby
|
|
 |
0e1948 |
BuildRequires: rubygem(minitest)
|
|
 |
0e1948 |
BuildArch: noarch
|
|
 |
0e1948 |
|
|
 |
0e1948 |
%description
|
|
 |
0e1948 |
Builder provides a number of builder objects that make creating structured
|
|
 |
0e1948 |
data simple to do. Currently the following builder objects are supported:
|
|
 |
0e1948 |
* XML Markup
|
|
 |
0e1948 |
* XML Events
|
|
 |
0e1948 |
|
|
 |
0e1948 |
|
|
 |
0e1948 |
%package doc
|
|
 |
0e1948 |
Summary: Documentation for %{name}
|
|
 |
0e1948 |
Requires: %{name} = %{version}-%{release}
|
|
 |
0e1948 |
BuildArch: noarch
|
|
 |
0e1948 |
|
|
 |
0e1948 |
%description doc
|
|
 |
0e1948 |
Documentation for %{name}.
|
|
 |
0e1948 |
|
|
 |
0e1948 |
%prep
|
|
 |
0e1948 |
%setup -q -n %{gem_name}-%{version}
|
|
 |
0e1948 |
|
|
 |
0e1948 |
%patch0 -p1
|
|
 |
0e1948 |
|
|
 |
0e1948 |
%build
|
|
 |
0e1948 |
# Create the gem as gem install only works on a gem file
|
|
 |
0e1948 |
gem build ../%{gem_name}-%{version}.gemspec
|
|
 |
0e1948 |
|
|
 |
0e1948 |
# %%gem_install compiles any C extensions and installs the gem into ./%%gem_dir
|
|
 |
0e1948 |
# by default, so that we can move it into the buildroot in %%install
|
|
 |
0e1948 |
%gem_install
|
|
 |
0e1948 |
|
|
 |
0e1948 |
%install
|
|
 |
0e1948 |
mkdir -p %{buildroot}%{gem_dir}
|
|
 |
0e1948 |
cp -a .%{gem_dir}/* \
|
|
 |
0e1948 |
%{buildroot}%{gem_dir}/
|
|
 |
0e1948 |
|
|
 |
0e1948 |
# Remove shebangs from test files.
|
|
 |
0e1948 |
pushd %{buildroot}%{gem_instdir}
|
|
 |
0e1948 |
find -type f -name '*.rb' -print | xargs sed -i '/#!\/usr\/bin\/env/d'
|
|
 |
0e1948 |
popd
|
|
 |
0e1948 |
|
|
 |
0e1948 |
# Remove shebang from rake file.
|
|
 |
0e1948 |
sed -i '/#!\/usr\/bin\/env/d' %{buildroot}%{gem_instdir}/rakelib/tags.rake
|
|
 |
0e1948 |
|
|
 |
0e1948 |
|
|
 |
0e1948 |
%check
|
|
 |
0e1948 |
pushd .%{gem_instdir}
|
|
 |
0e1948 |
ruby -Ilib:test -e 'Dir.glob "./test/test_*.rb", &method(:require)'
|
|
 |
0e1948 |
popd
|
|
 |
0e1948 |
|
|
 |
0e1948 |
%files
|
|
 |
0e1948 |
%dir %{gem_instdir}
|
|
 |
0e1948 |
%license %{gem_instdir}/MIT-LICENSE
|
|
 |
0e1948 |
%{gem_libdir}
|
|
 |
0e1948 |
%exclude %{gem_cache}
|
|
 |
0e1948 |
%{gem_spec}
|
|
 |
0e1948 |
|
|
 |
0e1948 |
%files doc
|
|
 |
0e1948 |
%doc %{gem_docdir}
|
|
 |
0e1948 |
%doc %{gem_instdir}/CHANGES
|
|
 |
0e1948 |
%doc %{gem_instdir}/README.md
|
|
 |
0e1948 |
%{gem_instdir}/Rakefile
|
|
 |
0e1948 |
%{gem_instdir}/builder.blurb
|
|
 |
0e1948 |
%{gem_instdir}/builder.gemspec
|
|
 |
0e1948 |
%doc %{gem_instdir}/doc
|
|
 |
0e1948 |
%{gem_instdir}/rakelib
|
|
 |
0e1948 |
%{gem_instdir}/test
|
|
 |
0e1948 |
|
|
 |
0e1948 |
%changelog
|
|
 |
0e1948 |
* Tue Mar 16 2021 Vít Ondruch <vondruch@redhat.com> - 3.2.4-4
|
|
 |
0e1948 |
- Attemt to fix BlankSlate for Ruby 3.0 compatibility.
|
|
 |
0e1948 |
Resolves: rhbz#1923688
|
|
 |
0e1948 |
|
|
 |
0e1948 |
* Wed Jan 27 2021 Fedora Release Engineering <releng@fedoraproject.org> - 3.2.4-3
|
|
 |
0e1948 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild
|
|
 |
0e1948 |
|
|
 |
0e1948 |
* Wed Jul 29 2020 Fedora Release Engineering <releng@fedoraproject.org> - 3.2.4-2
|
|
 |
0e1948 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
|
|
 |
0e1948 |
|
|
 |
0e1948 |
* Fri Apr 17 2020 Vít Ondruch <vondruch@redhat.com> - 3.2.4-1
|
|
 |
0e1948 |
- Update to Builder 3.2.4.
|
|
 |
0e1948 |
Resolves: rhbz#1799993
|
|
 |
0e1948 |
Resolves: rhbz#1782394
|
|
 |
0e1948 |
|
|
 |
0e1948 |
* Thu Jan 30 2020 Fedora Release Engineering <releng@fedoraproject.org> - 3.2.3-8
|
|
 |
0e1948 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild
|
|
 |
0e1948 |
|
|
 |
0e1948 |
* Fri Jul 26 2019 Fedora Release Engineering <releng@fedoraproject.org> - 3.2.3-7
|
|
 |
0e1948 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild
|
|
 |
0e1948 |
|
|
 |
0e1948 |
* Sat Feb 02 2019 Fedora Release Engineering <releng@fedoraproject.org> - 3.2.3-6
|
|
 |
0e1948 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild
|
|
 |
0e1948 |
|
|
 |
0e1948 |
* Sat Jul 14 2018 Fedora Release Engineering <releng@fedoraproject.org> - 3.2.3-5
|
|
 |
0e1948 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild
|
|
 |
0e1948 |
|
|
 |
0e1948 |
* Fri Feb 09 2018 Fedora Release Engineering <releng@fedoraproject.org> - 3.2.3-4
|
|
 |
0e1948 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
|
|
 |
0e1948 |
|
|
 |
0e1948 |
* Thu Jul 27 2017 Fedora Release Engineering <releng@fedoraproject.org> - 3.2.3-3
|
|
 |
0e1948 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild
|
|
 |
0e1948 |
|
|
 |
0e1948 |
* Sat Feb 11 2017 Fedora Release Engineering <releng@fedoraproject.org> - 3.2.3-2
|
|
 |
0e1948 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild
|
|
 |
0e1948 |
|
|
 |
0e1948 |
* Mon Jan 16 2017 Vít Ondruch <vondruch@redhat.com> - 3.2.3-1
|
|
 |
0e1948 |
- Update to Builder 3.2.3.
|
|
 |
0e1948 |
|
|
 |
0e1948 |
* Thu Feb 04 2016 Fedora Release Engineering <releng@fedoraproject.org> - 3.2.2-5
|
|
 |
0e1948 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild
|
|
 |
0e1948 |
|
|
 |
0e1948 |
* Thu Jun 18 2015 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 3.2.2-4
|
|
 |
0e1948 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild
|
|
 |
0e1948 |
|
|
 |
0e1948 |
* Tue May 26 2015 Josef Stribny <jstribny@redhat.com> - 3.2.2-3
|
|
 |
0e1948 |
- Fix tests to run with Minitest
|
|
 |
0e1948 |
|
|
 |
0e1948 |
* Sun Jun 08 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 3.2.2-2
|
|
 |
0e1948 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild
|
|
 |
0e1948 |
|
|
 |
0e1948 |
* Tue May 20 2014 Vít Ondruch <vondruch@redhat.com> - 3.2.2-1
|
|
 |
0e1948 |
- Update to Builder 3.2.2.
|
|
 |
0e1948 |
|
|
 |
0e1948 |
* Sun Aug 04 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 3.1.4-4
|
|
 |
0e1948 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild
|
|
 |
0e1948 |
|
|
 |
0e1948 |
* Sat Feb 23 2013 Vít Ondruch <vondruch@redhat.com> - 3.1.4-3
|
|
 |
0e1948 |
- Rebuild for https://fedoraproject.org/wiki/Features/Ruby_2.0.0
|
|
 |
0e1948 |
|
|
 |
0e1948 |
* Thu Feb 14 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 3.1.4-2
|
|
 |
0e1948 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild
|
|
 |
0e1948 |
|
|
 |
0e1948 |
* Wed Oct 17 2012 Vít Ondruch <vondruch@redhat.com> - 3.1.4-1
|
|
 |
0e1948 |
- Update to Builder 3.1.4.
|
|
 |
0e1948 |
|
|
 |
0e1948 |
* Thu Oct 11 2012 Vít Ondruch <vondruch@redhat.com> - 3.1.3-1
|
|
 |
0e1948 |
- Update to Builder 3.1.3.
|
|
 |
0e1948 |
|
|
 |
0e1948 |
* Wed Jul 18 2012 Vít Ondruch <vondruch@redhat.com> - 3.0.0-1
|
|
 |
0e1948 |
- Update to Builder 3.0.0.
|
|
 |
0e1948 |
|
|
 |
0e1948 |
* Fri Feb 03 2012 Vít Ondruch <vondruch@redhat.com> - 2.1.2-9
|
|
 |
0e1948 |
- Fixed license.
|
|
 |
0e1948 |
|
|
 |
0e1948 |
* Thu Jan 19 2012 Vít Ondruch <vondruch@redhat.com> - 2.1.2-8
|
|
 |
0e1948 |
- Rebuilt for Ruby 1.9.3.
|
|
 |
0e1948 |
|
|
 |
0e1948 |
* Sat Jan 14 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.1.2-7
|
|
 |
0e1948 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild
|
|
 |
0e1948 |
|
|
 |
0e1948 |
* Fri Nov 25 2011 Vít Ondruch <vondruch@redhat.com> - 2.1.2-6
|
|
 |
0e1948 |
- Fix FTBFS rhbz#712927.
|
|
 |
0e1948 |
|
|
 |
0e1948 |
* Wed Feb 09 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.1.2-5
|
|
 |
0e1948 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
|
|
 |
0e1948 |
|
|
 |
0e1948 |
* Sun Jul 26 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.1.2-4
|
|
 |
0e1948 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild
|
|
 |
0e1948 |
|
|
 |
0e1948 |
* Wed Feb 25 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.1.2-3
|
|
 |
0e1948 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild
|
|
 |
0e1948 |
|
|
 |
0e1948 |
* Tue Jul 29 2008 Jeroen van Meeuwen <kanarip@kanarip.com> - 2.1.2-2
|
|
 |
0e1948 |
- Rebuild for review
|
|
 |
0e1948 |
|
|
 |
0e1948 |
* Sun Jul 13 2008 root <root@oss1-repo.usersys.redhat.com> - 2.1.2-1
|
|
 |
0e1948 |
- Initial package
|