aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-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