[rubygem-shotgun] New version 0.8.

Michael Stahnke stahnma at fedoraproject.org
Sat Sep 4 04:38:36 UTC 2010


commit e39a622220de62692197a01e226852e58951e071
Author: stahnma <stahnma at websages.com>
Date:   Sat Sep 4 00:38:34 2010 -0400

    New version 0.8.

 .gitignore           |    1 +
 rubygem-shotgun.spec |   34 +++++++++++++++++++++++++++++-----
 sources              |    2 +-
 3 files changed, 31 insertions(+), 6 deletions(-)
---
diff --git a/.gitignore b/.gitignore
index cf37d4f..fd4fb42 100644
--- a/.gitignore
+++ b/.gitignore
@@ -1 +1,2 @@
 shotgun-0.4.gem
+/shotgun-0.8.gem
diff --git a/rubygem-shotgun.spec b/rubygem-shotgun.spec
index 0c363dc..e5c4bd3 100644
--- a/rubygem-shotgun.spec
+++ b/rubygem-shotgun.spec
@@ -5,7 +5,7 @@
 
 Summary:        Automatic reloading version of the rackup command
 Name:           rubygem-%{gemname}
-Version:        0.4
+Version:        0.8
 Release:        1%{?dist}
 Group:          Development/Languages
 License:        MIT
@@ -15,9 +15,8 @@ BuildRoot:      %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
 Requires:       ruby(abi) = 1.8
 Requires:       rubygems
 Requires:       rubygem(rack) >= 0.9.1
-Requires:       rubygem(launchy) >= 0.3.3
-Requires:       rubygem(launchy) < 1.0
 BuildRequires:  rubygems
+BuildRequires(check): rubygem(rake)
 BuildArch:      noarch
 Provides:       rubygem(%{gemname}) = %{version}
 
@@ -35,6 +34,15 @@ child process. The result is clean, application-wide reloading of all
 source files and templates on each request.
 
 
+%package doc
+Summary: Documentation for %{name}
+Group: Documentation
+
+Requires: %{name} = %{version}-%{release}
+
+%description doc
+This package contains documentation for %{name}.
+
 %prep
 
 
@@ -50,28 +58,44 @@ mkdir -p $RPM_BUILD_ROOT/%{_bindir}
 mv $RPM_BUILD_ROOT%{gemdir}/bin/* %{buildroot}/%{_bindir}
 rmdir $RPM_BUILD_ROOT%{gemdir}/bin
 find $RPM_BUILD_ROOT%{geminstdir}/bin -type f |xargs chmod a+x
+rm -f %{geminstdir}/shotgun.gemspec
 
 
 %clean
 rm -rf $RPM_BUILD_ROOT
 
+%check
+cd %{buildroot}%{geminstdir}
+rake test
+
 
 %files
 %defattr(-,root,root,-)
 %{_bindir}/shotgun
 %dir %{geminstdir}
-%{geminstdir}/Rakefile
+%doc %{geminstdir}/man
 %{geminstdir}/bin
 %{geminstdir}/lib
 %{geminstdir}/shotgun.gemspec
-%{gemdir}/doc/%{gemname}-%{version}
 %doc %{geminstdir}/README
 %doc %{geminstdir}/COPYING
 %{gemdir}/cache/%{gemname}-%{version}.gem
 %{gemdir}/specifications/%{gemname}-%{version}.gemspec
 
+%files doc
+%defattr(-,root,root,-)
+%{geminstdir}/test
+%{geminstdir}/man
+%{geminstdir}/Rakefile
+%{gemdir}/doc/%{gemname}-%{version}
+
 
 %changelog
+* Sat Sep 04 2010 Michael Stahnke <mastahnke at gmail.com> - 0.8-1
+- New version
+- No longer requires launchy
+- Added %%check
+
 * Thu Jan 07 2010 Michal Fojtik <mfojtik at redhat.com> - 0.4-1
 - Version-Release
 - Fixed documentation
diff --git a/sources b/sources
index 23765f4..54ea2fa 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-71d6af08f3c61438fe8f03d8ed074cc6  shotgun-0.4.gem
+6a186780862f74b308386d71ddadab83  shotgun-0.8.gem


More information about the scm-commits mailing list