- ruby subpackage fix: use ruby_sitearchdir and ruby_sitelibdir

This commit is contained in:
Joost Soeterbroek 2006-06-01 19:13:26 +00:00
parent daac8c70db
commit 93c854cdef

View File

@ -2,7 +2,7 @@
Name: clearsilver
Version: 0.10.3
Release: 3%{?dist}
Release: 4%{?dist}
Summary: Fast and powerful HTML templating system
Group: Development/Libraries
License: Neotonic ClearSilver Software License
@ -56,6 +56,8 @@ Group: Development/Libraries
BuildRequires: ruby
BuildRequires: ruby-devel
Provides: %{name}-ruby = %{version}-%{release}
%define ruby_sitearchdir %(ruby -rrbconfig -e 'puts Config::CONFIG["sitearchdir"]')
%define ruby_sitelibdir %(ruby -rrbconfig -e 'puts Config::CONFIG["sitelibdir"]')
%endif
%ifarch %{ix86} ppc
@ -151,8 +153,8 @@ rm -rf $RPM_BUILD_ROOT
%files -n ruby-clearsilver
%doc CS_LICENSE LICENSE
%defattr(-,root,root,-)
%{_libdir}/site_ruby/*/*/hdf.so
%{_libdir}/site_ruby/*/neo.rb
%{ruby_sitearchdir}/hdf.so
%{ruby_sitelibdir}/neo.rb
%endif
%ifarch %{ix86} ppc
@ -163,6 +165,9 @@ rm -rf $RPM_BUILD_ROOT
%endif
%changelog
* Thu Jun 1 2006 Paul Howarth <paul@city-fan.org> - 0.10.3-4
- ruby subpackage fix: use ruby_sitearchdir and ruby_sitelibdir
* Fri Mar 17 2006 Joost Soeterbroek <fedora@soeterbroek.com> - 0.10.3-3
- fix for x86_64