Accepting request 841468 from home:jengelh:branches:system:install:head

- Replace old specfile constructs.

OBS-URL: https://build.opensuse.org/request/show/841468
OBS-URL: https://build.opensuse.org/package/show/system:install:head/gfxboot?expand=0&rev=223
This commit is contained in:
Steffen Winterfeldt 2020-11-11 16:02:41 +00:00 committed by Git OBS Bridge
parent c055d92379
commit 1f52b9dbd4
2 changed files with 12 additions and 19 deletions

View File

@ -1,3 +1,8 @@
-------------------------------------------------------------------
Tue Oct 13 09:17:15 UTC 2020 - Jan Engelhardt <jengelh@inai.de>
- Replace old specfile constructs.
--------------------------------------------------------------------
Thu Oct 22 10:30:46 UTC 2020 - opensuse-packaging@opensuse.org

View File

@ -1,7 +1,7 @@
#
# spec file for package gfxboot
#
# Copyright (c) 2020 SUSE LINUX GmbH, Nuernberg, Germany.
# Copyright (c) 2020 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/
#
@ -20,9 +20,9 @@ Name: gfxboot
Version: 4.5.73
Release: 0
Summary: Graphical Boot Logo for GRUB, LILO and SYSLINUX
License: GPL-2.0+
License: GPL-2.0-or-later
Group: System/Boot
Url: http://en.opensuse.org/SDB:Gfxboot
URL: http://en.opensuse.org/SDB:Gfxboot
Source: %{name}-%{version}.tar.xz
Source1: KDE.tar.xz
Source2: SLED.tar.xz
@ -47,7 +47,6 @@ Requires: mtools
Requires: perl-HTML-Parser
Requires: syslinux
Recommends: %{name}-theme >= 4
BuildRoot: %{_tmppath}/%{name}-%{version}-build
ExclusiveArch: %ix86 x86_64
%perl_requires
@ -116,13 +115,7 @@ Conflicts: otherproviders(%{name}-branding)
KDE theme for gfxboot (bootloader graphics).
%prep
%setup
%setup -T -D -a 1
%setup -T -D -a 2
%setup -T -D -a 3
%setup -T -D -a 4
%setup -T -D -a 5
%setup -T -D -a 6
%setup -q -a1 -a2 -a3 -a4 -a5 -a6
%build
# fix build
@ -154,15 +147,14 @@ touch %{buildroot}/boot/message
%{name} --update-theme KDE
%files
%defattr(-,root,root)
%{_sbindir}/%{name}
%{_mandir}/man8/%{name}.8.gz
%dir %{_sysconfdir}/bootsplash
%dir %{_sysconfdir}/bootsplash/themes
%doc README.md COPYING
%doc README.md
%license COPYING
%files devel
%defattr(-,root,root)
%{_sbindir}/%{name}-compile
%{_sbindir}/%{name}-font
%{_sbindir}/gfxtest
@ -171,22 +163,18 @@ touch %{buildroot}/boot/message
%{_datadir}/%{name}
%files branding-upstream
%defattr(-,root,root)
%{_sysconfdir}/bootsplash/themes/upstream
%ghost /boot/message
%files branding-SLES
%defattr(-,root,root)
%{_sysconfdir}/bootsplash/themes/SLES
%ghost /boot/message
%files branding-SLED
%defattr(-,root,root)
%{_sysconfdir}/bootsplash/themes/SLED
%ghost /boot/message
%files branding-KDE
%defattr(-,root,root)
%{_sysconfdir}/bootsplash/themes/KDE
%ghost /boot/message