From db272bc80ddfd59c071c330f0b810a548c013a84 Mon Sep 17 00:00:00 2001 From: sagitter Date: Apr 16 2015 09:57:30 +0000 Subject: Built on F23 --- diff --git a/autowrap.spec b/autowrap.spec index 143d8a5..88be546 100644 --- a/autowrap.spec +++ b/autowrap.spec @@ -1,5 +1,13 @@ -%if 0%{?fedora} > 12 +%if 0%{?rhel} && 0%{?rhel} <= 6 +%{!?__python2: %global __python2 /usr/bin/python2} +%{!?python2_sitelib: %global python2_sitelib %(%{__python2} -c "from distutils.sysconfig import get_python_lib; print(get_python_lib())")} +%{!?python2_sitearch: %global python2_sitearch %(%{__python2} -c "from distutils.sysconfig import get_python_lib; print(get_python_lib(1))")} +%endif + +%if 0%{?fedora} %global with_python3 1 +%else +%global with_python3 0 %endif %global checkout d0e9a5aef8cecedbcd1444926f2b34a967184f16 @@ -8,7 +16,7 @@ Name: autowrap Summary: Generates Python Extension modules from [Cython] PXD files Version: 0.6.1 -Release: 2.%{date}git%(echo %{checkout} | cut -c-6)%{?dist} +Release: 3.%{date}git%(echo %{checkout} | cut -c-6)%{?dist} License: BSD URL: https://github.com/uweschmitt/autowrap Source0: https://github.com/uweschmitt/autowrap/archive/%{checkout}.zip#/%{name}-%{checkout}.zip @@ -110,6 +118,10 @@ popd %endif %changelog +* Thu Apr 16 2015 Antonio Trande 0.6.1-3.20150209gitd0e9a5 +- Adapted to EPEL6/7 +- Built on F23 + * Mon Feb 09 2015 Antonio Trande 0.6.1-2.20150209gitd0e9a5 - Added missing pytest BR package - Used %%license