[rubygem-bundler_ext] Update to bundler_ext 0.4.0.
Vít Ondruch
vondruch at fedoraproject.org
Mon Mar 2 13:54:44 UTC 2015
commit f05f481766d53dce46723cffe8bfc1dd88731282
Author: Vít Ondruch <vondruch at redhat.com>
Date: Mon Mar 2 14:53:55 2015 +0100
Update to bundler_ext 0.4.0.
.gitignore | 1 +
rubygem-bundler_ext.spec | 60 ++++++++----------------------------------------
sources | 2 +-
3 files changed, 12 insertions(+), 51 deletions(-)
---
diff --git a/.gitignore b/.gitignore
index 5611c32..84357ce 100644
--- a/.gitignore
+++ b/.gitignore
@@ -1 +1,2 @@
/bundler_ext-0.3.1.gem
+/bundler_ext-0.4.0.gem
diff --git a/rubygem-bundler_ext.spec b/rubygem-bundler_ext.spec
index 3b01559..87fdce0 100644
--- a/rubygem-bundler_ext.spec
+++ b/rubygem-bundler_ext.spec
@@ -1,54 +1,21 @@
# Generated from bundler_ext-0.1.0.gem by gem2rpm -*- rpm-spec -*-
%global gem_name bundler_ext
-%if 0%{?fedora:1} && 0%{?fedora} <= 19
-%global rubyabi 1.9.1
-%endif
-
-%if 0%{?rhel} <= 6
-%global rubyabi 1.8
-%endif
-
-# Needed as long as the macros are not in RHEL:
-# https://bugzilla.redhat.com/show_bug.cgi?id=788001
-%if 0%{?rhel:1} && 0%{?rhel} <= 6
-%global gem_dir %(ruby -rubygems -e 'puts Gem::dir' 2>/dev/null)
-%global gem_instdir %{gem_dir}/gems/%{gem_name}-%{version}
-%global gem_libdir %{gem_instdir}/lib
-%global gem_docdir %{gem_dir}/doc/%{gem_name}-%{version}
-%global gem_cache %{gem_dir}/cache/%{gem_name}-%{version}.gem
-%global gem_spec %{gem_dir}/specifications/%{gem_name}-%{version}.gemspec
-%endif
-
Summary: Load system gems via Bundler DSL
Name: rubygem-%{gem_name}
-Version: 0.3.1
-Release: 2%{?dist}
+Version: 0.4.0
+Release: 1%{?dist}
Group: Development/Languages
License: MIT
URL: https://github.com/bundlerext/bundler_ext
Source0: http://rubygems.org/gems/%{gem_name}-%{version}.gem
-%if 0%{?fedora} >= 19 || 0%{?rhel} >= 7
-Requires: ruby(release)
BuildRequires: ruby(release)
-%else
-Requires: ruby(abi) = %{rubyabi}
-BuildRequires: ruby(abi) = %{rubyabi}
-%endif
-Requires: ruby(rubygems)
-Requires: rubygem(bundler)
-%if 0%{?rhel:1} && 0%{?rhel} <= 6
-BuildRequires: rubygems
-%else
BuildRequires: rubygems-devel
-%endif
BuildRequires: ruby
-BuildRequires: rubygem(rspec)
+BuildRequires: rubygem(rspec) < 3
BuildRequires: rubygem(bundler)
-# This is present to satifys spec/fixtures/Gemfile.in
-#BuildRequires: rubygem(deltacloud-client)
+BuildRequires: rubygem(rails)
BuildArch: noarch
-Provides: rubygem(%{gem_name}) = %{version}
%description
Simple library leveraging the Bundler Gemfile DSL to load gems already on the
@@ -62,17 +29,11 @@ Requires: %{name} = %{version}-%{release}
BuildArch: noarch
%description doc
-Documentation for %{name}
+Documentation for %{name}.
%prep
%setup -q -c -T
-mkdir -p .%{gem_dir}
-%if 0%{?rhel} <= 6
-gem install --local --install-dir .%{gem_dir} \
- --force %{SOURCE0}
-%else
%gem_install -n %{SOURCE0}
-%endif
%build
@@ -83,18 +44,14 @@ cp -pa .%{gem_dir}/* \
%check
pushd .%{gem_instdir}
-%if 0%{?rhel:1} && 0%{?rhel} <= 6
-spec spec
-%else
-rspec spec
-%endif
+rspec2 spec
popd
%files
%dir %{gem_instdir}
%exclude %{gem_instdir}/.*
-%doc %{gem_instdir}/MIT-LICENSE
+%license %{gem_instdir}/MIT-LICENSE
%{gem_libdir}
%exclude %{gem_cache}
%{gem_spec}
@@ -107,6 +64,9 @@ popd
%{gem_instdir}/spec/
%changelog
+* Mon Mar 02 2015 Vít Ondruch <vondruch at redhat.com> - 0.4.0-1
+- Update to bundler_ext 0.4.0.
+
* Sun Jun 08 2014 Fedora Release Engineering <rel-eng at lists.fedoraproject.org> - 0.3.1-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild
diff --git a/sources b/sources
index 6aa0665..396d20c 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-3b9d672875f4cc0285a3fa524644c5f4 bundler_ext-0.3.1.gem
+a44aee654615146f1962cbd322b9500e bundler_ext-0.4.0.gem
More information about the scm-commits
mailing list