Browse Source

graphviz remove php and ruby for now

Signed-off-by: basebuilder_pel7x64builder0 <basebuilder@powerel.org>
master
basebuilder_pel7x64builder0 3 years ago
parent
commit
69da7deead
  1. 14
      SPECS/graphviz.spec

14
SPECS/graphviz.spec

@ -343,6 +343,9 @@ export CPPFLAGS=-I`ruby -e "puts File.join(RbConfig::CONFIG['includedir'], RbCon
%if ! %{QTAPPS} %if ! %{QTAPPS}
--without-qt \ --without-qt \
%endif %endif
--disable-php \
--without-php



make %{?_smp_mflags} CFLAGS="$RPM_OPT_FLAGS -fno-strict-aliasing -fno-strict-overflow %{?FFSTORE}" \ make %{?_smp_mflags} CFLAGS="$RPM_OPT_FLAGS -fno-strict-aliasing -fno-strict-overflow %{?FFSTORE}" \
CXXFLAGS="$RPM_OPT_FLAGS -fno-strict-aliasing -fno-strict-overflow %{?FFSTORE}" CXXFLAGS="$RPM_OPT_FLAGS -fno-strict-aliasing -fno-strict-overflow %{?FFSTORE}"
@ -549,10 +552,11 @@ rm -rf %{buildroot}
%files php %files php
%defattr(-,root,root,-) %defattr(-,root,root,-)
%config(noreplace) %{_sysconfdir}/php.d/%{name}.ini %config(noreplace) %{_sysconfdir}/php.d/%{name}.ini
%{_libdir}/graphviz/php/ #%{_libdir}/graphviz/php/
%{php_extdir}/gv.so #%{php_extdir}/gv.so
%{_datadir}/php*/* %exclude /gv.so
%{_mandir}/man3/gv.3php* #%{_datadir}/php*/*
#%{_mandir}/man3/gv.3php*


%files python %files python
%defattr(-,root,root,-) %defattr(-,root,root,-)
@ -570,7 +574,7 @@ rm -rf %{buildroot}
%files ruby %files ruby
%defattr(-,root,root,-) %defattr(-,root,root,-)
%{_libdir}/graphviz/ruby/ %{_libdir}/graphviz/ruby/
%{_libdir}/*ruby*/* #%{_libdir}/*ruby*/*
%{_mandir}/man3/gv.3ruby* %{_mandir}/man3/gv.3ruby*


%if %{SHARP} %if %{SHARP}

Loading…
Cancel
Save