[rubygem-awesome_spawn] Update to 1.1.1

Achilleas Pipinellis axilleas at fedoraproject.org
Mon Feb 24 07:07:06 UTC 2014


commit 405016398d0f5b86ab471d76a58ad1a2c585b80f
Author: Achilleas Pipinellis <axilleas at archlinux.gr>
Date:   Mon Feb 24 01:02:18 2014 +0000

    Update to 1.1.1

 .gitignore                 |    6 ++++++
 rubygem-awesome_spawn.spec |   21 ++++++++++-----------
 sources                    |    2 +-
 3 files changed, 17 insertions(+), 12 deletions(-)
---
diff --git a/.gitignore b/.gitignore
index 73781f1..4883151 100644
--- a/.gitignore
+++ b/.gitignore
@@ -1 +1,7 @@
 /awesome_spawn-1.0.0.gem
+/awesome_spawn-1.1.1.gem
+*log
+*rpm
+noarch/
+results*
+awesome*
diff --git a/rubygem-awesome_spawn.spec b/rubygem-awesome_spawn.spec
index be33e97..70e13ae 100644
--- a/rubygem-awesome_spawn.spec
+++ b/rubygem-awesome_spawn.spec
@@ -2,8 +2,8 @@
 %global gem_name awesome_spawn
 
 Name: rubygem-%{gem_name}
-Version: 1.0.0
-Release: 2%{?dist}
+Version: 1.1.1
+Release: 1%{?dist}
 Summary: A module that provides some useful features over Ruby's Kernel.spawn
 Group: Development/Languages
 License: MIT
@@ -38,12 +38,6 @@ gem unpack %{SOURCE0}
 
 gem spec %{SOURCE0} -l --ruby > %{gem_name}.gemspec
 
-# Remove developer-only files.
-for f in .rspec .travis.yml .yardopts .gitignore Gemfile Rakefile; do
-  rm $f
-  sed -i "s|\"$f\",||g" %{gem_name}.gemspec
-done
-
 %build
 
 # Create the gem as gem install only works on a gem file
@@ -51,14 +45,16 @@ gem build %{gem_name}.gemspec
 
 %gem_install
 
-# Remove unnecessary gemspec file
-rm .%{gem_instdir}/%{gem_name}.gemspec
-
 %install
 mkdir -p %{buildroot}%{gem_dir}
 cp -pa .%{gem_dir}/* \
         %{buildroot}%{gem_dir}/
 
+# Remove developer-only files.
+pushd %{buildroot}%{gem_instdir}
+rm {.rspec,.yardopts}
+popd
+
 %check
 pushd .%{gem_instdir}
 sed -i '/[Cc]overalls/d' spec/spec_helper.rb
@@ -78,6 +74,9 @@ popd
 %{gem_instdir}/spec/
 
 %changelog
+* Mon Feb 24 2014 Achilleas Pipinellis <axilleas at fedoraproject.org> - 1.1.1-1
+- Update to 1.1.1
+
 * Tue Jan 21 2014 Achilleas Pipinellis <axilleaspi at ymail.com> - 1.0.0-2
 - Remove unecessary comments
 - Fix Requires/BuildRequires typos
diff --git a/sources b/sources
index a5cac47..456d63c 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-78543d721690d4d829e62cf5788e6386  awesome_spawn-1.0.0.gem
+e817a84a54ceac29465f77394148ae2d  awesome_spawn-1.1.1.gem


More information about the scm-commits mailing list