From 58498a1f453c047ee6391510aa47428d43377229 Mon Sep 17 00:00:00 2001 From: Jeroen van Meeuwen Date: Apr 26 2009 19:58:36 +0000 Subject: 1.0.0-1 --- diff --git a/.cvsignore b/.cvsignore index b2d19c5..b5b49ac 100644 --- a/.cvsignore +++ b/.cvsignore @@ -1 +1 @@ -rack-0.4.0.gem +rack-1.0.0.gem diff --git a/import.log b/import.log index 41a45e1..71e3734 100644 --- a/import.log +++ b/import.log @@ -1 +1,2 @@ rubygem-rack-0_4_0-2_fc10:F-10:rubygem-rack-0.4.0-2.fc10.src.rpm:1228231047 +rubygem-rack-1_0_0-1_fc11:F-10:rubygem-rack-1.0.0-1.fc11.src.rpm:1240775895 diff --git a/rubygem-rack.spec b/rubygem-rack.spec index 98ff0b2..64dcd92 100644 --- a/rubygem-rack.spec +++ b/rubygem-rack.spec @@ -4,8 +4,8 @@ Name: rubygem-%{gemname} Summary: Common API for connecting web frameworks, web servers and layers of software -Version: 0.4.0 -Release: 2%{?dist} +Version: 1.0.0 +Release: 1%{?dist} Group: Development/Languages License: MIT URL: http://rubyforge.org/projects/%{gemname}/ @@ -32,10 +32,27 @@ mkdir -p %{buildroot}%{gemdir} gem install --local --install-dir %{buildroot}/%{gemdir} \ --force %{SOURCE0} -chmod 755 %{buildroot}/%{geminstdir}/test/cgi/test.fcgi -chmod 755 %{buildroot}/%{geminstdir}/test/cgi/test.ru -chmod 755 %{buildroot}/%{geminstdir}/test/cgi/test -chmod 755 %{buildroot}/%{geminstdir}/bin/rackup +# Remove backup files +find %{buildroot}/%{geminstdir} -type f -name "*~" -delete + +# Delete zero-length files +find %{buildroot}/%{geminstdir} -type f -size 0c -exec rm -rvf {} \; + +# Fix anything executable that does not have a shebang +for file in `find %{buildroot}/%{geminstdir} -type f -perm /a+x`; do + [ -z "`head -n 1 $file | grep \"^#!/\"`" ] && chmod -v 644 $file +done + +# Find files with a shebang that do not have executable permissions +for file in `find %{buildroot}/%{geminstdir} -type f ! -perm /a+x -name "*.rb"`; do + [ ! -z "`head -n 1 $file | grep \"^#!/\"`" ] && chmod -v 755 $file +done + +# Find files that have non-standard-executable-perm +find %{buildroot}/%{geminstdir} -type f -perm /g+wx -exec chmod -v g-w {} \; + +# Find files that are not readable +find %{buildroot}/%{geminstdir} -type f ! -perm /go+r -exec chmod -v go+r {} \; # Move %{gemdir}/bin/rackup to %{_bindir} mkdir -p %{buildroot}/%{_bindir} @@ -49,7 +66,6 @@ rm -rf %{buildroot} %defattr(-, root, root, -) %dir %{geminstdir} %doc %{gemdir}/doc/%{gemname}-%{version} -%doc %{geminstdir}/AUTHORS %doc %{geminstdir}/COPYING %doc %{geminstdir}/README %doc %{geminstdir}/RDOX @@ -59,6 +75,7 @@ rm -rf %{buildroot} %doc %{geminstdir}/example %doc %{geminstdir}/test %doc %{geminstdir}/contrib +%{geminstdir}/%{gemname}.gemspec %{geminstdir}/lib %{geminstdir}/bin %{_bindir}/rackup @@ -66,6 +83,15 @@ rm -rf %{buildroot} %{gemdir}/specifications/%{gemname}-%{version}.gemspec %changelog +* Sun Apr 26 2009 Jeroen van Meeuwen - 1.0.0-1 +- New upstream version + +* Mon Mar 16 2009 Jeroen van Meeuwen - 0.9.1-1 +- New upstream version + +* Wed Feb 25 2009 Fedora Release Engineering - 0.4.0-3 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild + * Sun Nov 09 2008 Jeroen van Meeuwen - 0.4.0-2 - Remove unused macro (#470694) - Add ruby(abi) = 1.8 as required by package guidelines (#470694) diff --git a/sources b/sources index da5f3c8..24e508f 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -193b18066b640a499117107873ab490c rack-0.4.0.gem +014e29fa0aad84dd0fb4fc9707be7b8a rack-1.0.0.gem