Dominique Leuenberger 2021-06-14 21:10:35 +00:00 committed by Git OBS Bridge
commit 75f6bbe6f6
2 changed files with 13 additions and 10 deletions

View File

@ -1,7 +1,13 @@
-------------------------------------------------------------------
Fri Jun 11 11:49:27 UTC 2021 - Dominique Leuenberger <dimstar@opensuse.org>
- Move /macros.fonts-config from /etc/rpm to %{_rpmmacrodir}
(boo#1185657).
------------------------------------------------------------------- -------------------------------------------------------------------
Tue Nov 21 15:14:15 CET 2017 - kukuk@suse.de Tue Nov 21 15:14:15 CET 2017 - kukuk@suse.de
- /var/adm/update-scripts is deprecated and will be removed at - /var/adm/update-scripts is deprecated and will be removed at
some point in the future, since %posttrans support in libzypp some point in the future, since %posttrans support in libzypp
was fixed with SLE12. Remove the workaround, only use the RPM was fixed with SLE12. Remove the workaround, only use the RPM
posttrans to simplify the code and testing. posttrans to simplify the code and testing.

View File

@ -1,7 +1,7 @@
# #
# spec file for package fontpackages # spec file for package fontpackages
# #
# Copyright (c) 2017 SUSE LINUX GmbH, Nuernberg, Germany. # Copyright (c) 2021 SUSE LLC
# #
# All modifications and additions to the file contributed by third parties # All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed # 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) # license that conforms to the Open Source Definition (Version 1.9)
# published by the Open Source Initiative. # 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/
# #
@ -24,7 +24,6 @@ License: BSD-3-Clause
Group: System/Base Group: System/Base
Source0: rpm-macros.fonts-config Source0: rpm-macros.fonts-config
Source100: COPYING Source100: COPYING
BuildRoot: %{_tmppath}/%{name}-%{version}-build
BuildArch: noarch BuildArch: noarch
%description %description
@ -37,19 +36,17 @@ Group: Development/Tools/Building
%description devel %description devel
Development commons for font packages. Development commons for font packages.
%prep %prep
%build %build
cp %{SOURCE100} . cp %{SOURCE100} .
%install %install
mkdir -p %{buildroot}%{_sysconfdir}/rpm mkdir -p %{buildroot}%{_rpmmacrodir}
cp -a %{SOURCE0} %{buildroot}%{_sysconfdir}/rpm/macros.fonts-config cp -a %{SOURCE0} %{buildroot}%{_rpmmacrodir}/macros.fonts-config
%files devel %files devel
%defattr(-,root,root) %license COPYING
%doc COPYING %{_rpmmacrodir}/macros.fonts-config
%config %{_sysconfdir}/rpm/macros.fonts-config
%changelog %changelog