[rubygem-mg] Removed Group fields.
Darryl L. Pierce
mcpierce at fedoraproject.org
Tue Dec 25 12:20:46 UTC 2012
commit 2ef50f763591b22526c7209cd8417fe2557c129e
Author: Darryl L. Pierce <dpierce at redhat.com>
Date: Tue Dec 25 07:19:42 2012 -0500
Removed Group fields.
- Refactored the specfile to match current Ruby packaging guidelines.
rubygem-mg.spec | 27 +++++++++++++++++++++------
1 files changed, 21 insertions(+), 6 deletions(-)
---
diff --git a/rubygem-mg.spec b/rubygem-mg.spec
index b8150d0..094c2f1 100644
--- a/rubygem-mg.spec
+++ b/rubygem-mg.spec
@@ -4,9 +4,9 @@
Summary: Minimalist way to build and publish gems using Rake. Also build tarballs
Name: rubygem-%{gem_name}
Version: 0.0.8
-Release: 5%{?dist}
-Group: Development/Languages
+Release: 5.1%{?dist}
License: WTFPL
+
URL: http://github.com/sr/mg
Source0: http://rubygems.org/gems/%{gem_name}-%{version}.gem
@@ -29,7 +29,6 @@ Minimalist way to build and publish gems using Rake. Also build tarballs.
%package doc
Summary: Documentation for %{name}
-Group: Documentation
Requires: %{name} = %{version}-%{release}
BuildArch: noarch
@@ -39,16 +38,28 @@ Documentation for %{name}
%prep
+gem unpack %{SOURCE0}
+%setup -q -D -T -n %{gem_name}-%{version}
+
+gem spec %{SOURCE0} -l --ruby > %{gem_name}.gemspec
+
+# apply any patches here
%build
+gem build %{gem_name}.gemspec
+
+gem install --local \
+ --install-dir .%{gem_dir} \
+ --force \
+ --rdoc \
+ %{SOURCE0}
%install
-rm -rf %{buildroot}
mkdir -p %{buildroot}%{gem_dir}
-gem install --local --install-dir %{buildroot}%{gem_dir} \
- --force --rdoc %{SOURCE0}
+cp -a .%{gem_dir}/* \
+ %{buildroot}%{gem_dir}/
%files
@@ -64,6 +75,10 @@ gem install --local --install-dir %{buildroot}%{gem_dir} \
%changelog
+* Tue Dec 25 2012 Darryl L. Pierce <dpierce at redhat.com> - 0.0.8-5.1
+- Removed Group fields.
+- Refactored the specfile to match current Ruby packaging guidelines.
+
* Sat Jul 21 2012 Fedora Release Engineering <rel-eng at lists.fedoraproject.org> - 0.0.8-5
- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild
More information about the scm-commits
mailing list