[pcs] Don't try and build gems at all

cfeist cfeist at fedoraproject.org
Mon Mar 25 19:49:58 UTC 2013


commit 274eea6d37ab00126b8edbdd14d86d036d2af02c
Author: Chris Feist <cfeist at redhat.com>
Date:   Mon Mar 25 14:49:49 2013 -0500

    Don't try and build gems at all

 fedfix.patch |   11 ++++++++++-
 pcs.spec     |    5 ++++-
 2 files changed, 14 insertions(+), 2 deletions(-)
---
diff --git a/fedfix.patch b/fedfix.patch
index 49a6be1..3268ccb 100644
--- a/fedfix.patch
+++ b/fedfix.patch
@@ -2,12 +2,21 @@ Index: pcs/pcs-0.9.36/pcsd/Makefile
 ===================================================================
 --- pcs.orig/pcs-0.9.36/pcsd/Makefile
 +++ pcs/pcs-0.9.36/pcsd/Makefile
-@@ -1,4 +1,4 @@
+@@ -1,11 +1,12 @@
 -PCSD_GEMS=sinatra sinatra-contrib json highline rack rack-protection tilt eventmachine rack-test backports sinatra-sugar monkey-lib rpam-ruby19
 +PCSD_GEMS=
  
  tarball:
  	rm -f dist/pcsd.tar.gz
+ 	tar -C .. -czvf dist/pcsd.tar.gz --exclude ".*" --exclude .git --exclude --exclude=gemhome/*  --exclude=dist --exclude=assets --exclude=jquery-ui pcs-gui 
+ 
+ build_gems:
+-	mkdir -p gems; cd gems; gem install --local -i ../gemhome ${PCSD_GEMS}
++	echo "No gems to build"
++#	mkdir -p gems; cd gems; gem install --local -i ../gemhome ${PCSD_GEMS}
+ 
+ get_gems:
+ 	mkdir -p gems; cd gems; gem fetch ${PCSD_GEMS}
 Index: pcs/pcs-0.9.36/pcsd/pcsd.rb
 ===================================================================
 --- pcs.orig/pcs-0.9.36/pcsd/pcsd.rb
diff --git a/pcs.spec b/pcs.spec
index 2bc610a..f163db7 100644
--- a/pcs.spec
+++ b/pcs.spec
@@ -1,6 +1,6 @@
 Name: pcs		
 Version: 0.9.36
-Release: 2%{?dist}
+Release: 4%{?dist}
 License: GPLv2
 URL: http://github.com/feist/pcs
 Group: System Environment/Base
@@ -40,6 +40,9 @@ chmod 755 $RPM_BUILD_ROOT/%{python_sitelib}/pcs/pcs.py
 %doc COPYING README
 
 %changelog
+* Mon Mar 25 2013 Chris Feist <cfeist at rehdat.com> - 0.9.36-4
+- Don't try to build gems at all
+
 * Mon Mar 25 2013 Chris Feist <cfeist at rehdat.com> - 0.9.36-3
 - Removed all gems from build, will need to find pam package in the future
 


More information about the scm-commits mailing list