From 703ff5aca478da3346115108dad77eacd3901a8d Mon Sep 17 00:00:00 2001 From: ishcherb Date: Aug 11 2017 08:46:55 +0000 Subject: Add a build-time dependency on python2-devel --- diff --git a/xcb-proto.spec b/xcb-proto.spec index 71fc5a7..1bb422e 100644 --- a/xcb-proto.spec +++ b/xcb-proto.spec @@ -1,9 +1,8 @@ %define debug_package %{nil} -%{!?python_sitelib: %define python_sitelib %(%{__python} -c "from distutils.sysconfig import get_python_lib; print get_python_lib(0)")} Name: xcb-proto Version: 1.12 -Release: 4%{?dist} +Release: 5%{?dist} Summary: XCB protocol descriptions Group: Development/Libraries @@ -12,7 +11,7 @@ URL: http://xcb.freedesktop.org/ Source0: http://xcb.freedesktop.org/dist/%{name}-%{version}.tar.bz2 BuildArch: noarch -BuildRequires: python +BuildRequires: python2-devel Requires: pkgconfig %description @@ -43,9 +42,12 @@ rm -rf $RPM_BUILD_ROOT %dir %{_datadir}/xcb/ %{_datadir}/xcb/*.xsd %{_datadir}/xcb/*.xml -%{python_sitelib}/xcbgen +%{python2_sitelib}/xcbgen %changelog +* Fri Aug 11 2017 Iryna Shcherbina - 1.12-5 +- Add a build-time dependency on python2-devel + * Thu Jul 27 2017 Fedora Release Engineering - 1.12-4 - Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild