[packages/ruby-RMagick] - removed one more git use case - rel 3

baggins baggins at pld-linux.org
Sun Mar 13 10:50:00 CET 2016


commit 52c88df5419d05014c818004747661133f001d23
Author: Jan Rękorajski <baggins at pld-linux.org>
Date:   Sun Mar 13 10:49:36 2016 +0100

    - removed one more git use case
    - rel 3

 no-git.patch      | 11 +++++++++++
 ruby-RMagick.spec |  2 +-
 2 files changed, 12 insertions(+), 1 deletion(-)
---
diff --git a/ruby-RMagick.spec b/ruby-RMagick.spec
index 7b0ab5b..17aedc9 100644
--- a/ruby-RMagick.spec
+++ b/ruby-RMagick.spec
@@ -3,7 +3,7 @@ Summary:	Graphics Processing library for Ruby
 Summary(pl.UTF-8):	Biblioteka przetwarzania grafiki dla Ruby
 Name:		ruby-%{pkgname}
 Version:	2.15.4
-Release:	2
+Release:	3
 License:	Ruby-alike
 Group:		Development/Languages
 Source0:	http://rubygems.org/downloads/rmagick-%{version}.gem
diff --git a/no-git.patch b/no-git.patch
index 37c1a6f..88e3f1b 100644
--- a/no-git.patch
+++ b/no-git.patch
@@ -40,3 +40,14 @@
  namespace :legacy do
    require 'find'
  
+--- RMagick-2.15.4/rmagick.gemspec~	2016-03-13 10:39:36.000000000 +0100
++++ RMagick-2.15.4/rmagick.gemspec	2016-03-13 10:42:46.932844991 +0100
+@@ -13,7 +13,7 @@
+   s.homepage = 'https://github.com/rmagick/rmagick'
+   s.license = 'MIT'
+ 
+-  tracked_files = `git ls-files`.split($OUTPUT_RECORD_SEPARATOR)
++  tracked_files = `find ./ -printf "%P\n"`.split($OUTPUT_RECORD_SEPARATOR)
+   file_exclusion_regex = %r{(\Alib/rvg/to_c.rb)}
+   files         = tracked_files.reject{|file| file[file_exclusion_regex] }
+   test_files    = files.grep(%r{^(test|spec|features)/})
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/ruby-RMagick.git/commitdiff/52c88df5419d05014c818004747661133f001d23



More information about the pld-cvs-commit mailing list