aboutsummaryrefslogtreecommitdiffstats
path: root/build.macros.in
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 /build.macros.in
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
Diffstat (limited to 'build.macros.in')
-rw-r--r--build.macros.in1
1 files changed, 1 insertions, 0 deletions
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