#2 Update to rubygems-mirror 1.3.0.
Merged 4 years ago by pvalena. Opened 4 years ago by pvalena.
rpms/ pvalena/rubygem-rubygems-mirror rebase  into  master

file modified
+6 -11
@@ -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

  

file modified
+1 -1
@@ -1,1 +1,1 @@ 

- SHA512 (rubygems-mirror-1.2.0.gem) = 4a5561d7a50b738d7be0d9dd203cf64a9a3598524b4d449d4eb3e93400de88d4f4d756787fc56ff27821121e5346ff06f46d02d404ef512c76cfd14aeb16cd53

+ SHA512 (rubygems-mirror-1.3.0.gem) = 6f0cb867bc57699e2a6ca3e021d9e2d7918e5fb952dd00c02d64be1dc2a6e5571e7b27c2e1509f76212b1eafab401ffa5f77f1ac79cb8f7a4788874f4ec24174

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:

  • Syntax check: ok
  • Tests: ok
  • Dependent packages: ok
  • Smoke test: ok
  • rpmlint: ok

Please merge it if you find it ok (It'll build 'itself').

It looks okay.
You can build it by yourself, as you already have the environment to build.

It looks okay.
You can build it by yourself, as you already have the environment to build.

That's what I meant. The build will auto-start when this PR is merged.

Thanks for review!

Pull-Request has been merged by pvalena

4 years ago

That's what I meant. The build will auto-start when this PR is merged.

Oh, the build (fedpkg build) will auto-start when the PR is merged now?
It looks a convenient new feature.

Not really, I just wrote a scriplet which does that from my computer (incl. sources upload etc.).