diff --git a/apparmor-rpm-macros.changes b/apparmor-rpm-macros.changes index 910f0ca..daffe94 100644 --- a/apparmor-rpm-macros.changes +++ b/apparmor-rpm-macros.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Wed May 8 16:53:08 UTC 2019 - Christian Boltz + +- move macros.apparmor from /etc/rpm/ to /usr/lib/rpm/macros.d/ + ------------------------------------------------------------------- Wed Feb 28 06:37:37 UTC 2018 - tbechtold@suse.com diff --git a/apparmor-rpm-macros.spec b/apparmor-rpm-macros.spec index 9399a4c..f2857d6 100644 --- a/apparmor-rpm-macros.spec +++ b/apparmor-rpm-macros.spec @@ -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