rpms/rubygem-hoe/devel hoe-2.6.0-rubyforge-without-account.patch, NONE, 1.1 .cvsignore, 1.21, 1.22 rubygem-hoe.spec, 1.28, 1.29 sources, 1.21, 1.22
Mamoru Tasaka
mtasaka at fedoraproject.org
Mon May 3 16:57:18 UTC 2010
- Previous message: rpms/rubygem-hoe/F-13 hoe-2.6.0-rubyforge-without-account.patch, NONE, 1.1 .cvsignore, 1.21, 1.22 rubygem-hoe.spec, 1.29, 1.30 sources, 1.21, 1.22
- Next message: rpms/rubygem-minitest/F-12 .cvsignore, 1.2, 1.3 rubygem-minitest.spec, 1.1, 1.2 sources, 1.2, 1.3
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
Author: mtasaka
Update of /cvs/extras/rpms/rubygem-hoe/devel
In directory cvs01.phx2.fedoraproject.org:/tmp/cvs-serv28176/rubygem-hoe/devel
Modified Files:
.cvsignore rubygem-hoe.spec sources
Added Files:
hoe-2.6.0-rubyforge-without-account.patch
Log Message:
minitest 1.6.0 / hoe 2.6.0
hoe-2.6.0-rubyforge-without-account.patch:
rubyforge.rb | 8 ++++++++
1 file changed, 8 insertions(+)
--- NEW FILE hoe-2.6.0-rubyforge-without-account.patch ---
--- hoe-2.6.0/lib/hoe/rubyforge.rb.account 2010-04-28 15:34:32.000000000 +0900
+++ hoe-2.6.0/lib/hoe/rubyforge.rb 2010-04-28 16:11:18.000000000 +0900
@@ -40,12 +40,20 @@
end
if Hoe.plugins.include? :publish then
+ begin
path = File.expand_path("~/.rubyforge/user-config.yml")
config = YAML.load(File.read(path))
base = "/var/www/gforge-projects"
dir = "#{base}/#{rubyforge_name}/#{remote_rdoc_dir}"
rdoc_locations << "#{config["username"]}@rubyforge.org:#{dir}"
+
+ rescue Errno::ENOENT => err
+ hoe_ver = Hoe::VERSION
+ msg = err.message
+ # puts "Hoe #{hoe_ver}: warning: #{msg}"
+ end
+
end
end
end
Index: .cvsignore
===================================================================
RCS file: /cvs/extras/rpms/rubygem-hoe/devel/.cvsignore,v
retrieving revision 1.21
retrieving revision 1.22
diff -u -p -r1.21 -r1.22
--- .cvsignore 15 Feb 2010 17:53:17 -0000 1.21
+++ .cvsignore 3 May 2010 16:57:10 -0000 1.22
@@ -1 +1 @@
-hoe-2.5.0.gem
+hoe-2.6.0.gem
Index: rubygem-hoe.spec
===================================================================
RCS file: /cvs/extras/rpms/rubygem-hoe/devel/rubygem-hoe.spec,v
retrieving revision 1.28
retrieving revision 1.29
diff -u -p -r1.28 -r1.29
--- rubygem-hoe.spec 15 Feb 2010 18:19:59 -0000 1.28
+++ rubygem-hoe.spec 3 May 2010 16:57:13 -0000 1.29
@@ -1,24 +1,26 @@
-%define ruby_sitelib %(ruby -rrbconfig -e "puts Config::CONFIG['sitelibdir']")
-%define gemdir %(ruby -rubygems -e 'puts Gem::dir' 2>/dev/null)
-%define gemname hoe
-%define geminstdir %{gemdir}/gems/%{gemname}-%{version}
+%global gemdir %(ruby -rubygems -e 'puts Gem::dir' 2>/dev/null)
+%global gemname hoe
+%global geminstdir %{gemdir}/gems/%{gemname}-%{version}
Summary: Hoe is a simple rake/rubygems helper for project Rakefiles
Name: rubygem-%{gemname}
-Version: 2.5.0
-Release: 2%{?dist}
+Version: 2.6.0
+Release: 1%{?dist}
Group: Development/Languages
License: MIT
URL: http://rubyforge.org/projects/seattlerb/
Source0: http://gems.rubyforge.org/gems/%{gemname}-%{version}.gem
+Patch0: hoe-2.6.0-rubyforge-without-account.patch
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
Requires: ruby(abi) = 1.8
-Requires: rubygems
+Requires: rubygems >= 1.3.6
Requires: rubygem(rubyforge) >= 2.0.3
-Requires: rubygem(gemcutter) >= 0.2.1
Requires: rubygem(rake) >= 0.8.7
-Requires: rubygem(minitest) >= 1.4.2
-BuildRequires: rubygems
+Requires: rubygem(minitest) >= 1.5.0
+BuildRequires: rubygems >= 1.3.6
+BuildRequires(check): rubygem(minitest)
+BuildRequires(check): rubygem(rake)
+BuildRequires(check): rubygem(rubyforge)
BuildArch: noarch
Provides: rubygem(%{gemname}) = %{version}
@@ -42,14 +44,27 @@ Plug-ins Provided:
See class rdoc for help. Hint: ri Hoe
%prep
+%setup -q -c -T
+mkdir -p .%{gemdir}
+gem install \
+ --local \
+ --install-dir .%{gemdir} \
+ --force \
+ --rdoc \
+ %{SOURCE0}
+
+pushd .%{geminstdir}
+%patch0 -p1 -b .account
+popd
%build
%install
rm -rf %{buildroot}
mkdir -p %{buildroot}%{gemdir}
-gem install --local --install-dir %{buildroot}%{gemdir} \
- --force --rdoc %{SOURCE0}
+cp -a .%{gemdir}/* \
+ %{buildroot}%{gemdir}/
+
mkdir -p %{buildroot}/%{_bindir}
mv %{buildroot}%{gemdir}/bin/* %{buildroot}/%{_bindir}
rmdir %{buildroot}/%{gemdir}/bin
@@ -60,19 +75,39 @@ rm -f %{buildroot}/%{geminstdir}/templat
%clean
rm -rf %{buildroot}
+%check
+pushd .%{geminstdir}
+
+# Make sure that hoe currently building are loaded
+export RUBYLIB=$(pwd)/lib
+
+rake test
+popd
+
%files
%defattr(-, root, root, -)
%{_bindir}/sow
-%{gemdir}/gems/%{gemname}-%{version}/
-%doc %{gemdir}/doc/%{gemname}-%{version}
-%doc %{geminstdir}/History.txt
-%doc %{geminstdir}/Manifest.txt
-%doc %{geminstdir}/README.txt
+%dir %{geminstdir}/
+%{geminstdir}/bin/
+%{geminstdir}/lib/
+%{geminstdir}/template/
%{gemdir}/cache/%{gemname}-%{version}.gem
%{gemdir}/specifications/%{gemname}-%{version}.gemspec
+%doc %{geminstdir}/[A-Z]*
+%doc %{geminstdir}/.autotest
+%doc %{geminstdir}/test/
+%doc %{gemdir}/doc/%{gemname}-%{version}
%changelog
+* Wed Apr 28 2010 Mamoru Tasaka <mtasaka at ioa.s.u-tokyo.ac.jp> - 2.6.0-1
+- 2.6.0
+- gemcutter dependency dropped
+
+* Thu Mar 4 2010 Mamoru Tasaka <mtasaka at ioa.s.u-tokyo.ac.jp> - 2.5.0-3
+- Enable test
+- Some cleanups
+
* Mon Feb 15 2010 Darryl L. Pierce <dpierce at redhat.com> 2.5.0-2
- Updated the dependency on rubygem-rubyforge to >= 2.0.3.
Index: sources
===================================================================
RCS file: /cvs/extras/rpms/rubygem-hoe/devel/sources,v
retrieving revision 1.21
retrieving revision 1.22
diff -u -p -r1.21 -r1.22
--- sources 15 Feb 2010 17:53:17 -0000 1.21
+++ sources 3 May 2010 16:57:13 -0000 1.22
@@ -1 +1 @@
-7afb2f143fbeff68d0bfa46cd1d51623 hoe-2.5.0.gem
+488e14b85ec6b527b2b4ab443c90d038 hoe-2.6.0.gem
- Previous message: rpms/rubygem-hoe/F-13 hoe-2.6.0-rubyforge-without-account.patch, NONE, 1.1 .cvsignore, 1.21, 1.22 rubygem-hoe.spec, 1.29, 1.30 sources, 1.21, 1.22
- Next message: rpms/rubygem-minitest/F-12 .cvsignore, 1.2, 1.3 rubygem-minitest.spec, 1.1, 1.2 sources, 1.2, 1.3
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
More information about the scm-commits
mailing list