Own %{_normalized_cpu}-%{_target_os} directory (bug 708816)

This commit is contained in:
Mamoru Tasaka 2011-05-30 23:34:14 +09:00
parent 156edf52c6
commit 7fb6341799

View File

@ -17,7 +17,7 @@
Name: ruby
Version: %{rubyver}%{?dotpatchlevel}
Release: 1%{?dist}
Release: 2%{?dist}
# Please check if ruby upstream changes this to "Ruby or GPLv2+"
License: Ruby or GPLv2
URL: http://www.ruby-lang.org/
@ -425,7 +425,10 @@ rm -rf $RPM_BUILD_ROOT
%ifarch ppc64 s390x sparc64 x86_64
%dir %{vendorarchbase}
%dir %{vendorarchbase}/%{rubyxver}
%dir %{vendorarchbase}/%{rubyxver}/%{_normalized_cpu}-%{_target_os}
%{sitearchbase}
%else
%dir %{vendorlibbase}/%{rubyxver}/%{_normalized_cpu}-%{_target_os}
%endif
## the following files should goes into ruby-tcltk package.
%exclude %{vendorlibbase}/%{rubyxver}/*tk.rb
@ -522,6 +525,9 @@ rm -rf $RPM_BUILD_ROOT
%{_datadir}/ri
%changelog
* Mon May 30 2011 Mamoru Tasaka <mtasaka@fedoraproject.org> - 1.8.7.334-2
- Own %%{_normalized_cpu}-%%{_target_os} directory (bug 708816)
* Sat Feb 19 2011 Mamoru Tasaka <mtasaka@ioa.s.u-tokyo.ac.jp> - 1.8.7.334-1
- Update to 1.8.7 p334