# Generated from multi_xml-0.4.1.gem by gem2rpm -*- rpm-spec -*- %global gem_name multi_xml Name: rubygem-%{gem_name} Version: 0.7.1 Release: 1%{?dist} Summary: A generic swappable back-end for XML parsing License: MIT URL: https://github.com/sferik/multi_xml Source0: https://rubygems.org/gems/%{gem_name}-%{version}.gem # git clone https://github.com/sferik/multi_xml.git && cd multi_xml/ # git archive -v -o multi_xml-0.7.1-specs.tar.gz v0.7.1 spec/ Source1: multi_xml-%{version}-specs.tar.gz BuildRequires: ruby(release) BuildRequires: rubygems-devel BuildRequires: ruby BuildRequires: rubygem(bigdecimal) BuildRequires: rubygem(rspec) BuildRequires: rubygem(nokogiri) BuildRequires: rubygem(ox) BuildRequires: rubygem(rexml) BuildArch: noarch %description Provides swappable XML backends utilizing LibXML, Nokogiri, Ox, or REXML. %package doc Summary: Documentation for %{name} Requires: %{name} = %{version}-%{release} BuildArch: noarch %description doc Documentation for %{name}. %prep %setup -q -n %{gem_name}-%{version} -b 1 %build # Create the gem as gem install only works on a gem file gem build ../%{gem_name}-%{version}.gemspec %gem_install %install mkdir -p %{buildroot}%{gem_dir} cp -a .%{gem_dir}/* \ %{buildroot}%{gem_dir}/ %check pushd .%{gem_instdir} ln -s %{_builddir}/spec spec # We don't care about code coverage. sed -i '/simplecov/,/^end$/ s/^/#/' spec/helper.rb rspec spec popd %files %dir %{gem_instdir} %exclude %{gem_instdir}/.* %license %{gem_instdir}/LICENSE.md %{gem_libdir} %exclude %{gem_cache} %{gem_spec} %files doc %doc %{gem_docdir} %doc %{gem_instdir}/CHANGELOG.md %doc %{gem_instdir}/CONTRIBUTING.md %{gem_instdir}/Gemfile %doc %{gem_instdir}/README.md %{gem_instdir}/Rakefile %changelog * Thu Jul 11 2024 Vít Ondruch - 0.7.1-1 - Update to MultiXML 0.7.1. Resolves: rhbz#2278032 * Fri Jan 26 2024 Fedora Release Engineering - 0.6.0-18 - Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild * Fri Jul 21 2023 Fedora Release Engineering - 0.6.0-17 - Rebuilt for https://fedoraproject.org/wiki/Fedora_39_Mass_Rebuild * Fri Jan 20 2023 Fedora Release Engineering - 0.6.0-16 - Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild * Sat Jul 23 2022 Fedora Release Engineering - 0.6.0-15 - Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild * Fri Jan 21 2022 Fedora Release Engineering - 0.6.0-14 - Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild * Fri Jul 23 2021 Fedora Release Engineering - 0.6.0-13 - Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild * Wed Jan 27 2021 Fedora Release Engineering - 0.6.0-12 - Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild * Tue Jan 12 13:15:51 CET 2021 Vít Ondruch - 0.6.0-11 - Add `BR: rubygem(rexml)` since it was removed from StdLib in Ruby 3.0. * Wed Jul 29 2020 Fedora Release Engineering - 0.6.0-10 - Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild * Thu Jan 30 2020 Fedora Release Engineering - 0.6.0-9 - Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild * Fri Jul 26 2019 Fedora Release Engineering - 0.6.0-8 - Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild * Sat Feb 02 2019 Fedora Release Engineering - 0.6.0-7 - Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild * Sat Jul 14 2018 Fedora Release Engineering - 0.6.0-6 - Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild * Fri Feb 09 2018 Fedora Release Engineering - 0.6.0-5 - Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild * Thu Jul 27 2017 Fedora Release Engineering - 0.6.0-4 - Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild * Fri May 19 2017 František Dvořák - 0.6.0-3 - Patch to support Ox > 2.4.11 * Sat Feb 11 2017 Fedora Release Engineering - 0.6.0-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild * Thu Jan 05 2017 Vít Ondruch - 0.6.0-1 - Update to MultiXML 0.6.0. * Mon Oct 31 2016 František Dvořák - 0.5.5-5 - Enable tests with Ox parser * Fri Apr 08 2016 Vít Ondruch - 0.5.5-4 - Explicitly set rubygem(bigdecimal) dependency. * Thu Feb 04 2016 Fedora Release Engineering - 0.5.5-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild * Thu Jun 18 2015 Fedora Release Engineering - 0.5.5-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild * Tue Feb 24 2015 Vít Ondruch - 0.5.5-1 - Update to MultiXML 0.5.5. * Sun Jun 08 2014 Fedora Release Engineering - 0.5.2-5 - Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild * Sun Aug 04 2013 Fedora Release Engineering - 0.5.2-4 - Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild * Mon Mar 04 2013 Vít Ondruch - 0.5.2-3 - Rebuild for https://fedoraproject.org/wiki/Features/Ruby_2.0.0 * Thu Feb 14 2013 Fedora Release Engineering - 0.5.2-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild * Mon Jan 14 2013 Vít Ondruch - 0.5.2-1 - Update to multi_xml 0.5.2. * Sat Jul 21 2012 Fedora Release Engineering - 0.4.1-4 - Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild * Fri Mar 02 2012 Vít Ondruch - 0.4.1-3 - Update review. * Mon Feb 20 2012 Michael Stahnke - 0.4.1-2 - Update review * Fri Jan 20 2012 Michael Stahnke - 0.4.1-1 - Initial package