[rubygem-RedCloth] Updating to version 4.2.3

Michael Stahnke stahnma at fedoraproject.org
Fri Sep 3 20:30:20 UTC 2010


commit 063f031ad5c0591731072ff00293209c7bfdde15
Author: stahnma <stahnma at websages.com>
Date:   Fri Sep 3 16:30:19 2010 -0400

     Updating to version 4.2.3

 .gitignore            |    1 +
 rubygem-RedCloth.spec |   38 +++++++++++++++++++++++++++-----------
 sources               |    2 +-
 3 files changed, 29 insertions(+), 12 deletions(-)
---
diff --git a/.gitignore b/.gitignore
index 278be86..56bc044 100644
--- a/.gitignore
+++ b/.gitignore
@@ -1 +1,2 @@
 RedCloth-4.2.2.gem
+/RedCloth-4.2.3.gem
diff --git a/rubygem-RedCloth.spec b/rubygem-RedCloth.spec
index 8dfd5c8..cb09230 100644
--- a/rubygem-RedCloth.spec
+++ b/rubygem-RedCloth.spec
@@ -9,8 +9,8 @@
 %global extensionddir %{installroot}/ext/redcloth_scan/
 
 Summary:       Textile parser for Ruby
-Name: 	       rubygem-%{gemname}
-Version:       4.2.2
+Name:          rubygem-%{gemname}
+Version:       4.2.3
 Release:       1%{?dist}
 Group:         Development/Languages
 License:       MIT
@@ -60,32 +60,48 @@ rm -rf %{extensionddir}
 rm %{installroot}/lib/%{gemlibname}
 cp %{installroot}/lib/redcloth.rb %{buildroot}%{ruby_sitelib}/redcloth.rb
 rm -rf %{buildroot}%{gemdir}/bin
-find %{buildroot}%{geminstdir}/bin -type f | xargs chmod a+x
-find %{buildroot}%{geminstdir} -name "*.rb" | xargs chmod a+x
+find %{installroot}/bin -type f | xargs chmod a+x
+find %{installroot} -name "*.rb" | xargs chmod a+x
 
-find %{buildroot}%{geminstdir} -type f -name \*.rb | xargs chmod 0644
+find %{installroot} -type f -name \*.rb | xargs chmod 0644
 
 # 4.2.2-1 No files have the prologue to run as executables.
-#find %{buildroot}%{geminstdir} -type f -name "\*.rb" | \
-#  xargs grep -l "^#!%{_bindir}/env" $file | xargs chmod 0755
-
-rm %{installroot}/.require_paths
+#find %%{installroot} -type f -name "\*.rb" | \
+#  xargs grep -l "^#!l%%{_bindir}/env" $file | xargs chmod 0755
 
+rm -f %{installroot}/.require_paths
+rm -f %{installroot}/Manifest
+rm -f %{installroot}/RedCloth.gemspec
 %clean
 rm -rf %{buildroot}
 
+%check 
+# Requires echoe -- not in Fedora yet
+cd %{buildroot}%{geminstdir}
+
 %files
 %defattr(-, root, root, -)
 %{_bindir}/redcloth
-%{gemdir}/gems/%{gemname}-%{version}/
+%dir %{geminstdir}
+%{geminstdir}/bin
+%{geminstdir}/lib
 %{ruby_sitelib}/redcloth.rb
 %{ruby_sitearch}/%{gemlibname}
 %doc %{gemdir}/doc/%{gemname}-%{version}
+%doc %{geminstdir}/spec
+%doc %{geminstdir}/README
+%doc %{geminstdir}/Rakefile
+%doc %{geminstdir}/CHANGELOG
+%doc %{geminstdir}/COPYING
+%doc %{geminstdir}/setup.rb
 %{gemdir}/cache/%{gemname}-%{version}.gem
 %{gemdir}/specifications/%{gemname}-%{version}.gemspec
 
 
 %changelog
+* Fri Sep 03 2010 Michael Stahnke <stahnma at fedoraproject.org> - 4.2.3-1
+- Version update 
+
 * Mon Feb 15 2010 Darryl L. Pierce <dpierce at redhat.com> - 4.2.2-1
 - Commented out the piece of set the executable status on files.
 - Release 4.2.2 of RedCloth.
@@ -104,7 +120,7 @@ rm -rf %{buildroot}
 
 * Thu Apr 30 2009 Darryl L. Pierce <dpierce at redhat.com> - 4.1.9-3
 - Changed mv to cp for binaries.
-- Removed redundant %doc entries.
+- Removed redundant %%doc entries.
 
 * Thu Apr 30 2009 Darryl L. Pierce <dpierce at redhat.com> - 4.1.9-2
 - Added BuildRequires: ruby-devel to fix koji issues.
diff --git a/sources b/sources
index 752df32..98ae43e 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-599ca833f131c8c1aa2d7bf5b0e9ede1  RedCloth-4.2.2.gem
+cc95e8af45e7a81c30c7480991d1c7ea  RedCloth-4.2.3.gem


More information about the scm-commits mailing list