| |
@@ -2,8 +2,8 @@
|
| |
%global gem_name rubygems-mirror
|
| |
|
| |
Name: rubygem-%{gem_name}
|
| |
- Version: 1.2.0
|
| |
- Release: 4%{?dist}
|
| |
+ Version: 1.3.0
|
| |
+ Release: 1%{?dist}
|
| |
Summary: This is an update to the old `gem mirror` command
|
| |
License: MIT
|
| |
URL: https://github.com/rubygems/rubygems-mirror
|
| |
@@ -37,11 +37,7 @@
|
| |
|
| |
|
| |
%build
|
| |
- # Create the gem as gem install only works on a gem file
|
| |
gem build ../%{gem_name}-%{version}.gemspec
|
| |
-
|
| |
- # %%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
|
| |
%gem_install
|
| |
|
| |
%install
|
| |
@@ -49,11 +45,6 @@
|
| |
cp -a .%{gem_dir}/* \
|
| |
%{buildroot}%{gem_dir}/
|
| |
|
| |
- # Removed shebang: file is not executable and its execution is meaningless
|
| |
- # https://github.com/rubygems/rubygems-mirror/pull/41
|
| |
- sed -i '/^#!\/usr\/bin\/env/ d' %{buildroot}%{gem_instdir}/Rakefile
|
| |
-
|
| |
-
|
| |
# Run the test suite
|
| |
%check
|
| |
pushd .%{gem_instdir}
|
| |
@@ -70,6 +61,7 @@
|
| |
# License is included in README file only
|
| |
# https://github.com/rubygems/rubygems-mirror/pull/42
|
| |
%doc %{gem_instdir}/README.rdoc
|
| |
+ %exclude %{gem_instdir}/pkg
|
| |
|
| |
%files doc
|
| |
%doc %{gem_docdir}
|
| |
@@ -79,6 +71,9 @@
|
| |
%doc %{gem_instdir}/Manifest.txt
|
| |
|
| |
%changelog
|
| |
+ * Wed Jan 15 2020 Pavel Valena <pvalena@redhat.com> - 1.3.0-1
|
| |
+ - Update to rubygems-mirror 1.3.0.
|
| |
+
|
| |
* Fri Jul 26 2019 Fedora Release Engineering <releng@fedoraproject.org> - 1.2.0-4
|
| |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild
|
| |
|
| |
To have latest rubygems-mirror gem in Fedora.
Up-to-date Koji scratch-build:
https://koji.fedoraproject.org/koji/taskinfo?taskID=40580491
Up-to-date Copr build:
https://copr.fedorainfracloud.org/coprs/pvalena/rubygems/build/1147901/
Checks: