SPECS: libsemanage.spec - updated to 2.0.35 - compile python module
qboosh
qboosh at pld-linux.org
Wed Sep 10 22:45:52 CEST 2008
Author: qboosh Date: Wed Sep 10 20:45:52 2008 GMT
Module: SPECS Tag: HEAD
---- Log message:
- updated to 2.0.35
- compile python module
---- Files affected:
SPECS:
libsemanage.spec (1.20 -> 1.21)
---- Diffs:
================================================================
Index: SPECS/libsemanage.spec
diff -u SPECS/libsemanage.spec:1.20 SPECS/libsemanage.spec:1.21
--- SPECS/libsemanage.spec:1.20 Wed Apr 2 21:45:10 2008
+++ SPECS/libsemanage.spec Wed Sep 10 22:45:46 2008
@@ -2,18 +2,19 @@
Summary: An interface for SELinux management
Summary(pl.UTF-8): Interfejs do zarządzania SELinuksem
Name: libsemanage
-Version: 2.0.24
+Version: 2.0.25
Release: 1
License: LGPL v2.1+
Group: Libraries
Source0: http://www.nsa.gov/selinux/archives/%{name}-%{version}.tgz
-# Source0-md5: 96429b664f52824cb4a952e51c673fd3
+# Source0-md5: 523229b2bba1f8495d964b144534535e
URL: http://www.nsa.gov/selinux/
BuildRequires: bison
BuildRequires: flex
BuildRequires: libselinux-devel >= 2.0.0
BuildRequires: libsepol-devel >= 2.0.25
BuildRequires: python-devel
+BuildRequires: rpmbuild(macros) >= 1.219
BuildRequires: rpm-pythonprov
BuildRequires: ustr-devel
Requires: libselinux >= 2.0.0
@@ -80,9 +81,13 @@
DESTDIR=$RPM_BUILD_ROOT
# make symlink across / absolute
-ln -sf /%{_lib}/$(cd $RPM_BUILD_ROOT/%{_lib} ; echo libsemanage.so.*) \
+ln -sf /%{_lib}/$(basename $RPM_BUILD_ROOT/%{_lib}/libsemanage.so.*) \
$RPM_BUILD_ROOT%{_libdir}/libsemanage.so
+%py_comp $RPM_BUILD_ROOT%{py_sitedir}
+%py_ocomp $RPM_BUILD_ROOT%{py_sitedir}
+%py_postclean
+
%clean
rm -rf $RPM_BUILD_ROOT
@@ -109,7 +114,7 @@
%files -n python-semanage
%defattr(644,root,root,755)
%attr(755,root,root) %{py_sitedir}/_semanage.so
-%{py_sitedir}/semanage.py
+%{py_sitedir}/semanage.py[co]
%define date %(echo `LC_ALL="C" date +"%a %b %d %Y"`)
%changelog
@@ -117,6 +122,10 @@
All persons listed below can be reached at <cvs_login>@pld-linux.org
$Log$
+Revision 1.21 2008/09/10 20:45:46 qboosh
+- updated to 2.0.35
+- compile python module
+
Revision 1.20 2008/04/02 19:45:10 zbyniu
- up to 2.0.24
================================================================
---- CVS-web:
http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/SPECS/libsemanage.spec?r1=1.20&r2=1.21&f=u
More information about the pld-cvs-commit
mailing list