|
@@ -55,7 +55,7 @@
|
|
# we cannot reset the release number to 1 even when the main (ruby) version
|
|
# we cannot reset the release number to 1 even when the main (ruby) version
|
|
# is updated - because it may be that the versions of sub-components don't
|
|
# is updated - because it may be that the versions of sub-components don't
|
|
# change.
|
|
# change.
|
|
-%global ruby_rel 1
|
|
|
|
|
|
+%global ruby_rel 2
|
|
|
|
|
|
%bcond_without emacsen
|
|
%bcond_without emacsen
|
|
%define rbmode ruby-mode
|
|
%define rbmode ruby-mode
|
|
@@ -523,19 +523,19 @@ cp misc/*.el %{SOURCE8} $RPM_BUILD_ROOT/%{_datadir}/emacs/site-lisp/%{rbmode}
|
|
# Dump the macros into macro.ruby to use them to build other Ruby libraries.
|
|
# Dump the macros into macro.ruby to use them to build other Ruby libraries.
|
|
mkdir -p %{buildroot}%{_sysconfdir}/rpm
|
|
mkdir -p %{buildroot}%{_sysconfdir}/rpm
|
|
cat >> %{buildroot}%{_sysconfdir}/rpm/macros.ruby << \EOF
|
|
cat >> %{buildroot}%{_sysconfdir}/rpm/macros.ruby << \EOF
|
|
-%%ruby_libdir %%{_datadir}/%{name}
|
|
|
|
-%%ruby_libarchdir %%{_libdir}/%{name}
|
|
|
|
|
|
+%%ruby_libdir %%{_datadir}/%{name}/%{ruby_release}
|
|
|
|
+%%ruby_libarchdir %%{_libdir}/%{name}/%{ruby_release}
|
|
|
|
|
|
# This is the local lib/arch and should not be used for packaging.
|
|
# This is the local lib/arch and should not be used for packaging.
|
|
%%ruby_sitedir site_ruby
|
|
%%ruby_sitedir site_ruby
|
|
-%%ruby_sitelibdir %%{_prefix}/local/share/%{name}/%%{ruby_sitedir}
|
|
|
|
-%%ruby_sitearchdir %%{_prefix}/local/%%{_lib}/%{name}/%%{ruby_sitedir}
|
|
|
|
|
|
+%%ruby_sitelibdir %%{_prefix}/local/share/%{name}/%%{ruby_sitedir}/%{ruby_release}
|
|
|
|
+%%ruby_sitearchdir %%{_prefix}/local/%%{_lib}/%{name}/%%{ruby_sitedir}/%{ruby_release}
|
|
|
|
|
|
# This is the general location for libs/archs compatible with all
|
|
# This is the general location for libs/archs compatible with all
|
|
# or most of the Ruby versions
|
|
# or most of the Ruby versions
|
|
%%ruby_vendordir vendor_ruby
|
|
%%ruby_vendordir vendor_ruby
|
|
-%%ruby_vendorlibdir %%{_datadir}/%{name}/%%{ruby_vendordir}
|
|
|
|
-%%ruby_vendorarchdir %%{_libdir}/%{name}/%%{ruby_vendordir}
|
|
|
|
|
|
+%%ruby_vendorlibdir %%{_datadir}/%{name}/%%{ruby_vendordir}/%{ruby_release}
|
|
|
|
+%%ruby_vendorarchdir %%{_libdir}/%{name}/%%{ruby_vendordir}/%{ruby_release}
|
|
EOF
|
|
EOF
|
|
|
|
|
|
cat >> %{buildroot}%{_sysconfdir}/rpm/macros.rubygems << \EOF
|
|
cat >> %{buildroot}%{_sysconfdir}/rpm/macros.rubygems << \EOF
|
|
@@ -980,6 +980,9 @@ fi
|
|
%endif
|
|
%endif
|
|
|
|
|
|
%changelog
|
|
%changelog
|
|
|
|
+* Sat Dec 07 2013 Yoji TOYODA <bsyamato@sea.plala.or.jp> 2.0.0.353-2
|
|
|
|
+- fix macros.ruby
|
|
|
|
+
|
|
* Tue Dec 03 2013 Daisuke SUZUKI <daisuke@linux.or.jp> 2.0.0.353-1
|
|
* Tue Dec 03 2013 Daisuke SUZUKI <daisuke@linux.or.jp> 2.0.0.353-1
|
|
- update to 2.0.0-p353
|
|
- update to 2.0.0-p353
|
|
- change ruby(abi) -> ruby(release)
|
|
- change ruby(abi) -> ruby(release)
|