diff options
author | Ken Dreyer <ktdreyer@ktdreyer.com> | 2014-02-15 13:26:31 -0700 |
---|---|---|
committer | Ken Dreyer <ktdreyer@ktdreyer.com> | 2014-02-15 13:26:31 -0700 |
commit | a9edc7c4b789758834f3c0fd285fab438b720ea5 (patch) | |
tree | db8d6f6aa90733e160486f60423c67272cf2835d | |
parent | 480d0473ce4b40bca0137d50f50df9170f6f1abf (diff) | |
download | rubygem-unicorn-a9edc7c4b789758834f3c0fd285fab438b720ea5.tar.gz rubygem-unicorn-a9edc7c4b789758834f3c0fd285fab438b720ea5.tar.xz rubygem-unicorn-a9edc7c4b789758834f3c0fd285fab438b720ea5.zip |
Drop Fedora 18 conditionals
- Drop permissions adjustment (fixed upstream)
- Reword comment about extdir
-rw-r--r-- | rubygem-unicorn.spec | 30 |
1 files changed, 10 insertions, 20 deletions
diff --git a/rubygem-unicorn.spec b/rubygem-unicorn.spec index 96be2d5..74ecb97 100644 --- a/rubygem-unicorn.spec +++ b/rubygem-unicorn.spec @@ -1,26 +1,18 @@ %global gem_name unicorn -%if 0%{?fc18} -%global rubyabi 1.9.1 -%endif - -%if 0%{?el6} -%global rubyabi 1.8 -%endif - Summary: Rack HTTP server for fast clients and Unix Name: rubygem-%{gem_name} Version: 4.8.2 -Release: 1%{?dist} +Release: 2%{?dist} Group: Development/Languages License: GPLv2 or GPLv3 or Ruby URL: http://unicorn.bogomips.org/ Source0: https://rubygems.org/downloads/%{gem_name}-%{version}.gem -%if 0%{?fedora} >= 19 -Requires: ruby(release) +%if 0%{?el6} +Requires: ruby(abi) = 1.8 %else -Requires: ruby(abi) = %{rubyabi} +Requires: ruby(release) %endif Requires: rubygem(rack) @@ -141,17 +133,10 @@ rm %{buildroot}/%{gem_instdir}/%{gem_name}.gemspec # In case you have yard installed rm -rf %{buildroot}%{gem_instdir}/.yardoc -# Adjust permissions, non-readable 0600L -# Fixed upstream: -# http://rubyforge.org/pipermail/mongrel-unicorn/2013-November/001954.html -chmod a+r %{buildroot}%{gem_instdir}/NEWS -chmod a+r %{buildroot}%{gem_instdir}/ChangeLog - mkdir -p %{buildroot}%{_mandir} mv %{buildroot}/%{gem_instdir}/man/* %{buildroot}%{_mandir}/ -# If there are C extensions, mv them to the extdir. -# You must replace REQUIRE_PATHS according to your gem specifics. +# Move C extensions to the extdir. %if 0%{?el6} # %%{gem_extdir_mri} doesn't really work on EL 6 @@ -222,6 +207,11 @@ popd %{gem_instdir}/script %changelog +* Sat Feb 15 2014 Ken Dreyer <ktdreyer@ktdreyer.com> - 4.8.2-2 +- Drop Fedora 18 conditionals +- Drop permissions adjustment (fixed upstream) +- Reword comment about extdir + * Mon Feb 10 2014 Ken Dreyer <ktdreyer@ktdreyer.com> - 4.8.2-1 - Update to 4.8.2 |