From 472913e41b1ccf3ef14a13cb87f8d60f09f9f311 Mon Sep 17 00:00:00 2001 From: Vít Ondruch Date: Nov 12 2018 15:16:02 +0000 Subject: Update to Rack 2.0.6. --- diff --git a/rubygem-rack.spec b/rubygem-rack.spec index 30adee3..ac68b03 100644 --- a/rubygem-rack.spec +++ b/rubygem-rack.spec @@ -4,15 +4,14 @@ %{?_with_bootstrap: %global bootstrap 1} Name: rubygem-%{gem_name} -Version: 2.0.5 +Version: 2.0.6 # Introduce Epoch (related to bug 552972) Epoch: 1 Release: 1%{?dist} Summary: A modular Ruby webserver interface -Group: Development/Languages # lib/rack/show_{status,exceptions}.rb contains snippets from Django under BSD license. License: MIT and BSD -URL: http://rack.github.io/ +URL: https://rack.github.io/ Source0: https://rubygems.org/gems/%{gem_name}-%{version}.gem BuildRequires: ruby(release) BuildRequires: rubygems-devel @@ -38,7 +37,6 @@ middleware) into a single method call. %package doc Summary: Documentation for %{name} -Group: Documentation Requires: %{name} = %{epoch}:%{version}-%{release} BuildArch: noarch @@ -46,10 +44,15 @@ BuildArch: noarch Documentation for %{name}. %prep -%setup -q -c -T -%gem_install -n %{SOURCE0} +%setup -q -n %{gem_name}-%{version} %build +# Create the gem as gem install only works on a gem file +gem build ../%{gem_name}-%{version}.gemspec + +# %%gem_install compiles any C extensions and installs the gem into ./%%gem_dir +# by default, so that we can move it into the buildroot in %%install +%gem_install %install mkdir -p %{buildroot}%{gem_dir} @@ -58,7 +61,7 @@ cp -a .%{gem_dir}/* \ mkdir -p %{buildroot}%{_bindir} -cp -pa .%{_bindir}/* \ +cp -a .%{_bindir}/* \ %{buildroot}%{_bindir}/ find %{buildroot}%{gem_instdir}/bin -type f | xargs chmod a+x @@ -113,14 +116,17 @@ popd %doc %{gem_docdir} %doc %{gem_instdir}/HISTORY.md %doc %{gem_instdir}/README.rdoc -%{gem_instdir}/%{gem_name}.gemspec %{gem_instdir}/Rakefile %{gem_instdir}/SPEC +%{gem_instdir}/%{gem_name}.gemspec %doc %{gem_instdir}/example %{gem_instdir}/test %doc %{gem_instdir}/contrib %changelog +* Mon Nov 12 2018 Vít Ondruch - 2.0.6-1 +- Update to Rack 2.0.6. + * Mon Sep 24 2018 pvalena - 1:2.0.5-1 - Update to rack 2.0.5. diff --git a/sources b/sources index 5d8df2f..1e31d9a 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (rack-2.0.5.gem) = ac820997ec5804816e26275630797d0c86e2dc04d43572e66e99a25067d531c8a6fcdfb7b5157ce44d039d1690bb015567d859a13a85dc7d22fa0f7454ea0aa2 +SHA512 (rack-2.0.6.gem) = f1b93bbd16b7e44423c0977444183d9685e3c82e806304f304620731e5b4590920dcc363026277aa4b9ee0a2151c54570be341dcb9265517c7315ca4a504ef22