rpms/eruby/devel eruby.spec,1.18,1.19

fedora-cvs-commits at redhat.com fedora-cvs-commits at redhat.com
Wed Nov 29 10:55:52 UTC 2006


Author: tagoh

Update of /cvs/dist/rpms/eruby/devel
In directory cvs.devel.redhat.com:/tmp/cvs-serv26671

Modified Files:
	eruby.spec 
Log Message:
* Wed Nov 29 2006 Akira TAGOH <tagoh at redhat.com> - 1.0.5-7
- fix library permissions (#215912)


Index: eruby.spec
===================================================================
RCS file: /cvs/dist/rpms/eruby/devel/eruby.spec,v
retrieving revision 1.18
retrieving revision 1.19
diff -u -r1.18 -r1.19
--- eruby.spec	12 Jul 2006 05:45:33 -0000	1.18
+++ eruby.spec	29 Nov 2006 10:55:50 -0000	1.19
@@ -1,9 +1,9 @@
 Name:		eruby
 Version:	1.0.5
-Release: 6.1
+Release:	7
 License:	distributable
 URL:		http://www.modruby.net/
-BuildRoot:	%{_tmppath}/%{name}-%{version}-root
+BuildRoot:	%{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
 BuildPrereq:	ruby
 BuildPreReq:	ruby-devel >= 1.8.0
 
@@ -43,11 +43,11 @@
 %build
 pushd %{name}-%{version}
 ruby configure.rb --enable-shared
-make
+make %{?_smp_mflags}
 popd
 
 %install
-[ -n "$RPM_BUILD_ROOT" -a "$RPM_BUILD_ROOT" != / ] && rm -rf $RPM_BUILD_ROOT
+rm -rf $RPM_BUILD_ROOT
 
 %__mkdir_p $RPM_BUILD_ROOT%{_bindir}
 %__mkdir_p $RPM_BUILD_ROOT%{_libdir}
@@ -60,6 +60,9 @@
 make install DESTDIR=$RPM_BUILD_ROOT
 popd
 
+# change permissions
+chmod 0755 $RPM_BUILD_ROOT%{_libdir}/lib*.so*
+
 # listing all files in ruby-all.files
 (find \
 	$RPM_BUILD_ROOT%{_bindir} \
@@ -82,7 +85,7 @@
 
 
 %clean
-[ -n "$RPM_BUILD_ROOT" -a "$RPM_BUILD_ROOT" != / ] && rm -rf $RPM_BUILD_ROOT
+rm -rf $RPM_BUILD_ROOT
 
 rm -f *.files
 
@@ -104,6 +107,9 @@
 
 
 %changelog
+* Wed Nov 29 2006 Akira TAGOH <tagoh at redhat.com> - 1.0.5-7
+- fix library permissions (#215912)
+
 * Wed Jul 12 2006 Jesse Keating <jkeating at redhat.com> - 1.0.5-6.1
 - rebuild
 




More information about the fedora-cvs-commits mailing list