rpms/rubygem-mixlib-config/devel rubygem-mixlib-config-1.1.0-yaml.patch, NONE, 1.1 rubygem-mixlib-config.spec, 1.5, 1.6

Matthew Kent mkent at fedoraproject.org
Wed Jun 9 06:03:52 UTC 2010


Author: mkent

Update of /cvs/pkgs/rpms/rubygem-mixlib-config/devel
In directory cvs01.phx2.fedoraproject.org:/tmp/cvs-serv26072

Modified Files:
	rubygem-mixlib-config.spec 
Added Files:
	rubygem-mixlib-config-1.1.0-yaml.patch 
Log Message:
* Wed Jun 9 2010 Matthew Kent <mkent at magoazul.com> - 1.1.0-4
- New patch to enable check again.


rubygem-mixlib-config-1.1.0-yaml.patch:
 Rakefile |    1 +
 1 file changed, 1 insertion(+)

--- NEW FILE rubygem-mixlib-config-1.1.0-yaml.patch ---
--- mixlib-config-1.1.0/Rakefile.orig	2010-06-08 22:52:23.657775743 -0700
+++ mixlib-config-1.1.0/Rakefile	2010-06-08 22:52:37.128278089 -0700
@@ -41,6 +41,7 @@
 task :default => :spec
 
 require 'rake/rdoctask'
+require 'yaml'
 Rake::RDocTask.new do |rdoc|
   if File.exist?('VERSION.yml')
     config = YAML.load(File.read('VERSION.yml'))


Index: rubygem-mixlib-config.spec
===================================================================
RCS file: /cvs/pkgs/rpms/rubygem-mixlib-config/devel/rubygem-mixlib-config.spec,v
retrieving revision 1.5
retrieving revision 1.6
diff -u -p -r1.5 -r1.6
--- rubygem-mixlib-config.spec	8 Jun 2010 07:16:54 -0000	1.5
+++ rubygem-mixlib-config.spec	9 Jun 2010 06:03:52 -0000	1.6
@@ -8,11 +8,12 @@
 Summary: Simple ruby config mixin
 Name: rubygem-%{gemname}
 Version: 1.1.0
-Release: 3%{?dist}
+Release: 4%{?dist}
 Group: Development/Languages
 License: ASL 2.0
 URL: http://github.com/opscode/mixlib-config
 Source0: http://gems.rubyforge.org/gems/%{gemname}-%{version}.gem
+Patch0: rubygem-mixlib-config-1.1.0-yaml.patch
 BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
 Requires: ruby(rubygems)
 Requires: ruby(abi) = %{rubyabi}
@@ -37,7 +38,6 @@ This package contains documentation for 
 %prep
 %setup -q -c -T
 
-%build
 mkdir -p .%{gemdir}
 gem install -V \
   --local \
@@ -45,6 +45,11 @@ gem install -V \
   --force --rdoc \
   %{SOURCE0}
 
+pushd .%{geminstdir}
+%patch0 -p1
+
+%build
+
 %install
 rm -rf %{buildroot}
 mkdir -p %{buildroot}%{gemdir}
@@ -60,7 +65,7 @@ rm -rf %{buildroot}
 pushd .%{geminstdir}
 # Not sure how this slipped in - breaks rake spec as we don't load Jeweler
 sed -i 's/^Jeweler::GemcutterTasks.new$//' Rakefile
-rake spec || :
+rake spec
 
 %files
 %defattr(-, root, root, -)
@@ -79,6 +84,9 @@ rake spec || :
 %{gemdir}/doc/%{gemname}-%{version}
 
 %changelog
+* Wed Jun 9 2010 Matthew Kent <mkent at magoazul.com> - 1.1.0-4
+- New patch to enable check again.
+
 * Tue Jun 8 2010 Matthew Kent <mkent at magoazul.com> - 1.1.0-3
 - Disable check for now.
 



More information about the scm-commits mailing list