forked from pool/libsemanage
Accepting request 638795 from home:pmonrealgonzalez:branches:security:SELinux
- update to version 2.8 * semanage fcontext -l now also lists home directory entries from file_contexts.homedirs. * libsemanage no longer deletes the tmp directory if there is an error while committing the policy transaction, so that any temporary files can be further inspected for debugging purposes (e.g. to examine a particular line of the generated CIL module). The tmp directory will be deleted upon the next transaction, so no manual removal is needed. * When overriding PREFIX, BINDIR, SBINDIR, SHLIBDIR, LIBEXECDIR, etc., DESTDIR has to be removed from the definition. For example on Arch Linux, SBINDIR="${pkgdir}/usr/bin" was changed to SBINDIR="/usr/bin". * PYSITEDIR has been renamed PYTHONLIBDIR (and its definition changed). - Clened with spec-cleaner - update to version 2.8 * semanage fcontext -l now also lists home directory entries from file_contexts.homedirs. * libsemanage no longer deletes the tmp directory if there is an error while committing the policy transaction, so that any temporary files can be further inspected for debugging purposes (e.g. to examine a particular line of the generated CIL module). The tmp directory will be deleted upon the next transaction, so no manual removal is needed. * When overriding PREFIX, BINDIR, SBINDIR, SHLIBDIR, LIBEXECDIR, etc., DESTDIR has to be removed from the definition. For example on Arch Linux, SBINDIR="${pkgdir}/usr/bin" was changed to SBINDIR="/usr/bin". * PYSITEDIR has been renamed PYTHONLIBDIR (and its definition changed). - Clened with spec-cleaner OBS-URL: https://build.opensuse.org/request/show/638795 OBS-URL: https://build.opensuse.org/package/show/security:SELinux/libsemanage?expand=0&rev=66
This commit is contained in:
parent
f484a64c12
commit
da3f8479b6
@ -1,3 +0,0 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:07e9477714ce6a4557a1fe924ea4cb06501b62d0fa0e3c0dc32a2cf47cb8d476
|
||||
size 153465
|
3
libsemanage-2.8.tar.gz
Normal file
3
libsemanage-2.8.tar.gz
Normal file
@ -0,0 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:1c0de8d2c51e5460926c21e371105c84a39087dfd8f8e9f0cc1d017e4cbea8e2
|
||||
size 154200
|
@ -1,3 +1,21 @@
|
||||
-------------------------------------------------------------------
|
||||
Thu Sep 27 13:19:59 UTC 2018 - pmonrealgonzalez@suse.com
|
||||
|
||||
- update to version 2.8
|
||||
* semanage fcontext -l now also lists home directory entries from
|
||||
file_contexts.homedirs.
|
||||
* libsemanage no longer deletes the tmp directory if there is an error
|
||||
while committing the policy transaction, so that any temporary files
|
||||
can be further inspected for debugging purposes (e.g. to examine a
|
||||
particular line of the generated CIL module). The tmp directory will
|
||||
be deleted upon the next transaction, so no manual removal is needed.
|
||||
* When overriding PREFIX, BINDIR, SBINDIR, SHLIBDIR, LIBEXECDIR, etc.,
|
||||
DESTDIR has to be removed from the definition. For example on Arch
|
||||
Linux, SBINDIR="${pkgdir}/usr/bin" was changed to SBINDIR="/usr/bin".
|
||||
* PYSITEDIR has been renamed PYTHONLIBDIR (and its definition changed).
|
||||
|
||||
- Clened with spec-cleaner
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Thu Mar 8 19:07:16 UTC 2018 - rgoldwyn@suse.com
|
||||
|
||||
|
@ -17,7 +17,7 @@
|
||||
|
||||
|
||||
Name: libsemanage
|
||||
Version: 2.7
|
||||
Version: 2.8
|
||||
Release: 0
|
||||
Summary: SELinux policy management library
|
||||
License: LGPL-2.1-or-later
|
||||
@ -36,7 +36,6 @@ BuildRequires: libselinux-devel
|
||||
BuildRequires: libsepol-devel
|
||||
BuildRequires: libustr-devel
|
||||
BuildRequires: pkg-config
|
||||
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
||||
|
||||
%description
|
||||
libsemanage is the policy management library. Using libsepol and
|
||||
@ -92,7 +91,7 @@ stores must be migrated before any commands that modify or use the store
|
||||
|
||||
%prep
|
||||
%setup -q
|
||||
%patch0 -p0
|
||||
%patch0
|
||||
|
||||
%build
|
||||
make %{?_smp_mflags} clean
|
||||
@ -103,7 +102,7 @@ make -j1 CFLAGS="%{optflags}" LIBDIR="%{_libdir}" LIBEXECDIR="%{_libexecdir}" SH
|
||||
mkdir -p %{buildroot}/%{_lib}
|
||||
mkdir -p %{buildroot}%{_libdir}
|
||||
mkdir -p %{buildroot}%{_includedir}
|
||||
make DESTDIR=%{buildroot} LIBDIR="%{buildroot}%{_libdir}" LIBEXECDIR="%{buildroot}%{_libexecdir}" SHLIBDIR="%{buildroot}/%{_lib}" install
|
||||
make DESTDIR=%{buildroot} LIBDIR="%{_libdir}" LIBEXECDIR="%{_libexecdir}" SHLIBDIR="%{_libdir}" install
|
||||
ln -sf %{_libdir}/libsemanage.so.1 %{buildroot}/%{_libdir}/libsemanage.so
|
||||
cp %{SOURCE2} %{buildroot}%{_sysconfdir}/selinux/semanage.conf
|
||||
# Remove duplicate files
|
||||
@ -113,13 +112,11 @@ cp %{SOURCE2} %{buildroot}%{_sysconfdir}/selinux/semanage.conf
|
||||
%postun -n libsemanage1 -p /sbin/ldconfig
|
||||
|
||||
%files -n libsemanage1
|
||||
%defattr(-,root,root)
|
||||
%dir %{_sysconfdir}/selinux
|
||||
%config(noreplace) %{_sysconfdir}/selinux/semanage.conf
|
||||
%{_libdir}/libsemanage.so.*
|
||||
|
||||
%files devel
|
||||
%defattr(-,root,root)
|
||||
%{_libdir}/libsemanage.so
|
||||
%{_libdir}/pkgconfig/libsemanage.pc
|
||||
%{_includedir}/semanage/
|
||||
@ -127,11 +124,10 @@ cp %{SOURCE2} %{buildroot}%{_sysconfdir}/selinux/semanage.conf
|
||||
%{_mandir}/man5/*
|
||||
|
||||
%files migrate-store
|
||||
%defattr(-,root,root)
|
||||
%dir %{_libexecdir}/selinux
|
||||
%{_libexecdir}/selinux/
|
||||
|
||||
%files devel-static
|
||||
%defattr(-,root,root)
|
||||
%{_libdir}/libsemanage.a
|
||||
|
||||
%changelog
|
||||
|
@ -1,3 +1,21 @@
|
||||
-------------------------------------------------------------------
|
||||
Thu Sep 27 13:19:59 UTC 2018 - pmonrealgonzalez@suse.com
|
||||
|
||||
- update to version 2.8
|
||||
* semanage fcontext -l now also lists home directory entries from
|
||||
file_contexts.homedirs.
|
||||
* libsemanage no longer deletes the tmp directory if there is an error
|
||||
while committing the policy transaction, so that any temporary files
|
||||
can be further inspected for debugging purposes (e.g. to examine a
|
||||
particular line of the generated CIL module). The tmp directory will
|
||||
be deleted upon the next transaction, so no manual removal is needed.
|
||||
* When overriding PREFIX, BINDIR, SBINDIR, SHLIBDIR, LIBEXECDIR, etc.,
|
||||
DESTDIR has to be removed from the definition. For example on Arch
|
||||
Linux, SBINDIR="${pkgdir}/usr/bin" was changed to SBINDIR="/usr/bin".
|
||||
* PYSITEDIR has been renamed PYTHONLIBDIR (and its definition changed).
|
||||
|
||||
- Clened with spec-cleaner
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Thu Mar 8 19:07:16 UTC 2018 - rgoldwyn@suse.com
|
||||
|
||||
|
@ -18,7 +18,7 @@
|
||||
|
||||
%{?!python_module:%define python_module() python-%{**} python3-%{**}}
|
||||
Name: python-semanage
|
||||
Version: 2.7
|
||||
Version: 2.8
|
||||
Release: 0
|
||||
Summary: Python bindings for SELinux's policy management library
|
||||
License: LGPL-2.1-only
|
||||
@ -39,7 +39,6 @@ BuildRequires: python-rpm-macros
|
||||
BuildRequires: swig
|
||||
# Ensure same version
|
||||
Requires: libsemanage1 = %{version}
|
||||
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
||||
%python_subpackages
|
||||
|
||||
%description
|
||||
@ -67,9 +66,9 @@ mkdir -p %{buildroot}%{_libdir}
|
||||
mkdir -p %{buildroot}%{_includedir}
|
||||
%{python_expand # loop over possible pythons
|
||||
make PYTHON=$python DESTDIR=%{buildroot} \
|
||||
LIBDIR="%{buildroot}%{_libdir}" \
|
||||
LIBEXECDIR="%{buildroot}%{_libexecdir}" \
|
||||
SHLIBDIR="%{buildroot}/%{_lib}" \
|
||||
LIBDIR="%{_libdir}" \
|
||||
LIBEXECDIR="%{_libexecdir}" \
|
||||
SHLIBDIR="%{_libdir}" \
|
||||
install install-pywrap
|
||||
}
|
||||
|
||||
@ -86,7 +85,6 @@ rm -rf %{buildroot}%{_libdir}/pkgconfig
|
||||
rm -rf %{buildroot}%{_mandir}
|
||||
|
||||
%files %{python_files}
|
||||
%defattr(-,root,root)
|
||||
%{python_sitearch}/*
|
||||
|
||||
%changelog
|
||||
|
Loading…
Reference in New Issue
Block a user