Accepting request 903230 from home:dimstar:Factory

- Move macros.mozaddon from /etc/rpm to %_rpmmacrodir
  (boo#1185657).

OBS-URL: https://build.opensuse.org/request/show/903230
OBS-URL: https://build.opensuse.org/package/show/mozilla:addons/mozaddon-devel?expand=0&rev=7
This commit is contained in:
Jan Engelhardt 2021-06-30 16:04:08 +00:00 committed by Git OBS Bridge
parent e71f95975e
commit 2206cd941b
2 changed files with 11 additions and 5 deletions

View File

@ -1,3 +1,9 @@
-------------------------------------------------------------------
Wed Jun 30 12:34:29 UTC 2021 - Dominique Leuenberger <dimstar@opensuse.org>
- Move macros.mozaddon from /etc/rpm to %_rpmmacrodir
(boo#1185657).
-------------------------------------------------------------------
Wed Aug 5 09:41:47 UTC 2015 - jengelh@inai.de

View File

@ -1,7 +1,7 @@
#
# spec file for package mozaddon-devel
#
# Copyright (c) 2015 SUSE LINUX GmbH, Nuernberg, Germany.
# Copyright (c) 2021 SUSE LLC
#
# 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/
#
@ -41,13 +41,13 @@ addons for the Mozilla suite.
%install
b="%buildroot";
mkdir -p "$b/%_bindir" "$b/%_sysconfdir/rpm";
mkdir -p "$b/%_bindir" "$b/%_rpmmacrodir";
install -pm0755 "%{S:2}" "$b/%_bindir/";
install -pm0644 "%{S:3}" "$b/%_sysconfdir/rpm/";
install -pm0644 "%{S:3}" "$b/%_rpmmacrodir/";
%files
%defattr(-,root,root)
%config %_sysconfdir/rpm/
%_rpmmacrodir/macros.mozaddon
%_bindir/moz*
%changelog