[rubygem-polyglot] Update to Polyglot 0.3.3.
Vít Ondruch
vondruch at fedoraproject.org
Fri Oct 26 22:03:23 UTC 2012
commit f460b5c04ce8b61a0d0b318959f90e0c4a0b6792
Author: Vít Ondruch <vondruch at redhat.com>
Date: Sat Oct 27 00:02:35 2012 +0200
Update to Polyglot 0.3.3.
.gitignore | 1 +
rubygem-polyglot.spec | 29 ++++++++++++++---------------
sources | 2 +-
3 files changed, 16 insertions(+), 16 deletions(-)
---
diff --git a/.gitignore b/.gitignore
index e2fadc1..51fddec 100644
--- a/.gitignore
+++ b/.gitignore
@@ -1,2 +1,3 @@
polyglot-0.2.5.gem
/polyglot-0.3.1.gem
+/polyglot-0.3.3.gem
diff --git a/rubygem-polyglot.spec b/rubygem-polyglot.spec
index 2042d47..3ad684e 100644
--- a/rubygem-polyglot.spec
+++ b/rubygem-polyglot.spec
@@ -4,8 +4,8 @@
Summary: Allow hooking of language loaders for specified extensions into require
Name: rubygem-%{gem_name}
-Version: 0.3.1
-Release: 4%{?dist}
+Version: 0.3.3
+Release: 1%{?dist}
Group: Development/Languages
License: MIT
URL: http://polyglot.rubyforge.org
@@ -15,10 +15,8 @@ BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
%endif
Requires: ruby(abi) = %{rubyabi}
Requires: ruby(rubygems)
-Requires: ruby
BuildRequires: ruby(abi) = %{rubyabi}
BuildRequires: rubygems-devel
-BuildRequires: ruby
BuildRequires: rubygem(minitest)
BuildArch: noarch
Provides: rubygem(%{gem_name}) = %{version}
@@ -39,39 +37,40 @@ Documentation for %{name}
%prep
-
+%setup -q -c -T
+mkdir -p .%{gem_dir}
+gem install --local --install-dir .%{gem_dir} \
+ --force %{SOURCE0}
%build
%install
-rm -rf $RPM_BUILD_ROOT
-mkdir -p $RPM_BUILD_ROOT%{gem_dir}
-gem install --local --install-dir $RPM_BUILD_ROOT%{gem_dir} \
- --force --rdoc %{SOURCE0}
+mkdir -p %{buildroot}%{gem_dir}
+cp -pa .%{gem_dir}/* \
+ %{buildroot}%{gem_dir}/
%check
-pushd %{buildroot}%{gem_instdir}
-testrb -I. test
-popd
+# No tests anymore :(
%files
%dir %{gem_instdir}
%{gem_libdir}
%doc %{gem_instdir}/License.txt
-%{gem_cache}
+%exclude %{gem_cache}
%{gem_spec}
%files doc
%doc %{gem_docdir}
%doc %{gem_instdir}/History.txt
-%doc %{gem_instdir}/Manifest.txt
%doc %{gem_instdir}/README.txt
%{gem_instdir}/Rakefile
-%{gem_instdir}/test
%changelog
+* Fri Oct 26 2012 Vít Ondruch <vondruch at redhat.com> - 0.3.3-1
+- Update to Polyglot 0.3.3.
+
* Sat Jul 21 2012 Fedora Release Engineering <rel-eng at lists.fedoraproject.org> - 0.3.1-4
- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild
diff --git a/sources b/sources
index db23491..f284c0d 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-45a5e9e4a36935cfb387a80dba46f785 polyglot-0.3.1.gem
+01e313080095caf4dc7ab71fd572a377 polyglot-0.3.3.gem
More information about the scm-commits
mailing list