[rubygem-hipchat] Update to hipchat 0.13.0

Ken Dreyer ktdreyer at fedoraproject.org
Thu Nov 21 22:19:54 UTC 2013


commit e806045d476a216e07d9d03e885621b4375d9a54
Author: Ken Dreyer <ktdreyer at ktdreyer.com>
Date:   Thu Nov 21 15:19:38 2013 -0700

    Update to hipchat 0.13.0
    
    - Remove excluded files in %prep

 .gitignore           |    2 +-
 rubygem-hipchat.spec |   17 ++++++++++++-----
 sources              |    2 +-
 3 files changed, 14 insertions(+), 7 deletions(-)
---
diff --git a/.gitignore b/.gitignore
index 7b1f6b9..6861366 100644
--- a/.gitignore
+++ b/.gitignore
@@ -1 +1 @@
-/hipchat-0.12.0.gem
+/hipchat-0.13.0.gem
diff --git a/rubygem-hipchat.spec b/rubygem-hipchat.spec
index 119b784..4c74a20 100644
--- a/rubygem-hipchat.spec
+++ b/rubygem-hipchat.spec
@@ -1,8 +1,8 @@
 %global gem_name hipchat
 
 Name: rubygem-%{gem_name}
-Version: 0.12.0
-Release: 2%{?dist}
+Version: 0.13.0
+Release: 1%{?dist}
 Summary: Ruby library to interact with HipChat
 Group: Development/Languages
 License: MIT
@@ -40,6 +40,12 @@ gem unpack %{SOURCE0}
 
 gem spec %{SOURCE0} -l --ruby > %{gem_name}.gemspec
 
+# Remove developer-only files.
+for f in .document .gitignore .travis.yml 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
 gem build %{gem_name}.gemspec
@@ -66,19 +72,20 @@ popd
 %dir %{gem_instdir}
 %doc %{gem_instdir}/LICENSE
 %doc %{gem_instdir}/README.textile
-%exclude %{gem_instdir}/.*
 %{gem_libdir}
 %exclude %{gem_cache}
 %{gem_spec}
 
 %files doc
 %doc %{gem_docdir}
-%exclude %{gem_instdir}/Gemfile
-%exclude %{gem_instdir}/Rakefile
 %exclude %{gem_instdir}/spec
 
 
 %changelog
+* Thu Nov 21 2013 Ken Dreyer <ktdreyer at ktdreyer.com> - 0.13.0-1
+- Update to hipchat 0.13.0
+- Remove excluded files in %%prep
+
 * Mon Nov 04 2013 Ken Dreyer <ktdreyer at ktdreyer.com> - 0.12.0-2
 - Exclude Gemfile, Rakefile, and tests from binary package
 - Move README to main package
diff --git a/sources b/sources
index a809041..995c14f 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-3fd2b61728f32fc17fa2d35ba0ade7d4  hipchat-0.12.0.gem
+e6d05fd10c4efbe944b54258083e41f6  hipchat-0.13.0.gem


More information about the scm-commits mailing list