diff --git a/.gitignore b/.gitignore index 9d019b8..6cdfcec 100644 --- a/.gitignore +++ b/.gitignore @@ -11,3 +11,5 @@ thin-1.2.5.gem /thin-1.6.4.gem /thin-1.7.0-tests.tgz /thin-1.7.0.gem +/thin-1.7.2-tests.tgz +/thin-1.7.2.gem diff --git a/rubygem-thin.spec b/rubygem-thin.spec index 328b10e..687bb5e 100644 --- a/rubygem-thin.spec +++ b/rubygem-thin.spec @@ -1,26 +1,24 @@ %global gem_name thin Name: rubygem-%{gem_name} -Version: 1.7.0 -Release: 3%{?dist} +Version: 1.7.2 +Release: 1%{?dist} Summary: A thin and fast web server -Group: Development/Languages # lib/thin/stats.html.erb: BSD # spec/rails_app/public/javascripts/*.js: MIT License: (GPLv2+ or Ruby) and BSD and MIT URL: http://code.macournoyer.com/thin/ Source0: https://rubygems.org/gems/%{gem_name}-%{version}.gem # git clone https://github.com/macournoyer/thin.git && cd thing -# git checkout v1.7.0 && tar czvf thin-1.7.0-tests.tgz spec/ +# git checkout v1.7.2 && tar czvf thin-1.7.2-tests.tgz spec/ Source1: %{gem_name}-%{version}-tests.tgz BuildRequires: ruby(release) BuildRequires: rubygems-devel BuildRequires: ruby-devel -%if 0%{?fedora} >= 22 +# Compiler is required for build of gem binary extension. +# https://fedoraproject.org/wiki/Packaging:C_and_C++#BuildRequires_and_Requires +BuildRequires: gcc BuildRequires: rubygem(rspec2) -%else -BuildRequires: rubygem(rspec) -%endif BuildRequires: rubygem(eventmachine) >= 1.0.4 BuildRequires: rubygem(daemons) >= 1.0.9 BuildRequires: rubygem(rack) >= 1.0.0 @@ -34,7 +32,6 @@ Rack, a minimal interface between webservers and Ruby frameworks. %package doc Summary: Documentation for %{name} -Group: Documentation Requires: %{name} = %{version}-%{release} BuildArch: noarch @@ -59,7 +56,7 @@ cp -a .%{gem_extdir_mri}/{gem.build_complete,*.so} %{buildroot}%{gem_extdir_mri} rm -rf %{buildroot}%{gem_instdir}/ext/ mkdir -p %{buildroot}%{_bindir} -cp -pa .%{_bindir}/* \ +cp -a .%{_bindir}/* \ %{buildroot}%{_bindir}/ find %{buildroot}%{gem_instdir}/bin -type f | xargs chmod a+x @@ -88,12 +85,7 @@ sed -i "/'should force kill process in pid file'/a \ pending" spec/daemonizin # whole testsuite. sed -i '/"tracing routines (with NO custom logger)"/a \ before { pending }' spec/logging_spec.rb -%if 0%{?fedora} >= 22 -rspec2 \ -%else -rspec \ -%endif - -I$(dirs +1)%{gem_extdir_mri} spec +rspec2 -I$(dirs +1)%{gem_extdir_mri} spec popd @@ -114,6 +106,9 @@ popd %{gem_instdir}/Rakefile %changelog +* Wed Jul 19 2017 Vít Ondruch - 1.7.2-1 +- Update to Thin 1.7.2. + * Sat Feb 11 2017 Fedora Release Engineering - 1.7.0-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild diff --git a/sources b/sources index 3f79620..6b0752f 100644 --- a/sources +++ b/sources @@ -1,2 +1,2 @@ -5adb9199d68a81cb24e320501747cd4e thin-1.7.0-tests.tgz -15aa7d84a87160f9e1c0996c6e824b3b thin-1.7.0.gem +SHA512 (thin-1.7.2-tests.tgz) = 339ba087396553522814732006373c4ab2d918b6a6d4c5453b04028f1911b697b6e6e74117800700eea8afdfb2b99b9bbf589a822c0cffa9f382b0d3d6c50813 +SHA512 (thin-1.7.2.gem) = e9e0ad3dab77a1c6f3e413ce7ed1598da0db5fa62355a1fbbc73153d2fd810d82d5bf2e6a434429912eb885c263c674364a5dec7d878960e2dbef37ccbe1472b