Project

General

Profile

« Previous | Next » 

Revision e8d8eec1

Added by Kavita Gaikwad about 5 years ago

Update rubygem-addressable to 2.6.0

View differences:

packages/foreman/rubygem-addressable/addressable-2.3.6.gem
../../../.git/annex/objects/Zx/zx/SHA256E-s98304--e822c28133d151d450778bbcf1f6e7742d4c3aba54498eb0da33d80a3990ee8c.6.gem/SHA256E-s98304--e822c28133d151d450778bbcf1f6e7742d4c3aba54498eb0da33d80a3990ee8c.6.gem
packages/foreman/rubygem-addressable/addressable-2.6.0.gem
../../../.git/annex/objects/7Q/V0/SHA256E-s104448--d490ad06dfc421503e659a12597d6bb0273b5cd7ff2789a1ec27210b1914952d.0.gem/SHA256E-s104448--d490ad06dfc421503e659a12597d6bb0273b5cd7ff2789a1ec27210b1914952d.0.gem
packages/foreman/rubygem-addressable/rubygem-addressable.spec
# Generated from addressable-2.6.0.gem by gem2rpm -*- rpm-spec -*-
# template: scl
%{?scl:%scl_package rubygem-%{gem_name}}
%{!?scl:%global pkg_name %{name}}
# Generated from addressable-2.2.6.gem by gem2rpm -*- rpm-spec -*-
%global gem_name addressable
Summary: URI Implementation
Name: %{?scl_prefix}rubygem-%{gem_name}
Version: 2.3.6
Release: 6%{?dist}
Version: 2.6.0
Release: 1%{?dist}
Summary: URI Implementation
Group: Development/Languages
License: GPLv2+ or Ruby
URL: http://addressable.rubyforge.org/
License: Apache-2.0
URL: https://github.com/sporkmonger/addressable
Source0: https://rubygems.org/gems/%{gem_name}-%{version}.gem
# start specfile generated dependencies
Requires: %{?scl_prefix_ruby}ruby(release)
Requires: %{?scl_prefix_ruby}ruby >= 2.0
Requires: %{?scl_prefix_ruby}ruby(rubygems)
Requires: %{?scl_prefix_ruby}ruby
Requires: %{?scl_prefix}rubygem(public_suffix) >= 2.0.2
Requires: %{?scl_prefix}rubygem(public_suffix) < 4.0
BuildRequires: %{?scl_prefix_ruby}ruby(release)
BuildRequires: %{?scl_prefix_ruby}ruby(rubygems)
BuildRequires: %{?scl_prefix_ruby}ruby
BuildRequires: %{?scl_prefix_ruby}ruby >= 2.0
BuildRequires: %{?scl_prefix_ruby}rubygems-devel
BuildArch: noarch
Provides: %{?scl_prefix}rubygem(%{gem_name}) = %{version}
%{?scl:Obsoletes: ruby193-rubygem-%{gem_name}}
# end specfile generated dependencies
%description
Addressable is a replacement for the URI implementation that is part of
......
Summary: Documentation for %{pkg_name}
Group: Documentation
Requires: %{?scl_prefix}%{pkg_name} = %{version}-%{release}
%{?scl:Obsoletes: ruby193-rubygem-%{gem_name}-doc}
BuildArch: noarch
%description doc
Documentation for %{pkg_name}
Documentation for %{pkg_name}.
%prep
%setup -n %{pkg_name}-%{version} -q -c -T
%{?scl:scl enable %{scl} - <<EOF}
%gem_install -n %{SOURCE0}
%{?scl:scl enable %{scl} - << \EOF}
gem unpack %{SOURCE0}
%{?scl:EOF}
%setup -q -D -T -n %{gem_name}-%{version}
%{?scl:scl enable %{scl} - << \EOF}
gem spec %{SOURCE0} -l --ruby > %{gem_name}.gemspec
%{?scl:EOF}
%build
# Create the gem as gem install only works on a gem file
%{?scl:scl enable %{scl} - << \EOF}
gem build %{gem_name}.gemspec
%{?scl:EOF}
# %%gem_install compiles any C extensions and installs the gem into ./%%gem_dir
# by default, so that we can move it into the buildroot in %%install
%{?scl:scl enable %{scl} - << \EOF}
%gem_install
%{?scl:EOF}
%install
mkdir -p %{buildroot}%{gem_dir}
cp -a .%{gem_dir}/* \
cp -pa .%{gem_dir}/* \
%{buildroot}%{gem_dir}/
%files
%dir %{gem_instdir}
%dir %{gem_instdir}
%license %{gem_instdir}/LICENSE.txt
%{gem_instdir}/data
%doc %{gem_instdir}/LICENSE.txt
%{gem_libdir}
%{gem_instdir}/tasks
%exclude %{gem_cache}
%{gem_spec}
%files doc
%doc %{gem_docdir}
%doc %{gem_instdir}/CHANGELOG.md
%doc %{gem_instdir}/README.md
%{gem_instdir}/Gemfile
%doc %{gem_instdir}/README.md
%{gem_instdir}/Rakefile
%{gem_instdir}/spec
%exclude %{gem_instdir}/tasks
%exclude %{gem_instdir}/website
%changelog
* Wed Mar 13 2019 kgaikwad <kavitagaikwad103@gmail.com> 2.6.0-1
- Update to 2.6.0
* Wed Sep 05 2018 Eric D. Helms <ericdhelms@gmail.com> - 2.3.6-6
- Rebuild for Rails 5.2 and Ruby 2.5

Also available in: Unified diff