[rubygem-yard] update to yard 0.7.2

Mohammed Morsi mmorsi at fedoraproject.org
Mon Jul 25 18:22:21 UTC 2011


commit dee70f2e5cc4a98e0d71d176ec008c32e4e2ad62
Author: Mo Morsi <mmorsi at redhat.com>
Date:   Mon Jul 25 14:21:56 2011 -0400

    update to yard 0.7.2

 .gitignore        |    1 +
 rubygem-yard.spec |   25 ++++++++++++-------------
 sources           |    2 +-
 3 files changed, 14 insertions(+), 14 deletions(-)
---
diff --git a/.gitignore b/.gitignore
index 7d9b445..631d23e 100644
--- a/.gitignore
+++ b/.gitignore
@@ -1 +1,2 @@
 yard-0.5.3.gem
+/yard-0.7.2.gem
diff --git a/rubygem-yard.spec b/rubygem-yard.spec
index 8359019..6e3695b 100644
--- a/rubygem-yard.spec
+++ b/rubygem-yard.spec
@@ -6,20 +6,19 @@
 
 Name: rubygem-%{gemname}
 Summary: Documentation tool for consistent and usable documentation in Ruby
-Version: 0.5.3
-Release: 4%{?dist}
+Version: 0.7.2
+Release: 1%{?dist}
 Group: Development/Languages
 License: MIT and (GPLv2 or Ruby)
 URL: http://yardoc.org
 
-Source0: http://gemcutter.org/downloads/%{gemname}-%{version}.gem
-BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
+Source0: http://rubygems.org/gems/yard-0.7.2.gem
 Requires: rubygems
 Requires: ruby(abi) = %{rubyabi}
 BuildRequires: rubygems
-BuildRequires(check): rubygem(rake)
-BuildRequires(check): rubygem(rspec)
-BuildRequires(check): rubygem(RedCloth)
+BuildRequires: rubygem(rake)
+BuildRequires: rubygem(rspec)
+BuildRequires: rubygem(RedCloth)
 BuildArch: noarch
 Provides: rubygem(%{gemname}) = %{version}
 
@@ -36,7 +35,6 @@ custom Ruby constructs such as custom class level definitions.
 %build
 
 %install
-rm -rf %{buildroot}
 mkdir -p %{buildroot}%{gemdir}
 mkdir -p %{buildroot}/%{_bindir}
 
@@ -47,23 +45,20 @@ mv %{buildroot}%{gemdir}/bin/* %{buildroot}/%{_bindir}
 rmdir %{buildroot}%{gemdir}/bin
 find %{buildroot}%{geminstdir}/bin -type f | xargs chmod a+x
 
-%clean
-rm -rf %{buildroot}
-
 %check
 pushd .%{geminstdir} 
 rake spec || : 
 
 %files
-%defattr(-, root, root, -)
 %{_bindir}/yardoc
 %{_bindir}/yri
-%{_bindir}/yard-graph
+%{_bindir}/yard
 %dir %{geminstdir} 
 %{geminstdir}/bin
 %{geminstdir}/lib
 %{geminstdir}/templates
 %{geminstdir}/.yardopts
+%doc %{geminstdir}/LEGAL
 
 %{gemdir}/cache/%{gemname}-%{version}.gem
 %{gemdir}/specifications/%{gemname}-%{version}.gemspec
@@ -79,6 +74,10 @@ rake spec || :
 
 
 %changelog
+* Mon Jul 25 2011 Mo Morsi <mmorsi at redhat.com> - 0.7.2-1
+- update to latest upstream release
+- fixes to conform to fedora guidelines
+
 * Wed Feb 09 2011 Fedora Release Engineering <rel-eng at lists.fedoraproject.org>
 - Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
 
diff --git a/sources b/sources
index 3e15974..68f5104 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-5bf1e34356d0803203ddf97d03fdf0e3  yard-0.5.3.gem
+d45ada9f7e2e70af8df81644f1eec153  yard-0.7.2.gem


More information about the scm-commits mailing list