From 5c09b9a27333e71281b5685c483f62e9d076c70a Mon Sep 17 00:00:00 2001 From: Dan Allen Date: Jan 19 2013 22:53:29 +0000 Subject: comment patch, exclude cache --- diff --git a/patches/asciidoctor-disable-use-of-pending.patch b/patches/asciidoctor-disable-use-of-pending.patch index 730dfce..725cbee 100644 --- a/patches/asciidoctor-disable-use-of-pending.patch +++ b/patches/asciidoctor-disable-use-of-pending.patch @@ -1,3 +1,6 @@ +# disables use of pending statement in the test suite The required gem, +# pending, is not packaged in Fedora and since the statement is merely a task +# note, it's safe to disable it's usage for the purpose of packaging. diff --git a/test/attributes_test.rb b/test/attributes_test.rb index 3e15eac..b683667 100644 --- a/test/attributes_test.rb diff --git a/rubygem-asciidoctor.spec b/rubygem-asciidoctor.spec index 6499a01..7c7e3cf 100644 --- a/rubygem-asciidoctor.spec +++ b/rubygem-asciidoctor.spec @@ -9,6 +9,9 @@ Group: Development/Languages License: MIT URL: http://github.com/erebor/asciidoctor Source0: http://rubygems.org/gems/%{gem_name}-%{version}.gem +# Patch0: disables use of pending statement in the test suite The required gem, +# pending, is not packaged in Fedora and since the statement is merely a task +# note, it's safe to disable it's usage for the purpose of packaging. Patch0: asciidoctor-disable-use-of-pending.patch Requires: ruby(abi) = %{rubyabi} Requires: ruby(rubygems) @@ -79,10 +82,10 @@ cp -a rdoc/* \ %files %dir %{gem_instdir} +%exclude %{gem_cache} %{gem_instdir}/LICENSE %{gem_instdir}/README.asciidoc %{gem_libdir} -%{gem_cache} %{gem_spec} # Reenable when binary actually functions #%{_bindir}/asciidoctor