SPECS: ruby.spec - ghost soname symlink - avoid creating junk %{buildroot}E...
qboosh
qboosh at pld-linux.org
Wed Aug 20 23:58:32 CEST 2008
Author: qboosh Date: Wed Aug 20 21:58:32 2008 GMT
Module: SPECS Tag: HEAD
---- Log message:
- ghost soname symlink
- avoid creating junk %{buildroot}ERROR tree when building without emacs
---- Files affected:
SPECS:
ruby.spec (1.176 -> 1.177)
---- Diffs:
================================================================
Index: SPECS/ruby.spec
diff -u SPECS/ruby.spec:1.176 SPECS/ruby.spec:1.177
--- SPECS/ruby.spec:1.176 Fri Aug 15 21:57:51 2008
+++ SPECS/ruby.spec Wed Aug 20 23:58:27 2008
@@ -287,8 +287,7 @@
%install
rm -rf $RPM_BUILD_ROOT
-install -d $RPM_BUILD_ROOT{%{_infodir},%{_mandir}/man1,%{_examplesdir}/%{name}-%{version},%{ruby_ridir}}
-install -d $RPM_BUILD_ROOT{%{_datadir}/%{name},%{_emacs_lispdir}/{%{name}-mode,site-start.d}}
+install -d $RPM_BUILD_ROOT{%{_datadir}/%{name},%{_infodir},%{_mandir}/man1,%{_examplesdir}/%{name}-%{version},%{ruby_ridir}}
%{__make} install \
DESTDIR=$RPM_BUILD_ROOT
@@ -308,6 +307,7 @@
# ruby emacs mode - borrowed from FC-4
%if %{with emacs}
+install -d %{_emacs_lispdir}/{%{name}-mode,site-start.d}
install misc/*.el $RPM_BUILD_ROOT%{_emacs_lispdir}/%{name}-mode
rm -f $RPM_BUILD_ROOT%{_emacs_lispdir}/%{name}-mode/rubydb2x.el*
install %{SOURCE12} $RPM_BUILD_ROOT%{_emacs_lispdir}/site-start.d
@@ -333,9 +333,10 @@
%defattr(644,root,root,755)
%doc README README.EXT ChangeLog ToDo
%attr(755,root,root) %{_bindir}/ruby
-%attr(755,root,root) %{_libdir}/lib*.so.*.*.*
+%attr(755,root,root) %{_libdir}/libruby.so.*.*.*
+%attr(755,root,root) %ghost %{_libdir}/libruby.so.1.8
%{_mandir}/man1/ruby.1*
-%{_infodir}/*.info*
+%{_infodir}/ruby.info*
%dir %{_libdir}/%{name}
%dir %{_libdir}/%{name}/%{ruby_ver}
%dir %{_libdir}/%{name}/%{ruby_ver}/*-linux*
@@ -352,12 +353,12 @@
%files devel
%defattr(644,root,root,755)
-%attr(755,root,root) %{_libdir}/lib*.so
+%attr(755,root,root) %{_libdir}/libruby.so
%{_libdir}/%{name}/%{ruby_ver}/*/*.h
%files static
%defattr(644,root,root,755)
-%{_libdir}/lib*.a
+%{_libdir}/libruby-static.a
%if %{with tk}
%files tk
@@ -458,6 +459,10 @@
All persons listed below can be reached at <cvs_login>@pld-linux.org
$Log$
+Revision 1.177 2008/08/20 21:58:27 qboosh
+- ghost soname symlink
+- avoid creating junk %{buildroot}ERROR tree when building without emacs
+
Revision 1.176 2008/08/15 19:57:51 arekm
- up to 1.8.7p22; lib_prefix and vendordir seems to be merged in some form; onigurma doesn't build so bcond off it; probably several CVE fixed
================================================================
---- CVS-web:
http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/SPECS/ruby.spec?r1=1.176&r2=1.177&f=u
More information about the pld-cvs-commit
mailing list