From 1003ac17a4da51366cbaa38aca8e62a5beeae6f9 Mon Sep 17 00:00:00 2001 From: Thomas Spura Date: Aug 25 2010 16:00:50 +0000 Subject: rebuild with python3.2 http://lists.fedoraproject.org/pipermail/devel/2010-August/141368.html --- diff --git a/libsemanage.spec b/libsemanage.spec index ee67fa7..74ff374 100644 --- a/libsemanage.spec +++ b/libsemanage.spec @@ -1,14 +1,16 @@ +%if 0%{?fedora} > 12 || 0%{?rhel} > 6 %global with_python3 1 +%else +%{!?python_sitearch: %global python_sitearch %(%{__python} -c "from distutils.sysconfig import get_python_lib; print (get_python_lib(1))")} +%endif %define libsepolver 2.0.37-1 %define libselinuxver 2.0.0-1 -%{!?python_sitearch: %define python_sitearch %(%{__python} -c "from distutils.sysconfig import get_python_lib; print get_python_lib(1)")} - Summary: SELinux binary policy manipulation library Name: libsemanage Version: 2.0.45 -Release: 5%{?dist} +Release: 6%{?dist} License: LGPLv2+ Group: System Environment/Libraries Source: http://www.nsa.gov/selinux/archives/libsemanage-%{version}.tgz @@ -172,10 +174,15 @@ rm -rf ${RPM_BUILD_ROOT} %defattr(-,root,root) %{python3_sitearch}/_semanage.so %{python3_sitearch}/semanage.py* +%{python3_sitearch}/__pycache__/semange* %endif # if with_python3 %changelog +* Wed Aug 25 2010 Thomas Spura - 2.0.45-6 +- rebuild with python3.2 + http://lists.fedoraproject.org/pipermail/devel/2010-August/141368.html + * Wed Jul 21 2010 David Malcolm - 2.0.45-5 - Rebuilt for https://fedoraproject.org/wiki/Features/Python_2.7/MassRebuild