[packages/ruby/new-paths] package legacy dirs

glen glen at pld-linux.org
Thu Mar 21 14:22:25 CET 2013


commit de8152d83e9845443bdfe30987839200a4f2de2f
Author: Elan Ruusamäe <glen at delfi.ee>
Date:   Thu Mar 21 15:21:59 2013 +0200

    package legacy dirs

 ruby.spec | 10 +++++++++-
 1 file changed, 9 insertions(+), 1 deletion(-)
---
diff --git a/ruby.spec b/ruby.spec
index 681bd52..497d5a0 100644
--- a/ruby.spec
+++ b/ruby.spec
@@ -43,7 +43,7 @@ Summary(pt_BR.UTF-8):	Linguagem de script orientada a objeto
 Summary(zh_CN.UTF-8):	ruby - 一种快速高效的面向对象脚本编程语言
 Name:		ruby
 Version:	%{basever}.%{patchlevel}
-Release:	0.8
+Release:	0.10
 Epoch:		1
 License:	The Ruby License
 Group:		Development/Languages
@@ -353,6 +353,7 @@ rm -rf $RPM_BUILD_ROOT
 install -d $RPM_BUILD_ROOT{%{ruby_rdocdir},%{_examplesdir}/%{name}-%{version}} \
 	$RPM_BUILD_ROOT%{ruby_libdir}/%{ruby_version}/tasks \
 	$RPM_BUILD_ROOT%{ruby_vendorarchdir}/%{ruby_version} \
+	$RPM_BUILD_ROOT{%{legacy_archdir},%{legacy_sitelibdir},%{legacy_sitearchdir},%{legacy_vendorarchdir}} \
 
 %{__make} install %{?with_doc:install-doc} \
 	DESTDIR=$RPM_BUILD_ROOT
@@ -431,6 +432,13 @@ rm -rf $RPM_BUILD_ROOT
 #%dir %{_datadir}/ri/%{ruby_version}/system
 %dir %{ruby_rdocdir}
 
+# legacy dirs. when everything rebuilt in Th not using these dirs. drop them
+%dir %{legacy_archdir}
+%dir %{legacy_sitedir}
+%dir %{legacy_sitelibdir}
+%dir %{legacy_sitearchdir}
+%dir %{legacy_vendorarchdir}
+
 %files devel
 %defattr(644,root,root,755)
 %attr(755,root,root) %{_libdir}/libruby.so
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/ruby.git/commitdiff/de8152d83e9845443bdfe30987839200a4f2de2f



More information about the pld-cvs-commit mailing list