diff --git a/libsemanage-2.6.tar.gz b/libsemanage-2.6.tar.gz deleted file mode 100644 index 39b530a..0000000 --- a/libsemanage-2.6.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:4f81541047290b751f2ffb926fcd381c186f22db18d9fe671b0b4a6a54e8cfce -size 155897 diff --git a/libsemanage-2.8.tar.gz b/libsemanage-2.8.tar.gz new file mode 100644 index 0000000..446049d --- /dev/null +++ b/libsemanage-2.8.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:1c0de8d2c51e5460926c21e371105c84a39087dfd8f8e9f0cc1d017e4cbea8e2 +size 154200 diff --git a/libsemanage.changes b/libsemanage.changes index fd92cd3..e3d9f3b 100644 --- a/libsemanage.changes +++ b/libsemanage.changes @@ -1,3 +1,38 @@ +------------------------------------------------------------------- +Thu Nov 8 09:31:42 UTC 2018 - Jan Engelhardt + +- Use more %make_install. + +------------------------------------------------------------------- +Thu Nov 8 07:19:24 UTC 2018 - jsegitz@suse.com + +- Adjusted source urls (bsc#1115052) + +------------------------------------------------------------------- +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 + +- Update to version 2.7. Changes: + * IB support + * saves linked policy and skips relinking whenever possible + ------------------------------------------------------------------- Fri Nov 24 09:14:13 UTC 2017 - jsegitz@suse.com diff --git a/libsemanage.spec b/libsemanage.spec index b9be10e..92cdd7e 100644 --- a/libsemanage.spec +++ b/libsemanage.spec @@ -1,7 +1,7 @@ # # spec file for package libsemanage # -# Copyright (c) 2017 SUSE LINUX GmbH, Nuernberg, Germany. +# Copyright (c) 2018 SUSE LINUX GmbH, Nuernberg, Germany. # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -12,18 +12,18 @@ # license that conforms to the Open Source Definition (Version 1.9) # published by the Open Source Initiative. -# Please submit bugfixes or comments via http://bugs.opensuse.org/ +# Please submit bugfixes or comments via https://bugs.opensuse.org/ # Name: libsemanage -Version: 2.6 +Version: 2.8 Release: 0 Summary: SELinux policy management library -License: LGPL-2.1+ +License: LGPL-2.1-or-later Group: Development/Libraries/C and C++ Url: https://github.com/SELinuxProject/selinux/wiki/Releases -Source: https://raw.githubusercontent.com/wiki/SELinuxProject/selinux/files/releases/20161014/%{name}-%{version}.tar.gz +Source: https://raw.githubusercontent.com/wiki/SELinuxProject/selinux/files/releases/20180524/%{name}-%{version}.tar.gz Source1: baselibs.conf Source2: semanage.conf Patch0: suse_path.patch @@ -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_install LIBDIR="%{_libdir}" LIBEXECDIR="%{_libexecdir}" SHLIBDIR="%{_libdir}" 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 diff --git a/python-semanage.changes b/python-semanage.changes index e91f6bc..0f3b957 100644 --- a/python-semanage.changes +++ b/python-semanage.changes @@ -1,3 +1,38 @@ +------------------------------------------------------------------- +Thu Nov 8 09:31:42 UTC 2018 - Jan Engelhardt + +- Use more %make_install. + +------------------------------------------------------------------- +Thu Nov 8 07:19:24 UTC 2018 - jsegitz@suse.com + +- Adjusted source urls (bsc#1115052) + +------------------------------------------------------------------- +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 + +- Update to version 2.7. Changes: + * IB support + * saves linked policy and skips relinking whenever possible + ------------------------------------------------------------------- Fri Nov 24 09:14:13 UTC 2017 - jsegitz@suse.com diff --git a/python-semanage.spec b/python-semanage.spec index de1b0d2..b5873d3 100644 --- a/python-semanage.spec +++ b/python-semanage.spec @@ -1,7 +1,7 @@ # # spec file for package python-semanage # -# Copyright (c) 2017 SUSE LINUX GmbH, Nuernberg, Germany. +# Copyright (c) 2018 SUSE LINUX GmbH, Nuernberg, Germany. # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -12,19 +12,19 @@ # license that conforms to the Open Source Definition (Version 1.9) # published by the Open Source Initiative. -# Please submit bugfixes or comments via http://bugs.opensuse.org/ +# Please submit bugfixes or comments via https://bugs.opensuse.org/ # %{?!python_module:%define python_module() python-%{**} python3-%{**}} Name: python-semanage -Version: 2.6 +Version: 2.8 Release: 0 Summary: Python bindings for SELinux's policy management library -License: LGPL-2.1 +License: LGPL-2.1-only Group: Development/Languages/Python Url: https://github.com/SELinuxProject/selinux -Source: https://raw.githubusercontent.com/wiki/SELinuxProject/selinux/files/releases/20161014/libsemanage-%{version}.tar.gz +Source: https://raw.githubusercontent.com/wiki/SELinuxProject/selinux/files/releases/20180524/libsemanage-%{version}.tar.gz Source1: baselibs.conf Patch0: suse_path.patch BuildRequires: %{python_module devel} @@ -39,7 +39,6 @@ BuildRequires: python-rpm-macros BuildRequires: swig # Ensure same version Requires: libsemanage1 = %{version} -BuildRoot: %{_tmppath}/%{name}-%{version}-build %python_subpackages %description @@ -66,11 +65,10 @@ mkdir -p %{buildroot}/%{_lib} 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}" \ - install install-pywrap +%make_install install-pywrap PYTHON="$python" \ + LIBDIR="%{_libdir}" \ + LIBEXECDIR="%{_libexecdir}" \ + SHLIBDIR="%{_libdir}" } # remove files contained in other packages @@ -86,7 +84,6 @@ rm -rf %{buildroot}%{_libdir}/pkgconfig rm -rf %{buildroot}%{_mandir} %files %{python_files} -%defattr(-,root,root) %{python_sitearch}/* %changelog