once clean up macro

This commit is contained in:
Mamoru Tasaka 2012-12-31 17:40:01 +09:00
parent d00e968782
commit a479e06809

View File

@ -1,6 +1,8 @@
%if 0%{?fedora} <= 16 && 0%{?fedora} <= 6
%global ruby_sitelib %(ruby -rrbconfig -e "puts Config::CONFIG['sitelibdir']")
%global ruby_sitearch %(ruby -rrbconfig -e "puts Config::CONFIG['sitearchdir']")
%global rubyabi 1.8
%endif
%global mainver 1.5.5
#%%global prever .beta.4
@ -12,7 +14,7 @@
%global gemname nokogiri
%global geminstdir %{gemdir}/gems/%{gemname}-%{mainver}%{?prever}
%if %{?fedora:0%{fedora} >= 17}%{?rhel:0%{rhel} >= 7}
%if 0%{?fedora} >= 17 || 0%{?rhel} >= 7
%global ruby19 1
%global rubyabi 1.9.1
%global gemdir %{gem_dir}