summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorKen Dreyer <ktdreyer@ktdreyer.com>2014-03-13 16:10:18 -0600
committerKen Dreyer <ktdreyer@ktdreyer.com>2014-03-13 16:10:18 -0600
commitfe2d3423797a54250ed065b1870adb8e585693d7 (patch)
tree3637cea7fcc0c28c57df38e1491628dc71b23edb
parenta9edc7c4b789758834f3c0fd285fab438b720ea5 (diff)
downloadrubygem-unicorn-master.zip
rubygem-unicorn-master.tar.gz
rubygem-unicorn-master.tar.xz
Fixes for Fedora Review Request (RHBZ #1065685)HEADmaster
- convert tabs to spaces - use %{gem_libdir} - include %{gem_extdir_mri} and %{gem_instdir}/bin directories - exclude %{gem_cache}
-rw-r--r--rubygem-unicorn.spec25
1 files changed, 16 insertions, 9 deletions
diff --git a/rubygem-unicorn.spec b/rubygem-unicorn.spec
index 74ecb97..047bf00 100644
--- a/rubygem-unicorn.spec
+++ b/rubygem-unicorn.spec
@@ -3,7 +3,7 @@
Summary: Rack HTTP server for fast clients and Unix
Name: rubygem-%{gem_name}
Version: 4.8.2
-Release: 2%{?dist}
+Release: 3%{?dist}
Group: Development/Languages
License: GPLv2 or GPLv3 or Ruby
URL: http://unicorn.bogomips.org/
@@ -94,10 +94,10 @@ gem build %{gem_name}.gemspec
mkdir -p .%{gem_dir}
export CONFIGURE_ARGS="--with-cflags='%{optflags}' $CONFIGURE_ARGS"
gem install \
- -V \
- --local \
- --install-dir .%{gem_dir} \
- --bindir .%{_bindir} \
+ -V \
+ --local \
+ --install-dir .%{gem_dir} \
+ --bindir .%{_bindir} \
--force \
--rdoc \
--backtrace \
@@ -164,16 +164,16 @@ popd
%if 0%{?el6}
%{ruby_sitearch}/unicorn_http.so
%else
-%{gem_extdir_mri}/*
+%{gem_extdir_mri}
%endif
%dir %{gem_instdir}
%{gem_cache}
%{gem_spec}
-%{gem_instdir}/lib
+%{gem_libdir}
+%exclude %{gem_cache}
%{_bindir}/unicorn
%{_bindir}/unicorn_rails
-%{gem_instdir}/bin/unicorn
-%{gem_instdir}/bin/unicorn_rails
+%{gem_instdir}/bin
%doc %{_mandir}/man1/unicorn.1.gz
%doc %{_mandir}/man1/unicorn_rails.1.gz
%doc %{gem_instdir}/LICENSE
@@ -207,6 +207,13 @@ popd
%{gem_instdir}/script
%changelog
+* Thu Mar 13 2014 Ken Dreyer <ktdreyer@ktdreyer.com> - 4.8.2-3
+- Fixes for Fedora Review Request (RHBZ #1065685)
+- convert tabs to spaces
+- use %%{gem_libdir}
+- include %%{gem_extdir_mri} and %%{gem_instdir}/bin directories
+- exclude %%{gem_cache}
+
* Sat Feb 15 2014 Ken Dreyer <ktdreyer@ktdreyer.com> - 4.8.2-2
- Drop Fedora 18 conditionals
- Drop permissions adjustment (fixed upstream)