rpms/rubygem-restr/devel .cvsignore, 1.2, 1.3 import.log, 1.1, 1.2 rubygem-restr.spec, 1.2, 1.3 sources, 1.2, 1.3

Jeroen van Meeuwen kanarip at fedoraproject.org
Mon Mar 16 11:36:26 UTC 2009


Author: kanarip

Update of /cvs/pkgs/rpms/rubygem-restr/devel
In directory cvs1.fedora.phx.redhat.com:/tmp/cvs-serv29803/devel

Modified Files:
	.cvsignore import.log rubygem-restr.spec sources 
Log Message:
0.5.0-1


Index: .cvsignore
===================================================================
RCS file: /cvs/pkgs/rpms/rubygem-restr/devel/.cvsignore,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -r1.2 -r1.3
--- .cvsignore	18 Jan 2009 11:46:31 -0000	1.2
+++ .cvsignore	16 Mar 2009 11:35:55 -0000	1.3
@@ -1 +1 @@
-restr-0.4.0.gem
+restr-0.5.0.gem


Index: import.log
===================================================================
RCS file: /cvs/pkgs/rpms/rubygem-restr/devel/import.log,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- import.log	18 Jan 2009 11:46:31 -0000	1.1
+++ import.log	16 Mar 2009 11:35:55 -0000	1.2
@@ -1 +1,2 @@
 rubygem-restr-0_4_0-1_fc10:HEAD:rubygem-restr-0.4.0-1.fc10.src.rpm:1232279166
+rubygem-restr-0_5_0-1_fc10:HEAD:rubygem-restr-0.5.0-1.fc10.src.rpm:1237203339


Index: rubygem-restr.spec
===================================================================
RCS file: /cvs/pkgs/rpms/rubygem-restr/devel/rubygem-restr.spec,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -r1.2 -r1.3
--- rubygem-restr.spec	25 Feb 2009 22:00:20 -0000	1.2
+++ rubygem-restr.spec	16 Mar 2009 11:35:55 -0000	1.3
@@ -5,8 +5,8 @@
 
 Summary:        Simple client for RESTful web services
 Name:           rubygem-%{gemname}
-Version:        0.4.0
-Release:        2%{?dist}
+Version:        0.5.0
+Release:        1%{?dist}
 Group:          Development/Languages
 License:        LGPLv3
 URL:            http://rubyforge.org/projects/restr/
@@ -32,13 +32,27 @@
 gem install --local --install-dir %{buildroot}%{gemdir} \
             --force --rdoc %{SOURCE0}
 
+# 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 script in `find %{buildroot}/%{geminstdir} -type f ! -perm /a+x`; do
-    [ ! -z "`head -n 1 $script | grep \"^#!/\"`" ] && chmod -v 755 $script
+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 sero-length files and remove them
-find %{buildroot}/%{geminstdir} -type f -size 0c -exec rm -rvf {} \;
+# 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 {} \;
 
 # Remove these hidden files
 rm -rf %{buildroot}/%{geminstdir}/.project
@@ -56,6 +70,9 @@
 
 
 %changelog
+* Mon Mar 16 2009 Jeroen van Meeuwen <j.van.meeuwen at ogd.nl> - 0.5.0-1
+- New upstream version
+
 * Wed Feb 25 2009 Fedora Release Engineering <rel-eng at lists.fedoraproject.org> - 0.4.0-2
 - Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild
 


Index: sources
===================================================================
RCS file: /cvs/pkgs/rpms/rubygem-restr/devel/sources,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -r1.2 -r1.3
--- sources	18 Jan 2009 11:46:31 -0000	1.2
+++ sources	16 Mar 2009 11:35:55 -0000	1.3
@@ -1 +1 @@
-07700195eb62bf60adcce5631c440864  restr-0.4.0.gem
+b69c51d55079df438f814e2ba916a91b  restr-0.5.0.gem




More information about the fedora-extras-commits mailing list