diff --git a/graphviz.spec b/graphviz.spec index 206ab0e..627f7ee 100644 --- a/graphviz.spec +++ b/graphviz.spec @@ -27,7 +27,7 @@ %define staticname %mklibname graphviz -d -s %if %{_use_internal_dependency_generator} -%define __noautoreq '/usr/bin/lua' +%global __requires_exclude '/usr/bin/lua' %endif Summary: Graph visualization tools @@ -232,7 +232,7 @@ This package provides the Python extension for %{name}. %files -n python-graphviz %{_libdir}/graphviz/python -%{py_platsitedir}/* +%{py2_platsitedir}/* #------------------------------------------------------------------------- @@ -382,7 +382,7 @@ Static development package for %{name}. %build autoreconf -fi -%configure2_5x \ +%configure \ --with-x \ %if %{without static} --disable-static \ @@ -420,4 +420,3 @@ autoreconf -fi install -d -m 755 %{buildroot}%{_docdir} mv %{buildroot}%{_datadir}/%{name}/doc %{buildroot}%{_docdir}/%{name} mv %{buildroot}%{_datadir}/%{name}/demo %{buildroot}%{_docdir}/%{name} -