[rubygem-hoe/f14/master] - 2.6.2 - Drop development dependency - Split documentation files
Mamoru Tasaka
mtasaka at fedoraproject.org
Thu Sep 2 18:02:19 UTC 2010
commit 2a178c7c486c891bcefe38f2218acd3dd19d2f8d
Author: Mamoru Tasaka <tasaka1 at localhost.localdomain>
Date: Fri Sep 3 03:02:20 2010 +0900
- 2.6.2
- Drop development dependency
- Split documentation files
.gitignore | 1 +
rubygem-hoe.spec | 36 ++++++++++++++++++++++++++++--------
sources | 2 +-
3 files changed, 30 insertions(+), 9 deletions(-)
---
diff --git a/.gitignore b/.gitignore
index 2e6f8ff..5700683 100644
--- a/.gitignore
+++ b/.gitignore
@@ -1 +1,2 @@
hoe-2.6.1.gem
+/hoe-2.6.2.gem
diff --git a/rubygem-hoe.spec b/rubygem-hoe.spec
index ffcd1c2..2049a89 100644
--- a/rubygem-hoe.spec
+++ b/rubygem-hoe.spec
@@ -4,7 +4,7 @@
Summary: Hoe is a simple rake/rubygems helper for project Rakefiles
Name: rubygem-%{gemname}
-Version: 2.6.1
+Version: 2.6.2
Release: 1%{?dist}
Group: Development/Languages
License: MIT
@@ -15,9 +15,9 @@ Patch1: hoe-2.6.0-test-failure-glob-order.patch
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
Requires: ruby(abi) = 1.8
Requires: rubygems >= 1.3.6
-Requires: rubygem(rubyforge) >= 2.0.3
+Requires: rubygem(rubyforge) >= 2.0.4
Requires: rubygem(rake) >= 0.8.7
-Requires: rubygem(minitest) >= 1.5.0
+#Requires: rubygem(minitest) >= 1.7.0
BuildRequires: rubygems >= 1.3.6
BuildRequires(check): rubygem(minitest)
BuildRequires(check): rubygem(rake)
@@ -44,6 +44,14 @@ Plug-ins Provided:
* Hoe::Test
See class rdoc for help. Hint: ri Hoe
+%package doc
+Summary: Documentation for %{name}
+Group: Documentation
+Requires: %{name} = %{version}-%{release}
+
+%description doc
+This package contains documentation for %{name}.
+
%prep
%setup -q -c -T
mkdir -p .%{gemdir}
@@ -66,12 +74,16 @@ mkdir -p %{buildroot}%{gemdir}
cp -a .%{gemdir}/* \
%{buildroot}%{gemdir}/
+chmod 0644 %{buildroot}%{gemdir}/cache/*gem
+
mkdir -p %{buildroot}/%{_bindir}
mv %{buildroot}%{gemdir}/bin/* %{buildroot}/%{_bindir}
rmdir %{buildroot}/%{gemdir}/bin
find %{buildroot}/%{geminstdir}/bin -type f | xargs chmod 0755
+
chmod 0755 %{buildroot}/%{geminstdir}/template/bin/file_name.erb
-rm -f %{buildroot}/%{geminstdir}/template/.autotest.erb
+# Don't remove template files
+#rm -f %{buildroot}/%{geminstdir}/template/.autotest.erb
%clean
rm -rf %{buildroot}
@@ -82,7 +94,7 @@ pushd .%{geminstdir}
# Make sure that hoe currently building are loaded
export RUBYLIB=$(pwd)/lib
-rake test
+rake test -v --trace
popd
%files
@@ -96,11 +108,19 @@ popd
%{gemdir}/specifications/%{gemname}-%{version}.gemspec
%doc %{geminstdir}/[A-Z]*
-%doc %{geminstdir}/.autotest
-%doc %{geminstdir}/test/
-%doc %{gemdir}/doc/%{gemname}-%{version}
+
+%files doc
+%defattr(-,root,root,-)
+%{geminstdir}/.autotest
+%{geminstdir}/test/
+%{gemdir}/doc/%{gemname}-%{version}
%changelog
+* Fri Sep 3 2010 Mamoru Tasaka <mtasaka at ioa.s.u-tokyo.ac.jp> - 2.6.2-1
+- 2.6.2
+- Drop development dependency
+- Split documentation files
+
* Sat Jun 5 2010 Mamoru Tasaka <mtasaka at ioa.s.u-tokyo.ac.jp> - 2.6.1-1
- 2.6.1
diff --git a/sources b/sources
index 4a0398c..4fb0543 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-658cea3f4151ab493fb6a2063cdf470d hoe-2.6.1.gem
+5f97391db2062961c54f8a4e1f1c1d20 hoe-2.6.2.gem
More information about the scm-commits
mailing list