[rubygem-uuidtools] Rebuilt for Ruby 1.9.3.
Vít Ondruch
vondruch at fedoraproject.org
Tue Jan 24 09:43:35 UTC 2012
commit 0952bd6cafe4a0ce8c2e0b68d58f4d4757294cd5
Author: Vít Ondruch <vondruch at redhat.com>
Date: Tue Jan 24 10:36:52 2012 +0100
Rebuilt for Ruby 1.9.3.
rubygem-uuidtools.spec | 52 +++++++++++++++++++++++------------------------
1 files changed, 25 insertions(+), 27 deletions(-)
---
diff --git a/rubygem-uuidtools.spec b/rubygem-uuidtools.spec
index 9b62181..76ea40b 100644
--- a/rubygem-uuidtools.spec
+++ b/rubygem-uuidtools.spec
@@ -1,27 +1,24 @@
# Generated from uuidtools-2.1.1.gem by gem2rpm -*- rpm-spec -*-
-%global gemname uuidtools
+%global gem_name uuidtools
-%global gemdir %(ruby -rubygems -e 'puts Gem::dir' 2>/dev/null)
-%global geminstdir %{gemdir}/gems/%{gemname}-%{version}
-
-%global rubyabi 1.8
+%global rubyabi 1.9.1
Summary: A simple universally unique ID generation library
-Name: rubygem-%{gemname}
+Name: rubygem-%{gem_name}
Version: 2.1.2
-Release: 2%{?dist}
+Release: 3%{?dist}
Group: Development/Languages
License: MIT
URL: http://uuidtools.rubyforge.org/
-Source0: http://gems.rubyforge.org/gems/%{gemname}-%{version}.gem
+Source0: http://gems.rubyforge.org/gems/%{gem_name}-%{version}.gem
Requires: ruby(rubygems)
Requires: ruby(abi) = %{rubyabi}
-BuildRequires: ruby(rubygems)
+BuildRequires: rubygems-devel
BuildRequires: ruby(abi) = %{rubyabi}
# Use rspec-core until rspec are not migrated to RSpec 2.x
BuildRequires: rubygem(rspec-core)
BuildArch: noarch
-Provides: rubygem(%{gemname}) = %{version}
+Provides: rubygem(%{gem_name}) = %{version}
%description
UUIDTools was designed to be a simple library for generating any of the various
@@ -39,10 +36,10 @@ This package contains documentation for %{name}.
%prep
%setup -q -c -T
-mkdir -p .%{gemdir}
+mkdir -p .%{gem_dir}
gem install -V \
--local \
- --install-dir $(pwd)/%{gemdir} \
+ --install-dir $(pwd)/%{gem_dir} \
--force --rdoc \
%{SOURCE0}
@@ -50,36 +47,37 @@ gem install -V \
%install
rm -rf %{buildroot}
-mkdir -p %{buildroot}%{gemdir}
-cp -a .%{gemdir}/* %{buildroot}%{gemdir}/
+mkdir -p %{buildroot}%{gem_dir}
+cp -a .%{gem_dir}/* %{buildroot}%{gem_dir}/
%clean
rm -rf %{buildroot}
%check
-pushd .%{geminstdir}
+pushd .%{gem_instdir}
# Can't run during check as it calls ifconfig
echo 'UUIDTools::UUID.mac_address = "00:1f:c6:62:3d:15"' >> spec/spec_helper.rb
rspec spec
popd
%files
-%defattr(-,root,root,-)
-%doc %{geminstdir}/[A-Z]*
-%dir %{geminstdir}
-%{geminstdir}/lib
-%exclude %{gemdir}/cache/%{gemname}-%{version}.gem
-%{gemdir}/specifications/%{gemname}-%{version}.gemspec
+%doc %{gem_instdir}/[A-Z]*
+%dir %{gem_instdir}
+%{gem_libdir}
+%exclude %{gem_cache}
+%{gem_spec}
%files doc
-%defattr(-,root,root,-)
-%{geminstdir}/Rakefile
-%{geminstdir}/tasks
-%{geminstdir}/website
-%{geminstdir}/spec
-%{gemdir}/doc/%{gemname}-%{version}
+%{gem_instdir}/Rakefile
+%{gem_instdir}/tasks
+%{gem_instdir}/website
+%{gem_instdir}/spec
+%{gem_docdir}
%changelog
+* Tue Jan 24 2012 Vít Ondruch <vondruch at redhat.com> - 2.1.2-3
+- Rebuilt for Ruby 1.9.3.
+
* Sat Jan 14 2012 Fedora Release Engineering <rel-eng at lists.fedoraproject.org> - 2.1.2-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild
More information about the scm-commits
mailing list