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
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
%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
%py_postclean
%endif
+%if %{with python3}
+%{__make} -C build3 install \
+ DESTDIR=$RPM_BUILD_ROOT
+%endif
+
%clean
rm -rf $RPM_BUILD_ROOT