Accepting request 706063 from security:apparmor

Automatic submission by obs-autosubmit

OBS-URL: https://build.opensuse.org/request/show/706063
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/apparmor-rpm-macros?expand=0&rev=5
This commit is contained in:
Dominique Leuenberger 2019-06-12 11:01:21 +00:00 committed by Git OBS Bridge
commit c5f8ac98ac
2 changed files with 12 additions and 5 deletions

View File

@ -1,3 +1,8 @@
-------------------------------------------------------------------
Wed May 8 16:53:08 UTC 2019 - Christian Boltz <suse-beta@cboltz.de>
- move macros.apparmor from /etc/rpm/ to /usr/lib/rpm/macros.d/
-------------------------------------------------------------------
Wed Feb 28 06:37:37 UTC 2018 - tbechtold@suse.com

View File

@ -1,7 +1,7 @@
#
# spec file for package apparmor-rpm-macros
#
# Copyright (c) 2018 SUSE LINUX GmbH, Nuernberg, Germany.
# Copyright (c) 2019 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,7 +12,7 @@
# 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/
#
@ -28,6 +28,8 @@ Requires: coreutils
BuildArch: noarch
BuildRoot: %{_tmppath}/%{name}-%{version}-build
%define macrodir /usr/lib/rpm/macros.d
%description
Package that provides RPM macros used to setup apparmor profiles for packaging.
@ -36,11 +38,11 @@ Package that provides RPM macros used to setup apparmor profiles for packaging.
%build
%install
mkdir -p %{buildroot}%{_sysconfdir}/rpm
install -m644 %{S:0} %{buildroot}%{_sysconfdir}/rpm
mkdir -p %{buildroot}%{macrodir}
install -m644 %{S:0} %{buildroot}%{macrodir}/
%files
%defattr(-,root,root)
%config %{_sysconfdir}/rpm/macros.apparmor
%config %{macrodir}/macros.apparmor
%changelog