Accepting request 832096 from security:SELinux

please stage with updated gcc to prevent build failures

OBS-URL: https://build.opensuse.org/request/show/832096
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/restorecond?expand=0&rev=7
This commit is contained in:
Dominique Leuenberger 2020-10-06 15:07:49 +00:00 committed by Git OBS Bridge
commit 783804f9bf
4 changed files with 20 additions and 7 deletions

View File

@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:32a92c9f4bf48c613f9f467ced58d8c369eec8892239cd44d5d0e139b41926dc
size 18797

3
restorecond-3.1.tar.gz Normal file
View File

@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:82ca45099685a45d718f11f8859963c1ba83d98e510312cbf0b7dc5664c60ad0
size 18939

View File

@ -1,3 +1,15 @@
-------------------------------------------------------------------
Wed Jul 15 14:27:05 UTC 2020 - Johannes Segitz <jsegitz@suse.com>
- Use proper macros for SYSTEMDSYSTEMUNITDIR and SYSTEMDUSERUNITDIR
-------------------------------------------------------------------
Tue Jul 14 08:32:09 UTC 2020 - Johannes Segitz <jsegitz@suse.com>
- Update to version 3.1
* `restorecond_user.service` - new systemd user service which runs
`restorecond -u`
-------------------------------------------------------------------
Tue May 12 06:50:33 UTC 2020 - Johannes Segitz <jsegitz@suse.de>

View File

@ -16,15 +16,15 @@
#
%define libselinux_ver 3.0
%define libselinux_ver 3.1
Name: restorecond
Version: 3.0
Version: 3.1
Release: 0
Summary: Daemon to restore SELinux contexts
License: GPL-2.0-or-later
Group: Productivity/Security
URL: https://github.com/SELinuxProject/selinux.git
Source0: https://github.com/SELinuxProject/selinux/releases/download/20191204/restorecond-%{version}.tar.gz
Source0: https://github.com/SELinuxProject/selinux/releases/download/20200710/restorecond-%{version}.tar.gz
BuildRequires: dbus-1-glib-devel
BuildRequires: libselinux-devel >= %{libselinux_ver}
Requires: libselinux1 >= %{libselinux_ver}
@ -41,7 +41,7 @@ export CFLAGS="%optflags"
%make_build LSPP_PRIV=y all
%install
make DESTDIR=%{buildroot} SHLIBDIR=/%{_lib} install
make DESTDIR=%{buildroot} SHLIBDIR=/%{_lib} SYSTEMDSYSTEMUNITDIR=%{_unitdir} SYSTEMDUSERUNITDIR=%{_userunitdir} install
rm %{buildroot}%{_sysconfdir}/rc.d/init.d/restorecond
ln -s /sbin/service %{buildroot}%{_sbindir}/rcrestorecond
@ -62,6 +62,7 @@ ln -s /sbin/service %{buildroot}%{_sbindir}/rcrestorecond
%config(noreplace) %{_sysconfdir}/selinux/restorecond_user.conf
%{_sysconfdir}/xdg/autostart/restorecond.desktop
%{_unitdir}/restorecond.service
%{_userunitdir}/restorecond_user.service
%{_sbindir}/restorecond
%{_sbindir}/rcrestorecond