|
|
@ -4,15 +4,14 @@
|
|
|
|
%{?_with_bootstrap: %global bootstrap 1}
|
|
|
|
%{?_with_bootstrap: %global bootstrap 1}
|
|
|
|
|
|
|
|
|
|
|
|
Name: rubygem-%{gem_name}
|
|
|
|
Name: rubygem-%{gem_name}
|
|
|
|
Version: 2.0.5
|
|
|
|
Version: 2.0.6
|
|
|
|
# Introduce Epoch (related to bug 552972)
|
|
|
|
# Introduce Epoch (related to bug 552972)
|
|
|
|
Epoch: 1
|
|
|
|
Epoch: 1
|
|
|
|
Release: 1%{?dist}
|
|
|
|
Release: 1%{?dist}
|
|
|
|
Summary: A modular Ruby webserver interface
|
|
|
|
Summary: A modular Ruby webserver interface
|
|
|
|
Group: Development/Languages
|
|
|
|
|
|
|
|
# lib/rack/show_{status,exceptions}.rb contains snippets from Django under BSD license.
|
|
|
|
# lib/rack/show_{status,exceptions}.rb contains snippets from Django under BSD license.
|
|
|
|
License: MIT and BSD
|
|
|
|
License: MIT and BSD
|
|
|
|
URL: http://rack.github.io/
|
|
|
|
URL: https://rack.github.io/
|
|
|
|
Source0: https://rubygems.org/gems/%{gem_name}-%{version}.gem
|
|
|
|
Source0: https://rubygems.org/gems/%{gem_name}-%{version}.gem
|
|
|
|
BuildRequires: ruby(release)
|
|
|
|
BuildRequires: ruby(release)
|
|
|
|
BuildRequires: rubygems-devel
|
|
|
|
BuildRequires: rubygems-devel
|
|
|
@ -38,7 +37,6 @@ middleware) into a single method call.
|
|
|
|
|
|
|
|
|
|
|
|
%package doc
|
|
|
|
%package doc
|
|
|
|
Summary: Documentation for %{name}
|
|
|
|
Summary: Documentation for %{name}
|
|
|
|
Group: Documentation
|
|
|
|
|
|
|
|
Requires: %{name} = %{epoch}:%{version}-%{release}
|
|
|
|
Requires: %{name} = %{epoch}:%{version}-%{release}
|
|
|
|
BuildArch: noarch
|
|
|
|
BuildArch: noarch
|
|
|
|
|
|
|
|
|
|
|
@ -46,10 +44,15 @@ BuildArch: noarch
|
|
|
|
Documentation for %{name}.
|
|
|
|
Documentation for %{name}.
|
|
|
|
|
|
|
|
|
|
|
|
%prep
|
|
|
|
%prep
|
|
|
|
%setup -q -c -T
|
|
|
|
%setup -q -n %{gem_name}-%{version}
|
|
|
|
%gem_install -n %{SOURCE0}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
%build
|
|
|
|
%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
|
|
|
|
%install
|
|
|
|
mkdir -p %{buildroot}%{gem_dir}
|
|
|
|
mkdir -p %{buildroot}%{gem_dir}
|
|
|
@ -58,7 +61,7 @@ cp -a .%{gem_dir}/* \
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
mkdir -p %{buildroot}%{_bindir}
|
|
|
|
mkdir -p %{buildroot}%{_bindir}
|
|
|
|
cp -pa .%{_bindir}/* \
|
|
|
|
cp -a .%{_bindir}/* \
|
|
|
|
%{buildroot}%{_bindir}/
|
|
|
|
%{buildroot}%{_bindir}/
|
|
|
|
|
|
|
|
|
|
|
|
find %{buildroot}%{gem_instdir}/bin -type f | xargs chmod a+x
|
|
|
|
find %{buildroot}%{gem_instdir}/bin -type f | xargs chmod a+x
|
|
|
@ -113,14 +116,17 @@ popd
|
|
|
|
%doc %{gem_docdir}
|
|
|
|
%doc %{gem_docdir}
|
|
|
|
%doc %{gem_instdir}/HISTORY.md
|
|
|
|
%doc %{gem_instdir}/HISTORY.md
|
|
|
|
%doc %{gem_instdir}/README.rdoc
|
|
|
|
%doc %{gem_instdir}/README.rdoc
|
|
|
|
%{gem_instdir}/%{gem_name}.gemspec
|
|
|
|
|
|
|
|
%{gem_instdir}/Rakefile
|
|
|
|
%{gem_instdir}/Rakefile
|
|
|
|
%{gem_instdir}/SPEC
|
|
|
|
%{gem_instdir}/SPEC
|
|
|
|
|
|
|
|
%{gem_instdir}/%{gem_name}.gemspec
|
|
|
|
%doc %{gem_instdir}/example
|
|
|
|
%doc %{gem_instdir}/example
|
|
|
|
%{gem_instdir}/test
|
|
|
|
%{gem_instdir}/test
|
|
|
|
%doc %{gem_instdir}/contrib
|
|
|
|
%doc %{gem_instdir}/contrib
|
|
|
|
|
|
|
|
|
|
|
|
%changelog
|
|
|
|
%changelog
|
|
|
|
|
|
|
|
* Mon Nov 12 2018 Vít Ondruch <vondruch@redhat.com> - 2.0.6-1
|
|
|
|
|
|
|
|
- Update to Rack 2.0.6.
|
|
|
|
|
|
|
|
|
|
|
|
* Mon Sep 24 2018 pvalena <pvalena@redhat.com> - 1:2.0.5-1
|
|
|
|
* Mon Sep 24 2018 pvalena <pvalena@redhat.com> - 1:2.0.5-1
|
|
|
|
- Update to rack 2.0.5.
|
|
|
|
- Update to rack 2.0.5.
|
|
|
|
|
|
|
|
|
|
|
|