forked from pool/libsemanage
Accepting request 820920 from home:jsegitz:branches:security:SELinux
- Update to version 3.1 * Improved manpage * fsync final files before rename - Update to version 3.1 * Improved manpage * fsync final files before rename OBS-URL: https://build.opensuse.org/request/show/820920 OBS-URL: https://build.opensuse.org/package/show/security:SELinux/libsemanage?expand=0&rev=84
This commit is contained in:
parent
822e5bb994
commit
d11edeadfa
@ -1,3 +0,0 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:a497b0720d54eac427f1f3f618eed417e50ed8f4e47ed0f7a1d391bd416e84cf
|
||||
size 180745
|
3
libsemanage-3.1.tar.gz
Normal file
3
libsemanage-3.1.tar.gz
Normal file
@ -0,0 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:22d6c75526e40d1781c30bcf29abf97171bdfe6780923f11c8e1c76a75a21ff8
|
||||
size 179601
|
@ -1,3 +1,10 @@
|
||||
-------------------------------------------------------------------
|
||||
Tue Jul 14 08:36:19 UTC 2020 - Johannes Segitz <jsegitz@suse.com>
|
||||
|
||||
- Update to version 3.1
|
||||
* Improved manpage
|
||||
* fsync final files before rename
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Tue Jun 16 07:08:59 UTC 2020 - Johannes Segitz <jsegitz@suse.com>
|
||||
|
||||
|
@ -17,13 +17,13 @@
|
||||
|
||||
|
||||
Name: libsemanage
|
||||
Version: 3.0
|
||||
Version: 3.1
|
||||
Release: 0
|
||||
Summary: SELinux policy management library
|
||||
License: LGPL-2.1-or-later
|
||||
Group: Development/Libraries/C and C++
|
||||
URL: https://github.com/SELinuxProject/selinux/wiki/Releases
|
||||
Source: https://github.com/SELinuxProject/selinux/releases/download/20191204/%{name}-%{version}.tar.gz
|
||||
Source: https://github.com/SELinuxProject/selinux/releases/download/20200710/%{name}-%{version}.tar.gz
|
||||
Source1: baselibs.conf
|
||||
Source2: semanage.conf
|
||||
# PATCH-FIX-UPSTREAM bsc#1133102 LTO: Update map file to include new symbols and remove wildcards
|
||||
@ -99,8 +99,8 @@ grep /usr/libexec . -rl | xargs sed -i "s|/usr/libexec|%{_libexecdir}|g"
|
||||
%build
|
||||
%define _lto_cflags %{nil}
|
||||
make %{?_smp_mflags} clean
|
||||
make -j1 CFLAGS="%{optflags}" CC="gcc"
|
||||
make -j1 CFLAGS="%{optflags}" LIBDIR="%{_libdir}" LIBEXECDIR="%{_libexecdir}" SHLIBDIR="%{_lib}" CC="gcc" all
|
||||
make -j1 CFLAGS="%{optflags} -fno-semantic-interposition" CC="gcc"
|
||||
make -j1 CFLAGS="%{optflags} -fno-semantic-interposition" LIBDIR="%{_libdir}" LIBEXECDIR="%{_libexecdir}" SHLIBDIR="%{_lib}" CC="gcc" all
|
||||
|
||||
%install
|
||||
mkdir -p %{buildroot}/%{_lib}
|
||||
|
@ -1,3 +1,10 @@
|
||||
-------------------------------------------------------------------
|
||||
Tue Jul 14 08:36:19 UTC 2020 - Johannes Segitz <jsegitz@suse.com>
|
||||
|
||||
- Update to version 3.1
|
||||
* Improved manpage
|
||||
* fsync final files before rename
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Tue Jun 16 07:08:59 UTC 2020 - Johannes Segitz <jsegitz@suse.com>
|
||||
|
||||
|
@ -18,13 +18,13 @@
|
||||
|
||||
%{?!python_module:%define python_module() python-%{**} python3-%{**}}
|
||||
Name: python-semanage
|
||||
Version: 3.0
|
||||
Version: 3.1
|
||||
Release: 0
|
||||
Summary: Python bindings for SELinux's policy management library
|
||||
License: LGPL-2.1-only
|
||||
Group: Development/Languages/Python
|
||||
URL: https://github.com/SELinuxProject/selinux
|
||||
Source: https://github.com/SELinuxProject/selinux/releases/download/20191204/libsemanage-%{version}.tar.gz
|
||||
Source: https://github.com/SELinuxProject/selinux/releases/download/20200710/libsemanage-%{version}.tar.gz
|
||||
Source1: baselibs.conf
|
||||
# PATCH-FIX-UPSTREAM bsc#1133102 LTO: Update map file to include new symbols and remove wildcards
|
||||
# For now we need to disable this. This breaks e.g. shadow and also other packages in security:SELinux
|
||||
@ -56,8 +56,8 @@ grep /usr/libexec . -rl | xargs sed -i "s|/usr/libexec|%{_libexecdir}|g"
|
||||
%define _lto_cflags %{nil}
|
||||
make %{?_smp_mflags} clean
|
||||
%{python_expand # loop over possible pythons
|
||||
make -j1 PYTHON=$python CFLAGS="%{optflags}" swigify
|
||||
make -j1 PYTHON=$python CFLAGS="%{optflags}" \
|
||||
make -j1 PYTHON=$python CFLAGS="%{optflags} -fno-semantic-interposition" swigify
|
||||
make -j1 PYTHON=$python CFLAGS="%{optflags} -fno-semantic-interposition" \
|
||||
LIBDIR="%{_libdir}" \
|
||||
LIBEXECDIR="%{_libexecdir}" \
|
||||
SHLIBDIR="%{_lib}" \
|
||||
|
Loading…
Reference in New Issue
Block a user