aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPascal Terjan <pterjan@gmail.com>2013-09-12 23:07:18 +0000
committerPascal Terjan <pterjan@gmail.com>2013-09-12 23:07:18 +0000
commitc96ff3eb28970ac780f2d6445a808f03f5c7748c (patch)
tree715ec7aad2daf85e2d6468697606a2c06e7a3116
parent6c4e0dd0d70d1f02ca8322e0907a464e763fcbab (diff)
downloadrpm-setup-c96ff3eb28970ac780f2d6445a808f03f5c7748c.tar
rpm-setup-c96ff3eb28970ac780f2d6445a808f03f5c7748c.tar.gz
rpm-setup-c96ff3eb28970ac780f2d6445a808f03f5c7748c.tar.bz2
rpm-setup-c96ff3eb28970ac780f2d6445a808f03f5c7748c.tar.xz
rpm-setup-c96ff3eb28970ac780f2d6445a808f03f5c7748c.zip
Handle another git ls-files syntax in gem_setup
-rw-r--r--NEWS2
-rw-r--r--build.macros.in1
2 files changed, 3 insertions, 0 deletions
diff --git a/NEWS b/NEWS
index ca40452..946d19b 100644
--- a/NEWS
+++ b/NEWS
@@ -1,3 +1,5 @@
+- Handle another git ls-files syntax in gem_setup
+
Version 1.182 - 10 Sep 2013, by Pascal Terjan
- Fix install of gems with several .so
diff --git a/build.macros.in b/build.macros.in
index 584c470..f4bb17a 100644
--- a/build.macros.in
+++ b/build.macros.in
@@ -490,6 +490,7 @@ if [ ! -f %{__ruby_module_name}.gemspec ]; then \
fi \
sed -i -e 's/`git ls-files`/`find -type f`/' \\\
-e 's/`git ls-files -- \\\(.*\\\)`/`find \\\1 -type f`/' \\\
+ -e 's/`git ls-files \\\(.*\\\)`/`find \\\1 -type f`/' \\\
-e 's/ s.version = .*/ s.version = "%{version}"/' \\\
%{__ruby_module_name}.gemspec