rebuild with python3.2

http://lists.fedoraproject.org/pipermail/devel/2010-August/141368.html
This commit is contained in:
Thomas Spura 2010-08-25 18:00:50 +02:00
parent 67d78b0f24
commit 1003ac17a4
1 changed files with 10 additions and 3 deletions

View File

@ -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@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@redhat.com> - 2.0.45-5
- Rebuilt for https://fedoraproject.org/wiki/Features/Python_2.7/MassRebuild