Project

General

Profile

« Previous | Next » 

Revision b01b0fb6

Added by Ewoud Kohl van Wijngaarden about 4 years ago

Bump rubygem-unf_ext to 0.0.7.6-1

View differences:

packages/foreman/rubygem-unf_ext/rubygem-unf_ext.spec
# template: scl
%{?scl:%scl_package rubygem-%{gem_name}}
%{!?scl:%global pkg_name %{name}}
%global gem_name unf_ext
Name: %{?scl_prefix}rubygem-%{gem_name}
Version: 0.0.7.2
Release: 2%{?dist}
Version: 0.0.7.6
Release: 1%{?dist}
Summary: Unicode Normalization Form support library for CRuby
Group: Development/Languages
License: MIT
URL: https://github.com/knu/ruby-unf_ext
Source0: https://rubygems.org/gems/%{gem_name}-%{version}.gem
# start specfile generated dependencies
Requires: %{?scl_prefix_ruby}ruby(release)
Requires: %{?scl_prefix_ruby}ruby
Requires: %{?scl_prefix_ruby}ruby(rubygems)
BuildRequires: %{?scl_prefix_ruby}rubygems-devel
BuildRequires: %{?scl_prefix_ruby}ruby(release)
BuildRequires: %{?scl_prefix_ruby}ruby-devel
BuildRequires: %{?scl_prefix_ruby}rubygems
BuildRequires: %{?scl_prefix_ruby}rubygems-devel
Provides: %{?scl_prefix}rubygem(%{gem_name}) = %{version}
%{?scl:Obsoletes: ruby193-rubygem-%{gem_name}}
# end specfile generated dependencies
%description
Unicode Normalization Form support library for CRuby
Unicode Normalization Form support library for CRuby.
%package doc
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
%{?scl:scl enable %{scl} "}
%{?scl:scl enable %{scl} - << \EOF}
gem unpack %{SOURCE0}
%{?scl:"}
%{?scl:EOF}
%setup -q -D -T -n %{gem_name}-%{version}
%{?scl:scl enable %{scl} "}
%{?scl:scl enable %{scl} - << \EOF}
gem spec %{SOURCE0} -l --ruby > %{gem_name}.gemspec
%{?scl:"}
%{?scl:EOF}
%build
# Create the gem as gem install only works on a gem file
%{?scl:scl enable %{scl} "}
%{?scl:scl enable %{scl} - << \EOF}
gem build %{gem_name}.gemspec
%{?scl:"}
%{?scl:scl enable %{scl} - <<EOF}
%gem_install
%{?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}/* %{buildroot}/%{gem_dir}
mkdir -p %{buildroot}%{gem_extdir_mri}
cp -a .%{gem_dir}/* \
%{buildroot}%{gem_dir}/
cp -a .%{gem_extdir_mri}/{gem.build_complete,*.so} %{buildroot}%{gem_extdir_mri}/
mkdir -p %{buildroot}%{gem_extdir_mri}/%{gem_name}
cp -a .%{gem_extdir_mri}/gem.build_complete %{buildroot}%{gem_extdir_mri}/
cp -a .%{gem_extdir_mri}/*.so %{buildroot}%{gem_extdir_mri}/%{gem_name}/
# Prevent dangling symlink in -debuginfo (rhbz#878863).
rm -rf %{buildroot}%{gem_instdir}/ext/
%check
%{?scl:scl enable %{scl} - << \EOF}
GEM_PATH="%{buildroot}%{gem_dir}:$GEM_PATH" ruby -e "require '%{gem_name}'"
%{?scl:EOF}
%files
%dir %{gem_instdir}
%{gem_libdir}
%doc %{gem_instdir}/LICENSE.txt
%{gem_extdir_mri}
%exclude %{gem_instdir}/ext
%exclude %{gem_instdir}/.gitignore
%exclude %{gem_instdir}/.travis.yml
%exclude %{gem_instdir}/.document
%license %{gem_instdir}/LICENSE.txt
%{gem_libdir}
%exclude %{gem_cache}
%{gem_spec}
%files doc
%doc %{gem_docdir}
%doc %{gem_instdir}/README.md
%doc %{gem_instdir}/CHANGELOG.md
%{gem_instdir}/%{gem_name}.gemspec
%{gem_instdir}/test
%{gem_instdir}/Gemfile
%doc %{gem_instdir}/README.md
%{gem_instdir}/Rakefile
%exclude %{gem_instdir}/.*
%{gem_instdir}/test
%{gem_instdir}/unf_ext.gemspec
%changelog
* Wed Apr 15 2020 Ewoud Kohl van Wijngaarden <ewoud@kohlvanwijngaarden.nl> 0.0.7.6-1
- Update to 0.0.7.6-1
* Wed Apr 08 2020 Zach Huntington-Meath <zhunting@redhat.com> - 0.0.7.2-2
- Bump to release for EL8
packages/foreman/rubygem-unf_ext/unf_ext-0.0.7.2.gem
../../../.git/annex/objects/Z9/ZV/SHA256E-s392192--e8fa13d09880f8d06d30a86f929a38ba0af6abe61272927a49e6796aee1aa111.2.gem/SHA256E-s392192--e8fa13d09880f8d06d30a86f929a38ba0af6abe61272927a49e6796aee1aa111.2.gem
packages/foreman/rubygem-unf_ext/unf_ext-0.0.7.6.gem
../../../.git/annex/objects/zX/gk/SHA256E-s399360--ae5bf2c42c6ed31942972faaf39c7bfdd97aa44530852e37c701c11589e186d2.6.gem/SHA256E-s399360--ae5bf2c42c6ed31942972faaf39c7bfdd97aa44530852e37c701c11589e186d2.6.gem

Also available in: Unified diff