[libsemanage] rebuild with python3.2
tomspur
tomspur at fedoraproject.org
Wed Aug 25 16:01:04 UTC 2010
commit 1003ac17a4da51366cbaa38aca8e62a5beeae6f9
Author: Thomas Spura <tomspur at fedoraproject.org>
Date: Wed Aug 25 18:00:50 2010 +0200
rebuild with python3.2
http://lists.fedoraproject.org/pipermail/devel/2010-August/141368.html
libsemanage.spec | 13 ++++++++++---
1 files changed, 10 insertions(+), 3 deletions(-)
---
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 <tomspur at fedoraproject.org> - 2.0.45-6
+- rebuild with python3.2
+ http://lists.fedoraproject.org/pipermail/devel/2010-August/141368.html
+
* Wed Jul 21 2010 David Malcolm <dmalcolm at redhat.com> - 2.0.45-5
- Rebuilt for https://fedoraproject.org/wiki/Features/Python_2.7/MassRebuild
More information about the scm-commits
mailing list