|
|
|
@ -3,7 +3,7 @@
|
|
|
|
|
|
|
|
|
|
Name: rubygem-%{gem_name}
|
|
|
|
|
Version: 2.8.1
|
|
|
|
|
Release: 3%{?dist}
|
|
|
|
|
Release: 2%{?dist}
|
|
|
|
|
Summary: URI Implementation
|
|
|
|
|
License: Apache-2.0
|
|
|
|
|
URL: https://github.com/sporkmonger/addressable
|
|
|
|
@ -11,9 +11,8 @@ Source0: https://rubygems.org/gems/%{gem_name}-%{version}.gem
|
|
|
|
|
BuildRequires: ruby(release)
|
|
|
|
|
BuildRequires: rubygems-devel
|
|
|
|
|
BuildRequires: rubygem(bigdecimal)
|
|
|
|
|
# Test deps not available in EPEL
|
|
|
|
|
#BuildRequires: rubygem(public_suffix)
|
|
|
|
|
#BuildRequires: rubygem(rspec-its)
|
|
|
|
|
BuildRequires: rubygem(public_suffix)
|
|
|
|
|
BuildRequires: rubygem(rspec-its)
|
|
|
|
|
BuildArch: noarch
|
|
|
|
|
|
|
|
|
|
%description
|
|
|
|
@ -42,6 +41,17 @@ mkdir -p %{buildroot}%{gem_dir}
|
|
|
|
|
cp -a .%{gem_dir}/* \
|
|
|
|
|
%{buildroot}%{gem_dir}/
|
|
|
|
|
|
|
|
|
|
%check
|
|
|
|
|
pushd .%{gem_instdir}
|
|
|
|
|
# Drop Bundler dependency.
|
|
|
|
|
sed -i "/require 'bundler\/setup'/ s/^/#/" spec/spec_helper.rb
|
|
|
|
|
|
|
|
|
|
# Remove tests failing because of missing internet connection.
|
|
|
|
|
mv spec/addressable/net_http_compat_spec.rb{,.disabled}
|
|
|
|
|
|
|
|
|
|
LC_ALL=C.UTF-8 rspec spec/
|
|
|
|
|
popd
|
|
|
|
|
|
|
|
|
|
%files
|
|
|
|
|
%dir %{gem_instdir}
|
|
|
|
|
%license %{gem_instdir}/LICENSE.txt
|
|
|
|
@ -60,8 +70,8 @@ cp -a .%{gem_dir}/* \
|
|
|
|
|
%{gem_instdir}/spec
|
|
|
|
|
|
|
|
|
|
%changelog
|
|
|
|
|
* Fri Mar 3 2023 Steve Traylen <steve.traylen@cern.ch> - 2.8.1-3
|
|
|
|
|
- First EPEL build
|
|
|
|
|
* Thu Sep 21 2023 Arkady L. Shane <tigro@msvsphere-os.ru> - 2.8.1-2
|
|
|
|
|
- Rebuilt for MSVSphere 9.2
|
|
|
|
|
|
|
|
|
|
* Fri Jan 20 2023 Fedora Release Engineering <releng@fedoraproject.org> - 2.8.1-2
|
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild
|