From 274eea6d37ab00126b8edbdd14d86d036d2af02c Mon Sep 17 00:00:00 2001 From: Chris Feist Date: Mar 25 2013 19:49:49 +0000 Subject: Don't try and build gems at all --- 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 - 0.9.36-4 +- Don't try to build gems at all + * Mon Mar 25 2013 Chris Feist - 0.9.36-3 - Removed all gems from build, will need to find pam package in the future