#3 Update to PDF::Core 0.8.1
Merged 5 years ago by pvalena. Opened 5 years ago by pvalena.
rpms/ pvalena/rubygem-pdf-core rebase  into  master

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

- /pdf-core-0.2.5.gem

- /pdf-core-0.5.1.gem

- /pdf-core-0.6.0.gem

- /pdf-core-0.6.1.gem

+ /pdf-core-*.gem

file modified
+16 -14
@@ -1,13 +1,15 @@ 

  %global gem_name pdf-core

  

  Name: rubygem-%{gem_name}

- Version: 0.6.1

- Release: 6%{?dist}

+ Version: 0.8.1

+ Release: 1%{?dist}

  Summary: PDF::Core is used by Prawn to render PDF documents

- Group: Development/Languages

  License: GPLv2 or GPLv3 or Ruby 

- URL: http://prawn.majesticseacreature.com

+ URL: https://github.com/prawnpdf/pdf-core

  Source0: https://rubygems.org/gems/%{gem_name}-%{version}.gem

+ # git clone https://github.com/prawnpdf/pdf-core && cd pdf-core

+ # git checkout 0.8.1 && tar czvf pdf-core-0.8.1-specs.tgz spec/

+ Source1: %{gem_name}-%{version}-specs.tgz

  BuildRequires: ruby(release)

  BuildRequires: rubygems-devel >= 1.3.6

  BuildRequires: ruby >= 1.9.3
@@ -23,7 +25,6 @@ 

  

  %package doc

  Summary: Documentation for %{name}

- Group: Documentation

  Requires: %{name} = %{version}-%{release}

  BuildArch: noarch

  
@@ -31,14 +32,10 @@ 

  Documentation for %{name}.

  

  %prep

- gem unpack %{SOURCE0}

- 

- %setup -q -D -T -n  %{gem_name}-%{version}

- 

- gem spec %{SOURCE0} -l --ruby > %{gem_name}.gemspec

+ %setup -q -n %{gem_name}-%{version} -b1

  

  %build

- gem build %{gem_name}.gemspec

+ gem build ../%{gem_name}-%{version}.gemspec

  %gem_install

  

  %install
@@ -49,8 +46,11 @@ 

  

  %check

  pushd .%{gem_instdir}

+ # Symlinking does not work for this test suite

+ cp -r %{_builddir}/spec .

+ 

  # get rid of bundler

- sed -i -e 's/require "bundler"//' spec/spec_helper.rb

+ sed -i -e "s/require 'bundler'//" spec/spec_helper.rb

  sed -i -e 's/Bundler.setup//' spec/spec_helper.rb

  rspec spec

  popd
@@ -60,7 +60,7 @@ 

  %{gem_libdir}

  %exclude %{gem_cache}

  %{gem_spec}

- %doc %{gem_instdir}/LICENSE

+ %license %{gem_instdir}/LICENSE

  %doc %{gem_instdir}/COPYING

  %doc %{gem_instdir}/GPLv2

  %doc %{gem_instdir}/GPLv3
@@ -70,9 +70,11 @@ 

  %{gem_instdir}/Gemfile

  %{gem_instdir}/Rakefile

  %{gem_instdir}/%{gem_name}.gemspec

- %{gem_instdir}/spec

  

  %changelog

+ * Thu Oct 25 2018 Pavel Valena <pvalena@redhat.com> - 0.8.1-1

+ - Update to pdf-core 0.8.1.

+ 

  * Sat Jul 14 2018 Fedora Release Engineering <releng@fedoraproject.org> - 0.6.1-6

  - Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild

  

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

- 419a8e5742325e1c092bbc7b2f505299  pdf-core-0.6.1.gem

+ SHA512 (pdf-core-0.8.1.gem) = d24dbf9e97b37aebf4440be273b840438f488e15c52a84cdbc770c4c4e031587576064a5c9ff6d45f1aa632893cc8d03287fac67ad1eff32f94464f06457e706

+ SHA512 (pdf-core-0.8.1-specs.tgz) = 2a5b6c5f7d69da042ffba767783a8ed3651021ae887ef053e7b7277eb926d7e54b3ea14a02f593f7f7436630dbef3a97c4a35b9729492a60d2eab605a5d0bc95

also enhance .spec and .gitignore files.

Copr-build:
https://copr.fedorainfracloud.org/coprs/pvalena/rubygems/build/815488/

Checks:

  • Tests: ok
  • rpmlint: ok
  • Dependent packages: ok
  • gem compare: ok

Note: I'm not sure Ruby license is still valid in License: GPLv2 or GPLv3 or Ruby

I'm not sure Ruby license is still valid in License: GPLv2 or GPLv3 or Ruby

It probably is.

LGTM

Pull-Request has been merged by pvalena

5 years ago