X-Git-Url: http://git.pld-linux.org/?a=blobdiff_plain;f=xcb-proto.spec;h=d517c08c3bdc772544518a358d93180ef4e427ca;hb=8ea2a60e332c0ba2a721a8e873d8feb63c88e241;hp=6a6a0fb7fef7afe738a2afaf3fb36addeed47e7c;hpb=bc16a127caa952a7ad5f1507a82ccf2356c88c7d;p=packages%2Fxcb-proto.git diff --git a/xcb-proto.spec b/xcb-proto.spec index 6a6a0fb..d517c08 100644 --- a/xcb-proto.spec +++ b/xcb-proto.spec @@ -9,7 +9,7 @@ Summary: XML-XCB protocol description files Summary(pl.UTF-8): Pliki opisu protokołu XML-XCB Name: xcb-proto Version: 1.14.1 -Release: 2 +Release: 3 License: MIT Group: Development/Libraries #Source0: https://xcb.freedesktop.org/dist/%{name}-%{version}.tar.bz2 @@ -25,7 +25,7 @@ BuildRequires: rpm-pythonprov BuildRequires: rpmbuild(macros) >= 1.752 BuildRequires: tar >= 1:1.22 BuildRequires: xz -%if %{with python2} +%if %{without python3} Requires: python >= 1:2.5 Requires: python-xcbgen = %{version}-%{release} %else @@ -104,11 +104,6 @@ cd .. %install rm -rf $RPM_BUILD_ROOT -%if %{with python3} -%{__make} -C build3 install \ - DESTDIR=$RPM_BUILD_ROOT -%endif - %if %{with python2} %{__make} -C build2 install \ DESTDIR=$RPM_BUILD_ROOT @@ -116,6 +111,11 @@ rm -rf $RPM_BUILD_ROOT %py_postclean %endif +%if %{with python3} +%{__make} -C build3 install \ + DESTDIR=$RPM_BUILD_ROOT +%endif + %clean rm -rf $RPM_BUILD_ROOT