3
0
forked from pool/util-linux

Accepting request 1061130 from home:dimstar:Factory

- Fix previous commit: setterm, cfdisk, fdformat, hwclock, sfdisk,
  and tunelp  unintentionally fell out of both variants.

  + /usr/bin/lslocks
  + /usr/bin/setterm
  + /usr/bin/wall
  + /usr/bin/write
  + /usr/sbin/cfdisk
  + /usr/sbin/fdformat
  + /usr/sbin/fdisk
  + /usr/sbin/hwclock
  + /usr/sbin/sfdisk
  + /usr/sbin/tunelp

OBS-URL: https://build.opensuse.org/request/show/1061130
OBS-URL: https://build.opensuse.org/package/show/Base:System/util-linux?expand=0&rev=491
This commit is contained in:
Dominique Leuenberger 2023-01-26 10:11:48 +00:00 committed by Git OBS Bridge
parent 91145f2d35
commit 33ebcb5fab
2 changed files with 35 additions and 27 deletions

View File

@ -1,3 +1,9 @@
-------------------------------------------------------------------
Thu Jan 26 08:07:21 UTC 2023 - Dominique Leuenberger <dimstar@opensuse.org>
- Fix previous commit: setterm, cfdisk, fdformat, hwclock, sfdisk,
and tunelp unintentionally fell out of both variants.
-------------------------------------------------------------------
Wed Jan 25 11:30:57 UTC 2023 - Dominique Leuenberger <dimstar@opensuse.org>

View File

@ -27,11 +27,13 @@
%define psuffix -core
%define ulbuild base
%define ulsubset core
%define core %nil
%endif
%if "%{flavor}" == "systemd"
%define ulbuild base
%define ulsubset systemd
%define core %exclude
%endif
# All python flavors are build separately. No module can be built together with base.
@ -1237,32 +1239,32 @@ rmdir --ignore-fail-on-non-empty /run/run >/dev/null 2>&1 || :
# Files not common for all architectures
%ifnarch ia64 m68k
%if %{ul_extra_bin_sbin}
/sbin/fdisk
%core /sbin/fdisk
%endif
%{_sbindir}/fdisk
%{_mandir}/man8/fdisk.8.gz
%core %{_sbindir}/fdisk
%core %{_mandir}/man8/fdisk.8.gz
%endif
%ifnarch %sparc ia64 m68k
%{_mandir}/man8/cfdisk.8.gz
%{_mandir}/man8/sfdisk.8.gz
%core %{_mandir}/man8/cfdisk.8.gz
%core %{_mandir}/man8/sfdisk.8.gz
%if %{ul_extra_bin_sbin}
/sbin/cfdisk
/sbin/sfdisk
%core /sbin/cfdisk
%core /sbin/sfdisk
%endif
%exclude %{_sbindir}/cfdisk
%exclude %{_sbindir}/sfdisk
%core %{_sbindir}/cfdisk
%core %{_sbindir}/sfdisk
%endif
%ifnarch s390 s390x
%exclude %{_sbindir}/fdformat
%core %{_sbindir}/fdformat
%if %{ul_extra_bin_sbin}
%exclude /sbin/hwclock
%core /sbin/hwclock
%endif
%exclude %{_sbindir}/hwclock
%exclude %{_bindir}/setterm
%exclude %{_sbindir}/tunelp
%{_mandir}/man8/fdformat.8.gz
%{_mandir}/man8/hwclock.8.gz
%{_mandir}/man8/tunelp.8.gz
%core %{_sbindir}/hwclock
%core %{_bindir}/setterm
%core %{_sbindir}/tunelp
%core %{_mandir}/man8/fdformat.8.gz
%core %{_mandir}/man8/hwclock.8.gz
%core %{_mandir}/man8/tunelp.8.gz
%endif
%if "%ulsubset" == "core"