[rubygem-hoe] 3.9.0
Mamoru TASAKA
mtasaka at fedoraproject.org
Fri Feb 14 15:19:05 UTC 2014
commit dc8836c79e6b172a2751165a0e90c9918c84b59e
Author: Mamoru TASAKA <mtasaka at fedoraproject.org>
Date: Sat Feb 15 00:19:42 2014 +0900
3.9.0
.gitignore | 1 +
rubygem-hoe.spec | 78 +++++++++++++++++++++++++++--------------------------
sources | 2 +-
3 files changed, 42 insertions(+), 39 deletions(-)
---
diff --git a/.gitignore b/.gitignore
index 9e7a565..9a402f0 100644
--- a/.gitignore
+++ b/.gitignore
@@ -28,3 +28,4 @@ hoe-2.6.1.gem
/hoe-3.7.2.gem
/hoe-3.7.3.gem
/hoe-3.8.1.gem
+/hoe-3.9.0.gem
diff --git a/rubygem-hoe.spec b/rubygem-hoe.spec
index 839d1c0..dd87872 100644
--- a/rubygem-hoe.spec
+++ b/rubygem-hoe.spec
@@ -1,33 +1,22 @@
-%global gemdir %{gem_dir}
-%global gemname hoe
-%global gem_name %{gemname}
-%global geminstdir %{gem_instdir}
-
-%if 0%{?fedora} < 19
-%global rubyabi 1.9.1
-%endif
+%global gem_name hoe
+%global gem_name %{gem_name}
+%global gem_instdir %{gem_instdir}
Summary: Hoe is a simple rake/rubygems helper for project Rakefiles
-Name: rubygem-%{gemname}
-Version: 3.8.1
+Name: rubygem-%{gem_name}
+Version: 3.9.0
Release: 1%{?dist}
Group: Development/Languages
License: MIT
URL: http://rubyforge.org/projects/seattlerb/
-Source0: http://rubygems.org/gems/%{gemname}-%{version}.gem
+Source0: http://rubygems.org/gems/%{gem_name}-%{version}.gem
# Rescue Hoe.spec task when Manifest.txt
# seattlerb-Bugs-28571
Patch0: rubygem-hoe-3.0.6-rescue-missing-Manifest.patch
-%if 0%{?fedora} >= 19
Requires: ruby(release)
BuildRequires: ruby(release)
-%else
-Requires: ruby(abi) = %{rubyabi}
-Requires: ruby
-BuildRequires: ruby(abi) = %{rubyabi}
-BuildRequires: ruby
-%endif
+
Requires: rubygems >= 1.3.6
Requires: rubygem(rubyforge) >= 2.0.4
Requires: rubygem(rake) >= 0.8.7
@@ -38,7 +27,7 @@ BuildRequires: rubygem(minitest)
BuildRequires: rubygem(rake)
#BuildRequires: rubygem(rubyforge)
BuildArch: noarch
-Provides: rubygem(%{gemname}) = %{version}
+Provides: rubygem(%{gem_name}) = %{version}
%description
Hoe is a rake/rubygems helper for project Rakefiles. It helps generate
@@ -111,7 +100,7 @@ rm -rf tmpunpackdir
%build
%gem_install
-pushd .%{geminstdir}
+pushd .%{gem_instdir}
# Umm...
%_fixperms .
@@ -119,21 +108,21 @@ pushd .%{geminstdir}
popd
%install
-mkdir -p %{buildroot}%{gemdir}
+mkdir -p %{buildroot}%{gem_dir}
cp -a .%{_prefix}/* \
%{buildroot}%{_prefix}/
-chmod 0644 %{buildroot}%{gemdir}/cache/*gem
+chmod 0644 %{buildroot}%{gem_dir}/cache/*gem
-find %{buildroot}/%{geminstdir}/bin -type f | xargs chmod 0755
+find %{buildroot}/%{gem_instdir}/bin -type f | xargs chmod 0755
find %{buildroot}/%{_bindir} -type f | xargs chmod 0755
-chmod 0755 %{buildroot}/%{geminstdir}/template/bin/file_name.erb
+chmod 0755 %{buildroot}/%{gem_instdir}/template/bin/file_name.erb
# Don't remove template files
-#rm -f %{buildroot}/%{geminstdir}/template/.autotest.erb
+#rm -f %{buildroot}/%{gem_instdir}/template/.autotest.erb
%check
-pushd .%{geminstdir}
+pushd .%{gem_instdir}
# ???
sed -i -e '/maglev\?/d' test/test_hoe_debug.rb
@@ -152,23 +141,36 @@ popd
%files
%defattr(-, root, root, -)
%{_bindir}/sow
-%dir %{geminstdir}/
-%{geminstdir}/bin/
-%{geminstdir}/lib/
-%{geminstdir}/template/
-%{gemdir}/cache/%{gemname}-%{version}.gem
-%{gemdir}/specifications/%{gemname}-%{version}.gemspec
-
-%doc %{geminstdir}/[A-Z]*
+%dir %{gem_instdir}/
+%{gem_instdir}/bin/
+%{gem_instdir}/lib/
+%{gem_instdir}/template/
+%if 0%{?fedora} <= 20
+%{gem_cache}
+%else
+%exclude %{gem_cache}
+%endif
+%{gem_dir}/cache/%{gem_name}-%{version}.gem
+%{gem_spec}
+%doc %{gem_instdir}/[A-Z]*
%files doc
%defattr(-,root,root,-)
-%{geminstdir}/.autotest
-%{geminstdir}/.gemtest
-%{geminstdir}/test/
-%{gemdir}/doc/%{gemname}-%{version}
+%if 0%{?fedora} <= 20
+%{gem_instdir}/.autotest
+%{gem_instdir}/.gemtest
+%{gem_instdir}/test/
+%else
+%exclude %{gem_instdir}/.autotest
+%exclude %{gem_instdir}/.gemtest
+%exclude %{gem_instdir}/test/
+%endif
+%{gem_docdir}
%changelog
+* Sat Feb 15 2014 Mamoru TASAKA <mtasaka at fedoraproject.org> - 3.9.0-1
+- 3.9.0
+
* Wed Jan 29 2014 Mamoru TASAKA <mtasaka at fedoraproject.org> - 3.8.1-1
- 3.8.1
diff --git a/sources b/sources
index 375bfbc..9c72b9d 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-11ac40a5de807b119a30f6291e6db1d8 hoe-3.8.1.gem
+9bc787c7e8b44bc6bf9af7440a0d7c2d hoe-3.9.0.gem
More information about the scm-commits
mailing list