2006-12-19 00:18:10 +01:00
|
|
|
#
|
2011-01-18 11:38:37 +01:00
|
|
|
# spec file for package util-linux
|
2006-12-19 00:18:10 +01:00
|
|
|
#
|
2024-01-18 18:19:00 +01:00
|
|
|
# Copyright (c) 2024 SUSE LLC
|
2006-12-19 00:18:10 +01:00
|
|
|
#
|
2008-08-18 22:57:09 +02:00
|
|
|
# All modifications and additions to the file contributed by third parties
|
|
|
|
# remain the property of their copyright owners, unless otherwise agreed
|
|
|
|
# upon. The license for this file, and modifications and additions to the
|
|
|
|
# file, is the same license as for the pristine package itself (unless the
|
|
|
|
# license for the pristine package is not an Open Source License, in which
|
|
|
|
# case the license is the MIT License). An "Open Source License" is a
|
|
|
|
# license that conforms to the Open Source Definition (Version 1.9)
|
|
|
|
# published by the Open Source Initiative.
|
|
|
|
|
2018-10-01 17:30:44 +02:00
|
|
|
# Please submit bugfixes or comments via https://bugs.opensuse.org/
|
2006-12-19 00:18:10 +01:00
|
|
|
#
|
|
|
|
|
2012-02-24 11:56:25 +01:00
|
|
|
|
2022-09-01 20:34:07 +02:00
|
|
|
%global flavor @BUILD_FLAVOR@%{nil}
|
|
|
|
|
2022-12-09 00:16:30 +01:00
|
|
|
# Parts description:
|
|
|
|
# core: libraries, all binaries except those dependent on libsystemd
|
2024-04-05 00:34:28 +02:00
|
|
|
# systemd: binaries dependent on systemd or sqlite3, man pages (generator is dependent on ruby)
|
2022-12-09 00:16:30 +01:00
|
|
|
# python: Python bindings
|
|
|
|
|
2022-09-01 20:34:07 +02:00
|
|
|
%if "%{flavor}" == ""
|
2022-12-09 00:16:30 +01:00
|
|
|
%define psuffix -core
|
|
|
|
%define ulbuild base
|
|
|
|
%define ulsubset core
|
2023-01-26 11:11:48 +01:00
|
|
|
%define core %nil
|
2022-12-09 00:16:30 +01:00
|
|
|
%endif
|
2023-02-13 09:44:32 +01:00
|
|
|
# flavor == ""
|
2022-12-09 00:16:30 +01:00
|
|
|
|
|
|
|
%if "%{flavor}" == "systemd"
|
2022-09-01 20:34:07 +02:00
|
|
|
%define ulbuild base
|
2022-12-09 00:16:30 +01:00
|
|
|
%define ulsubset systemd
|
2023-01-26 11:11:48 +01:00
|
|
|
%define core %exclude
|
2022-09-01 20:34:07 +02:00
|
|
|
%endif
|
2023-02-13 09:44:32 +01:00
|
|
|
# flavor == systemd
|
2022-09-01 20:34:07 +02:00
|
|
|
|
2023-03-14 12:25:29 +01:00
|
|
|
# All python flavors are built separately. No module can be built together with base.
|
2022-09-01 20:34:07 +02:00
|
|
|
# This is a limitation of %%python_subpackages.
|
|
|
|
%if "%{flavor}" == "python"
|
|
|
|
%define ulbuild python
|
|
|
|
%endif
|
2023-02-13 09:44:32 +01:00
|
|
|
# flavor == python
|
2022-09-01 20:34:07 +02:00
|
|
|
|
2023-01-04 12:41:01 +01:00
|
|
|
%if 0%{?suse_version} < 1550
|
2022-09-01 20:34:07 +02:00
|
|
|
%define ul_extra_bin_sbin 1
|
|
|
|
%else
|
|
|
|
%define ul_extra_bin_sbin 0
|
|
|
|
%endif
|
2023-02-13 09:44:32 +01:00
|
|
|
# suse_version < 1550
|
|
|
|
|
2022-09-15 17:39:18 +02:00
|
|
|
%define ul_suid 4755
|
2021-01-18 11:29:39 +01:00
|
|
|
|
2022-09-01 20:34:07 +02:00
|
|
|
%define _name util-linux
|
|
|
|
|
2021-01-18 11:29:39 +01:00
|
|
|
%if ! %{defined _distconfdir}
|
|
|
|
%define _distconfdir %{_sysconfdir}
|
|
|
|
%else
|
|
|
|
%define no_config 1
|
|
|
|
%endif
|
2023-02-13 09:44:32 +01:00
|
|
|
# ! _distconfdir
|
2021-01-18 11:29:39 +01:00
|
|
|
|
2022-12-09 00:16:30 +01:00
|
|
|
%if "%ulsubset" == "core"
|
2022-09-01 20:34:07 +02:00
|
|
|
Name: util-linux
|
2022-12-09 00:16:30 +01:00
|
|
|
Summary: A collection of basic system utilities (core part)
|
2023-02-13 09:44:32 +01:00
|
|
|
Group: System/Base
|
|
|
|
%endif
|
|
|
|
# ulsubset == core
|
|
|
|
|
|
|
|
%if "%ulsubset" == "systemd"
|
2022-12-09 00:16:30 +01:00
|
|
|
Name: util-linux-systemd
|
|
|
|
Summary: A collection of basic system utilities (systemd dependent part)
|
2022-09-01 20:34:07 +02:00
|
|
|
Group: System/Base
|
2023-02-13 09:44:32 +01:00
|
|
|
%endif
|
|
|
|
# ulsubset == systemd
|
|
|
|
|
|
|
|
%if "%ulbuild" == "python"
|
2022-09-01 20:34:07 +02:00
|
|
|
%{?!python_module:%define python_module() python-%{**} python3-%{**}}
|
|
|
|
Name: python-libmount
|
|
|
|
Summary: Python bindings for the libmount library
|
|
|
|
Group: Development/Languages/Python
|
Accepting request 244468 from home:sbrabec:branches:Base:System
This update needs a special care:
1)
After first successful build on all platforms, "osc meta prjconf Base:System" must include:
%if 0%{?suse_version} > 1310
Preinstall: libsmartcols1
%endif
2)
You also need to make symlinks to util-linux-systemd and python-libmount.
And finally, this package is intended only for > 1310 (i. e. Factory).
3)
The spec file can have problems with (buggy) Factory check-in check:
ERROR: python-libmount: group for main package not set
There is false error and I have no work-around for this just now.
(If you want, please ping me (by mail) after package review, and I'll do all needed changes.)
- Update to version 2.25
(using work of Ruediger Meier <sweet_f_a@gmx.de>):
* based on the git master branch of util-linux
* many fixes (including bnc#869355, bnc#871951 and
bnc#871698#c49)
* new Python binding sub-package for libmount: python-libmount
* new library: libsmartcols
* new commands: lslogins, setpriv
* add fstrim systemd timer
* better systemd integration
* DROPPED command:
* cytune: Upstream decided to remove tool untested for years
that supports this old hardware.
- Dropped patches included in the upstream:
(*git) Included with no changes
(+git) Included with improvements
(!git) Included with differences
* support-other-tty-lines-not-vconsole.patch (*b9c7390)
* agetty-fooled-on-serial-line-due-plymouth.patch,
* sulogin-fooled-on-tty-line-due-plymouth.patch (*bb280f7)
* agetty-on-s390-on-dev-3270-tty1-line.patch (*f2bcda5)
* sulogin-does-not-find-any-console.patch (*624b204)
* util-linux-setarch-uname26.patch (*f6eb160)
* util-linux-ng-2.16-squashfs3-detect.patch (*11402f5)
* util-linux-lscpu-improve-hypervisor-detection.patch
(!b774473, b32488c, 5bd31c6, 0f0c558, 96ce475)
WARNING, INCOMPATIBLE CHANGE: "lscpu -p" no more reports
hypervisor, as it breaks standard behavior. Use standard output
instead! (FATE#310255)
* blkid-stop-scanning-on-I-O-error.patch (+296d96e)
* blkid-convert-superblocks-to-new-calling-convention.patch
(+37f4060)
* util-linux-libblkid-ext-probe.patch (*a1ca32f)
* util-linux-hwclock-drift-check.patch (*f196fd1)
* util-linux-hwclock-adjtime-check.patch (*db8fc5f)
- Dropped obsolete patch:
* util-linux-2.23.1-eject-fpie.patch (eject is no more SUID)
* util-linux-2.24-fdisk_remove_bogus_warnings.patch
(upstream fixed it in a different way)
* util-linux-HACK-boot.localfs.diff
(MOUNT_PRINT_SOURCE is no more referenced)
- Ported and renamed:
* util-linux-2.23.1-noenc-suse.diff
-> util-linux-noenc-suse.patch
- Split spec file to three stages:
* util-linux.spec: Everything that do not need python or systemd.
* util-linux-systemd.spec: Stuff that needs systemd:
util-linux-systemd and uuidd
NOTE: Not building systemd-less variants of utilities.
* python-libmount.spec: Just python-libmount
- Move bash-completion files to correct packages.
- Add patch util-linux-bash-completion-blockdev.patch.
- Add hacks to prevent damaging of spec files by format_spec_file
(bnc#891152, also edited util-linux-rpmlintrc).
- use nologin from upstream (was added in 2.24)
OBS-URL: https://build.opensuse.org/request/show/244468
OBS-URL: https://build.opensuse.org/package/show/Base:System/util-linux?expand=0&rev=248
2014-08-21 11:54:57 +02:00
|
|
|
%endif
|
2023-02-13 09:44:32 +01:00
|
|
|
# ulbuild == python
|
|
|
|
|
2024-05-09 14:12:43 +02:00
|
|
|
Version: 2.40.1
|
2022-09-01 20:34:07 +02:00
|
|
|
Release: 0
|
2018-03-23 10:33:09 +01:00
|
|
|
License: GPL-2.0-or-later
|
2022-09-01 20:34:07 +02:00
|
|
|
URL: https://www.kernel.org/pub/linux/utils/util-linux/
|
2024-04-05 00:34:28 +02:00
|
|
|
Source: https://www.kernel.org/pub/linux/utils/util-linux/v2.40/util-linux-%{version}.tar.xz
|
2022-09-01 20:34:07 +02:00
|
|
|
Source2: util-linux-login_defs-check.sh
|
2022-09-12 20:51:52 +02:00
|
|
|
Source3: util-linux-rpmlintrc
|
2022-09-01 20:34:07 +02:00
|
|
|
Source7: baselibs.conf
|
|
|
|
Source8: login.pamd
|
|
|
|
Source9: remote.pamd
|
|
|
|
Source10: su.pamd
|
|
|
|
Source11: su.default
|
2023-06-12 21:48:44 +02:00
|
|
|
Source12: https://www.kernel.org/pub/linux/utils/util-linux/v2.39/util-linux-%{version}.tar.sign
|
2022-09-01 20:34:07 +02:00
|
|
|
Source13: %{_name}.keyring
|
|
|
|
Source14: runuser.pamd
|
|
|
|
Source15: runuser-l.pamd
|
|
|
|
Source16: su-l.pamd
|
2024-04-08 14:51:13 +02:00
|
|
|
Source17: tmpfiles.lastlog2.conf
|
2022-09-01 20:34:07 +02:00
|
|
|
Source51: blkid.conf
|
2024-04-05 17:48:05 +02:00
|
|
|
# PATCH-EXTEND-UPSTREAM: Let `su' handle /sbin and /usr/sbin in path
|
2022-09-01 20:34:07 +02:00
|
|
|
Patch0: make-sure-sbin-resp-usr-sbin-are-in-PATH.diff
|
|
|
|
Patch1: libmount-print-a-blacklist-hint-for-unknown-filesyst.patch
|
|
|
|
Patch2: Add-documentation-on-blacklisted-modules-to-mount-8-.patch
|
2024-04-05 17:48:05 +02:00
|
|
|
# PATCH-FIX-SUSE util-linux-bash-completion-su-chsh-l.patch bsc1172427 -- Fix "su -s" bash completion.
|
2023-07-26 04:38:20 +02:00
|
|
|
Patch3: util-linux-bash-completion-su-chsh-l.patch
|
2024-04-15 16:11:45 +02:00
|
|
|
Patch5: static_lib.patch
|
2010-07-30 12:35:45 +02:00
|
|
|
BuildRequires: audit-devel
|
2021-11-17 10:56:57 +01:00
|
|
|
BuildRequires: bc
|
2012-05-31 16:44:07 +02:00
|
|
|
BuildRequires: binutils-devel
|
2012-02-24 11:56:25 +01:00
|
|
|
BuildRequires: fdupes
|
2022-12-09 00:16:30 +01:00
|
|
|
BuildRequires: file-devel
|
2010-07-30 12:35:45 +02:00
|
|
|
BuildRequires: gettext-devel
|
Accepting request 244468 from home:sbrabec:branches:Base:System
This update needs a special care:
1)
After first successful build on all platforms, "osc meta prjconf Base:System" must include:
%if 0%{?suse_version} > 1310
Preinstall: libsmartcols1
%endif
2)
You also need to make symlinks to util-linux-systemd and python-libmount.
And finally, this package is intended only for > 1310 (i. e. Factory).
3)
The spec file can have problems with (buggy) Factory check-in check:
ERROR: python-libmount: group for main package not set
There is false error and I have no work-around for this just now.
(If you want, please ping me (by mail) after package review, and I'll do all needed changes.)
- Update to version 2.25
(using work of Ruediger Meier <sweet_f_a@gmx.de>):
* based on the git master branch of util-linux
* many fixes (including bnc#869355, bnc#871951 and
bnc#871698#c49)
* new Python binding sub-package for libmount: python-libmount
* new library: libsmartcols
* new commands: lslogins, setpriv
* add fstrim systemd timer
* better systemd integration
* DROPPED command:
* cytune: Upstream decided to remove tool untested for years
that supports this old hardware.
- Dropped patches included in the upstream:
(*git) Included with no changes
(+git) Included with improvements
(!git) Included with differences
* support-other-tty-lines-not-vconsole.patch (*b9c7390)
* agetty-fooled-on-serial-line-due-plymouth.patch,
* sulogin-fooled-on-tty-line-due-plymouth.patch (*bb280f7)
* agetty-on-s390-on-dev-3270-tty1-line.patch (*f2bcda5)
* sulogin-does-not-find-any-console.patch (*624b204)
* util-linux-setarch-uname26.patch (*f6eb160)
* util-linux-ng-2.16-squashfs3-detect.patch (*11402f5)
* util-linux-lscpu-improve-hypervisor-detection.patch
(!b774473, b32488c, 5bd31c6, 0f0c558, 96ce475)
WARNING, INCOMPATIBLE CHANGE: "lscpu -p" no more reports
hypervisor, as it breaks standard behavior. Use standard output
instead! (FATE#310255)
* blkid-stop-scanning-on-I-O-error.patch (+296d96e)
* blkid-convert-superblocks-to-new-calling-convention.patch
(+37f4060)
* util-linux-libblkid-ext-probe.patch (*a1ca32f)
* util-linux-hwclock-drift-check.patch (*f196fd1)
* util-linux-hwclock-adjtime-check.patch (*db8fc5f)
- Dropped obsolete patch:
* util-linux-2.23.1-eject-fpie.patch (eject is no more SUID)
* util-linux-2.24-fdisk_remove_bogus_warnings.patch
(upstream fixed it in a different way)
* util-linux-HACK-boot.localfs.diff
(MOUNT_PRINT_SOURCE is no more referenced)
- Ported and renamed:
* util-linux-2.23.1-noenc-suse.diff
-> util-linux-noenc-suse.patch
- Split spec file to three stages:
* util-linux.spec: Everything that do not need python or systemd.
* util-linux-systemd.spec: Stuff that needs systemd:
util-linux-systemd and uuidd
NOTE: Not building systemd-less variants of utilities.
* python-libmount.spec: Just python-libmount
- Move bash-completion files to correct packages.
- Add patch util-linux-bash-completion-blockdev.patch.
- Add hacks to prevent damaging of spec files by format_spec_file
(bnc#891152, also edited util-linux-rpmlintrc).
- use nologin from upstream (was added in 2.24)
OBS-URL: https://build.opensuse.org/request/show/244468
OBS-URL: https://build.opensuse.org/package/show/Base:System/util-linux?expand=0&rev=248
2014-08-21 11:54:57 +02:00
|
|
|
BuildRequires: libcap-ng-devel
|
2024-04-15 16:11:45 +02:00
|
|
|
BuildRequires: libeconf-devel-static
|
2010-07-30 12:35:45 +02:00
|
|
|
BuildRequires: libselinux-devel
|
|
|
|
BuildRequires: libsepol-devel
|
2011-12-25 23:19:56 +01:00
|
|
|
BuildRequires: libtool
|
2010-07-30 12:35:45 +02:00
|
|
|
BuildRequires: ncurses-devel
|
|
|
|
BuildRequires: pam-devel
|
|
|
|
BuildRequires: pkg-config
|
|
|
|
BuildRequires: readline-devel
|
2023-08-17 15:31:46 +02:00
|
|
|
%if 0%{?suse_version} < 1600
|
Accepting request 244468 from home:sbrabec:branches:Base:System
This update needs a special care:
1)
After first successful build on all platforms, "osc meta prjconf Base:System" must include:
%if 0%{?suse_version} > 1310
Preinstall: libsmartcols1
%endif
2)
You also need to make symlinks to util-linux-systemd and python-libmount.
And finally, this package is intended only for > 1310 (i. e. Factory).
3)
The spec file can have problems with (buggy) Factory check-in check:
ERROR: python-libmount: group for main package not set
There is false error and I have no work-around for this just now.
(If you want, please ping me (by mail) after package review, and I'll do all needed changes.)
- Update to version 2.25
(using work of Ruediger Meier <sweet_f_a@gmx.de>):
* based on the git master branch of util-linux
* many fixes (including bnc#869355, bnc#871951 and
bnc#871698#c49)
* new Python binding sub-package for libmount: python-libmount
* new library: libsmartcols
* new commands: lslogins, setpriv
* add fstrim systemd timer
* better systemd integration
* DROPPED command:
* cytune: Upstream decided to remove tool untested for years
that supports this old hardware.
- Dropped patches included in the upstream:
(*git) Included with no changes
(+git) Included with improvements
(!git) Included with differences
* support-other-tty-lines-not-vconsole.patch (*b9c7390)
* agetty-fooled-on-serial-line-due-plymouth.patch,
* sulogin-fooled-on-tty-line-due-plymouth.patch (*bb280f7)
* agetty-on-s390-on-dev-3270-tty1-line.patch (*f2bcda5)
* sulogin-does-not-find-any-console.patch (*624b204)
* util-linux-setarch-uname26.patch (*f6eb160)
* util-linux-ng-2.16-squashfs3-detect.patch (*11402f5)
* util-linux-lscpu-improve-hypervisor-detection.patch
(!b774473, b32488c, 5bd31c6, 0f0c558, 96ce475)
WARNING, INCOMPATIBLE CHANGE: "lscpu -p" no more reports
hypervisor, as it breaks standard behavior. Use standard output
instead! (FATE#310255)
* blkid-stop-scanning-on-I-O-error.patch (+296d96e)
* blkid-convert-superblocks-to-new-calling-convention.patch
(+37f4060)
* util-linux-libblkid-ext-probe.patch (*a1ca32f)
* util-linux-hwclock-drift-check.patch (*f196fd1)
* util-linux-hwclock-adjtime-check.patch (*db8fc5f)
- Dropped obsolete patch:
* util-linux-2.23.1-eject-fpie.patch (eject is no more SUID)
* util-linux-2.24-fdisk_remove_bogus_warnings.patch
(upstream fixed it in a different way)
* util-linux-HACK-boot.localfs.diff
(MOUNT_PRINT_SOURCE is no more referenced)
- Ported and renamed:
* util-linux-2.23.1-noenc-suse.diff
-> util-linux-noenc-suse.patch
- Split spec file to three stages:
* util-linux.spec: Everything that do not need python or systemd.
* util-linux-systemd.spec: Stuff that needs systemd:
util-linux-systemd and uuidd
NOTE: Not building systemd-less variants of utilities.
* python-libmount.spec: Just python-libmount
- Move bash-completion files to correct packages.
- Add patch util-linux-bash-completion-blockdev.patch.
- Add hacks to prevent damaging of spec files by format_spec_file
(bnc#891152, also edited util-linux-rpmlintrc).
- use nologin from upstream (was added in 2.24)
OBS-URL: https://build.opensuse.org/request/show/244468
OBS-URL: https://build.opensuse.org/package/show/Base:System/util-linux?expand=0&rev=248
2014-08-21 11:54:57 +02:00
|
|
|
BuildRequires: utempter-devel
|
2023-08-17 15:31:46 +02:00
|
|
|
%endif
|
Accepting request 244468 from home:sbrabec:branches:Base:System
This update needs a special care:
1)
After first successful build on all platforms, "osc meta prjconf Base:System" must include:
%if 0%{?suse_version} > 1310
Preinstall: libsmartcols1
%endif
2)
You also need to make symlinks to util-linux-systemd and python-libmount.
And finally, this package is intended only for > 1310 (i. e. Factory).
3)
The spec file can have problems with (buggy) Factory check-in check:
ERROR: python-libmount: group for main package not set
There is false error and I have no work-around for this just now.
(If you want, please ping me (by mail) after package review, and I'll do all needed changes.)
- Update to version 2.25
(using work of Ruediger Meier <sweet_f_a@gmx.de>):
* based on the git master branch of util-linux
* many fixes (including bnc#869355, bnc#871951 and
bnc#871698#c49)
* new Python binding sub-package for libmount: python-libmount
* new library: libsmartcols
* new commands: lslogins, setpriv
* add fstrim systemd timer
* better systemd integration
* DROPPED command:
* cytune: Upstream decided to remove tool untested for years
that supports this old hardware.
- Dropped patches included in the upstream:
(*git) Included with no changes
(+git) Included with improvements
(!git) Included with differences
* support-other-tty-lines-not-vconsole.patch (*b9c7390)
* agetty-fooled-on-serial-line-due-plymouth.patch,
* sulogin-fooled-on-tty-line-due-plymouth.patch (*bb280f7)
* agetty-on-s390-on-dev-3270-tty1-line.patch (*f2bcda5)
* sulogin-does-not-find-any-console.patch (*624b204)
* util-linux-setarch-uname26.patch (*f6eb160)
* util-linux-ng-2.16-squashfs3-detect.patch (*11402f5)
* util-linux-lscpu-improve-hypervisor-detection.patch
(!b774473, b32488c, 5bd31c6, 0f0c558, 96ce475)
WARNING, INCOMPATIBLE CHANGE: "lscpu -p" no more reports
hypervisor, as it breaks standard behavior. Use standard output
instead! (FATE#310255)
* blkid-stop-scanning-on-I-O-error.patch (+296d96e)
* blkid-convert-superblocks-to-new-calling-convention.patch
(+37f4060)
* util-linux-libblkid-ext-probe.patch (*a1ca32f)
* util-linux-hwclock-drift-check.patch (*f196fd1)
* util-linux-hwclock-adjtime-check.patch (*db8fc5f)
- Dropped obsolete patch:
* util-linux-2.23.1-eject-fpie.patch (eject is no more SUID)
* util-linux-2.24-fdisk_remove_bogus_warnings.patch
(upstream fixed it in a different way)
* util-linux-HACK-boot.localfs.diff
(MOUNT_PRINT_SOURCE is no more referenced)
- Ported and renamed:
* util-linux-2.23.1-noenc-suse.diff
-> util-linux-noenc-suse.patch
- Split spec file to three stages:
* util-linux.spec: Everything that do not need python or systemd.
* util-linux-systemd.spec: Stuff that needs systemd:
util-linux-systemd and uuidd
NOTE: Not building systemd-less variants of utilities.
* python-libmount.spec: Just python-libmount
- Move bash-completion files to correct packages.
- Add patch util-linux-bash-completion-blockdev.patch.
- Add hacks to prevent damaging of spec files by format_spec_file
(bnc#891152, also edited util-linux-rpmlintrc).
- use nologin from upstream (was added in 2.24)
OBS-URL: https://build.opensuse.org/request/show/244468
OBS-URL: https://build.opensuse.org/package/show/Base:System/util-linux?expand=0&rev=248
2014-08-21 11:54:57 +02:00
|
|
|
BuildRequires: zlib-devel
|
2023-03-08 23:23:00 +01:00
|
|
|
Requires(post): permissions
|
2024-04-18 14:23:28 +02:00
|
|
|
Requires(verify): permissions
|
2016-07-13 18:08:18 +02:00
|
|
|
# util-linux is part of VMInstall, but we can well build without it
|
|
|
|
# Helps shorten a cycle and eliminate a bootstrap issue
|
|
|
|
#!BuildIgnore: util-linux
|
2023-02-13 09:44:32 +01:00
|
|
|
|
2016-05-03 00:32:08 +02:00
|
|
|
%ifarch ppc ppc64 ppc64le
|
|
|
|
BuildRequires: librtas-devel
|
|
|
|
%endif
|
2023-02-13 09:44:32 +01:00
|
|
|
#arch ppc
|
|
|
|
|
2022-12-09 00:16:30 +01:00
|
|
|
%if "%ulsubset" == "systemd"
|
2022-09-01 20:34:07 +02:00
|
|
|
BuildRequires: bash-completion
|
2021-02-04 11:53:12 +01:00
|
|
|
BuildRequires: libudev-devel
|
2015-05-07 23:30:28 +02:00
|
|
|
BuildRequires: socat
|
2013-06-19 16:32:02 +02:00
|
|
|
BuildRequires: systemd-rpm-macros
|
2016-12-15 16:49:19 +01:00
|
|
|
BuildRequires: pkgconfig(libsystemd)
|
2024-04-05 00:34:28 +02:00
|
|
|
BuildRequires: pkgconfig(sqlite3)
|
2022-09-01 20:34:07 +02:00
|
|
|
BuildRequires: rubygem(asciidoctor)
|
2024-01-19 11:30:53 +01:00
|
|
|
Supplements: (util-linux and systemd)
|
2024-01-18 18:19:00 +01:00
|
|
|
# Split-provides for upgrade from SLE < 12 and openSUSE <= 13.1
|
|
|
|
Provides: util-linux:/bin/logger
|
2022-12-09 00:16:30 +01:00
|
|
|
# man pages were moved to -systemd subpackage with 2.38.x (SLE15 SP6, Leap 15.6)
|
|
|
|
Conflicts: util-linux < 2.38
|
2022-09-01 20:34:07 +02:00
|
|
|
%systemd_requires
|
2013-12-12 13:34:11 +01:00
|
|
|
%endif
|
2023-02-13 09:44:32 +01:00
|
|
|
# ulsubset == systemd
|
|
|
|
|
2022-12-09 00:16:30 +01:00
|
|
|
%if "%ulsubset" == "core"
|
Accepting request 244468 from home:sbrabec:branches:Base:System
This update needs a special care:
1)
After first successful build on all platforms, "osc meta prjconf Base:System" must include:
%if 0%{?suse_version} > 1310
Preinstall: libsmartcols1
%endif
2)
You also need to make symlinks to util-linux-systemd and python-libmount.
And finally, this package is intended only for > 1310 (i. e. Factory).
3)
The spec file can have problems with (buggy) Factory check-in check:
ERROR: python-libmount: group for main package not set
There is false error and I have no work-around for this just now.
(If you want, please ping me (by mail) after package review, and I'll do all needed changes.)
- Update to version 2.25
(using work of Ruediger Meier <sweet_f_a@gmx.de>):
* based on the git master branch of util-linux
* many fixes (including bnc#869355, bnc#871951 and
bnc#871698#c49)
* new Python binding sub-package for libmount: python-libmount
* new library: libsmartcols
* new commands: lslogins, setpriv
* add fstrim systemd timer
* better systemd integration
* DROPPED command:
* cytune: Upstream decided to remove tool untested for years
that supports this old hardware.
- Dropped patches included in the upstream:
(*git) Included with no changes
(+git) Included with improvements
(!git) Included with differences
* support-other-tty-lines-not-vconsole.patch (*b9c7390)
* agetty-fooled-on-serial-line-due-plymouth.patch,
* sulogin-fooled-on-tty-line-due-plymouth.patch (*bb280f7)
* agetty-on-s390-on-dev-3270-tty1-line.patch (*f2bcda5)
* sulogin-does-not-find-any-console.patch (*624b204)
* util-linux-setarch-uname26.patch (*f6eb160)
* util-linux-ng-2.16-squashfs3-detect.patch (*11402f5)
* util-linux-lscpu-improve-hypervisor-detection.patch
(!b774473, b32488c, 5bd31c6, 0f0c558, 96ce475)
WARNING, INCOMPATIBLE CHANGE: "lscpu -p" no more reports
hypervisor, as it breaks standard behavior. Use standard output
instead! (FATE#310255)
* blkid-stop-scanning-on-I-O-error.patch (+296d96e)
* blkid-convert-superblocks-to-new-calling-convention.patch
(+37f4060)
* util-linux-libblkid-ext-probe.patch (*a1ca32f)
* util-linux-hwclock-drift-check.patch (*f196fd1)
* util-linux-hwclock-adjtime-check.patch (*db8fc5f)
- Dropped obsolete patch:
* util-linux-2.23.1-eject-fpie.patch (eject is no more SUID)
* util-linux-2.24-fdisk_remove_bogus_warnings.patch
(upstream fixed it in a different way)
* util-linux-HACK-boot.localfs.diff
(MOUNT_PRINT_SOURCE is no more referenced)
- Ported and renamed:
* util-linux-2.23.1-noenc-suse.diff
-> util-linux-noenc-suse.patch
- Split spec file to three stages:
* util-linux.spec: Everything that do not need python or systemd.
* util-linux-systemd.spec: Stuff that needs systemd:
util-linux-systemd and uuidd
NOTE: Not building systemd-less variants of utilities.
* python-libmount.spec: Just python-libmount
- Move bash-completion files to correct packages.
- Add patch util-linux-bash-completion-blockdev.patch.
- Add hacks to prevent damaging of spec files by format_spec_file
(bnc#891152, also edited util-linux-rpmlintrc).
- use nologin from upstream (was added in 2.24)
OBS-URL: https://build.opensuse.org/request/show/244468
OBS-URL: https://build.opensuse.org/package/show/Base:System/util-linux?expand=0&rev=248
2014-08-21 11:54:57 +02:00
|
|
|
Provides: fsck-with-dev-lock = %{version}
|
|
|
|
# bnc#651598:
|
2021-01-18 11:29:39 +01:00
|
|
|
Provides: util-linux(fake+no-canonicalize)
|
2018-01-16 10:29:10 +01:00
|
|
|
Provides: eject = 2.1.0
|
|
|
|
Provides: login = 4.0
|
2018-01-03 11:24:19 +01:00
|
|
|
Provides: rfkill = 0.5
|
2013-06-29 12:05:39 +02:00
|
|
|
# File conflict of eject (up to 12.3 and SLE11).
|
2018-01-16 10:29:10 +01:00
|
|
|
Obsoletes: eject <= 2.1.0
|
2013-06-29 12:05:39 +02:00
|
|
|
# File conflict of login (up to 12.1 and SLE11).
|
2018-01-16 10:29:10 +01:00
|
|
|
Obsoletes: login <= 4.0
|
2019-07-22 18:53:23 +02:00
|
|
|
# File conflict (man page) of rfkill (up to Leap 15 and SLE 15).
|
2018-01-03 11:24:19 +01:00
|
|
|
Obsoletes: rfkill <= 0.5
|
2022-09-01 20:34:07 +02:00
|
|
|
# util-linux-2.34 integrates hardlink (up to Leap 15.1 and SLE15 SP1).
|
2019-08-15 01:24:10 +02:00
|
|
|
# The last version was 1.0+git.e66999f.
|
|
|
|
Provides: hardlink = 1.1
|
|
|
|
Obsoletes: hardlink < 1.1
|
Accepting request 226509 from home:sbrabec:branches:Base:System
- Merge fixes and features from SLE11 (bnc#831868):
* Detect squashfs version <= 3 as squashfs3 and version >= 4 as
squashfs. (mszeredi@suse.cz,
util-linux-ng-2.16-squashfs3-detect.patch, bnc#666893)
* add sfdisk-warn-about-2TB-limit.patch (puzel@novell.com,
bnc#495657)
* Document barrier option in mount.8 (jack@suse.cz,
hvogel@suse.de,
util-linux-ng-2.19.1-barrier_documentation.patch, bnc#489740)
* lscpu: improve hypervisor detection (puzel@novell.com,
fate#310255)
- util-linux-lscpu-improve-hypervisor-detection.patch
* umount: avoid calling readlink on mountpoints if not necessary
- add: umount-avoid-readlink.patch (puzel@suse.com, bnc#794529)
* fix file conflict between util-linux and s390-32
(puzel@suse.com, bnc#805684)
* util-linux-update-default-commit-interval.patch:
mount(8): update default commit interval (puzel@suse.com,
bnc#809480)
* Obsolete no more packaged uuid-runtime.
- Add uname26 (util-linux-setarch-uname26.patch, FATE#313476).
OBS-URL: https://build.opensuse.org/request/show/226509
OBS-URL: https://build.opensuse.org/package/show/Base:System/util-linux?expand=0&rev=227
2014-03-20 09:19:43 +01:00
|
|
|
# bnc#805684:
|
2023-02-13 09:44:32 +01:00
|
|
|
|
Accepting request 226509 from home:sbrabec:branches:Base:System
- Merge fixes and features from SLE11 (bnc#831868):
* Detect squashfs version <= 3 as squashfs3 and version >= 4 as
squashfs. (mszeredi@suse.cz,
util-linux-ng-2.16-squashfs3-detect.patch, bnc#666893)
* add sfdisk-warn-about-2TB-limit.patch (puzel@novell.com,
bnc#495657)
* Document barrier option in mount.8 (jack@suse.cz,
hvogel@suse.de,
util-linux-ng-2.19.1-barrier_documentation.patch, bnc#489740)
* lscpu: improve hypervisor detection (puzel@novell.com,
fate#310255)
- util-linux-lscpu-improve-hypervisor-detection.patch
* umount: avoid calling readlink on mountpoints if not necessary
- add: umount-avoid-readlink.patch (puzel@suse.com, bnc#794529)
* fix file conflict between util-linux and s390-32
(puzel@suse.com, bnc#805684)
* util-linux-update-default-commit-interval.patch:
mount(8): update default commit interval (puzel@suse.com,
bnc#809480)
* Obsolete no more packaged uuid-runtime.
- Add uname26 (util-linux-setarch-uname26.patch, FATE#313476).
OBS-URL: https://build.opensuse.org/request/show/226509
OBS-URL: https://build.opensuse.org/package/show/Base:System/util-linux?expand=0&rev=227
2014-03-20 09:19:43 +01:00
|
|
|
%ifarch s390x
|
|
|
|
Obsoletes: s390-32
|
|
|
|
Provides: s390-32
|
|
|
|
%endif
|
2023-02-13 09:44:32 +01:00
|
|
|
# arch s390x
|
|
|
|
|
2022-09-01 20:34:07 +02:00
|
|
|
Supplements: filesystem(minix)
|
2019-05-09 17:58:55 +02:00
|
|
|
# All login.defs variables require support from shadow side.
|
|
|
|
# Upgrade this symbol version only if new variables appear!
|
|
|
|
# Verify by shadow-login_defs-check.sh from shadow source package.
|
2021-11-17 10:56:57 +01:00
|
|
|
Recommends: login_defs-support-for-util-linux >= 2.37
|
2022-09-01 20:34:07 +02:00
|
|
|
%endif
|
2023-02-13 09:44:32 +01:00
|
|
|
# ulsubset == core
|
|
|
|
|
|
|
|
%if "%ulbuild" == "base"
|
2021-11-17 10:56:57 +01:00
|
|
|
# The problem with inconsistent /proc/self/mountinfo read is fixed in kernel 5.8.
|
|
|
|
# util-linux >= 2.37 no more contain work-around.
|
|
|
|
Conflicts: kernel < 5.8
|
Accepting request 244468 from home:sbrabec:branches:Base:System
This update needs a special care:
1)
After first successful build on all platforms, "osc meta prjconf Base:System" must include:
%if 0%{?suse_version} > 1310
Preinstall: libsmartcols1
%endif
2)
You also need to make symlinks to util-linux-systemd and python-libmount.
And finally, this package is intended only for > 1310 (i. e. Factory).
3)
The spec file can have problems with (buggy) Factory check-in check:
ERROR: python-libmount: group for main package not set
There is false error and I have no work-around for this just now.
(If you want, please ping me (by mail) after package review, and I'll do all needed changes.)
- Update to version 2.25
(using work of Ruediger Meier <sweet_f_a@gmx.de>):
* based on the git master branch of util-linux
* many fixes (including bnc#869355, bnc#871951 and
bnc#871698#c49)
* new Python binding sub-package for libmount: python-libmount
* new library: libsmartcols
* new commands: lslogins, setpriv
* add fstrim systemd timer
* better systemd integration
* DROPPED command:
* cytune: Upstream decided to remove tool untested for years
that supports this old hardware.
- Dropped patches included in the upstream:
(*git) Included with no changes
(+git) Included with improvements
(!git) Included with differences
* support-other-tty-lines-not-vconsole.patch (*b9c7390)
* agetty-fooled-on-serial-line-due-plymouth.patch,
* sulogin-fooled-on-tty-line-due-plymouth.patch (*bb280f7)
* agetty-on-s390-on-dev-3270-tty1-line.patch (*f2bcda5)
* sulogin-does-not-find-any-console.patch (*624b204)
* util-linux-setarch-uname26.patch (*f6eb160)
* util-linux-ng-2.16-squashfs3-detect.patch (*11402f5)
* util-linux-lscpu-improve-hypervisor-detection.patch
(!b774473, b32488c, 5bd31c6, 0f0c558, 96ce475)
WARNING, INCOMPATIBLE CHANGE: "lscpu -p" no more reports
hypervisor, as it breaks standard behavior. Use standard output
instead! (FATE#310255)
* blkid-stop-scanning-on-I-O-error.patch (+296d96e)
* blkid-convert-superblocks-to-new-calling-convention.patch
(+37f4060)
* util-linux-libblkid-ext-probe.patch (*a1ca32f)
* util-linux-hwclock-drift-check.patch (*f196fd1)
* util-linux-hwclock-adjtime-check.patch (*db8fc5f)
- Dropped obsolete patch:
* util-linux-2.23.1-eject-fpie.patch (eject is no more SUID)
* util-linux-2.24-fdisk_remove_bogus_warnings.patch
(upstream fixed it in a different way)
* util-linux-HACK-boot.localfs.diff
(MOUNT_PRINT_SOURCE is no more referenced)
- Ported and renamed:
* util-linux-2.23.1-noenc-suse.diff
-> util-linux-noenc-suse.patch
- Split spec file to three stages:
* util-linux.spec: Everything that do not need python or systemd.
* util-linux-systemd.spec: Stuff that needs systemd:
util-linux-systemd and uuidd
NOTE: Not building systemd-less variants of utilities.
* python-libmount.spec: Just python-libmount
- Move bash-completion files to correct packages.
- Add patch util-linux-bash-completion-blockdev.patch.
- Add hacks to prevent damaging of spec files by format_spec_file
(bnc#891152, also edited util-linux-rpmlintrc).
- use nologin from upstream (was added in 2.24)
OBS-URL: https://build.opensuse.org/request/show/244468
OBS-URL: https://build.opensuse.org/package/show/Base:System/util-linux?expand=0&rev=248
2014-08-21 11:54:57 +02:00
|
|
|
%endif
|
2023-02-13 09:44:32 +01:00
|
|
|
# ulbuild == base
|
|
|
|
|
2022-09-01 20:34:07 +02:00
|
|
|
%if "%ulbuild" == "python"
|
|
|
|
BuildRequires: %{python_module devel}
|
2022-12-09 00:16:30 +01:00
|
|
|
BuildRequires: rubygem(asciidoctor)
|
2022-09-01 20:34:07 +02:00
|
|
|
%python_subpackages
|
Accepting request 244468 from home:sbrabec:branches:Base:System
This update needs a special care:
1)
After first successful build on all platforms, "osc meta prjconf Base:System" must include:
%if 0%{?suse_version} > 1310
Preinstall: libsmartcols1
%endif
2)
You also need to make symlinks to util-linux-systemd and python-libmount.
And finally, this package is intended only for > 1310 (i. e. Factory).
3)
The spec file can have problems with (buggy) Factory check-in check:
ERROR: python-libmount: group for main package not set
There is false error and I have no work-around for this just now.
(If you want, please ping me (by mail) after package review, and I'll do all needed changes.)
- Update to version 2.25
(using work of Ruediger Meier <sweet_f_a@gmx.de>):
* based on the git master branch of util-linux
* many fixes (including bnc#869355, bnc#871951 and
bnc#871698#c49)
* new Python binding sub-package for libmount: python-libmount
* new library: libsmartcols
* new commands: lslogins, setpriv
* add fstrim systemd timer
* better systemd integration
* DROPPED command:
* cytune: Upstream decided to remove tool untested for years
that supports this old hardware.
- Dropped patches included in the upstream:
(*git) Included with no changes
(+git) Included with improvements
(!git) Included with differences
* support-other-tty-lines-not-vconsole.patch (*b9c7390)
* agetty-fooled-on-serial-line-due-plymouth.patch,
* sulogin-fooled-on-tty-line-due-plymouth.patch (*bb280f7)
* agetty-on-s390-on-dev-3270-tty1-line.patch (*f2bcda5)
* sulogin-does-not-find-any-console.patch (*624b204)
* util-linux-setarch-uname26.patch (*f6eb160)
* util-linux-ng-2.16-squashfs3-detect.patch (*11402f5)
* util-linux-lscpu-improve-hypervisor-detection.patch
(!b774473, b32488c, 5bd31c6, 0f0c558, 96ce475)
WARNING, INCOMPATIBLE CHANGE: "lscpu -p" no more reports
hypervisor, as it breaks standard behavior. Use standard output
instead! (FATE#310255)
* blkid-stop-scanning-on-I-O-error.patch (+296d96e)
* blkid-convert-superblocks-to-new-calling-convention.patch
(+37f4060)
* util-linux-libblkid-ext-probe.patch (*a1ca32f)
* util-linux-hwclock-drift-check.patch (*f196fd1)
* util-linux-hwclock-adjtime-check.patch (*db8fc5f)
- Dropped obsolete patch:
* util-linux-2.23.1-eject-fpie.patch (eject is no more SUID)
* util-linux-2.24-fdisk_remove_bogus_warnings.patch
(upstream fixed it in a different way)
* util-linux-HACK-boot.localfs.diff
(MOUNT_PRINT_SOURCE is no more referenced)
- Ported and renamed:
* util-linux-2.23.1-noenc-suse.diff
-> util-linux-noenc-suse.patch
- Split spec file to three stages:
* util-linux.spec: Everything that do not need python or systemd.
* util-linux-systemd.spec: Stuff that needs systemd:
util-linux-systemd and uuidd
NOTE: Not building systemd-less variants of utilities.
* python-libmount.spec: Just python-libmount
- Move bash-completion files to correct packages.
- Add patch util-linux-bash-completion-blockdev.patch.
- Add hacks to prevent damaging of spec files by format_spec_file
(bnc#891152, also edited util-linux-rpmlintrc).
- use nologin from upstream (was added in 2.24)
OBS-URL: https://build.opensuse.org/request/show/244468
OBS-URL: https://build.opensuse.org/package/show/Base:System/util-linux?expand=0&rev=248
2014-08-21 11:54:57 +02:00
|
|
|
%endif
|
2023-02-13 09:44:32 +01:00
|
|
|
# ulbuild == python
|
|
|
|
|
|
|
|
%if "%ulbuild" == "python"
|
|
|
|
%description
|
|
|
|
This package contains the Python bindings for util-linux libmount
|
|
|
|
library.
|
|
|
|
%endif
|
|
|
|
# ulbuild == python
|
2022-09-01 20:34:07 +02:00
|
|
|
|
|
|
|
%if "%ulbuild" == "base"
|
2006-12-19 00:18:10 +01:00
|
|
|
%description
|
|
|
|
This package contains a large variety of low-level system utilities
|
|
|
|
that are necessary for a Linux system to function. It contains the
|
|
|
|
mount program, the fdisk configuration tool, and more.
|
2023-02-13 09:44:32 +01:00
|
|
|
%endif
|
|
|
|
# ulbuild == base
|
2006-12-19 00:18:10 +01:00
|
|
|
|
2023-02-13 09:44:32 +01:00
|
|
|
#################
|
|
|
|
# Core packages #
|
|
|
|
#################
|
2022-12-09 00:16:30 +01:00
|
|
|
%if "%ulsubset" == "core"
|
2024-05-07 10:28:01 +02:00
|
|
|
%ifarch s390 s390x ia64 m68k sparc
|
|
|
|
%package -n util-linux-extra
|
|
|
|
Summary: A collection of basic system utilities - extra utilities
|
|
|
|
License: GPL-2.0-or-later
|
|
|
|
Group: System/Base
|
|
|
|
|
|
|
|
%description -n util-linux-extra
|
|
|
|
This package contains an util-linux tools that have no real use on a
|
|
|
|
particular platform. It contains programs that are not well usable for the
|
|
|
|
platform, but they can be required by scripts or third party tools.
|
|
|
|
%endif
|
|
|
|
|
2021-01-18 11:29:39 +01:00
|
|
|
%package -n libblkid1
|
2009-07-03 17:12:19 +02:00
|
|
|
Summary: Filesystem detection library
|
2019-07-02 00:18:40 +02:00
|
|
|
License: LGPL-2.1-or-later
|
2019-07-17 19:21:26 +02:00
|
|
|
Group: System/Libraries
|
2009-07-03 17:12:19 +02:00
|
|
|
|
2021-01-18 11:29:39 +01:00
|
|
|
%description -n libblkid1
|
2009-07-03 17:12:19 +02:00
|
|
|
Library for filesystem detection.
|
|
|
|
|
2021-01-18 11:29:39 +01:00
|
|
|
%package -n libblkid-devel
|
2009-07-03 17:12:19 +02:00
|
|
|
Summary: Development files for the filesystem detection library
|
2019-07-02 00:18:40 +02:00
|
|
|
License: LGPL-2.1-or-later
|
2019-07-17 19:21:26 +02:00
|
|
|
Group: Development/Libraries/C and C++
|
2021-01-18 11:29:39 +01:00
|
|
|
Requires: libblkid1 = %{version}
|
2009-07-03 17:12:19 +02:00
|
|
|
|
2021-01-18 11:29:39 +01:00
|
|
|
%description -n libblkid-devel
|
2009-07-03 17:12:19 +02:00
|
|
|
Files needed to develop applications using the library for filesystem
|
|
|
|
detection.
|
|
|
|
|
2021-01-18 11:29:39 +01:00
|
|
|
%package -n libblkid-devel-static
|
2014-07-25 09:31:27 +02:00
|
|
|
Summary: Development files for the filesystem detection library
|
2019-07-02 00:18:40 +02:00
|
|
|
License: LGPL-2.1-or-later
|
2019-07-17 19:21:26 +02:00
|
|
|
Group: Development/Libraries/C and C++
|
2021-01-18 11:29:39 +01:00
|
|
|
Requires: libblkid-devel = %{version}
|
2024-04-18 14:23:28 +02:00
|
|
|
Requires: libeconf-devel-static
|
2014-07-25 09:31:27 +02:00
|
|
|
|
2021-01-18 11:29:39 +01:00
|
|
|
%description -n libblkid-devel-static
|
2014-07-25 09:31:27 +02:00
|
|
|
Files needed to develop applications using the library for filesystem
|
|
|
|
detection.
|
|
|
|
|
2022-09-01 20:34:07 +02:00
|
|
|
%package -n libfdisk1
|
|
|
|
Summary: Filesystem detection library
|
|
|
|
License: LGPL-2.1-or-later
|
2019-07-17 19:21:26 +02:00
|
|
|
Group: System/Libraries
|
2006-12-19 00:18:10 +01:00
|
|
|
|
2022-09-01 20:34:07 +02:00
|
|
|
%description -n libfdisk1
|
|
|
|
Library for filesystem detection.
|
2009-07-03 17:12:19 +02:00
|
|
|
|
2022-09-01 20:34:07 +02:00
|
|
|
%package -n libfdisk-devel
|
|
|
|
Summary: Development files for the filesystem detection library
|
|
|
|
License: LGPL-2.1-or-later
|
2019-07-17 19:21:26 +02:00
|
|
|
Group: Development/Libraries/C and C++
|
2022-09-01 20:34:07 +02:00
|
|
|
Requires: libfdisk1 = %{version}
|
2009-07-03 17:12:19 +02:00
|
|
|
|
2022-09-01 20:34:07 +02:00
|
|
|
%description -n libfdisk-devel
|
|
|
|
Files needed to develop applications using the library for filesystem
|
|
|
|
detection.
|
2006-12-19 00:18:10 +01:00
|
|
|
|
2022-09-01 20:34:07 +02:00
|
|
|
%package -n libfdisk-devel-static
|
|
|
|
Summary: Development files for the filesystem detection library
|
|
|
|
License: LGPL-2.1-or-later
|
2019-07-17 19:21:26 +02:00
|
|
|
Group: Development/Libraries/C and C++
|
2022-09-01 20:34:07 +02:00
|
|
|
Requires: libfdisk-devel = %{version}
|
2014-07-25 09:31:27 +02:00
|
|
|
|
2022-09-01 20:34:07 +02:00
|
|
|
%description -n libfdisk-devel-static
|
|
|
|
Files needed to develop applications using the library for filesystem
|
|
|
|
detection.
|
2014-07-25 09:31:27 +02:00
|
|
|
|
2021-01-18 11:29:39 +01:00
|
|
|
%package -n libmount1
|
2011-01-11 16:19:40 +01:00
|
|
|
Summary: Device mount library
|
2019-07-02 00:18:40 +02:00
|
|
|
License: LGPL-2.1-or-later
|
2019-07-17 19:21:26 +02:00
|
|
|
Group: System/Libraries
|
2010-07-30 12:35:45 +02:00
|
|
|
|
2021-01-18 11:29:39 +01:00
|
|
|
%description -n libmount1
|
2010-07-30 12:35:45 +02:00
|
|
|
Library designed to be used in low-level utils like
|
2012-03-13 13:38:21 +01:00
|
|
|
mount(8) and /usr/sbin/mount.<type> helpers.
|
2010-07-30 12:35:45 +02:00
|
|
|
|
2021-01-18 11:29:39 +01:00
|
|
|
%package -n libmount-devel
|
2017-09-25 11:20:17 +02:00
|
|
|
Summary: Development files for libmount
|
2019-07-02 00:18:40 +02:00
|
|
|
License: LGPL-2.1-or-later
|
2019-07-17 19:21:26 +02:00
|
|
|
Group: Development/Libraries/C and C++
|
2021-01-18 11:29:39 +01:00
|
|
|
Requires: libmount1 = %{version}
|
2010-07-30 12:35:45 +02:00
|
|
|
|
2021-01-18 11:29:39 +01:00
|
|
|
%description -n libmount-devel
|
2019-07-02 00:18:40 +02:00
|
|
|
Files to develop applications using the libmount library.
|
|
|
|
|
2021-01-18 11:29:39 +01:00
|
|
|
%package -n libmount-devel-static
|
2017-09-25 11:20:17 +02:00
|
|
|
Summary: Development files for libmount
|
2019-07-02 00:18:40 +02:00
|
|
|
License: LGPL-2.1-or-later
|
2019-07-17 19:21:26 +02:00
|
|
|
Group: Development/Libraries/C and C++
|
2021-01-18 11:29:39 +01:00
|
|
|
Requires: libmount-devel = %{version}
|
2014-07-25 09:31:27 +02:00
|
|
|
|
2021-01-18 11:29:39 +01:00
|
|
|
%description -n libmount-devel-static
|
2014-07-25 09:31:27 +02:00
|
|
|
Files to develop applications using the libmount library.
|
|
|
|
|
2021-01-18 11:29:39 +01:00
|
|
|
%package -n libsmartcols1
|
Accepting request 244468 from home:sbrabec:branches:Base:System
This update needs a special care:
1)
After first successful build on all platforms, "osc meta prjconf Base:System" must include:
%if 0%{?suse_version} > 1310
Preinstall: libsmartcols1
%endif
2)
You also need to make symlinks to util-linux-systemd and python-libmount.
And finally, this package is intended only for > 1310 (i. e. Factory).
3)
The spec file can have problems with (buggy) Factory check-in check:
ERROR: python-libmount: group for main package not set
There is false error and I have no work-around for this just now.
(If you want, please ping me (by mail) after package review, and I'll do all needed changes.)
- Update to version 2.25
(using work of Ruediger Meier <sweet_f_a@gmx.de>):
* based on the git master branch of util-linux
* many fixes (including bnc#869355, bnc#871951 and
bnc#871698#c49)
* new Python binding sub-package for libmount: python-libmount
* new library: libsmartcols
* new commands: lslogins, setpriv
* add fstrim systemd timer
* better systemd integration
* DROPPED command:
* cytune: Upstream decided to remove tool untested for years
that supports this old hardware.
- Dropped patches included in the upstream:
(*git) Included with no changes
(+git) Included with improvements
(!git) Included with differences
* support-other-tty-lines-not-vconsole.patch (*b9c7390)
* agetty-fooled-on-serial-line-due-plymouth.patch,
* sulogin-fooled-on-tty-line-due-plymouth.patch (*bb280f7)
* agetty-on-s390-on-dev-3270-tty1-line.patch (*f2bcda5)
* sulogin-does-not-find-any-console.patch (*624b204)
* util-linux-setarch-uname26.patch (*f6eb160)
* util-linux-ng-2.16-squashfs3-detect.patch (*11402f5)
* util-linux-lscpu-improve-hypervisor-detection.patch
(!b774473, b32488c, 5bd31c6, 0f0c558, 96ce475)
WARNING, INCOMPATIBLE CHANGE: "lscpu -p" no more reports
hypervisor, as it breaks standard behavior. Use standard output
instead! (FATE#310255)
* blkid-stop-scanning-on-I-O-error.patch (+296d96e)
* blkid-convert-superblocks-to-new-calling-convention.patch
(+37f4060)
* util-linux-libblkid-ext-probe.patch (*a1ca32f)
* util-linux-hwclock-drift-check.patch (*f196fd1)
* util-linux-hwclock-adjtime-check.patch (*db8fc5f)
- Dropped obsolete patch:
* util-linux-2.23.1-eject-fpie.patch (eject is no more SUID)
* util-linux-2.24-fdisk_remove_bogus_warnings.patch
(upstream fixed it in a different way)
* util-linux-HACK-boot.localfs.diff
(MOUNT_PRINT_SOURCE is no more referenced)
- Ported and renamed:
* util-linux-2.23.1-noenc-suse.diff
-> util-linux-noenc-suse.patch
- Split spec file to three stages:
* util-linux.spec: Everything that do not need python or systemd.
* util-linux-systemd.spec: Stuff that needs systemd:
util-linux-systemd and uuidd
NOTE: Not building systemd-less variants of utilities.
* python-libmount.spec: Just python-libmount
- Move bash-completion files to correct packages.
- Add patch util-linux-bash-completion-blockdev.patch.
- Add hacks to prevent damaging of spec files by format_spec_file
(bnc#891152, also edited util-linux-rpmlintrc).
- use nologin from upstream (was added in 2.24)
OBS-URL: https://build.opensuse.org/request/show/244468
OBS-URL: https://build.opensuse.org/package/show/Base:System/util-linux?expand=0&rev=248
2014-08-21 11:54:57 +02:00
|
|
|
Summary: Column-based text sort engine
|
2019-07-02 00:18:40 +02:00
|
|
|
License: LGPL-2.1-or-later
|
2019-07-17 19:21:26 +02:00
|
|
|
Group: System/Libraries
|
Accepting request 244468 from home:sbrabec:branches:Base:System
This update needs a special care:
1)
After first successful build on all platforms, "osc meta prjconf Base:System" must include:
%if 0%{?suse_version} > 1310
Preinstall: libsmartcols1
%endif
2)
You also need to make symlinks to util-linux-systemd and python-libmount.
And finally, this package is intended only for > 1310 (i. e. Factory).
3)
The spec file can have problems with (buggy) Factory check-in check:
ERROR: python-libmount: group for main package not set
There is false error and I have no work-around for this just now.
(If you want, please ping me (by mail) after package review, and I'll do all needed changes.)
- Update to version 2.25
(using work of Ruediger Meier <sweet_f_a@gmx.de>):
* based on the git master branch of util-linux
* many fixes (including bnc#869355, bnc#871951 and
bnc#871698#c49)
* new Python binding sub-package for libmount: python-libmount
* new library: libsmartcols
* new commands: lslogins, setpriv
* add fstrim systemd timer
* better systemd integration
* DROPPED command:
* cytune: Upstream decided to remove tool untested for years
that supports this old hardware.
- Dropped patches included in the upstream:
(*git) Included with no changes
(+git) Included with improvements
(!git) Included with differences
* support-other-tty-lines-not-vconsole.patch (*b9c7390)
* agetty-fooled-on-serial-line-due-plymouth.patch,
* sulogin-fooled-on-tty-line-due-plymouth.patch (*bb280f7)
* agetty-on-s390-on-dev-3270-tty1-line.patch (*f2bcda5)
* sulogin-does-not-find-any-console.patch (*624b204)
* util-linux-setarch-uname26.patch (*f6eb160)
* util-linux-ng-2.16-squashfs3-detect.patch (*11402f5)
* util-linux-lscpu-improve-hypervisor-detection.patch
(!b774473, b32488c, 5bd31c6, 0f0c558, 96ce475)
WARNING, INCOMPATIBLE CHANGE: "lscpu -p" no more reports
hypervisor, as it breaks standard behavior. Use standard output
instead! (FATE#310255)
* blkid-stop-scanning-on-I-O-error.patch (+296d96e)
* blkid-convert-superblocks-to-new-calling-convention.patch
(+37f4060)
* util-linux-libblkid-ext-probe.patch (*a1ca32f)
* util-linux-hwclock-drift-check.patch (*f196fd1)
* util-linux-hwclock-adjtime-check.patch (*db8fc5f)
- Dropped obsolete patch:
* util-linux-2.23.1-eject-fpie.patch (eject is no more SUID)
* util-linux-2.24-fdisk_remove_bogus_warnings.patch
(upstream fixed it in a different way)
* util-linux-HACK-boot.localfs.diff
(MOUNT_PRINT_SOURCE is no more referenced)
- Ported and renamed:
* util-linux-2.23.1-noenc-suse.diff
-> util-linux-noenc-suse.patch
- Split spec file to three stages:
* util-linux.spec: Everything that do not need python or systemd.
* util-linux-systemd.spec: Stuff that needs systemd:
util-linux-systemd and uuidd
NOTE: Not building systemd-less variants of utilities.
* python-libmount.spec: Just python-libmount
- Move bash-completion files to correct packages.
- Add patch util-linux-bash-completion-blockdev.patch.
- Add hacks to prevent damaging of spec files by format_spec_file
(bnc#891152, also edited util-linux-rpmlintrc).
- use nologin from upstream (was added in 2.24)
OBS-URL: https://build.opensuse.org/request/show/244468
OBS-URL: https://build.opensuse.org/package/show/Base:System/util-linux?expand=0&rev=248
2014-08-21 11:54:57 +02:00
|
|
|
|
2021-01-18 11:29:39 +01:00
|
|
|
%description -n libsmartcols1
|
Accepting request 244468 from home:sbrabec:branches:Base:System
This update needs a special care:
1)
After first successful build on all platforms, "osc meta prjconf Base:System" must include:
%if 0%{?suse_version} > 1310
Preinstall: libsmartcols1
%endif
2)
You also need to make symlinks to util-linux-systemd and python-libmount.
And finally, this package is intended only for > 1310 (i. e. Factory).
3)
The spec file can have problems with (buggy) Factory check-in check:
ERROR: python-libmount: group for main package not set
There is false error and I have no work-around for this just now.
(If you want, please ping me (by mail) after package review, and I'll do all needed changes.)
- Update to version 2.25
(using work of Ruediger Meier <sweet_f_a@gmx.de>):
* based on the git master branch of util-linux
* many fixes (including bnc#869355, bnc#871951 and
bnc#871698#c49)
* new Python binding sub-package for libmount: python-libmount
* new library: libsmartcols
* new commands: lslogins, setpriv
* add fstrim systemd timer
* better systemd integration
* DROPPED command:
* cytune: Upstream decided to remove tool untested for years
that supports this old hardware.
- Dropped patches included in the upstream:
(*git) Included with no changes
(+git) Included with improvements
(!git) Included with differences
* support-other-tty-lines-not-vconsole.patch (*b9c7390)
* agetty-fooled-on-serial-line-due-plymouth.patch,
* sulogin-fooled-on-tty-line-due-plymouth.patch (*bb280f7)
* agetty-on-s390-on-dev-3270-tty1-line.patch (*f2bcda5)
* sulogin-does-not-find-any-console.patch (*624b204)
* util-linux-setarch-uname26.patch (*f6eb160)
* util-linux-ng-2.16-squashfs3-detect.patch (*11402f5)
* util-linux-lscpu-improve-hypervisor-detection.patch
(!b774473, b32488c, 5bd31c6, 0f0c558, 96ce475)
WARNING, INCOMPATIBLE CHANGE: "lscpu -p" no more reports
hypervisor, as it breaks standard behavior. Use standard output
instead! (FATE#310255)
* blkid-stop-scanning-on-I-O-error.patch (+296d96e)
* blkid-convert-superblocks-to-new-calling-convention.patch
(+37f4060)
* util-linux-libblkid-ext-probe.patch (*a1ca32f)
* util-linux-hwclock-drift-check.patch (*f196fd1)
* util-linux-hwclock-adjtime-check.patch (*db8fc5f)
- Dropped obsolete patch:
* util-linux-2.23.1-eject-fpie.patch (eject is no more SUID)
* util-linux-2.24-fdisk_remove_bogus_warnings.patch
(upstream fixed it in a different way)
* util-linux-HACK-boot.localfs.diff
(MOUNT_PRINT_SOURCE is no more referenced)
- Ported and renamed:
* util-linux-2.23.1-noenc-suse.diff
-> util-linux-noenc-suse.patch
- Split spec file to three stages:
* util-linux.spec: Everything that do not need python or systemd.
* util-linux-systemd.spec: Stuff that needs systemd:
util-linux-systemd and uuidd
NOTE: Not building systemd-less variants of utilities.
* python-libmount.spec: Just python-libmount
- Move bash-completion files to correct packages.
- Add patch util-linux-bash-completion-blockdev.patch.
- Add hacks to prevent damaging of spec files by format_spec_file
(bnc#891152, also edited util-linux-rpmlintrc).
- use nologin from upstream (was added in 2.24)
OBS-URL: https://build.opensuse.org/request/show/244468
OBS-URL: https://build.opensuse.org/package/show/Base:System/util-linux?expand=0&rev=248
2014-08-21 11:54:57 +02:00
|
|
|
Library to sort human readable column-based text output.
|
|
|
|
|
2021-01-18 11:29:39 +01:00
|
|
|
%package -n libsmartcols-devel
|
2017-09-25 11:20:17 +02:00
|
|
|
Summary: Development files for libsmartcols
|
2019-07-02 00:18:40 +02:00
|
|
|
License: LGPL-2.1-or-later
|
2019-07-17 19:21:26 +02:00
|
|
|
Group: Development/Libraries/C and C++
|
2021-01-18 11:29:39 +01:00
|
|
|
Requires: libsmartcols1 = %{version}
|
Accepting request 244468 from home:sbrabec:branches:Base:System
This update needs a special care:
1)
After first successful build on all platforms, "osc meta prjconf Base:System" must include:
%if 0%{?suse_version} > 1310
Preinstall: libsmartcols1
%endif
2)
You also need to make symlinks to util-linux-systemd and python-libmount.
And finally, this package is intended only for > 1310 (i. e. Factory).
3)
The spec file can have problems with (buggy) Factory check-in check:
ERROR: python-libmount: group for main package not set
There is false error and I have no work-around for this just now.
(If you want, please ping me (by mail) after package review, and I'll do all needed changes.)
- Update to version 2.25
(using work of Ruediger Meier <sweet_f_a@gmx.de>):
* based on the git master branch of util-linux
* many fixes (including bnc#869355, bnc#871951 and
bnc#871698#c49)
* new Python binding sub-package for libmount: python-libmount
* new library: libsmartcols
* new commands: lslogins, setpriv
* add fstrim systemd timer
* better systemd integration
* DROPPED command:
* cytune: Upstream decided to remove tool untested for years
that supports this old hardware.
- Dropped patches included in the upstream:
(*git) Included with no changes
(+git) Included with improvements
(!git) Included with differences
* support-other-tty-lines-not-vconsole.patch (*b9c7390)
* agetty-fooled-on-serial-line-due-plymouth.patch,
* sulogin-fooled-on-tty-line-due-plymouth.patch (*bb280f7)
* agetty-on-s390-on-dev-3270-tty1-line.patch (*f2bcda5)
* sulogin-does-not-find-any-console.patch (*624b204)
* util-linux-setarch-uname26.patch (*f6eb160)
* util-linux-ng-2.16-squashfs3-detect.patch (*11402f5)
* util-linux-lscpu-improve-hypervisor-detection.patch
(!b774473, b32488c, 5bd31c6, 0f0c558, 96ce475)
WARNING, INCOMPATIBLE CHANGE: "lscpu -p" no more reports
hypervisor, as it breaks standard behavior. Use standard output
instead! (FATE#310255)
* blkid-stop-scanning-on-I-O-error.patch (+296d96e)
* blkid-convert-superblocks-to-new-calling-convention.patch
(+37f4060)
* util-linux-libblkid-ext-probe.patch (*a1ca32f)
* util-linux-hwclock-drift-check.patch (*f196fd1)
* util-linux-hwclock-adjtime-check.patch (*db8fc5f)
- Dropped obsolete patch:
* util-linux-2.23.1-eject-fpie.patch (eject is no more SUID)
* util-linux-2.24-fdisk_remove_bogus_warnings.patch
(upstream fixed it in a different way)
* util-linux-HACK-boot.localfs.diff
(MOUNT_PRINT_SOURCE is no more referenced)
- Ported and renamed:
* util-linux-2.23.1-noenc-suse.diff
-> util-linux-noenc-suse.patch
- Split spec file to three stages:
* util-linux.spec: Everything that do not need python or systemd.
* util-linux-systemd.spec: Stuff that needs systemd:
util-linux-systemd and uuidd
NOTE: Not building systemd-less variants of utilities.
* python-libmount.spec: Just python-libmount
- Move bash-completion files to correct packages.
- Add patch util-linux-bash-completion-blockdev.patch.
- Add hacks to prevent damaging of spec files by format_spec_file
(bnc#891152, also edited util-linux-rpmlintrc).
- use nologin from upstream (was added in 2.24)
OBS-URL: https://build.opensuse.org/request/show/244468
OBS-URL: https://build.opensuse.org/package/show/Base:System/util-linux?expand=0&rev=248
2014-08-21 11:54:57 +02:00
|
|
|
|
2021-01-18 11:29:39 +01:00
|
|
|
%description -n libsmartcols-devel
|
Accepting request 244468 from home:sbrabec:branches:Base:System
This update needs a special care:
1)
After first successful build on all platforms, "osc meta prjconf Base:System" must include:
%if 0%{?suse_version} > 1310
Preinstall: libsmartcols1
%endif
2)
You also need to make symlinks to util-linux-systemd and python-libmount.
And finally, this package is intended only for > 1310 (i. e. Factory).
3)
The spec file can have problems with (buggy) Factory check-in check:
ERROR: python-libmount: group for main package not set
There is false error and I have no work-around for this just now.
(If you want, please ping me (by mail) after package review, and I'll do all needed changes.)
- Update to version 2.25
(using work of Ruediger Meier <sweet_f_a@gmx.de>):
* based on the git master branch of util-linux
* many fixes (including bnc#869355, bnc#871951 and
bnc#871698#c49)
* new Python binding sub-package for libmount: python-libmount
* new library: libsmartcols
* new commands: lslogins, setpriv
* add fstrim systemd timer
* better systemd integration
* DROPPED command:
* cytune: Upstream decided to remove tool untested for years
that supports this old hardware.
- Dropped patches included in the upstream:
(*git) Included with no changes
(+git) Included with improvements
(!git) Included with differences
* support-other-tty-lines-not-vconsole.patch (*b9c7390)
* agetty-fooled-on-serial-line-due-plymouth.patch,
* sulogin-fooled-on-tty-line-due-plymouth.patch (*bb280f7)
* agetty-on-s390-on-dev-3270-tty1-line.patch (*f2bcda5)
* sulogin-does-not-find-any-console.patch (*624b204)
* util-linux-setarch-uname26.patch (*f6eb160)
* util-linux-ng-2.16-squashfs3-detect.patch (*11402f5)
* util-linux-lscpu-improve-hypervisor-detection.patch
(!b774473, b32488c, 5bd31c6, 0f0c558, 96ce475)
WARNING, INCOMPATIBLE CHANGE: "lscpu -p" no more reports
hypervisor, as it breaks standard behavior. Use standard output
instead! (FATE#310255)
* blkid-stop-scanning-on-I-O-error.patch (+296d96e)
* blkid-convert-superblocks-to-new-calling-convention.patch
(+37f4060)
* util-linux-libblkid-ext-probe.patch (*a1ca32f)
* util-linux-hwclock-drift-check.patch (*f196fd1)
* util-linux-hwclock-adjtime-check.patch (*db8fc5f)
- Dropped obsolete patch:
* util-linux-2.23.1-eject-fpie.patch (eject is no more SUID)
* util-linux-2.24-fdisk_remove_bogus_warnings.patch
(upstream fixed it in a different way)
* util-linux-HACK-boot.localfs.diff
(MOUNT_PRINT_SOURCE is no more referenced)
- Ported and renamed:
* util-linux-2.23.1-noenc-suse.diff
-> util-linux-noenc-suse.patch
- Split spec file to three stages:
* util-linux.spec: Everything that do not need python or systemd.
* util-linux-systemd.spec: Stuff that needs systemd:
util-linux-systemd and uuidd
NOTE: Not building systemd-less variants of utilities.
* python-libmount.spec: Just python-libmount
- Move bash-completion files to correct packages.
- Add patch util-linux-bash-completion-blockdev.patch.
- Add hacks to prevent damaging of spec files by format_spec_file
(bnc#891152, also edited util-linux-rpmlintrc).
- use nologin from upstream (was added in 2.24)
OBS-URL: https://build.opensuse.org/request/show/244468
OBS-URL: https://build.opensuse.org/package/show/Base:System/util-linux?expand=0&rev=248
2014-08-21 11:54:57 +02:00
|
|
|
Files to develop applications using the libsmartcols library.
|
|
|
|
|
2021-01-18 11:29:39 +01:00
|
|
|
%package -n libsmartcols-devel-static
|
2017-09-25 11:20:17 +02:00
|
|
|
Summary: Development files for libsmartcols
|
2019-07-02 00:18:40 +02:00
|
|
|
License: LGPL-2.1-or-later
|
2019-07-17 19:21:26 +02:00
|
|
|
Group: Development/Libraries/C and C++
|
2021-01-18 11:29:39 +01:00
|
|
|
Requires: libsmartcols-devel = %{version}
|
Accepting request 244468 from home:sbrabec:branches:Base:System
This update needs a special care:
1)
After first successful build on all platforms, "osc meta prjconf Base:System" must include:
%if 0%{?suse_version} > 1310
Preinstall: libsmartcols1
%endif
2)
You also need to make symlinks to util-linux-systemd and python-libmount.
And finally, this package is intended only for > 1310 (i. e. Factory).
3)
The spec file can have problems with (buggy) Factory check-in check:
ERROR: python-libmount: group for main package not set
There is false error and I have no work-around for this just now.
(If you want, please ping me (by mail) after package review, and I'll do all needed changes.)
- Update to version 2.25
(using work of Ruediger Meier <sweet_f_a@gmx.de>):
* based on the git master branch of util-linux
* many fixes (including bnc#869355, bnc#871951 and
bnc#871698#c49)
* new Python binding sub-package for libmount: python-libmount
* new library: libsmartcols
* new commands: lslogins, setpriv
* add fstrim systemd timer
* better systemd integration
* DROPPED command:
* cytune: Upstream decided to remove tool untested for years
that supports this old hardware.
- Dropped patches included in the upstream:
(*git) Included with no changes
(+git) Included with improvements
(!git) Included with differences
* support-other-tty-lines-not-vconsole.patch (*b9c7390)
* agetty-fooled-on-serial-line-due-plymouth.patch,
* sulogin-fooled-on-tty-line-due-plymouth.patch (*bb280f7)
* agetty-on-s390-on-dev-3270-tty1-line.patch (*f2bcda5)
* sulogin-does-not-find-any-console.patch (*624b204)
* util-linux-setarch-uname26.patch (*f6eb160)
* util-linux-ng-2.16-squashfs3-detect.patch (*11402f5)
* util-linux-lscpu-improve-hypervisor-detection.patch
(!b774473, b32488c, 5bd31c6, 0f0c558, 96ce475)
WARNING, INCOMPATIBLE CHANGE: "lscpu -p" no more reports
hypervisor, as it breaks standard behavior. Use standard output
instead! (FATE#310255)
* blkid-stop-scanning-on-I-O-error.patch (+296d96e)
* blkid-convert-superblocks-to-new-calling-convention.patch
(+37f4060)
* util-linux-libblkid-ext-probe.patch (*a1ca32f)
* util-linux-hwclock-drift-check.patch (*f196fd1)
* util-linux-hwclock-adjtime-check.patch (*db8fc5f)
- Dropped obsolete patch:
* util-linux-2.23.1-eject-fpie.patch (eject is no more SUID)
* util-linux-2.24-fdisk_remove_bogus_warnings.patch
(upstream fixed it in a different way)
* util-linux-HACK-boot.localfs.diff
(MOUNT_PRINT_SOURCE is no more referenced)
- Ported and renamed:
* util-linux-2.23.1-noenc-suse.diff
-> util-linux-noenc-suse.patch
- Split spec file to three stages:
* util-linux.spec: Everything that do not need python or systemd.
* util-linux-systemd.spec: Stuff that needs systemd:
util-linux-systemd and uuidd
NOTE: Not building systemd-less variants of utilities.
* python-libmount.spec: Just python-libmount
- Move bash-completion files to correct packages.
- Add patch util-linux-bash-completion-blockdev.patch.
- Add hacks to prevent damaging of spec files by format_spec_file
(bnc#891152, also edited util-linux-rpmlintrc).
- use nologin from upstream (was added in 2.24)
OBS-URL: https://build.opensuse.org/request/show/244468
OBS-URL: https://build.opensuse.org/package/show/Base:System/util-linux?expand=0&rev=248
2014-08-21 11:54:57 +02:00
|
|
|
|
2021-01-18 11:29:39 +01:00
|
|
|
%description -n libsmartcols-devel-static
|
Accepting request 244468 from home:sbrabec:branches:Base:System
This update needs a special care:
1)
After first successful build on all platforms, "osc meta prjconf Base:System" must include:
%if 0%{?suse_version} > 1310
Preinstall: libsmartcols1
%endif
2)
You also need to make symlinks to util-linux-systemd and python-libmount.
And finally, this package is intended only for > 1310 (i. e. Factory).
3)
The spec file can have problems with (buggy) Factory check-in check:
ERROR: python-libmount: group for main package not set
There is false error and I have no work-around for this just now.
(If you want, please ping me (by mail) after package review, and I'll do all needed changes.)
- Update to version 2.25
(using work of Ruediger Meier <sweet_f_a@gmx.de>):
* based on the git master branch of util-linux
* many fixes (including bnc#869355, bnc#871951 and
bnc#871698#c49)
* new Python binding sub-package for libmount: python-libmount
* new library: libsmartcols
* new commands: lslogins, setpriv
* add fstrim systemd timer
* better systemd integration
* DROPPED command:
* cytune: Upstream decided to remove tool untested for years
that supports this old hardware.
- Dropped patches included in the upstream:
(*git) Included with no changes
(+git) Included with improvements
(!git) Included with differences
* support-other-tty-lines-not-vconsole.patch (*b9c7390)
* agetty-fooled-on-serial-line-due-plymouth.patch,
* sulogin-fooled-on-tty-line-due-plymouth.patch (*bb280f7)
* agetty-on-s390-on-dev-3270-tty1-line.patch (*f2bcda5)
* sulogin-does-not-find-any-console.patch (*624b204)
* util-linux-setarch-uname26.patch (*f6eb160)
* util-linux-ng-2.16-squashfs3-detect.patch (*11402f5)
* util-linux-lscpu-improve-hypervisor-detection.patch
(!b774473, b32488c, 5bd31c6, 0f0c558, 96ce475)
WARNING, INCOMPATIBLE CHANGE: "lscpu -p" no more reports
hypervisor, as it breaks standard behavior. Use standard output
instead! (FATE#310255)
* blkid-stop-scanning-on-I-O-error.patch (+296d96e)
* blkid-convert-superblocks-to-new-calling-convention.patch
(+37f4060)
* util-linux-libblkid-ext-probe.patch (*a1ca32f)
* util-linux-hwclock-drift-check.patch (*f196fd1)
* util-linux-hwclock-adjtime-check.patch (*db8fc5f)
- Dropped obsolete patch:
* util-linux-2.23.1-eject-fpie.patch (eject is no more SUID)
* util-linux-2.24-fdisk_remove_bogus_warnings.patch
(upstream fixed it in a different way)
* util-linux-HACK-boot.localfs.diff
(MOUNT_PRINT_SOURCE is no more referenced)
- Ported and renamed:
* util-linux-2.23.1-noenc-suse.diff
-> util-linux-noenc-suse.patch
- Split spec file to three stages:
* util-linux.spec: Everything that do not need python or systemd.
* util-linux-systemd.spec: Stuff that needs systemd:
util-linux-systemd and uuidd
NOTE: Not building systemd-less variants of utilities.
* python-libmount.spec: Just python-libmount
- Move bash-completion files to correct packages.
- Add patch util-linux-bash-completion-blockdev.patch.
- Add hacks to prevent damaging of spec files by format_spec_file
(bnc#891152, also edited util-linux-rpmlintrc).
- use nologin from upstream (was added in 2.24)
OBS-URL: https://build.opensuse.org/request/show/244468
OBS-URL: https://build.opensuse.org/package/show/Base:System/util-linux?expand=0&rev=248
2014-08-21 11:54:57 +02:00
|
|
|
Files to develop applications using the libsmartcols library.
|
|
|
|
|
2022-09-01 20:34:07 +02:00
|
|
|
%package -n libuuid1
|
|
|
|
Summary: Library to generate UUIDs
|
|
|
|
License: BSD-3-Clause
|
2019-07-17 19:21:26 +02:00
|
|
|
Group: System/Libraries
|
2022-12-09 00:16:30 +01:00
|
|
|
# declare presence of the new ABI call __uuid_generate_time_cont
|
|
|
|
# Required for seamless update from older versions (SLE15 SP4, Leap 15.4 and older).
|
|
|
|
Provides: libuuid__uuid_generate_time_cont
|
2015-02-26 17:53:58 +01:00
|
|
|
|
2022-09-01 20:34:07 +02:00
|
|
|
%description -n libuuid1
|
|
|
|
A library to generate universally unique IDs (UUIDs).
|
2015-02-26 17:53:58 +01:00
|
|
|
|
2022-09-01 20:34:07 +02:00
|
|
|
%package -n libuuid-devel
|
|
|
|
Summary: Development files for libuuid
|
|
|
|
License: BSD-3-Clause
|
2019-07-17 19:21:26 +02:00
|
|
|
Group: Development/Libraries/C and C++
|
2022-09-01 20:34:07 +02:00
|
|
|
Requires: libuuid1 = %{version}
|
2015-02-26 17:53:58 +01:00
|
|
|
|
2022-09-01 20:34:07 +02:00
|
|
|
%description -n libuuid-devel
|
|
|
|
Files to develop applications using the library to generate universally
|
|
|
|
unique IDs (UUIDs).
|
2015-02-26 17:53:58 +01:00
|
|
|
|
2022-09-01 20:34:07 +02:00
|
|
|
%package -n libuuid-devel-static
|
|
|
|
Summary: Development files for libuuid
|
|
|
|
License: BSD-3-Clause
|
2019-07-17 19:21:26 +02:00
|
|
|
Group: Development/Libraries/C and C++
|
2022-09-01 20:34:07 +02:00
|
|
|
Requires: libuuid-devel = %{version}
|
2021-06-04 12:46:54 +02:00
|
|
|
|
2022-09-01 20:34:07 +02:00
|
|
|
%description -n libuuid-devel-static
|
|
|
|
Files to develop applications using the library to generate universally
|
|
|
|
unique IDs (UUIDs).
|
2020-09-10 01:47:10 +02:00
|
|
|
|
2023-06-14 02:59:17 +02:00
|
|
|
%lang_package
|
|
|
|
%endif
|
|
|
|
# ulsubset == core
|
|
|
|
|
2024-04-05 00:34:28 +02:00
|
|
|
%if "%ulsubset" == "systemd"
|
2024-04-08 14:51:13 +02:00
|
|
|
|
|
|
|
%package -n lastlog2
|
|
|
|
Summary: Reports most recent login of users
|
|
|
|
License: BSD-2-Clause
|
|
|
|
Group: System/Base
|
|
|
|
Requires(pre): pam-config >= 2.4
|
|
|
|
Requires(post): pam-config >= 2.4
|
|
|
|
|
|
|
|
%description -n lastlog2
|
|
|
|
pam_lastlog2 and lastlog2 are Y2038 safe versions of the old lastlog utility. pam_lastlog2 collects all data in a sqlite3 database and lastlog2 formats and prints the contents. The username, port, and last login time will be printed.
|
|
|
|
|
2024-04-05 00:34:28 +02:00
|
|
|
%package -n liblastlog2-2
|
|
|
|
Summary: Library to report most recent login of users
|
|
|
|
License: BSD-2-Clause
|
|
|
|
Group: System/Libraries
|
|
|
|
|
|
|
|
%description -n liblastlog2-2
|
|
|
|
The liblastlog2 library provides various interfaces to read, write or modify the lastlog 2 database.
|
|
|
|
|
|
|
|
%package -n liblastlog2-devel
|
|
|
|
Summary: Development files for the lastlog2 library
|
|
|
|
License: BSD-2-Clause
|
|
|
|
Group: Development/Libraries/C and C++
|
|
|
|
Requires: liblastlog2-2 = %{version}
|
2024-04-05 12:33:55 +02:00
|
|
|
Provides: lastlog2-devel = %{version}-%{release}
|
|
|
|
Obsoletes: lastlog2-devel <= 1.3.1
|
2024-04-05 00:34:28 +02:00
|
|
|
|
|
|
|
%description -n liblastlog2-devel
|
|
|
|
Files to develop applications using the liblastlog2 library.
|
|
|
|
|
|
|
|
%endif
|
|
|
|
# ulsubset == systemd
|
|
|
|
|
2023-06-14 02:59:17 +02:00
|
|
|
####################
|
|
|
|
# Systemd packages #
|
|
|
|
####################
|
|
|
|
%if "%ulsubset" == "systemd"
|
2023-03-08 23:17:55 +01:00
|
|
|
%package -n util-linux-tty-tools
|
|
|
|
Summary: Tools for writing to TTYs
|
|
|
|
License: BSD-3-Clause
|
|
|
|
Requires(pre): group(tty)
|
2023-03-08 23:23:00 +01:00
|
|
|
Requires(post): permissions
|
2024-04-18 14:23:28 +02:00
|
|
|
Requires(verify): permissions
|
2023-03-08 23:17:55 +01:00
|
|
|
Provides: util-linux:%{_bindir}/mesg
|
|
|
|
Provides: util-linux:%{_bindir}/wall
|
|
|
|
Provides: util-linux:%{_bindir}/write
|
2024-02-09 19:42:42 +01:00
|
|
|
# File conflict: /usr/bin/mesg /usr/bin/wall
|
|
|
|
Conflicts: busybox-util-linux
|
2023-03-08 23:17:55 +01:00
|
|
|
|
|
|
|
%description -n util-linux-tty-tools
|
|
|
|
Tools that write to TTYs that the current user does not own.
|
|
|
|
|
2021-01-18 11:29:39 +01:00
|
|
|
%package -n uuidd
|
Accepting request 244468 from home:sbrabec:branches:Base:System
This update needs a special care:
1)
After first successful build on all platforms, "osc meta prjconf Base:System" must include:
%if 0%{?suse_version} > 1310
Preinstall: libsmartcols1
%endif
2)
You also need to make symlinks to util-linux-systemd and python-libmount.
And finally, this package is intended only for > 1310 (i. e. Factory).
3)
The spec file can have problems with (buggy) Factory check-in check:
ERROR: python-libmount: group for main package not set
There is false error and I have no work-around for this just now.
(If you want, please ping me (by mail) after package review, and I'll do all needed changes.)
- Update to version 2.25
(using work of Ruediger Meier <sweet_f_a@gmx.de>):
* based on the git master branch of util-linux
* many fixes (including bnc#869355, bnc#871951 and
bnc#871698#c49)
* new Python binding sub-package for libmount: python-libmount
* new library: libsmartcols
* new commands: lslogins, setpriv
* add fstrim systemd timer
* better systemd integration
* DROPPED command:
* cytune: Upstream decided to remove tool untested for years
that supports this old hardware.
- Dropped patches included in the upstream:
(*git) Included with no changes
(+git) Included with improvements
(!git) Included with differences
* support-other-tty-lines-not-vconsole.patch (*b9c7390)
* agetty-fooled-on-serial-line-due-plymouth.patch,
* sulogin-fooled-on-tty-line-due-plymouth.patch (*bb280f7)
* agetty-on-s390-on-dev-3270-tty1-line.patch (*f2bcda5)
* sulogin-does-not-find-any-console.patch (*624b204)
* util-linux-setarch-uname26.patch (*f6eb160)
* util-linux-ng-2.16-squashfs3-detect.patch (*11402f5)
* util-linux-lscpu-improve-hypervisor-detection.patch
(!b774473, b32488c, 5bd31c6, 0f0c558, 96ce475)
WARNING, INCOMPATIBLE CHANGE: "lscpu -p" no more reports
hypervisor, as it breaks standard behavior. Use standard output
instead! (FATE#310255)
* blkid-stop-scanning-on-I-O-error.patch (+296d96e)
* blkid-convert-superblocks-to-new-calling-convention.patch
(+37f4060)
* util-linux-libblkid-ext-probe.patch (*a1ca32f)
* util-linux-hwclock-drift-check.patch (*f196fd1)
* util-linux-hwclock-adjtime-check.patch (*db8fc5f)
- Dropped obsolete patch:
* util-linux-2.23.1-eject-fpie.patch (eject is no more SUID)
* util-linux-2.24-fdisk_remove_bogus_warnings.patch
(upstream fixed it in a different way)
* util-linux-HACK-boot.localfs.diff
(MOUNT_PRINT_SOURCE is no more referenced)
- Ported and renamed:
* util-linux-2.23.1-noenc-suse.diff
-> util-linux-noenc-suse.patch
- Split spec file to three stages:
* util-linux.spec: Everything that do not need python or systemd.
* util-linux-systemd.spec: Stuff that needs systemd:
util-linux-systemd and uuidd
NOTE: Not building systemd-less variants of utilities.
* python-libmount.spec: Just python-libmount
- Move bash-completion files to correct packages.
- Add patch util-linux-bash-completion-blockdev.patch.
- Add hacks to prevent damaging of spec files by format_spec_file
(bnc#891152, also edited util-linux-rpmlintrc).
- use nologin from upstream (was added in 2.24)
OBS-URL: https://build.opensuse.org/request/show/244468
OBS-URL: https://build.opensuse.org/package/show/Base:System/util-linux?expand=0&rev=248
2014-08-21 11:54:57 +02:00
|
|
|
Summary: Helper daemon to guarantee uniqueness of time-based UUIDs
|
2019-07-17 19:21:26 +02:00
|
|
|
License: GPL-2.0-or-later
|
Accepting request 244468 from home:sbrabec:branches:Base:System
This update needs a special care:
1)
After first successful build on all platforms, "osc meta prjconf Base:System" must include:
%if 0%{?suse_version} > 1310
Preinstall: libsmartcols1
%endif
2)
You also need to make symlinks to util-linux-systemd and python-libmount.
And finally, this package is intended only for > 1310 (i. e. Factory).
3)
The spec file can have problems with (buggy) Factory check-in check:
ERROR: python-libmount: group for main package not set
There is false error and I have no work-around for this just now.
(If you want, please ping me (by mail) after package review, and I'll do all needed changes.)
- Update to version 2.25
(using work of Ruediger Meier <sweet_f_a@gmx.de>):
* based on the git master branch of util-linux
* many fixes (including bnc#869355, bnc#871951 and
bnc#871698#c49)
* new Python binding sub-package for libmount: python-libmount
* new library: libsmartcols
* new commands: lslogins, setpriv
* add fstrim systemd timer
* better systemd integration
* DROPPED command:
* cytune: Upstream decided to remove tool untested for years
that supports this old hardware.
- Dropped patches included in the upstream:
(*git) Included with no changes
(+git) Included with improvements
(!git) Included with differences
* support-other-tty-lines-not-vconsole.patch (*b9c7390)
* agetty-fooled-on-serial-line-due-plymouth.patch,
* sulogin-fooled-on-tty-line-due-plymouth.patch (*bb280f7)
* agetty-on-s390-on-dev-3270-tty1-line.patch (*f2bcda5)
* sulogin-does-not-find-any-console.patch (*624b204)
* util-linux-setarch-uname26.patch (*f6eb160)
* util-linux-ng-2.16-squashfs3-detect.patch (*11402f5)
* util-linux-lscpu-improve-hypervisor-detection.patch
(!b774473, b32488c, 5bd31c6, 0f0c558, 96ce475)
WARNING, INCOMPATIBLE CHANGE: "lscpu -p" no more reports
hypervisor, as it breaks standard behavior. Use standard output
instead! (FATE#310255)
* blkid-stop-scanning-on-I-O-error.patch (+296d96e)
* blkid-convert-superblocks-to-new-calling-convention.patch
(+37f4060)
* util-linux-libblkid-ext-probe.patch (*a1ca32f)
* util-linux-hwclock-drift-check.patch (*f196fd1)
* util-linux-hwclock-adjtime-check.patch (*db8fc5f)
- Dropped obsolete patch:
* util-linux-2.23.1-eject-fpie.patch (eject is no more SUID)
* util-linux-2.24-fdisk_remove_bogus_warnings.patch
(upstream fixed it in a different way)
* util-linux-HACK-boot.localfs.diff
(MOUNT_PRINT_SOURCE is no more referenced)
- Ported and renamed:
* util-linux-2.23.1-noenc-suse.diff
-> util-linux-noenc-suse.patch
- Split spec file to three stages:
* util-linux.spec: Everything that do not need python or systemd.
* util-linux-systemd.spec: Stuff that needs systemd:
util-linux-systemd and uuidd
NOTE: Not building systemd-less variants of utilities.
* python-libmount.spec: Just python-libmount
- Move bash-completion files to correct packages.
- Add patch util-linux-bash-completion-blockdev.patch.
- Add hacks to prevent damaging of spec files by format_spec_file
(bnc#891152, also edited util-linux-rpmlintrc).
- use nologin from upstream (was added in 2.24)
OBS-URL: https://build.opensuse.org/request/show/244468
OBS-URL: https://build.opensuse.org/package/show/Base:System/util-linux?expand=0&rev=248
2014-08-21 11:54:57 +02:00
|
|
|
Group: System/Filesystems
|
2017-09-14 13:58:12 +02:00
|
|
|
Requires(pre): group(uuidd)
|
2022-12-09 00:16:30 +01:00
|
|
|
# uuidd restart requires the ABI of the new libuuid
|
|
|
|
# Required for seamless update from older versions (SLE15 SP4, Leap 15.4 and older).
|
|
|
|
Requires(post): libuuid__uuid_generate_time_cont
|
Accepting request 244468 from home:sbrabec:branches:Base:System
This update needs a special care:
1)
After first successful build on all platforms, "osc meta prjconf Base:System" must include:
%if 0%{?suse_version} > 1310
Preinstall: libsmartcols1
%endif
2)
You also need to make symlinks to util-linux-systemd and python-libmount.
And finally, this package is intended only for > 1310 (i. e. Factory).
3)
The spec file can have problems with (buggy) Factory check-in check:
ERROR: python-libmount: group for main package not set
There is false error and I have no work-around for this just now.
(If you want, please ping me (by mail) after package review, and I'll do all needed changes.)
- Update to version 2.25
(using work of Ruediger Meier <sweet_f_a@gmx.de>):
* based on the git master branch of util-linux
* many fixes (including bnc#869355, bnc#871951 and
bnc#871698#c49)
* new Python binding sub-package for libmount: python-libmount
* new library: libsmartcols
* new commands: lslogins, setpriv
* add fstrim systemd timer
* better systemd integration
* DROPPED command:
* cytune: Upstream decided to remove tool untested for years
that supports this old hardware.
- Dropped patches included in the upstream:
(*git) Included with no changes
(+git) Included with improvements
(!git) Included with differences
* support-other-tty-lines-not-vconsole.patch (*b9c7390)
* agetty-fooled-on-serial-line-due-plymouth.patch,
* sulogin-fooled-on-tty-line-due-plymouth.patch (*bb280f7)
* agetty-on-s390-on-dev-3270-tty1-line.patch (*f2bcda5)
* sulogin-does-not-find-any-console.patch (*624b204)
* util-linux-setarch-uname26.patch (*f6eb160)
* util-linux-ng-2.16-squashfs3-detect.patch (*11402f5)
* util-linux-lscpu-improve-hypervisor-detection.patch
(!b774473, b32488c, 5bd31c6, 0f0c558, 96ce475)
WARNING, INCOMPATIBLE CHANGE: "lscpu -p" no more reports
hypervisor, as it breaks standard behavior. Use standard output
instead! (FATE#310255)
* blkid-stop-scanning-on-I-O-error.patch (+296d96e)
* blkid-convert-superblocks-to-new-calling-convention.patch
(+37f4060)
* util-linux-libblkid-ext-probe.patch (*a1ca32f)
* util-linux-hwclock-drift-check.patch (*f196fd1)
* util-linux-hwclock-adjtime-check.patch (*db8fc5f)
- Dropped obsolete patch:
* util-linux-2.23.1-eject-fpie.patch (eject is no more SUID)
* util-linux-2.24-fdisk_remove_bogus_warnings.patch
(upstream fixed it in a different way)
* util-linux-HACK-boot.localfs.diff
(MOUNT_PRINT_SOURCE is no more referenced)
- Ported and renamed:
* util-linux-2.23.1-noenc-suse.diff
-> util-linux-noenc-suse.patch
- Split spec file to three stages:
* util-linux.spec: Everything that do not need python or systemd.
* util-linux-systemd.spec: Stuff that needs systemd:
util-linux-systemd and uuidd
NOTE: Not building systemd-less variants of utilities.
* python-libmount.spec: Just python-libmount
- Move bash-completion files to correct packages.
- Add patch util-linux-bash-completion-blockdev.patch.
- Add hacks to prevent damaging of spec files by format_spec_file
(bnc#891152, also edited util-linux-rpmlintrc).
- use nologin from upstream (was added in 2.24)
OBS-URL: https://build.opensuse.org/request/show/244468
OBS-URL: https://build.opensuse.org/package/show/Base:System/util-linux?expand=0&rev=248
2014-08-21 11:54:57 +02:00
|
|
|
# uuidd bash-completion moved to a correct package
|
|
|
|
Conflicts: util-linux < 2.25
|
2022-09-01 20:34:07 +02:00
|
|
|
# uuid-runtime appeared in SLE11 SP1 to SLE11 SP3
|
|
|
|
Provides: uuid-runtime = %{version}
|
|
|
|
Obsoletes: uuid-runtime <= 2.19.1
|
2023-01-12 21:55:25 +01:00
|
|
|
Requires: group(uuidd)
|
|
|
|
Requires: user(uuidd)
|
2014-10-31 16:22:34 +01:00
|
|
|
%systemd_requires
|
Accepting request 244468 from home:sbrabec:branches:Base:System
This update needs a special care:
1)
After first successful build on all platforms, "osc meta prjconf Base:System" must include:
%if 0%{?suse_version} > 1310
Preinstall: libsmartcols1
%endif
2)
You also need to make symlinks to util-linux-systemd and python-libmount.
And finally, this package is intended only for > 1310 (i. e. Factory).
3)
The spec file can have problems with (buggy) Factory check-in check:
ERROR: python-libmount: group for main package not set
There is false error and I have no work-around for this just now.
(If you want, please ping me (by mail) after package review, and I'll do all needed changes.)
- Update to version 2.25
(using work of Ruediger Meier <sweet_f_a@gmx.de>):
* based on the git master branch of util-linux
* many fixes (including bnc#869355, bnc#871951 and
bnc#871698#c49)
* new Python binding sub-package for libmount: python-libmount
* new library: libsmartcols
* new commands: lslogins, setpriv
* add fstrim systemd timer
* better systemd integration
* DROPPED command:
* cytune: Upstream decided to remove tool untested for years
that supports this old hardware.
- Dropped patches included in the upstream:
(*git) Included with no changes
(+git) Included with improvements
(!git) Included with differences
* support-other-tty-lines-not-vconsole.patch (*b9c7390)
* agetty-fooled-on-serial-line-due-plymouth.patch,
* sulogin-fooled-on-tty-line-due-plymouth.patch (*bb280f7)
* agetty-on-s390-on-dev-3270-tty1-line.patch (*f2bcda5)
* sulogin-does-not-find-any-console.patch (*624b204)
* util-linux-setarch-uname26.patch (*f6eb160)
* util-linux-ng-2.16-squashfs3-detect.patch (*11402f5)
* util-linux-lscpu-improve-hypervisor-detection.patch
(!b774473, b32488c, 5bd31c6, 0f0c558, 96ce475)
WARNING, INCOMPATIBLE CHANGE: "lscpu -p" no more reports
hypervisor, as it breaks standard behavior. Use standard output
instead! (FATE#310255)
* blkid-stop-scanning-on-I-O-error.patch (+296d96e)
* blkid-convert-superblocks-to-new-calling-convention.patch
(+37f4060)
* util-linux-libblkid-ext-probe.patch (*a1ca32f)
* util-linux-hwclock-drift-check.patch (*f196fd1)
* util-linux-hwclock-adjtime-check.patch (*db8fc5f)
- Dropped obsolete patch:
* util-linux-2.23.1-eject-fpie.patch (eject is no more SUID)
* util-linux-2.24-fdisk_remove_bogus_warnings.patch
(upstream fixed it in a different way)
* util-linux-HACK-boot.localfs.diff
(MOUNT_PRINT_SOURCE is no more referenced)
- Ported and renamed:
* util-linux-2.23.1-noenc-suse.diff
-> util-linux-noenc-suse.patch
- Split spec file to three stages:
* util-linux.spec: Everything that do not need python or systemd.
* util-linux-systemd.spec: Stuff that needs systemd:
util-linux-systemd and uuidd
NOTE: Not building systemd-less variants of utilities.
* python-libmount.spec: Just python-libmount
- Move bash-completion files to correct packages.
- Add patch util-linux-bash-completion-blockdev.patch.
- Add hacks to prevent damaging of spec files by format_spec_file
(bnc#891152, also edited util-linux-rpmlintrc).
- use nologin from upstream (was added in 2.24)
OBS-URL: https://build.opensuse.org/request/show/244468
OBS-URL: https://build.opensuse.org/package/show/Base:System/util-linux?expand=0&rev=248
2014-08-21 11:54:57 +02:00
|
|
|
|
2021-01-18 11:29:39 +01:00
|
|
|
%description -n uuidd
|
Accepting request 244468 from home:sbrabec:branches:Base:System
This update needs a special care:
1)
After first successful build on all platforms, "osc meta prjconf Base:System" must include:
%if 0%{?suse_version} > 1310
Preinstall: libsmartcols1
%endif
2)
You also need to make symlinks to util-linux-systemd and python-libmount.
And finally, this package is intended only for > 1310 (i. e. Factory).
3)
The spec file can have problems with (buggy) Factory check-in check:
ERROR: python-libmount: group for main package not set
There is false error and I have no work-around for this just now.
(If you want, please ping me (by mail) after package review, and I'll do all needed changes.)
- Update to version 2.25
(using work of Ruediger Meier <sweet_f_a@gmx.de>):
* based on the git master branch of util-linux
* many fixes (including bnc#869355, bnc#871951 and
bnc#871698#c49)
* new Python binding sub-package for libmount: python-libmount
* new library: libsmartcols
* new commands: lslogins, setpriv
* add fstrim systemd timer
* better systemd integration
* DROPPED command:
* cytune: Upstream decided to remove tool untested for years
that supports this old hardware.
- Dropped patches included in the upstream:
(*git) Included with no changes
(+git) Included with improvements
(!git) Included with differences
* support-other-tty-lines-not-vconsole.patch (*b9c7390)
* agetty-fooled-on-serial-line-due-plymouth.patch,
* sulogin-fooled-on-tty-line-due-plymouth.patch (*bb280f7)
* agetty-on-s390-on-dev-3270-tty1-line.patch (*f2bcda5)
* sulogin-does-not-find-any-console.patch (*624b204)
* util-linux-setarch-uname26.patch (*f6eb160)
* util-linux-ng-2.16-squashfs3-detect.patch (*11402f5)
* util-linux-lscpu-improve-hypervisor-detection.patch
(!b774473, b32488c, 5bd31c6, 0f0c558, 96ce475)
WARNING, INCOMPATIBLE CHANGE: "lscpu -p" no more reports
hypervisor, as it breaks standard behavior. Use standard output
instead! (FATE#310255)
* blkid-stop-scanning-on-I-O-error.patch (+296d96e)
* blkid-convert-superblocks-to-new-calling-convention.patch
(+37f4060)
* util-linux-libblkid-ext-probe.patch (*a1ca32f)
* util-linux-hwclock-drift-check.patch (*f196fd1)
* util-linux-hwclock-adjtime-check.patch (*db8fc5f)
- Dropped obsolete patch:
* util-linux-2.23.1-eject-fpie.patch (eject is no more SUID)
* util-linux-2.24-fdisk_remove_bogus_warnings.patch
(upstream fixed it in a different way)
* util-linux-HACK-boot.localfs.diff
(MOUNT_PRINT_SOURCE is no more referenced)
- Ported and renamed:
* util-linux-2.23.1-noenc-suse.diff
-> util-linux-noenc-suse.patch
- Split spec file to three stages:
* util-linux.spec: Everything that do not need python or systemd.
* util-linux-systemd.spec: Stuff that needs systemd:
util-linux-systemd and uuidd
NOTE: Not building systemd-less variants of utilities.
* python-libmount.spec: Just python-libmount
- Move bash-completion files to correct packages.
- Add patch util-linux-bash-completion-blockdev.patch.
- Add hacks to prevent damaging of spec files by format_spec_file
(bnc#891152, also edited util-linux-rpmlintrc).
- use nologin from upstream (was added in 2.24)
OBS-URL: https://build.opensuse.org/request/show/244468
OBS-URL: https://build.opensuse.org/package/show/Base:System/util-linux?expand=0&rev=248
2014-08-21 11:54:57 +02:00
|
|
|
The uuidd package contains a userspace daemon (uuidd) which guarantees
|
|
|
|
uniqueness of time-based UUID generation even at very high rates on
|
|
|
|
SMP systems.
|
|
|
|
%endif
|
2023-02-13 09:44:32 +01:00
|
|
|
# ulsubset == systemd
|
2021-06-04 12:46:54 +02:00
|
|
|
|
2006-12-19 00:18:10 +01:00
|
|
|
%prep
|
2018-11-27 19:17:59 +01:00
|
|
|
%setup -q -n %{_name}-%{version}
|
2019-05-09 17:58:55 +02:00
|
|
|
cp -a %{S:2} .
|
2020-05-19 20:19:32 +02:00
|
|
|
%autopatch -p1
|
2022-09-01 20:34:07 +02:00
|
|
|
# This test randomly fails or keeps hanging task inside build chroot (tested on 2.38).
|
2021-11-17 10:56:57 +01:00
|
|
|
rm tests/ts/lsns/ioctl_ns
|
2013-06-05 14:07:19 +02:00
|
|
|
|
2006-12-19 00:18:10 +01:00
|
|
|
%build
|
2019-07-01 11:49:09 +02:00
|
|
|
%global _lto_cflags %{_lto_cflags} -ffat-lto-objects
|
2010-02-25 11:23:43 +01:00
|
|
|
export SUID_CFLAGS="-fpie"
|
|
|
|
export SUID_LDFLAGS="-pie"
|
2015-02-26 15:56:32 +01:00
|
|
|
export LDFLAGS="-Wl,-z,relro,-z,now"
|
2017-09-15 09:19:46 +02:00
|
|
|
export CFLAGS="%{optflags} -D_GNU_SOURCE"
|
|
|
|
export CXXFLAGS="%{optflags} -D_GNU_SOURCE"
|
2023-02-13 09:44:32 +01:00
|
|
|
|
2022-09-01 20:34:07 +02:00
|
|
|
# Here we define a build function. For the base build, we use it as it
|
|
|
|
# is. For python build, we use it repeatedly for all flavors.
|
|
|
|
function configure_and_build() {
|
2023-02-13 09:44:32 +01:00
|
|
|
|
|
|
|
# configure options depending on ulbuild and ulsubset values
|
|
|
|
configure_options=""
|
|
|
|
|
2022-09-01 20:34:07 +02:00
|
|
|
%if "%ulbuild" == "python"
|
|
|
|
%define _configure ../configure
|
2023-02-13 09:44:32 +01:00
|
|
|
configure_options+="--disable-all-programs "
|
|
|
|
configure_options+="--with-python "
|
|
|
|
configure_options+="--enable-pylibmount "
|
|
|
|
configure_options+="--enable-libmount "
|
|
|
|
configure_options+="--enable-libblkid "
|
2022-09-01 20:34:07 +02:00
|
|
|
%endif
|
2023-02-13 09:44:32 +01:00
|
|
|
# ulbuild == python
|
|
|
|
|
|
|
|
%if "%ulbuild" == "base"
|
|
|
|
configure_options+="--enable-all-programs "
|
|
|
|
configure_options+="--without-python "
|
|
|
|
%endif
|
|
|
|
# ulbuild == base
|
|
|
|
|
|
|
|
%if "%ulsubset" == "core"
|
2024-04-05 00:34:28 +02:00
|
|
|
configure_options+="--without-systemd --disable-liblastlog2"
|
2023-02-13 09:44:32 +01:00
|
|
|
%endif
|
|
|
|
# ulsubset == core
|
|
|
|
|
|
|
|
%if "%ulsubset" == "systemd"
|
|
|
|
configure_options+="--with-systemd "
|
|
|
|
%endif
|
|
|
|
# ulsubset == systemd
|
|
|
|
|
2022-09-01 20:34:07 +02:00
|
|
|
#AUTOPOINT=true GTKDOCIZE=true autoreconf -vfi
|
|
|
|
# All dirs needs to be specified, as %%configure does not derive them
|
|
|
|
# from %%_prefix, and bootstrap build will fall back to /usr.
|
|
|
|
%configure\
|
2023-01-06 10:29:09 +01:00
|
|
|
--prefix=%{_prefix}\
|
|
|
|
--exec-prefix=%{_exec_prefix}\
|
2022-09-01 20:34:07 +02:00
|
|
|
--disable-silent-rules\
|
2023-01-06 10:29:09 +01:00
|
|
|
--bindir=%{_bindir}\
|
|
|
|
--sbindir=%{_sbindir}\
|
|
|
|
--sysconfdir=%{_sysconfdir}\
|
|
|
|
--datadir=%{_datadir}\
|
|
|
|
--includedir=%{_includedir}\
|
|
|
|
--libdir=%{_libdir}\
|
|
|
|
--libexecdir=%{_libexecdir}\
|
|
|
|
--mandir=%{_mandir}\
|
|
|
|
--infodir=%{_infodir}\
|
|
|
|
--docdir=%{_docdir}/%{name}\
|
2022-09-01 20:34:07 +02:00
|
|
|
--disable-makeinstall-chown\
|
|
|
|
--disable-makeinstall-setuid\
|
|
|
|
--with-audit\
|
|
|
|
--with-btrfs\
|
|
|
|
--with-gnu-ld\
|
|
|
|
--with-ncursesw\
|
|
|
|
--with-readline\
|
|
|
|
--with-selinux\
|
2023-08-17 15:31:46 +02:00
|
|
|
%if 0%{?suse_version} < 1600
|
2022-09-01 20:34:07 +02:00
|
|
|
--with-utempter\
|
2023-08-17 15:31:46 +02:00
|
|
|
%endif
|
2023-01-06 10:29:09 +01:00
|
|
|
--with-bashcompletiondir=%{_datadir}/bash-completion/completions\
|
2022-09-01 20:34:07 +02:00
|
|
|
--with-systemdsystemunitdir=%{_unitdir}\
|
|
|
|
--enable-libuuid-force-uuidd\
|
|
|
|
--enable-sulogin-emergency-mount\
|
|
|
|
--disable-use-tty-group\
|
|
|
|
--disable-rpath\
|
|
|
|
--disable-chfn-chsh\
|
|
|
|
--disable-newgrp\
|
|
|
|
--disable-vipw\
|
|
|
|
--disable-pg\
|
|
|
|
--enable-fs-paths-default="/sbin:/usr/sbin"\
|
|
|
|
--enable-static\
|
2023-02-13 09:44:32 +01:00
|
|
|
--with-vendordir=%{_distconfdir} \
|
2023-06-23 11:44:19 +02:00
|
|
|
--disable-libmount-mountfd-support \
|
2023-02-13 09:44:32 +01:00
|
|
|
$configure_options
|
2010-07-30 12:35:45 +02:00
|
|
|
make %{?_smp_mflags}
|
2022-09-01 20:34:07 +02:00
|
|
|
}
|
2023-02-13 09:44:32 +01:00
|
|
|
|
|
|
|
################
|
|
|
|
# Python build #
|
|
|
|
################
|
|
|
|
%if "%ulbuild" == "python"
|
|
|
|
%{python_expand export PYTHON=$python
|
|
|
|
mkdir -p build.$python
|
|
|
|
cd build.$python
|
|
|
|
configure_and_build
|
|
|
|
cd ..
|
|
|
|
}
|
|
|
|
%endif
|
|
|
|
# ulbuild == python
|
|
|
|
|
|
|
|
##############
|
|
|
|
# Base build #
|
|
|
|
##############
|
2022-09-01 20:34:07 +02:00
|
|
|
%if "%ulbuild" == "base"
|
|
|
|
configure_and_build
|
2023-02-13 09:44:32 +01:00
|
|
|
%endif
|
|
|
|
# ulbuild == base
|
|
|
|
|
2022-12-09 00:16:30 +01:00
|
|
|
%if "%ulsubset" == "core"
|
|
|
|
bash ./util-linux-login_defs-check.sh
|
|
|
|
#BEGIN SYSTEMD SAFETY CHECK
|
|
|
|
# With systemd, some utilities are built differently. Keep track of these
|
|
|
|
# sources to prevent building of systemd-less versions.
|
|
|
|
#
|
|
|
|
# WARNING: Never edit following line without doing all suggested in the echo below!
|
|
|
|
UTIL_LINUX_KNOWN_SYSTEMD_DEPS='./login-utils/lslogins.c ./misc-utils/findmnt.c ./misc-utils/logger.c ./misc-utils/lsblk-properties.c ./misc-utils/uuidd.c '
|
2023-06-14 04:33:38 +02:00
|
|
|
UTIL_LINUX_FOUND_SYSTEMD_DEPS=$(find . -type f -name "*.c" -exec grep -l '#.*if.*HAVE_LIB\(SYSTEMD\|\UDEV\)' '{}' '+' | LC_ALL=C sort | tr '\n' ' ')
|
2022-12-09 00:16:30 +01:00
|
|
|
if test "$UTIL_LINUX_KNOWN_SYSTEMD_DEPS" != "$UTIL_LINUX_FOUND_SYSTEMD_DEPS" ; then
|
|
|
|
echo "List of utilities depending on systemd have changed.
|
|
|
|
Please check the new util-linux-systemd file list, file removal and update of Conflicts for safe update!
|
2024-01-18 18:19:00 +01:00
|
|
|
Then update %%core and/or %%exclude in the file list to build what is needed.
|
2022-12-09 00:16:30 +01:00
|
|
|
Only then you can safely update following spec file line:
|
|
|
|
UTIL_LINUX_KNOWN_SYSTEMD_DEPS='$UTIL_LINUX_FOUND_SYSTEMD_DEPS'"
|
|
|
|
exit 1
|
|
|
|
fi
|
|
|
|
#END SYSTEMD SAFETY CHECK
|
|
|
|
%endif
|
2023-02-13 09:44:32 +01:00
|
|
|
# ulsubset == core
|
2021-01-18 11:29:39 +01:00
|
|
|
|
2022-09-01 20:34:07 +02:00
|
|
|
%install
|
2023-02-13 09:44:32 +01:00
|
|
|
################
|
|
|
|
# Base install #
|
|
|
|
################
|
2022-09-01 20:34:07 +02:00
|
|
|
%if "%ulbuild" == "base"
|
|
|
|
%make_install
|
2023-01-06 10:29:09 +01:00
|
|
|
mkdir -p %{buildroot}{%{_distconfdir}/default,%{_pam_vendordir},%{_sysconfdir}/issue.d}
|
|
|
|
install -m 644 %{SOURCE51} %{buildroot}%{_sysconfdir}/blkid.conf
|
|
|
|
install -m 644 %{SOURCE8} %{buildroot}%{_pam_vendordir}/login
|
|
|
|
install -m 644 %{SOURCE9} %{buildroot}%{_pam_vendordir}/remote
|
2023-04-05 16:18:51 +02:00
|
|
|
%if 0%{?suse_version} <= 1500
|
|
|
|
sed -i '/^session/s/common-session-nonlogin/common-session/g' %{SOURCE14}
|
|
|
|
%endif
|
2023-01-06 10:29:09 +01:00
|
|
|
install -m 644 %{SOURCE14} %{buildroot}%{_pam_vendordir}/runuser
|
|
|
|
install -m 644 %{SOURCE15} %{buildroot}%{_pam_vendordir}/runuser-l
|
2023-04-05 16:18:51 +02:00
|
|
|
%if 0%{?suse_version} <= 1500
|
|
|
|
sed -i '/^session/s/common-session-nonlogin/common-session/g' %{SOURCE10}
|
|
|
|
%endif
|
2023-01-06 10:29:09 +01:00
|
|
|
install -m 644 %{SOURCE10} %{buildroot}%{_pam_vendordir}/su
|
|
|
|
install -m 644 %{SOURCE16} %{buildroot}%{_pam_vendordir}/su-l
|
|
|
|
install -m 644 %{SOURCE11} %{buildroot}%{_distconfdir}/default/su
|
2022-09-01 20:34:07 +02:00
|
|
|
sed 's/\bsu\b/runuser/g' <%{SOURCE11} >runuser.default
|
2023-01-06 10:29:09 +01:00
|
|
|
install -m 644 runuser.default %{buildroot}%{_distconfdir}/default/runuser
|
|
|
|
rm -fv "%{buildroot}/%{_sbindir}/raw" "%{buildroot}/sbin/raw" \
|
|
|
|
"%{buildroot}/%{_mandir}/man8/raw.8"*
|
|
|
|
echo -e "#!/bin/sh\n/sbin/blockdev --flushbufs \$1" > %{buildroot}%{_sbindir}/flushb
|
|
|
|
chmod 755 %{buildroot}%{_sbindir}/flushb
|
2023-02-13 09:44:32 +01:00
|
|
|
|
2022-09-01 20:34:07 +02:00
|
|
|
# arch dependent
|
2023-02-13 09:44:32 +01:00
|
|
|
|
2024-05-07 10:28:01 +02:00
|
|
|
%if "%ulsubset" != "core"
|
2022-09-01 20:34:07 +02:00
|
|
|
%ifarch s390 s390x
|
2023-01-06 10:29:09 +01:00
|
|
|
rm -f %{buildroot}%{_sysconfdir}/fdprm
|
|
|
|
rm -f %{buildroot}%{_bindir}/setterm
|
|
|
|
rm -f %{buildroot}%{_sbindir}/fdformat
|
|
|
|
rm -f %{buildroot}%{_sbindir}/hwclock
|
|
|
|
rm -f %{buildroot}%{_sbindir}/tunelp
|
|
|
|
rm -f %{buildroot}%{_mandir}/man8/fdformat.8*
|
|
|
|
rm -f %{buildroot}%{_mandir}/man8/hwclock.8*
|
|
|
|
rm -f %{buildroot}%{_mandir}/man8/tunelp.8*
|
2022-09-01 20:34:07 +02:00
|
|
|
%endif
|
2023-02-13 09:44:32 +01:00
|
|
|
# arch s390
|
|
|
|
|
2022-09-01 20:34:07 +02:00
|
|
|
%ifarch ia64 %sparc m68k
|
2023-01-06 10:29:09 +01:00
|
|
|
rm -f %{buildroot}%{_mandir}/man8/cfdisk.8*
|
|
|
|
rm -f %{buildroot}%{_mandir}/man8/sfdisk.8*
|
|
|
|
rm -f %{buildroot}%{_sbindir}/cfdisk
|
|
|
|
rm -f %{buildroot}%{_sbindir}/sfdisk
|
2022-09-01 20:34:07 +02:00
|
|
|
%endif
|
2023-02-13 09:44:32 +01:00
|
|
|
# arch ia64 sparc m68k
|
|
|
|
|
2022-09-01 20:34:07 +02:00
|
|
|
%ifarch ia64 m68k
|
2023-01-06 10:29:09 +01:00
|
|
|
rm -f %{buildroot}%{_sbindir}/fdisk
|
|
|
|
rm -f %{buildroot}%{_mandir}/man8/fdisk.8*
|
2022-09-01 20:34:07 +02:00
|
|
|
%endif
|
2023-02-13 09:44:32 +01:00
|
|
|
# arch ia64 m68k
|
2024-05-07 10:28:01 +02:00
|
|
|
%endif
|
|
|
|
# ulsubset != core
|
2023-02-13 09:44:32 +01:00
|
|
|
|
2022-09-01 20:34:07 +02:00
|
|
|
# create list of setarch(8) symlinks
|
2023-01-06 10:29:09 +01:00
|
|
|
find %{buildroot}%{_mandir}/man8 -regextype posix-egrep \
|
2023-03-14 11:02:52 +01:00
|
|
|
-regex ".*(linux32|linux64|s390|s390x|i386|ppc|ppc64|ppc32|sparc|sparc64|sparc32|sparc32bash|mips|mips64|mips32|ia64|x86_64|parisc|parisc32|parisc64|uname26)\.8.*" \
|
2023-01-06 10:29:09 +01:00
|
|
|
-printf "%{_mandir}/man8/%f*\n" >> %{name}.files
|
|
|
|
find %{buildroot}%{_bindir}/ -regextype posix-egrep -type l \
|
2023-03-14 11:02:52 +01:00
|
|
|
-regex ".*(linux32|linux64|s390|s390x|i386|ppc|ppc64|ppc32|sparc|sparc64|sparc32|sparc32bash|mips|mips64|mips32|ia64|x86_64|parisc|parisc32|parisc64|uname26)$" \
|
2023-01-06 10:29:09 +01:00
|
|
|
-printf "%{_bindir}/%f\n" >> %{name}.files
|
2022-09-01 20:34:07 +02:00
|
|
|
mkdir -p %{buildroot}/run/uuidd
|
2023-02-13 09:44:32 +01:00
|
|
|
|
2023-01-09 19:12:15 +01:00
|
|
|
%if "%ulsubset" == "systemd"
|
2022-09-01 20:34:07 +02:00
|
|
|
# clock.txt from uuidd is a ghost file
|
2023-01-09 19:12:15 +01:00
|
|
|
# FIXME: This could also be used by libuuid, but for now we only
|
|
|
|
# create it for uuidd. See boo#1206690.
|
|
|
|
mkdir -p %{buildroot}%{_sharedstatedir}/libuuid/
|
2022-09-01 20:34:07 +02:00
|
|
|
touch %{buildroot}%{_sharedstatedir}/libuuid/clock.txt
|
2024-04-08 14:51:13 +02:00
|
|
|
# Install systemd-tmpfile for lastlog database
|
|
|
|
mkdir -p %{buildroot}%{_tmpfilesdir}
|
|
|
|
install -m 644 %{SOURCE17} %{buildroot}%{_tmpfilesdir}/lastlog2.conf
|
2023-01-09 19:12:15 +01:00
|
|
|
%endif
|
2023-02-13 09:44:32 +01:00
|
|
|
# ulsubset == systemd, ulbuild == base
|
|
|
|
|
2022-09-01 20:34:07 +02:00
|
|
|
%if %{ul_extra_bin_sbin}
|
|
|
|
mkdir -p %{buildroot}{/bin,/sbin}
|
|
|
|
for i in dmesg findmnt kill logger lsblk more mount su umount; do
|
2023-01-06 10:29:09 +01:00
|
|
|
if test -f "%{buildroot}%{_bindir}/$i" ; then
|
|
|
|
ln -s "%{_bindir}/$i" "%{buildroot}/bin/"
|
2022-09-01 20:34:07 +02:00
|
|
|
fi
|
|
|
|
done
|
|
|
|
for i in agetty blockdev cfdisk ctrlaltdel fdisk fsck.minix fsck.cramfs\
|
|
|
|
hwclock losetup mkfs mkfs.bfs mkfs.minix mkfs.cramfs mkswap nologin\
|
|
|
|
pivot_root raw sfdisk swapoff swapon blkid findfs fsck switch_root\
|
|
|
|
wipefs fsfreeze swaplabel fstrim chcpu; do
|
2023-01-06 10:29:09 +01:00
|
|
|
if test -f "%{buildroot}%{_sbindir}/$i" ; then
|
|
|
|
ln -s "%{_sbindir}/$i" "%{buildroot}/sbin/"
|
2022-09-01 20:34:07 +02:00
|
|
|
fi
|
|
|
|
done
|
|
|
|
# login is always and only in /bin
|
2023-01-06 10:29:09 +01:00
|
|
|
mv %{buildroot}%{_bindir}/login %{buildroot}/bin/
|
2022-09-01 20:34:07 +02:00
|
|
|
%endif
|
2023-02-13 09:44:32 +01:00
|
|
|
# ul_extra_bin_sbin, ulbuild == base
|
|
|
|
|
2022-12-09 00:16:30 +01:00
|
|
|
%if "%ulsubset" == "core"
|
|
|
|
%find_lang %{_name} %{name}.lang
|
|
|
|
%else
|
2023-02-13 09:44:32 +01:00
|
|
|
# ulsubset != core, ulbuild == base
|
2022-12-09 00:16:30 +01:00
|
|
|
echo -n "" >%{name}.lang
|
2023-01-06 10:29:09 +01:00
|
|
|
ln -sf /sbin/service %{buildroot}%{_sbindir}/rcuuidd
|
|
|
|
ln -sf /sbin/service %{buildroot}%{_sbindir}/rcfstrim
|
2022-09-01 20:34:07 +02:00
|
|
|
%endif
|
2023-02-13 09:44:32 +01:00
|
|
|
# ulsubset == core, ulbuild == base
|
|
|
|
|
2024-04-05 00:34:28 +02:00
|
|
|
%if "%ulsubset" == "systemd"
|
|
|
|
# No *.la packages
|
|
|
|
rm -r %{buildroot}%{_pam_moduledir}/*.la
|
|
|
|
%endif
|
|
|
|
# ulsubset == systemd
|
|
|
|
|
2022-09-01 20:34:07 +02:00
|
|
|
%endif
|
2023-02-13 09:44:32 +01:00
|
|
|
# ulbuild == base
|
|
|
|
|
|
|
|
##################
|
|
|
|
# Python install #
|
|
|
|
##################
|
2022-09-01 20:34:07 +02:00
|
|
|
%if "%ulbuild" == "python"
|
|
|
|
%{python_expand cd build.$python
|
|
|
|
%make_install
|
|
|
|
rm %{buildroot}%{$python_sitearch}/libmount/*.*a
|
|
|
|
cd ..
|
|
|
|
}
|
|
|
|
# There is a limitation: python module needs to build much more, and install even more. Delete it.
|
2023-01-06 10:29:09 +01:00
|
|
|
rm -r %{buildroot}{%{_bindir},%{_mandir},%{_datadir},%{_includedir},%{_libdir}/{lib,pkg}*}
|
2022-09-01 20:34:07 +02:00
|
|
|
%endif
|
2023-02-13 09:44:32 +01:00
|
|
|
# ulbuild == python
|
|
|
|
|
|
|
|
# fdupes for all multibuild flavors
|
2022-09-12 20:51:52 +02:00
|
|
|
# Link duplicate manpages or python bindings.
|
2023-05-09 20:33:25 +02:00
|
|
|
%fdupes %{buildroot}%{_prefix}
|
2022-09-01 20:34:07 +02:00
|
|
|
|
2023-02-13 09:44:32 +01:00
|
|
|
##############
|
|
|
|
# Base check #
|
|
|
|
##############
|
2022-09-01 20:34:07 +02:00
|
|
|
%if "%ulbuild" == "base"
|
2021-01-18 11:29:39 +01:00
|
|
|
%check
|
2022-09-01 20:34:07 +02:00
|
|
|
# Perform testsuite with the standard build only.
|
2021-01-18 11:29:39 +01:00
|
|
|
# mark some tests "known_fail"
|
|
|
|
#
|
|
|
|
%if 0%{?qemu_user_space_build}
|
2024-04-07 22:16:21 +02:00
|
|
|
# skip tests marked as ts_skip_qemu_user
|
|
|
|
export QEMU_USER=1
|
2021-01-18 11:29:39 +01:00
|
|
|
# unsupported syscall in script(1) ... might be fixed in qemu
|
|
|
|
export TS_OPT_script_known_fail="yes"
|
|
|
|
# may segfault on qemu-user-space
|
|
|
|
export TS_OPT_misc_setarch_known_fail="yes"
|
Accepting request 244468 from home:sbrabec:branches:Base:System
This update needs a special care:
1)
After first successful build on all platforms, "osc meta prjconf Base:System" must include:
%if 0%{?suse_version} > 1310
Preinstall: libsmartcols1
%endif
2)
You also need to make symlinks to util-linux-systemd and python-libmount.
And finally, this package is intended only for > 1310 (i. e. Factory).
3)
The spec file can have problems with (buggy) Factory check-in check:
ERROR: python-libmount: group for main package not set
There is false error and I have no work-around for this just now.
(If you want, please ping me (by mail) after package review, and I'll do all needed changes.)
- Update to version 2.25
(using work of Ruediger Meier <sweet_f_a@gmx.de>):
* based on the git master branch of util-linux
* many fixes (including bnc#869355, bnc#871951 and
bnc#871698#c49)
* new Python binding sub-package for libmount: python-libmount
* new library: libsmartcols
* new commands: lslogins, setpriv
* add fstrim systemd timer
* better systemd integration
* DROPPED command:
* cytune: Upstream decided to remove tool untested for years
that supports this old hardware.
- Dropped patches included in the upstream:
(*git) Included with no changes
(+git) Included with improvements
(!git) Included with differences
* support-other-tty-lines-not-vconsole.patch (*b9c7390)
* agetty-fooled-on-serial-line-due-plymouth.patch,
* sulogin-fooled-on-tty-line-due-plymouth.patch (*bb280f7)
* agetty-on-s390-on-dev-3270-tty1-line.patch (*f2bcda5)
* sulogin-does-not-find-any-console.patch (*624b204)
* util-linux-setarch-uname26.patch (*f6eb160)
* util-linux-ng-2.16-squashfs3-detect.patch (*11402f5)
* util-linux-lscpu-improve-hypervisor-detection.patch
(!b774473, b32488c, 5bd31c6, 0f0c558, 96ce475)
WARNING, INCOMPATIBLE CHANGE: "lscpu -p" no more reports
hypervisor, as it breaks standard behavior. Use standard output
instead! (FATE#310255)
* blkid-stop-scanning-on-I-O-error.patch (+296d96e)
* blkid-convert-superblocks-to-new-calling-convention.patch
(+37f4060)
* util-linux-libblkid-ext-probe.patch (*a1ca32f)
* util-linux-hwclock-drift-check.patch (*f196fd1)
* util-linux-hwclock-adjtime-check.patch (*db8fc5f)
- Dropped obsolete patch:
* util-linux-2.23.1-eject-fpie.patch (eject is no more SUID)
* util-linux-2.24-fdisk_remove_bogus_warnings.patch
(upstream fixed it in a different way)
* util-linux-HACK-boot.localfs.diff
(MOUNT_PRINT_SOURCE is no more referenced)
- Ported and renamed:
* util-linux-2.23.1-noenc-suse.diff
-> util-linux-noenc-suse.patch
- Split spec file to three stages:
* util-linux.spec: Everything that do not need python or systemd.
* util-linux-systemd.spec: Stuff that needs systemd:
util-linux-systemd and uuidd
NOTE: Not building systemd-less variants of utilities.
* python-libmount.spec: Just python-libmount
- Move bash-completion files to correct packages.
- Add patch util-linux-bash-completion-blockdev.patch.
- Add hacks to prevent damaging of spec files by format_spec_file
(bnc#891152, also edited util-linux-rpmlintrc).
- use nologin from upstream (was added in 2.24)
OBS-URL: https://build.opensuse.org/request/show/244468
OBS-URL: https://build.opensuse.org/package/show/Base:System/util-linux?expand=0&rev=248
2014-08-21 11:54:57 +02:00
|
|
|
%endif
|
2023-02-13 09:44:32 +01:00
|
|
|
# qemu_user_space_build
|
|
|
|
|
2022-09-01 20:34:07 +02:00
|
|
|
# Succeeds in local build, fails in OBS.
|
|
|
|
export TS_OPT_hardlink_options_known_fail="yes"
|
2021-01-18 11:29:39 +01:00
|
|
|
# This does not work with a chroot build: / is not a mountpoint
|
|
|
|
export TS_OPT_misc_mountpoint_known_fail="yes"
|
2024-04-07 22:16:21 +02:00
|
|
|
# This test appears to be racy
|
|
|
|
export TS_OPT_lslocks_lslocks_known_fail=yes
|
2021-01-18 11:29:39 +01:00
|
|
|
#
|
|
|
|
# hacks
|
|
|
|
export PATH="$PATH:/sbin:/usr/sbin"
|
|
|
|
#
|
|
|
|
# do the check but don't abort yet
|
|
|
|
result="0"
|
|
|
|
make %{?_smp_mflags} check || result="1"
|
|
|
|
#
|
|
|
|
# always show test diffs (inclusive known_fail) and exit result
|
|
|
|
diffs_files="$(find tests/diff -type f | sort)"
|
|
|
|
echo "$diffs_files" | xargs -r cat
|
|
|
|
exit "$result"
|
2006-12-19 00:18:10 +01:00
|
|
|
|
2022-12-09 00:16:30 +01:00
|
|
|
%if "%ulsubset" == "core"
|
2022-09-01 20:34:07 +02:00
|
|
|
%verifyscript
|
2023-03-08 23:17:55 +01:00
|
|
|
%verify_permissions -e %{_bindir}/mount -e %{_bindir}/umount
|
2023-01-06 10:29:09 +01:00
|
|
|
%verify_permissions -e %{_bindir}/su
|
2023-06-14 02:59:17 +02:00
|
|
|
%endif
|
|
|
|
%dnl # ulsubset == core, ulbuild == base
|
2023-03-08 23:17:55 +01:00
|
|
|
|
2023-06-14 02:59:17 +02:00
|
|
|
%if "%ulsubset" == "systemd"
|
2023-03-08 23:17:55 +01:00
|
|
|
%verifyscript -n util-linux-tty-tools
|
|
|
|
%verify_permissions -e %{_bindir}/wall -e %{_bindir}/write
|
2023-02-13 09:44:32 +01:00
|
|
|
%endif
|
2023-06-14 02:59:17 +02:00
|
|
|
%dnl # ulsubset == systemd, ulbuild == base
|
2022-12-09 00:16:30 +01:00
|
|
|
|
2022-09-15 17:39:18 +02:00
|
|
|
%endif
|
2023-03-06 11:57:30 +01:00
|
|
|
%dnl # ulbuild == base
|
2022-09-01 20:34:07 +02:00
|
|
|
|
2023-03-06 11:57:30 +01:00
|
|
|
%dnl ###################
|
|
|
|
%dnl # Core pre & post #
|
|
|
|
%dnl ###################
|
2022-12-09 00:16:30 +01:00
|
|
|
%if "%ulsubset" == "core"
|
2023-02-13 09:44:32 +01:00
|
|
|
%pre
|
2019-10-03 00:24:59 +02:00
|
|
|
# move outdated pam.d/*.rpmsave files away
|
|
|
|
for i in login remote runuser runuser-l su su-l ; do
|
|
|
|
test -f /etc/pam.d/${i}.rpmsave && mv -v /etc/pam.d/${i}.rpmsave /etc/pam.d/${i}.rpmsave.old ||:
|
|
|
|
done
|
2017-02-07 21:47:46 +01:00
|
|
|
|
2006-12-19 00:18:10 +01:00
|
|
|
%post
|
2023-03-08 23:17:55 +01:00
|
|
|
%set_permissions %{_bindir}/mount %{_bindir}/umount
|
2023-01-06 10:29:09 +01:00
|
|
|
%set_permissions %{_bindir}/su
|
2023-02-13 09:44:32 +01:00
|
|
|
|
2020-09-10 01:47:10 +02:00
|
|
|
%if ! %{defined no_config}
|
2019-08-07 01:09:02 +02:00
|
|
|
# If outdated PAM file is detected, issue a warning.
|
2019-08-08 02:23:26 +02:00
|
|
|
for PAM_FILE in login remote runuser runuser-l su su-l ; do
|
2023-01-06 10:29:09 +01:00
|
|
|
if test -f %{_pam_vendordir}/$PAM_FILE.rpmnew ; then
|
|
|
|
echo "Your %{_pam_vendordir}/$PAM_FILE is outdated. Please check %{_pam_vendordir}/$PAM_FILE.rpmnew!" >&2
|
2019-08-07 01:09:02 +02:00
|
|
|
fi
|
|
|
|
done
|
|
|
|
#
|
2019-07-22 18:53:23 +02:00
|
|
|
# /etc/default/su is tagged as noreplace.
|
2019-05-09 17:58:55 +02:00
|
|
|
# But we want to migrate variables to /etc/login.defs (bsc#1121197).
|
|
|
|
# Perform one-time config replace.
|
2019-07-22 18:53:23 +02:00
|
|
|
# Applies for: Update from SLE11, online update for SLE15 SP1, Leap15.1.
|
|
|
|
# Not needed for /etc/default/runuser. It was first packaged after the change.
|
2023-05-09 22:35:45 +02:00
|
|
|
if ! grep -qs "^# /etc/default/su is an override" %{_sysconfdir}/default/su ; then
|
2023-01-06 10:29:09 +01:00
|
|
|
if test -f %{_sysconfdir}/default/su.rpmnew ; then
|
|
|
|
if ! test -f %{_sysconfdir}/default/su.rpmorig ; then
|
|
|
|
cp -a %{_sysconfdir}/default/su %{_sysconfdir}/default/su.rpmorig
|
2019-05-09 17:58:55 +02:00
|
|
|
fi
|
2023-01-06 10:29:09 +01:00
|
|
|
mv %{_sysconfdir}/default/su.rpmnew %{_sysconfdir}/default/su
|
|
|
|
echo "One time clean-up of %{_sysconfdir}/default/su was performed." >&2
|
|
|
|
echo "Original contents was saved to %{_sysconfdir}/default/su.rpmorig." >&2
|
|
|
|
echo "Please edit %{_sysconfdir}/login.defs or %{_sysconfdir}/default/su to restore your customization." >&2
|
2018-04-13 13:36:33 +02:00
|
|
|
fi
|
|
|
|
fi
|
2020-09-10 01:47:10 +02:00
|
|
|
%endif
|
2023-03-06 11:50:16 +01:00
|
|
|
%dnl # !defined no_config
|
2011-01-11 16:19:40 +01:00
|
|
|
|
2020-09-10 01:47:10 +02:00
|
|
|
%if %{defined no_config}
|
2022-09-01 20:34:07 +02:00
|
|
|
%posttrans
|
2019-10-03 00:24:59 +02:00
|
|
|
# Migration to /usr/etc.
|
|
|
|
for i in login remote runuser runuser-l su su-l; do
|
|
|
|
test -f /etc/pam.d/${i}.rpmsave && mv -v /etc/pam.d/${i}.rpmsave /etc/pam.d/${i} ||:
|
|
|
|
done
|
2020-09-10 01:47:10 +02:00
|
|
|
%endif
|
2023-03-06 11:50:16 +01:00
|
|
|
%dnl # defined no_config
|
2019-10-03 00:24:59 +02:00
|
|
|
|
2021-01-18 11:29:39 +01:00
|
|
|
%post -n libblkid1 -p /sbin/ldconfig
|
|
|
|
|
|
|
|
%postun -n libblkid1 -p /sbin/ldconfig
|
2010-07-30 12:35:45 +02:00
|
|
|
|
2021-01-18 11:29:39 +01:00
|
|
|
%post -n libmount1 -p /sbin/ldconfig
|
2010-07-30 12:35:45 +02:00
|
|
|
|
2021-01-18 11:29:39 +01:00
|
|
|
%postun -n libmount1 -p /sbin/ldconfig
|
Accepting request 244468 from home:sbrabec:branches:Base:System
This update needs a special care:
1)
After first successful build on all platforms, "osc meta prjconf Base:System" must include:
%if 0%{?suse_version} > 1310
Preinstall: libsmartcols1
%endif
2)
You also need to make symlinks to util-linux-systemd and python-libmount.
And finally, this package is intended only for > 1310 (i. e. Factory).
3)
The spec file can have problems with (buggy) Factory check-in check:
ERROR: python-libmount: group for main package not set
There is false error and I have no work-around for this just now.
(If you want, please ping me (by mail) after package review, and I'll do all needed changes.)
- Update to version 2.25
(using work of Ruediger Meier <sweet_f_a@gmx.de>):
* based on the git master branch of util-linux
* many fixes (including bnc#869355, bnc#871951 and
bnc#871698#c49)
* new Python binding sub-package for libmount: python-libmount
* new library: libsmartcols
* new commands: lslogins, setpriv
* add fstrim systemd timer
* better systemd integration
* DROPPED command:
* cytune: Upstream decided to remove tool untested for years
that supports this old hardware.
- Dropped patches included in the upstream:
(*git) Included with no changes
(+git) Included with improvements
(!git) Included with differences
* support-other-tty-lines-not-vconsole.patch (*b9c7390)
* agetty-fooled-on-serial-line-due-plymouth.patch,
* sulogin-fooled-on-tty-line-due-plymouth.patch (*bb280f7)
* agetty-on-s390-on-dev-3270-tty1-line.patch (*f2bcda5)
* sulogin-does-not-find-any-console.patch (*624b204)
* util-linux-setarch-uname26.patch (*f6eb160)
* util-linux-ng-2.16-squashfs3-detect.patch (*11402f5)
* util-linux-lscpu-improve-hypervisor-detection.patch
(!b774473, b32488c, 5bd31c6, 0f0c558, 96ce475)
WARNING, INCOMPATIBLE CHANGE: "lscpu -p" no more reports
hypervisor, as it breaks standard behavior. Use standard output
instead! (FATE#310255)
* blkid-stop-scanning-on-I-O-error.patch (+296d96e)
* blkid-convert-superblocks-to-new-calling-convention.patch
(+37f4060)
* util-linux-libblkid-ext-probe.patch (*a1ca32f)
* util-linux-hwclock-drift-check.patch (*f196fd1)
* util-linux-hwclock-adjtime-check.patch (*db8fc5f)
- Dropped obsolete patch:
* util-linux-2.23.1-eject-fpie.patch (eject is no more SUID)
* util-linux-2.24-fdisk_remove_bogus_warnings.patch
(upstream fixed it in a different way)
* util-linux-HACK-boot.localfs.diff
(MOUNT_PRINT_SOURCE is no more referenced)
- Ported and renamed:
* util-linux-2.23.1-noenc-suse.diff
-> util-linux-noenc-suse.patch
- Split spec file to three stages:
* util-linux.spec: Everything that do not need python or systemd.
* util-linux-systemd.spec: Stuff that needs systemd:
util-linux-systemd and uuidd
NOTE: Not building systemd-less variants of utilities.
* python-libmount.spec: Just python-libmount
- Move bash-completion files to correct packages.
- Add patch util-linux-bash-completion-blockdev.patch.
- Add hacks to prevent damaging of spec files by format_spec_file
(bnc#891152, also edited util-linux-rpmlintrc).
- use nologin from upstream (was added in 2.24)
OBS-URL: https://build.opensuse.org/request/show/244468
OBS-URL: https://build.opensuse.org/package/show/Base:System/util-linux?expand=0&rev=248
2014-08-21 11:54:57 +02:00
|
|
|
|
2021-01-18 11:29:39 +01:00
|
|
|
%post -n libsmartcols1 -p /sbin/ldconfig
|
Accepting request 244468 from home:sbrabec:branches:Base:System
This update needs a special care:
1)
After first successful build on all platforms, "osc meta prjconf Base:System" must include:
%if 0%{?suse_version} > 1310
Preinstall: libsmartcols1
%endif
2)
You also need to make symlinks to util-linux-systemd and python-libmount.
And finally, this package is intended only for > 1310 (i. e. Factory).
3)
The spec file can have problems with (buggy) Factory check-in check:
ERROR: python-libmount: group for main package not set
There is false error and I have no work-around for this just now.
(If you want, please ping me (by mail) after package review, and I'll do all needed changes.)
- Update to version 2.25
(using work of Ruediger Meier <sweet_f_a@gmx.de>):
* based on the git master branch of util-linux
* many fixes (including bnc#869355, bnc#871951 and
bnc#871698#c49)
* new Python binding sub-package for libmount: python-libmount
* new library: libsmartcols
* new commands: lslogins, setpriv
* add fstrim systemd timer
* better systemd integration
* DROPPED command:
* cytune: Upstream decided to remove tool untested for years
that supports this old hardware.
- Dropped patches included in the upstream:
(*git) Included with no changes
(+git) Included with improvements
(!git) Included with differences
* support-other-tty-lines-not-vconsole.patch (*b9c7390)
* agetty-fooled-on-serial-line-due-plymouth.patch,
* sulogin-fooled-on-tty-line-due-plymouth.patch (*bb280f7)
* agetty-on-s390-on-dev-3270-tty1-line.patch (*f2bcda5)
* sulogin-does-not-find-any-console.patch (*624b204)
* util-linux-setarch-uname26.patch (*f6eb160)
* util-linux-ng-2.16-squashfs3-detect.patch (*11402f5)
* util-linux-lscpu-improve-hypervisor-detection.patch
(!b774473, b32488c, 5bd31c6, 0f0c558, 96ce475)
WARNING, INCOMPATIBLE CHANGE: "lscpu -p" no more reports
hypervisor, as it breaks standard behavior. Use standard output
instead! (FATE#310255)
* blkid-stop-scanning-on-I-O-error.patch (+296d96e)
* blkid-convert-superblocks-to-new-calling-convention.patch
(+37f4060)
* util-linux-libblkid-ext-probe.patch (*a1ca32f)
* util-linux-hwclock-drift-check.patch (*f196fd1)
* util-linux-hwclock-adjtime-check.patch (*db8fc5f)
- Dropped obsolete patch:
* util-linux-2.23.1-eject-fpie.patch (eject is no more SUID)
* util-linux-2.24-fdisk_remove_bogus_warnings.patch
(upstream fixed it in a different way)
* util-linux-HACK-boot.localfs.diff
(MOUNT_PRINT_SOURCE is no more referenced)
- Ported and renamed:
* util-linux-2.23.1-noenc-suse.diff
-> util-linux-noenc-suse.patch
- Split spec file to three stages:
* util-linux.spec: Everything that do not need python or systemd.
* util-linux-systemd.spec: Stuff that needs systemd:
util-linux-systemd and uuidd
NOTE: Not building systemd-less variants of utilities.
* python-libmount.spec: Just python-libmount
- Move bash-completion files to correct packages.
- Add patch util-linux-bash-completion-blockdev.patch.
- Add hacks to prevent damaging of spec files by format_spec_file
(bnc#891152, also edited util-linux-rpmlintrc).
- use nologin from upstream (was added in 2.24)
OBS-URL: https://build.opensuse.org/request/show/244468
OBS-URL: https://build.opensuse.org/package/show/Base:System/util-linux?expand=0&rev=248
2014-08-21 11:54:57 +02:00
|
|
|
|
2021-01-18 11:29:39 +01:00
|
|
|
%postun -n libsmartcols1 -p /sbin/ldconfig
|
Accepting request 244468 from home:sbrabec:branches:Base:System
This update needs a special care:
1)
After first successful build on all platforms, "osc meta prjconf Base:System" must include:
%if 0%{?suse_version} > 1310
Preinstall: libsmartcols1
%endif
2)
You also need to make symlinks to util-linux-systemd and python-libmount.
And finally, this package is intended only for > 1310 (i. e. Factory).
3)
The spec file can have problems with (buggy) Factory check-in check:
ERROR: python-libmount: group for main package not set
There is false error and I have no work-around for this just now.
(If you want, please ping me (by mail) after package review, and I'll do all needed changes.)
- Update to version 2.25
(using work of Ruediger Meier <sweet_f_a@gmx.de>):
* based on the git master branch of util-linux
* many fixes (including bnc#869355, bnc#871951 and
bnc#871698#c49)
* new Python binding sub-package for libmount: python-libmount
* new library: libsmartcols
* new commands: lslogins, setpriv
* add fstrim systemd timer
* better systemd integration
* DROPPED command:
* cytune: Upstream decided to remove tool untested for years
that supports this old hardware.
- Dropped patches included in the upstream:
(*git) Included with no changes
(+git) Included with improvements
(!git) Included with differences
* support-other-tty-lines-not-vconsole.patch (*b9c7390)
* agetty-fooled-on-serial-line-due-plymouth.patch,
* sulogin-fooled-on-tty-line-due-plymouth.patch (*bb280f7)
* agetty-on-s390-on-dev-3270-tty1-line.patch (*f2bcda5)
* sulogin-does-not-find-any-console.patch (*624b204)
* util-linux-setarch-uname26.patch (*f6eb160)
* util-linux-ng-2.16-squashfs3-detect.patch (*11402f5)
* util-linux-lscpu-improve-hypervisor-detection.patch
(!b774473, b32488c, 5bd31c6, 0f0c558, 96ce475)
WARNING, INCOMPATIBLE CHANGE: "lscpu -p" no more reports
hypervisor, as it breaks standard behavior. Use standard output
instead! (FATE#310255)
* blkid-stop-scanning-on-I-O-error.patch (+296d96e)
* blkid-convert-superblocks-to-new-calling-convention.patch
(+37f4060)
* util-linux-libblkid-ext-probe.patch (*a1ca32f)
* util-linux-hwclock-drift-check.patch (*f196fd1)
* util-linux-hwclock-adjtime-check.patch (*db8fc5f)
- Dropped obsolete patch:
* util-linux-2.23.1-eject-fpie.patch (eject is no more SUID)
* util-linux-2.24-fdisk_remove_bogus_warnings.patch
(upstream fixed it in a different way)
* util-linux-HACK-boot.localfs.diff
(MOUNT_PRINT_SOURCE is no more referenced)
- Ported and renamed:
* util-linux-2.23.1-noenc-suse.diff
-> util-linux-noenc-suse.patch
- Split spec file to three stages:
* util-linux.spec: Everything that do not need python or systemd.
* util-linux-systemd.spec: Stuff that needs systemd:
util-linux-systemd and uuidd
NOTE: Not building systemd-less variants of utilities.
* python-libmount.spec: Just python-libmount
- Move bash-completion files to correct packages.
- Add patch util-linux-bash-completion-blockdev.patch.
- Add hacks to prevent damaging of spec files by format_spec_file
(bnc#891152, also edited util-linux-rpmlintrc).
- use nologin from upstream (was added in 2.24)
OBS-URL: https://build.opensuse.org/request/show/244468
OBS-URL: https://build.opensuse.org/package/show/Base:System/util-linux?expand=0&rev=248
2014-08-21 11:54:57 +02:00
|
|
|
|
2021-01-18 11:29:39 +01:00
|
|
|
%post -n libuuid1 -p /sbin/ldconfig
|
Accepting request 244468 from home:sbrabec:branches:Base:System
This update needs a special care:
1)
After first successful build on all platforms, "osc meta prjconf Base:System" must include:
%if 0%{?suse_version} > 1310
Preinstall: libsmartcols1
%endif
2)
You also need to make symlinks to util-linux-systemd and python-libmount.
And finally, this package is intended only for > 1310 (i. e. Factory).
3)
The spec file can have problems with (buggy) Factory check-in check:
ERROR: python-libmount: group for main package not set
There is false error and I have no work-around for this just now.
(If you want, please ping me (by mail) after package review, and I'll do all needed changes.)
- Update to version 2.25
(using work of Ruediger Meier <sweet_f_a@gmx.de>):
* based on the git master branch of util-linux
* many fixes (including bnc#869355, bnc#871951 and
bnc#871698#c49)
* new Python binding sub-package for libmount: python-libmount
* new library: libsmartcols
* new commands: lslogins, setpriv
* add fstrim systemd timer
* better systemd integration
* DROPPED command:
* cytune: Upstream decided to remove tool untested for years
that supports this old hardware.
- Dropped patches included in the upstream:
(*git) Included with no changes
(+git) Included with improvements
(!git) Included with differences
* support-other-tty-lines-not-vconsole.patch (*b9c7390)
* agetty-fooled-on-serial-line-due-plymouth.patch,
* sulogin-fooled-on-tty-line-due-plymouth.patch (*bb280f7)
* agetty-on-s390-on-dev-3270-tty1-line.patch (*f2bcda5)
* sulogin-does-not-find-any-console.patch (*624b204)
* util-linux-setarch-uname26.patch (*f6eb160)
* util-linux-ng-2.16-squashfs3-detect.patch (*11402f5)
* util-linux-lscpu-improve-hypervisor-detection.patch
(!b774473, b32488c, 5bd31c6, 0f0c558, 96ce475)
WARNING, INCOMPATIBLE CHANGE: "lscpu -p" no more reports
hypervisor, as it breaks standard behavior. Use standard output
instead! (FATE#310255)
* blkid-stop-scanning-on-I-O-error.patch (+296d96e)
* blkid-convert-superblocks-to-new-calling-convention.patch
(+37f4060)
* util-linux-libblkid-ext-probe.patch (*a1ca32f)
* util-linux-hwclock-drift-check.patch (*f196fd1)
* util-linux-hwclock-adjtime-check.patch (*db8fc5f)
- Dropped obsolete patch:
* util-linux-2.23.1-eject-fpie.patch (eject is no more SUID)
* util-linux-2.24-fdisk_remove_bogus_warnings.patch
(upstream fixed it in a different way)
* util-linux-HACK-boot.localfs.diff
(MOUNT_PRINT_SOURCE is no more referenced)
- Ported and renamed:
* util-linux-2.23.1-noenc-suse.diff
-> util-linux-noenc-suse.patch
- Split spec file to three stages:
* util-linux.spec: Everything that do not need python or systemd.
* util-linux-systemd.spec: Stuff that needs systemd:
util-linux-systemd and uuidd
NOTE: Not building systemd-less variants of utilities.
* python-libmount.spec: Just python-libmount
- Move bash-completion files to correct packages.
- Add patch util-linux-bash-completion-blockdev.patch.
- Add hacks to prevent damaging of spec files by format_spec_file
(bnc#891152, also edited util-linux-rpmlintrc).
- use nologin from upstream (was added in 2.24)
OBS-URL: https://build.opensuse.org/request/show/244468
OBS-URL: https://build.opensuse.org/package/show/Base:System/util-linux?expand=0&rev=248
2014-08-21 11:54:57 +02:00
|
|
|
|
2021-01-18 11:29:39 +01:00
|
|
|
%postun -n libuuid1 -p /sbin/ldconfig
|
2015-02-26 17:53:58 +01:00
|
|
|
|
2021-01-18 11:29:39 +01:00
|
|
|
%post -n libfdisk1 -p /sbin/ldconfig
|
2015-02-26 17:53:58 +01:00
|
|
|
|
2021-01-18 11:29:39 +01:00
|
|
|
%postun -n libfdisk1 -p /sbin/ldconfig
|
Accepting request 244468 from home:sbrabec:branches:Base:System
This update needs a special care:
1)
After first successful build on all platforms, "osc meta prjconf Base:System" must include:
%if 0%{?suse_version} > 1310
Preinstall: libsmartcols1
%endif
2)
You also need to make symlinks to util-linux-systemd and python-libmount.
And finally, this package is intended only for > 1310 (i. e. Factory).
3)
The spec file can have problems with (buggy) Factory check-in check:
ERROR: python-libmount: group for main package not set
There is false error and I have no work-around for this just now.
(If you want, please ping me (by mail) after package review, and I'll do all needed changes.)
- Update to version 2.25
(using work of Ruediger Meier <sweet_f_a@gmx.de>):
* based on the git master branch of util-linux
* many fixes (including bnc#869355, bnc#871951 and
bnc#871698#c49)
* new Python binding sub-package for libmount: python-libmount
* new library: libsmartcols
* new commands: lslogins, setpriv
* add fstrim systemd timer
* better systemd integration
* DROPPED command:
* cytune: Upstream decided to remove tool untested for years
that supports this old hardware.
- Dropped patches included in the upstream:
(*git) Included with no changes
(+git) Included with improvements
(!git) Included with differences
* support-other-tty-lines-not-vconsole.patch (*b9c7390)
* agetty-fooled-on-serial-line-due-plymouth.patch,
* sulogin-fooled-on-tty-line-due-plymouth.patch (*bb280f7)
* agetty-on-s390-on-dev-3270-tty1-line.patch (*f2bcda5)
* sulogin-does-not-find-any-console.patch (*624b204)
* util-linux-setarch-uname26.patch (*f6eb160)
* util-linux-ng-2.16-squashfs3-detect.patch (*11402f5)
* util-linux-lscpu-improve-hypervisor-detection.patch
(!b774473, b32488c, 5bd31c6, 0f0c558, 96ce475)
WARNING, INCOMPATIBLE CHANGE: "lscpu -p" no more reports
hypervisor, as it breaks standard behavior. Use standard output
instead! (FATE#310255)
* blkid-stop-scanning-on-I-O-error.patch (+296d96e)
* blkid-convert-superblocks-to-new-calling-convention.patch
(+37f4060)
* util-linux-libblkid-ext-probe.patch (*a1ca32f)
* util-linux-hwclock-drift-check.patch (*f196fd1)
* util-linux-hwclock-adjtime-check.patch (*db8fc5f)
- Dropped obsolete patch:
* util-linux-2.23.1-eject-fpie.patch (eject is no more SUID)
* util-linux-2.24-fdisk_remove_bogus_warnings.patch
(upstream fixed it in a different way)
* util-linux-HACK-boot.localfs.diff
(MOUNT_PRINT_SOURCE is no more referenced)
- Ported and renamed:
* util-linux-2.23.1-noenc-suse.diff
-> util-linux-noenc-suse.patch
- Split spec file to three stages:
* util-linux.spec: Everything that do not need python or systemd.
* util-linux-systemd.spec: Stuff that needs systemd:
util-linux-systemd and uuidd
NOTE: Not building systemd-less variants of utilities.
* python-libmount.spec: Just python-libmount
- Move bash-completion files to correct packages.
- Add patch util-linux-bash-completion-blockdev.patch.
- Add hacks to prevent damaging of spec files by format_spec_file
(bnc#891152, also edited util-linux-rpmlintrc).
- use nologin from upstream (was added in 2.24)
OBS-URL: https://build.opensuse.org/request/show/244468
OBS-URL: https://build.opensuse.org/package/show/Base:System/util-linux?expand=0&rev=248
2014-08-21 11:54:57 +02:00
|
|
|
|
2022-12-09 00:16:30 +01:00
|
|
|
%endif
|
2023-03-06 11:50:16 +01:00
|
|
|
%dnl # ulsubset == core, pre & post
|
|
|
|
%dnl
|
|
|
|
%dnl ######################
|
|
|
|
%dnl # Systemd pre & post #
|
|
|
|
%dnl ######################
|
2022-12-09 00:16:30 +01:00
|
|
|
%if "%ulsubset" == "systemd"
|
2023-02-13 09:44:32 +01:00
|
|
|
%pre
|
|
|
|
%service_add_pre fstrim.service fstrim.timer
|
|
|
|
|
|
|
|
%post
|
|
|
|
%service_add_post fstrim.service fstrim.timer
|
|
|
|
|
|
|
|
%preun
|
|
|
|
%service_del_preun fstrim.service fstrim.timer
|
|
|
|
|
|
|
|
%postun
|
|
|
|
%service_del_postun fstrim.service fstrim.timer
|
|
|
|
|
2024-04-08 14:51:13 +02:00
|
|
|
%pre -n lastlog2
|
|
|
|
%service_add_pre lastlog2-import.service
|
|
|
|
|
|
|
|
%post -n lastlog2
|
|
|
|
%tmpfiles_create lastlog2.conf
|
|
|
|
%service_add_post lastlog2-import.service
|
|
|
|
%{_sbindir}/pam-config -a --lastlog2 --lastlog2-silent_if=gdm,gdm-password,lxdm,lightdm,mdm,sddm
|
|
|
|
|
|
|
|
%preun -n lastlog2
|
|
|
|
%service_del_preun lastlog2-import.service
|
|
|
|
|
|
|
|
%postun -n lastlog2
|
|
|
|
if [ "$1" -eq 0 ]; then
|
|
|
|
%{_sbindir}/pam-config -d --lastlog2
|
|
|
|
fi
|
|
|
|
%service_del_postun lastlog2-import.service
|
|
|
|
|
2021-01-18 11:29:39 +01:00
|
|
|
%pre -n uuidd
|
2023-02-13 09:44:32 +01:00
|
|
|
|
2023-01-09 19:12:15 +01:00
|
|
|
%if 0%{?suse_version} < 1330
|
2017-09-25 11:20:17 +02:00
|
|
|
getent group uuidd >/dev/null || /usr/sbin/groupadd -r uuidd
|
|
|
|
getent passwd uuidd >/dev/null || \
|
|
|
|
/usr/sbin/useradd -r -g uuidd -c "User for uuidd" \
|
2022-09-01 20:34:07 +02:00
|
|
|
-d %{_localstatedir}/run/uuidd uuidd
|
2017-09-14 13:58:12 +02:00
|
|
|
%endif
|
2023-03-06 11:50:16 +01:00
|
|
|
%dnl # suse_version < 1330
|
2023-02-13 09:44:32 +01:00
|
|
|
|
2014-10-31 16:22:34 +01:00
|
|
|
%{service_add_pre uuidd.socket uuidd.service}
|
2009-07-03 17:12:19 +02:00
|
|
|
|
2021-01-18 11:29:39 +01:00
|
|
|
%post -n uuidd
|
2018-11-07 08:46:39 +01:00
|
|
|
# Fix running instance paths during live upgrade from
|
|
|
|
# Leap = 15, SLE = 15 (boo#1113188).
|
|
|
|
# Useful for Tumbleweed or zypper dup only.
|
|
|
|
mv /run/run/uuidd /run/uuidd >/dev/null 2>&1 || :
|
|
|
|
rmdir --ignore-fail-on-non-empty /run/run >/dev/null 2>&1 || :
|
2014-10-31 16:22:34 +01:00
|
|
|
%{service_add_post uuidd.socket uuidd.service}
|
2009-07-03 17:12:19 +02:00
|
|
|
|
2021-01-18 11:29:39 +01:00
|
|
|
%preun -n uuidd
|
2014-10-31 16:22:34 +01:00
|
|
|
%{service_del_preun uuidd.socket uuidd.service}
|
2009-07-03 17:12:19 +02:00
|
|
|
|
2021-01-18 11:29:39 +01:00
|
|
|
%postun -n uuidd
|
2014-10-31 16:22:34 +01:00
|
|
|
%{service_del_postun uuidd.socket uuidd.service}
|
2020-09-10 01:47:10 +02:00
|
|
|
|
2023-06-14 02:59:17 +02:00
|
|
|
%post -n util-linux-tty-tools
|
|
|
|
%set_permissions %{_bindir}/wall %{_bindir}/write
|
|
|
|
|
2024-04-05 00:34:28 +02:00
|
|
|
%post -n liblastlog2-2 -p /sbin/ldconfig
|
|
|
|
|
|
|
|
%postun -n liblastlog2-2 -p /sbin/ldconfig
|
|
|
|
|
2022-12-09 00:16:30 +01:00
|
|
|
%endif
|
2023-03-06 11:50:16 +01:00
|
|
|
%dnl # ulsubset == systemd, pre & post
|
|
|
|
%dnl
|
|
|
|
%dnl ##############
|
|
|
|
%dnl # Base files #
|
|
|
|
%dnl ##############
|
2023-02-13 09:44:32 +01:00
|
|
|
%if "%ulbuild" == "base"
|
2022-09-01 20:34:07 +02:00
|
|
|
%files -n %{name} -f %{name}.files
|
2006-12-19 00:18:10 +01:00
|
|
|
%defattr(-,root,root)
|
2023-02-13 09:44:32 +01:00
|
|
|
|
2019-10-03 00:24:59 +02:00
|
|
|
%if %{defined no_config}
|
2023-03-14 11:02:52 +01:00
|
|
|
%core %{_pam_vendordir}/login
|
|
|
|
%core %{_pam_vendordir}/remote
|
|
|
|
%core %{_pam_vendordir}/runuser
|
|
|
|
%core %{_pam_vendordir}/runuser-l
|
|
|
|
%core %{_pam_vendordir}/su
|
|
|
|
%core %{_pam_vendordir}/su-l
|
2023-02-13 09:44:32 +01:00
|
|
|
|
2020-09-10 01:47:10 +02:00
|
|
|
%if 0%{?suse_version} <= 1520
|
2023-03-14 11:02:52 +01:00
|
|
|
%core %dir %{_distconfdir}/default
|
2020-09-10 01:47:10 +02:00
|
|
|
%endif
|
2023-02-13 09:44:32 +01:00
|
|
|
# suse_version <= 1520
|
|
|
|
|
2023-03-14 11:02:52 +01:00
|
|
|
%core %{_distconfdir}/default/runuser
|
|
|
|
%core %{_distconfdir}/default/su
|
2023-02-13 09:44:32 +01:00
|
|
|
|
2019-10-03 00:24:59 +02:00
|
|
|
%else
|
2023-02-13 09:44:32 +01:00
|
|
|
# ! defined no_config
|
|
|
|
|
2023-03-14 11:02:52 +01:00
|
|
|
%core %config(noreplace) %{_pam_vendordir}/login
|
|
|
|
%core %config(noreplace) %{_pam_vendordir}/remote
|
|
|
|
%core %config(noreplace) %{_pam_vendordir}/runuser
|
|
|
|
%core %config(noreplace) %{_pam_vendordir}/runuser-l
|
|
|
|
%core %config(noreplace) %{_pam_vendordir}/su
|
|
|
|
%core %config(noreplace) %{_pam_vendordir}/su-l
|
|
|
|
%core %config(noreplace) %{_sysconfdir}/default/runuser
|
|
|
|
%core %config(noreplace) %{_sysconfdir}/default/su
|
2023-01-06 10:29:09 +01:00
|
|
|
%endif
|
2023-02-13 09:44:32 +01:00
|
|
|
# defined no_config
|
|
|
|
|
2023-01-06 10:29:09 +01:00
|
|
|
%config %dir %{_sysconfdir}/issue.d
|
2023-02-13 09:44:32 +01:00
|
|
|
|
2022-09-01 20:34:07 +02:00
|
|
|
%if %{ul_extra_bin_sbin}
|
2023-03-14 11:02:52 +01:00
|
|
|
%core /bin/kill
|
|
|
|
%core %verify(not mode) %attr(%ul_suid,root,root) /bin/su
|
|
|
|
%core /bin/dmesg
|
|
|
|
%core /bin/more
|
|
|
|
%core %verify(not mode) %attr(%ul_suid,root,root) /bin/mount
|
|
|
|
%core %verify(not mode) %attr(%ul_suid,root,root) /bin/umount
|
|
|
|
%core /bin/login
|
|
|
|
%core /sbin/agetty
|
|
|
|
%core /sbin/blockdev
|
|
|
|
%core /sbin/ctrlaltdel
|
|
|
|
%core /sbin/fsck.minix
|
|
|
|
%core /sbin/fsck.cramfs
|
|
|
|
%core /sbin/losetup
|
|
|
|
%core /sbin/mkfs
|
|
|
|
%core /sbin/mkfs.bfs
|
|
|
|
%core /sbin/mkfs.minix
|
|
|
|
%core /sbin/mkfs.cramfs
|
|
|
|
%core /sbin/mkswap
|
|
|
|
%core /sbin/nologin
|
|
|
|
%core /sbin/pivot_root
|
|
|
|
%core /sbin/swapoff
|
|
|
|
%core /sbin/swapon
|
|
|
|
%core /sbin/blkid
|
|
|
|
%core /sbin/findfs
|
|
|
|
%core /sbin/fsck
|
|
|
|
%core /sbin/switch_root
|
|
|
|
%core /sbin/wipefs
|
|
|
|
%core /sbin/fsfreeze
|
|
|
|
%core /sbin/swaplabel
|
|
|
|
%core /sbin/fstrim
|
|
|
|
%core /sbin/chcpu
|
2024-01-18 18:19:00 +01:00
|
|
|
%if "%ulsubset" != "systemd"
|
|
|
|
%exclude /bin/findmnt
|
2022-12-09 00:16:30 +01:00
|
|
|
%exclude /bin/logger
|
|
|
|
%exclude /bin/lsblk
|
2021-01-26 14:17:45 +01:00
|
|
|
%endif
|
2024-01-18 18:19:00 +01:00
|
|
|
%endif
|
2023-02-13 09:44:32 +01:00
|
|
|
# ul_extra_bin_sbin
|
|
|
|
|
2023-03-14 11:02:52 +01:00
|
|
|
%core %{_bindir}/kill
|
|
|
|
%core %verify(not mode) %attr(%ul_suid,root,root) %{_bindir}/su
|
|
|
|
%core %{_bindir}/eject
|
|
|
|
%core %{_bindir}/cal
|
|
|
|
%core %{_bindir}/chmem
|
|
|
|
%core %{_bindir}/choom
|
|
|
|
%core %{_bindir}/chrt
|
|
|
|
%core %{_bindir}/col
|
|
|
|
%core %{_bindir}/colcrt
|
|
|
|
%core %{_bindir}/colrm
|
|
|
|
%core %{_bindir}/column
|
|
|
|
%core %{_bindir}/dmesg
|
2024-04-05 00:34:28 +02:00
|
|
|
%core %{_bindir}/enosys
|
|
|
|
%core %{_bindir}/exch
|
2023-06-12 21:48:44 +02:00
|
|
|
%core %{_bindir}/fadvise
|
2023-03-14 11:02:52 +01:00
|
|
|
%core %{_bindir}/fallocate
|
|
|
|
%core %{_bindir}/fincore
|
|
|
|
|
|
|
|
%core %{_bindir}/flock
|
|
|
|
%core %{_bindir}/getopt
|
|
|
|
%core %{_bindir}/hardlink
|
|
|
|
%core %{_bindir}/hexdump
|
|
|
|
%core %{_bindir}/ionice
|
|
|
|
%core %{_bindir}/ipcmk
|
|
|
|
%core %{_bindir}/ipcrm
|
|
|
|
%core %{_bindir}/ipcs
|
|
|
|
%core %{_bindir}/irqtop
|
|
|
|
%core %{_bindir}/isosize
|
2023-07-10 16:36:03 +02:00
|
|
|
|
2023-08-02 11:10:55 +02:00
|
|
|
%if 0%{?suse_version} >= 1599
|
2023-07-10 16:36:03 +02:00
|
|
|
# last provided by wtmpdb, btmp support dropped
|
|
|
|
%exclude %{_bindir}/last
|
|
|
|
%exclude %{_bindir}/lastb
|
|
|
|
%else
|
2023-03-14 11:02:52 +01:00
|
|
|
%core %{_bindir}/last
|
|
|
|
%core %{_bindir}/lastb
|
2023-07-10 16:36:03 +02:00
|
|
|
%endif
|
2023-08-02 11:10:55 +02:00
|
|
|
# 0%{?suse_version} >= 1599
|
2023-07-10 16:36:03 +02:00
|
|
|
|
2023-03-14 11:02:52 +01:00
|
|
|
%core %{_bindir}/line
|
|
|
|
%core %{_bindir}/look
|
2023-02-13 09:44:32 +01:00
|
|
|
|
2022-09-01 20:34:07 +02:00
|
|
|
%if !%{ul_extra_bin_sbin}
|
2023-03-14 11:02:52 +01:00
|
|
|
%core %{_bindir}/login
|
2023-01-06 10:29:09 +01:00
|
|
|
%endif
|
2023-02-13 09:44:32 +01:00
|
|
|
# ul_extra_bin_sbin
|
|
|
|
|
2024-04-05 00:34:28 +02:00
|
|
|
%core %{_bindir}/lsclocks
|
2023-03-14 11:02:52 +01:00
|
|
|
%core %{_bindir}/lscpu
|
|
|
|
%core %{_bindir}/lsfd
|
|
|
|
%core %{_bindir}/lsipc
|
|
|
|
%core %{_bindir}/lsirq
|
|
|
|
%core %{_bindir}/lslocks
|
|
|
|
%core %{_bindir}/lsmem
|
|
|
|
%core %{_bindir}/lsns
|
|
|
|
%core %{_bindir}/mcookie
|
|
|
|
%core %{_bindir}/more
|
|
|
|
%core %verify(not mode) %attr(%ul_suid,root,root) %{_bindir}/mount
|
|
|
|
%core %{_bindir}/namei
|
|
|
|
%core %{_bindir}/nsenter
|
2023-06-12 21:48:44 +02:00
|
|
|
%core %{_bindir}/pipesz
|
2023-03-14 11:02:52 +01:00
|
|
|
%core %{_bindir}/prlimit
|
|
|
|
%core %{_bindir}/rename
|
|
|
|
%core %{_bindir}/renice
|
|
|
|
%core %{_bindir}/rev
|
|
|
|
%core %{_bindir}/script
|
|
|
|
%core %{_bindir}/scriptlive
|
|
|
|
%core %{_bindir}/scriptreplay
|
|
|
|
%core %{_bindir}/setarch
|
2024-04-05 00:34:28 +02:00
|
|
|
%core %{_bindir}/setpgid
|
2023-03-14 11:02:52 +01:00
|
|
|
%core %{_bindir}/setpriv
|
|
|
|
%core %{_bindir}/setsid
|
|
|
|
%core %{_bindir}/taskset
|
|
|
|
%core %{_bindir}/uclampset
|
|
|
|
%core %{_bindir}/ul
|
|
|
|
%core %verify(not mode)%attr(%ul_suid,root,root) %{_bindir}/umount
|
|
|
|
%core %{_bindir}/unshare
|
|
|
|
%core %{_bindir}/mountpoint
|
|
|
|
%core %{_bindir}/utmpdump
|
|
|
|
%core %{_bindir}/uuidgen
|
|
|
|
%core %{_bindir}/uuidparse
|
|
|
|
%core %{_bindir}/uname26
|
2023-06-12 21:48:44 +02:00
|
|
|
%core %{_bindir}/waitpid
|
2023-03-14 11:02:52 +01:00
|
|
|
%core %{_bindir}/wdctl
|
|
|
|
%core %{_sbindir}/addpart
|
|
|
|
%core %{_sbindir}/agetty
|
|
|
|
%core %{_sbindir}/blkid
|
|
|
|
%core %{_sbindir}/blkdiscard
|
2023-06-12 21:48:44 +02:00
|
|
|
%core %{_sbindir}/blkpr
|
2023-02-13 09:44:32 +01:00
|
|
|
|
2023-03-14 11:02:52 +01:00
|
|
|
# blkzone depends on linux/blkzoned.h
|
2017-06-19 18:44:47 +02:00
|
|
|
%if 0%{?suse_version} >= 1330
|
2023-03-14 11:02:52 +01:00
|
|
|
%core %{_sbindir}/blkzone
|
2023-01-06 10:29:09 +01:00
|
|
|
%endif
|
2023-02-13 09:44:32 +01:00
|
|
|
# suse_version >= 1330
|
|
|
|
|
2023-03-14 11:02:52 +01:00
|
|
|
%core %{_sbindir}/blockdev
|
|
|
|
%core %{_sbindir}/chcpu
|
|
|
|
%core %{_sbindir}/ctrlaltdel
|
|
|
|
%core %{_sbindir}/delpart
|
|
|
|
%core %{_sbindir}/findfs
|
|
|
|
%core %{_sbindir}/fsck
|
|
|
|
%core %{_sbindir}/fsck.minix
|
|
|
|
%core %{_sbindir}/fsck.cramfs
|
|
|
|
%core %{_sbindir}/fsfreeze
|
|
|
|
%core %{_sbindir}/fstrim
|
|
|
|
%core %{_sbindir}/ldattach
|
|
|
|
%core %{_sbindir}/losetup
|
|
|
|
%core %{_sbindir}/mkfs
|
|
|
|
%core %{_sbindir}/mkfs.bfs
|
|
|
|
%core %{_sbindir}/mkfs.minix
|
|
|
|
%core %{_sbindir}/mkfs.cramfs
|
|
|
|
%core %{_sbindir}/mkswap
|
|
|
|
%core %{_sbindir}/nologin
|
|
|
|
%core %{_sbindir}/partx
|
|
|
|
%core %{_sbindir}/pivot_root
|
|
|
|
%core %{_sbindir}/resizepart
|
|
|
|
%core %{_sbindir}/rfkill
|
|
|
|
%core %{_sbindir}/rtcwake
|
|
|
|
%core %{_sbindir}/runuser
|
|
|
|
%core %{_sbindir}/sulogin
|
|
|
|
%core %{_sbindir}/swaplabel
|
|
|
|
%core %{_sbindir}/swapoff
|
|
|
|
%core %{_sbindir}/swapon
|
|
|
|
%core %{_sbindir}/switch_root
|
|
|
|
%core %{_sbindir}/wipefs
|
|
|
|
%core %{_bindir}/whereis
|
|
|
|
%core %{_sbindir}/zramctl
|
|
|
|
%core %{_sbindir}/flushb
|
|
|
|
%core %{_sbindir}/readprofile
|
2022-12-09 00:16:30 +01:00
|
|
|
# These directories should be owned by bash-completion. But we don't want to
|
|
|
|
# install them on build, so own these two directories:
|
2023-03-14 11:02:52 +01:00
|
|
|
%core %dir %{_datadir}/bash-completion
|
|
|
|
%core %dir %{_datadir}/bash-completion/completions
|
|
|
|
|
2023-01-06 10:29:09 +01:00
|
|
|
%exclude %{_datadir}/bash-completion/completions/uuidd
|
2023-03-08 23:17:55 +01:00
|
|
|
|
2023-07-10 16:36:03 +02:00
|
|
|
# wtmpdb
|
2023-08-02 11:10:55 +02:00
|
|
|
%if 0%{?suse_version} >= 1599
|
2023-07-10 16:36:03 +02:00
|
|
|
%exclude %{_datadir}/bash-completion/completions/last
|
|
|
|
%exclude %{_datadir}/bash-completion/completions/lastb
|
|
|
|
%endif
|
|
|
|
|
2023-03-08 23:17:55 +01:00
|
|
|
# tty-tools package
|
|
|
|
%exclude %{_datadir}/bash-completion/completions/wall
|
|
|
|
%exclude %{_datadir}/bash-completion/completions/write
|
|
|
|
%exclude %{_datadir}/bash-completion/completions/mesg
|
|
|
|
%exclude %{_mandir}/man1/mesg.1.gz
|
|
|
|
%exclude %{_mandir}/man1/wall.1.gz
|
|
|
|
%exclude %{_mandir}/man1/write.1.gz
|
|
|
|
%exclude %{_bindir}/mesg
|
|
|
|
%exclude %{_bindir}/wall
|
|
|
|
%exclude %{_bindir}/write
|
|
|
|
|
2022-09-01 20:34:07 +02:00
|
|
|
# util-linux documentation files
|
|
|
|
%doc Documentation/blkid.txt
|
|
|
|
%doc Documentation/cal.txt
|
|
|
|
%doc Documentation/col.txt
|
|
|
|
%doc Documentation/deprecated.txt
|
|
|
|
%doc Documentation/getopt.txt
|
|
|
|
%doc Documentation/howto-debug.txt
|
|
|
|
%doc Documentation/hwclock.txt
|
|
|
|
%doc Documentation/modems-with-agetty.txt
|
|
|
|
%doc Documentation/mount.txt
|
|
|
|
%doc Documentation/pg.txt
|
2023-01-06 10:29:09 +01:00
|
|
|
%{_docdir}/%{name}/getopt-example.*
|
|
|
|
%exclude %{_sbindir}/uuidd
|
2023-02-13 09:44:32 +01:00
|
|
|
|
|
|
|
#
|
|
|
|
# Files not common for all architectures
|
|
|
|
%ifnarch ia64 m68k
|
|
|
|
|
|
|
|
%if %{ul_extra_bin_sbin}
|
|
|
|
%core /sbin/fdisk
|
|
|
|
%endif
|
|
|
|
# ul_extra_bin_sbin
|
|
|
|
|
|
|
|
%core %{_sbindir}/fdisk
|
|
|
|
%core %{_mandir}/man8/fdisk.8.gz
|
|
|
|
%endif
|
|
|
|
# narch ia64 m68k
|
|
|
|
|
|
|
|
%ifnarch %sparc ia64 m68k
|
|
|
|
%core %{_mandir}/man8/cfdisk.8.gz
|
|
|
|
%core %{_mandir}/man8/sfdisk.8.gz
|
|
|
|
|
|
|
|
%if %{ul_extra_bin_sbin}
|
|
|
|
%core /sbin/cfdisk
|
|
|
|
%core /sbin/sfdisk
|
|
|
|
%endif
|
|
|
|
# ul_extra_bin_sbin
|
|
|
|
|
|
|
|
%core %{_sbindir}/cfdisk
|
|
|
|
%core %{_sbindir}/sfdisk
|
|
|
|
%endif
|
|
|
|
# narch sparc ia64 m68k
|
|
|
|
|
|
|
|
%ifnarch s390 s390x
|
|
|
|
%core %{_sbindir}/fdformat
|
|
|
|
|
|
|
|
%if %{ul_extra_bin_sbin}
|
|
|
|
%core /sbin/hwclock
|
|
|
|
%endif
|
|
|
|
# ul_extra_bin_sbin
|
|
|
|
|
|
|
|
%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
|
2022-12-09 00:16:30 +01:00
|
|
|
%endif
|
2023-02-13 09:44:32 +01:00
|
|
|
# narch s390
|
|
|
|
|
2023-03-14 11:02:52 +01:00
|
|
|
%core %{_mandir}/man1/kill.1.gz
|
|
|
|
%core %{_mandir}/man1/su.1.gz
|
|
|
|
%core %{_mandir}/man1/cal.1.gz
|
|
|
|
%core %{_mandir}/man1/choom.1.gz
|
|
|
|
%core %{_mandir}/man1/chrt.1.gz
|
|
|
|
%core %{_mandir}/man1/col.1.gz
|
|
|
|
%core %{_mandir}/man1/colcrt.1.gz
|
|
|
|
%core %{_mandir}/man1/colrm.1.gz
|
|
|
|
%core %{_mandir}/man1/column.1.gz
|
|
|
|
%core %{_mandir}/man1/dmesg.1.gz
|
2024-04-05 00:34:28 +02:00
|
|
|
%core %{_mandir}/man1/enosys.1.gz
|
2023-03-14 11:02:52 +01:00
|
|
|
%core %{_mandir}/man1/eject.1.gz
|
2024-04-05 00:34:28 +02:00
|
|
|
%core %{_mandir}/man1/exch.1.gz
|
2023-06-12 21:48:44 +02:00
|
|
|
%core %{_mandir}/man1/fadvise.1.gz
|
2023-03-14 11:02:52 +01:00
|
|
|
%core %{_mandir}/man1/fallocate.1.gz
|
|
|
|
%core %{_mandir}/man1/fincore.1.gz
|
|
|
|
%core %{_mandir}/man1/flock.1.gz
|
|
|
|
%core %{_mandir}/man1/getopt.1.gz
|
|
|
|
%core %{_mandir}/man1/hardlink.1.gz
|
|
|
|
%core %{_mandir}/man1/hexdump.1.gz
|
|
|
|
%core %{_mandir}/man1/ipcrm.1.gz
|
|
|
|
%core %{_mandir}/man1/ipcs.1.gz
|
2023-07-10 16:36:03 +02:00
|
|
|
|
2023-08-02 11:10:55 +02:00
|
|
|
%if 0%{?suse_version} >= 1599
|
2023-07-10 16:36:03 +02:00
|
|
|
%exclude %{_mandir}/man1/last.1.gz
|
|
|
|
%exclude %{_mandir}/man1/lastb.1.gz
|
|
|
|
%else
|
2023-03-14 11:02:52 +01:00
|
|
|
%core %{_mandir}/man1/last.1.gz
|
|
|
|
%core %{_mandir}/man1/lastb.1.gz
|
2023-07-10 16:36:03 +02:00
|
|
|
%endif
|
2023-08-02 11:10:55 +02:00
|
|
|
# 0%{?suse_version} >= 1599
|
2023-07-10 16:36:03 +02:00
|
|
|
|
2023-03-14 11:02:52 +01:00
|
|
|
%core %{_mandir}/man1/line.1.gz
|
|
|
|
%core %{_mandir}/man1/login.1.gz
|
|
|
|
%core %{_mandir}/man1/look.1.gz
|
|
|
|
%core %{_mandir}/man1/lscpu.1.gz
|
2024-04-05 00:34:28 +02:00
|
|
|
%core %{_mandir}/man1/lsclocks.1.gz
|
2023-03-14 11:02:52 +01:00
|
|
|
%core %{_mandir}/man1/lsfd.1.gz
|
|
|
|
%core %{_mandir}/man1/lsipc.1.gz
|
|
|
|
%core %{_mandir}/man1/lsirq.1.gz
|
|
|
|
%core %{_mandir}/man1/lsmem.1.gz
|
|
|
|
%core %{_mandir}/man1/mcookie.1.gz
|
|
|
|
%core %{_mandir}/man1/more.1.gz
|
|
|
|
%core %{_mandir}/man1/namei.1.gz
|
|
|
|
%core %{_mandir}/man1/nsenter.1.gz
|
|
|
|
%core %{_mandir}/man1/ionice.1.gz
|
|
|
|
%core %{_mandir}/man1/irqtop.1.gz
|
2023-06-12 21:48:44 +02:00
|
|
|
%core %{_mandir}/man1/pipesz.1.gz
|
2023-03-14 11:02:52 +01:00
|
|
|
%core %{_mandir}/man1/prlimit.1.gz
|
|
|
|
%core %{_mandir}/man1/rename.1.gz
|
|
|
|
%core %{_mandir}/man1/rev.1.gz
|
|
|
|
%core %{_mandir}/man1/renice.1.gz
|
|
|
|
%core %{_mandir}/man1/setpriv.1.gz
|
|
|
|
%core %{_mandir}/man1/setsid.1.gz
|
|
|
|
%core %{_mandir}/man1/script.1.gz
|
|
|
|
%core %{_mandir}/man1/scriptlive.1.gz
|
|
|
|
%core %{_mandir}/man1/scriptreplay.1.gz
|
2024-04-05 00:34:28 +02:00
|
|
|
%core %{_mandir}/man1/setpgid.1.gz
|
2023-03-14 11:02:52 +01:00
|
|
|
%core %{_mandir}/man1/setterm.1.gz
|
|
|
|
%core %{_mandir}/man1/taskset.1.gz
|
|
|
|
%core %{_mandir}/man1/ul.1.gz
|
|
|
|
%core %{_mandir}/man1/unshare.1.gz
|
|
|
|
%core %{_mandir}/man1/whereis.1.gz
|
|
|
|
%core %{_mandir}/man1/ipcmk.1.gz
|
|
|
|
%core %{_mandir}/man1/mountpoint.1.gz
|
|
|
|
%core %{_mandir}/man1/runuser.1.gz
|
|
|
|
%core %{_mandir}/man1/uclampset.1.gz
|
|
|
|
%core %{_mandir}/man1/utmpdump.1.gz
|
|
|
|
%core %{_mandir}/man1/uuidgen.1.gz
|
|
|
|
%core %{_mandir}/man1/uuidparse.1.gz
|
2023-06-12 21:48:44 +02:00
|
|
|
%core %{_mandir}/man1/waitpid.1.gz
|
2023-03-14 11:02:52 +01:00
|
|
|
%core %{_mandir}/man5/adjtime_config.5.gz
|
|
|
|
%core %{_mandir}/man5/fstab.5.gz
|
2024-04-05 00:34:28 +02:00
|
|
|
%core %{_mandir}/man5/scols-filter.5.gz
|
2023-03-14 11:02:52 +01:00
|
|
|
%core %{_mandir}/man5/terminal-colors.d.5.gz
|
|
|
|
%core %{_mandir}/man8/addpart.8.gz
|
|
|
|
%core %{_mandir}/man8/agetty.8.gz
|
|
|
|
|
|
|
|
%if 0%{?suse_version} >= 1330
|
|
|
|
%core %{_mandir}/man8/blkzone.8.gz
|
|
|
|
%endif
|
|
|
|
# suse_version >= 1330
|
|
|
|
|
|
|
|
%core %{_mandir}/man8/blockdev.8.gz
|
2023-06-12 21:48:44 +02:00
|
|
|
%core %{_mandir}/man8/blkpr.8.gz
|
2023-03-14 11:02:52 +01:00
|
|
|
%core %{_mandir}/man8/chmem.8.gz
|
|
|
|
%core %{_mandir}/man8/ctrlaltdel.8.gz
|
|
|
|
%core %{_mandir}/man8/delpart.8.gz
|
|
|
|
%core %{_mandir}/man8/blkid.8.gz
|
|
|
|
%core %{_mandir}/man8/blkdiscard.8.gz
|
|
|
|
%core %{_mandir}/man8/switch_root.8.gz
|
|
|
|
%core %{_mandir}/man8/mkfs.bfs.8.gz
|
|
|
|
%core %{_mandir}/man8/mkfs.minix.8.gz
|
|
|
|
%core %{_mandir}/man8/findfs.8.gz
|
|
|
|
%core %{_mandir}/man8/fsck.8.gz
|
|
|
|
%core %{_mandir}/man8/fsck.cramfs.8.gz
|
|
|
|
%core %{_mandir}/man8/fsck.minix.8.gz
|
|
|
|
%core %{_mandir}/man8/isosize.8.gz
|
|
|
|
%core %{_mandir}/man8/ldattach.8.gz
|
|
|
|
%core %{_mandir}/man8/losetup.8.gz
|
|
|
|
%core %{_mandir}/man8/lslocks.8.gz
|
|
|
|
%core %{_mandir}/man8/lsns.8.gz
|
|
|
|
%core %{_mandir}/man8/mkfs.8.gz
|
|
|
|
%core %{_mandir}/man8/mkfs.cramfs.8.gz
|
|
|
|
%core %{_mandir}/man8/mkswap.8.gz
|
|
|
|
%core %{_mandir}/man8/mount.8.gz
|
|
|
|
%core %{_mandir}/man8/nologin.8.gz
|
|
|
|
%core %{_mandir}/man8/fsfreeze.8.gz
|
|
|
|
%core %{_mandir}/man8/swaplabel.8.gz
|
|
|
|
%core %{_mandir}/man8/readprofile.8.gz
|
|
|
|
%core %{_mandir}/man8/rfkill.8.gz
|
|
|
|
%core %{_mandir}/man8/chcpu.8.gz
|
|
|
|
%core %{_mandir}/man8/partx.8.gz
|
|
|
|
%core %{_mandir}/man8/pivot_root.8.gz
|
|
|
|
%core %{_mandir}/man8/rtcwake.8.gz
|
|
|
|
%core %{_mandir}/man8/setarch.8.gz
|
|
|
|
%core %{_mandir}/man8/swapoff.8.gz
|
|
|
|
%core %{_mandir}/man8/swapon.8.gz
|
|
|
|
%core %{_mandir}/man8/umount.8.gz
|
|
|
|
%core %{_mandir}/man8/wipefs.8.gz
|
|
|
|
%core %{_mandir}/man8/zramctl.8.gz
|
|
|
|
%core %{_mandir}/man8/fstrim.8.gz
|
|
|
|
%core %{_mandir}/man8/resizepart.8.gz
|
|
|
|
%core %{_mandir}/man8/sulogin.8.gz
|
|
|
|
%core %{_mandir}/man8/wdctl.8.gz
|
|
|
|
|
2023-02-13 09:44:32 +01:00
|
|
|
##############
|
|
|
|
# Core files #
|
|
|
|
##############
|
|
|
|
|
|
|
|
%if "%ulsubset" == "core"
|
|
|
|
# Common files for all archs
|
|
|
|
%doc AUTHORS ChangeLog README NEWS
|
|
|
|
%license README.licensing
|
|
|
|
%license COPYING
|
|
|
|
%license Documentation/licenses/*
|
|
|
|
%config(noreplace) %{_sysconfdir}/blkid.conf
|
|
|
|
|
2023-03-14 11:02:52 +01:00
|
|
|
%{_datadir}/bash-completion/completions/*
|
|
|
|
%exclude %{_datadir}/bash-completion/completions/findmnt
|
|
|
|
%exclude %{_datadir}/bash-completion/completions/logger
|
|
|
|
%exclude %{_datadir}/bash-completion/completions/lsblk
|
|
|
|
%exclude %{_datadir}/bash-completion/completions/lslogins
|
|
|
|
|
2023-02-13 09:44:32 +01:00
|
|
|
%exclude %{_bindir}/findmnt
|
|
|
|
%exclude %{_bindir}/logger
|
|
|
|
%exclude %{_bindir}/lsblk
|
|
|
|
%exclude %{_bindir}/lslogins
|
2023-03-14 11:02:52 +01:00
|
|
|
|
|
|
|
%exclude %{_mandir}/man8/findmnt.8.gz
|
|
|
|
%exclude %{_mandir}/man1/logger.1.gz
|
|
|
|
%exclude %{_mandir}/man8/lsblk.8.gz
|
|
|
|
%exclude %{_mandir}/man1/lslogins.1.gz
|
|
|
|
|
|
|
|
%exclude %{_mandir}/man8/uuidd.8.gz
|
2023-02-13 09:44:32 +01:00
|
|
|
%endif
|
|
|
|
# ulsubset == core, ulbuild == base
|
|
|
|
|
|
|
|
#################
|
|
|
|
# Systemd files #
|
|
|
|
#################
|
2022-12-09 00:16:30 +01:00
|
|
|
%if "%ulsubset" == "systemd"
|
2023-01-06 10:29:09 +01:00
|
|
|
%exclude %config(noreplace) %{_sysconfdir}/blkid.conf
|
2023-02-13 09:44:32 +01:00
|
|
|
|
2023-01-06 10:29:09 +01:00
|
|
|
%exclude %config %dir %{_sysconfdir}/issue.d
|
2023-02-13 09:44:32 +01:00
|
|
|
|
2022-12-09 00:16:30 +01:00
|
|
|
%if %{ul_extra_bin_sbin}
|
2024-01-18 18:19:00 +01:00
|
|
|
/bin/findmnt
|
2022-12-09 00:16:30 +01:00
|
|
|
/bin/logger
|
|
|
|
/bin/lsblk
|
|
|
|
%endif
|
2023-02-13 09:44:32 +01:00
|
|
|
# ul_extra_bin_sbin
|
|
|
|
|
2023-01-06 10:29:09 +01:00
|
|
|
%{_bindir}/findmnt
|
|
|
|
%{_bindir}/logger
|
|
|
|
%{_bindir}/lsblk
|
|
|
|
%{_bindir}/lslogins
|
2023-02-13 09:44:32 +01:00
|
|
|
|
2023-03-14 11:02:52 +01:00
|
|
|
%{_mandir}/man8/findmnt.8.gz
|
|
|
|
%{_mandir}/man1/logger.1.gz
|
|
|
|
%{_mandir}/man8/lsblk.8.gz
|
|
|
|
%{_mandir}/man1/lslogins.1.gz
|
2023-02-13 09:44:32 +01:00
|
|
|
|
2023-03-14 11:02:52 +01:00
|
|
|
# Exclude core binaries bash-completion
|
|
|
|
%exclude %{_datadir}/bash-completion/completions/addpart
|
|
|
|
%exclude %{_datadir}/bash-completion/completions/blkdiscard
|
|
|
|
%exclude %{_datadir}/bash-completion/completions/blkid
|
|
|
|
%exclude %{_datadir}/bash-completion/completions/blkzone
|
|
|
|
%exclude %{_datadir}/bash-completion/completions/blockdev
|
|
|
|
%exclude %{_datadir}/bash-completion/completions/cal
|
|
|
|
%exclude %{_datadir}/bash-completion/completions/cfdisk
|
|
|
|
%exclude %{_datadir}/bash-completion/completions/chcpu
|
|
|
|
%exclude %{_datadir}/bash-completion/completions/chmem
|
|
|
|
%exclude %{_datadir}/bash-completion/completions/chrt
|
|
|
|
%exclude %{_datadir}/bash-completion/completions/col
|
|
|
|
%exclude %{_datadir}/bash-completion/completions/colcrt
|
|
|
|
%exclude %{_datadir}/bash-completion/completions/colrm
|
|
|
|
%exclude %{_datadir}/bash-completion/completions/column
|
|
|
|
%exclude %{_datadir}/bash-completion/completions/ctrlaltdel
|
|
|
|
%exclude %{_datadir}/bash-completion/completions/delpart
|
|
|
|
%exclude %{_datadir}/bash-completion/completions/dmesg
|
|
|
|
%exclude %{_datadir}/bash-completion/completions/eject
|
2024-04-05 00:34:28 +02:00
|
|
|
%exclude %{_datadir}/bash-completion/completions/enosys
|
|
|
|
%exclude %{_datadir}/bash-completion/completions/exch
|
2023-03-14 11:02:52 +01:00
|
|
|
%exclude %{_datadir}/bash-completion/completions/fallocate
|
2023-06-12 21:48:44 +02:00
|
|
|
%exclude %{_datadir}/bash-completion/completions/fadvise
|
2023-03-14 11:02:52 +01:00
|
|
|
%exclude %{_datadir}/bash-completion/completions/fdformat
|
|
|
|
%exclude %{_datadir}/bash-completion/completions/fdisk
|
|
|
|
%exclude %{_datadir}/bash-completion/completions/fincore
|
|
|
|
%exclude %{_datadir}/bash-completion/completions/findfs
|
|
|
|
%exclude %{_datadir}/bash-completion/completions/flock
|
|
|
|
%exclude %{_datadir}/bash-completion/completions/fsck
|
|
|
|
%exclude %{_datadir}/bash-completion/completions/fsck.cramfs
|
|
|
|
%exclude %{_datadir}/bash-completion/completions/fsck.minix
|
|
|
|
%exclude %{_datadir}/bash-completion/completions/fsfreeze
|
|
|
|
%exclude %{_datadir}/bash-completion/completions/fstrim
|
|
|
|
%exclude %{_datadir}/bash-completion/completions/getopt
|
|
|
|
%exclude %{_datadir}/bash-completion/completions/hardlink
|
|
|
|
%exclude %{_datadir}/bash-completion/completions/hexdump
|
|
|
|
%exclude %{_datadir}/bash-completion/completions/hwclock
|
|
|
|
%exclude %{_datadir}/bash-completion/completions/ionice
|
|
|
|
%exclude %{_datadir}/bash-completion/completions/ipcmk
|
|
|
|
%exclude %{_datadir}/bash-completion/completions/ipcrm
|
|
|
|
%exclude %{_datadir}/bash-completion/completions/ipcs
|
|
|
|
%exclude %{_datadir}/bash-completion/completions/irqtop
|
|
|
|
%exclude %{_datadir}/bash-completion/completions/isosize
|
|
|
|
%exclude %{_datadir}/bash-completion/completions/last
|
|
|
|
%exclude %{_datadir}/bash-completion/completions/lastb
|
|
|
|
%exclude %{_datadir}/bash-completion/completions/ldattach
|
|
|
|
%exclude %{_datadir}/bash-completion/completions/look
|
|
|
|
%exclude %{_datadir}/bash-completion/completions/losetup
|
2024-04-05 00:34:28 +02:00
|
|
|
%exclude %{_datadir}/bash-completion/completions/lsclocks
|
2023-03-14 11:02:52 +01:00
|
|
|
%exclude %{_datadir}/bash-completion/completions/lscpu
|
|
|
|
%exclude %{_datadir}/bash-completion/completions/lsipc
|
|
|
|
%exclude %{_datadir}/bash-completion/completions/lsirq
|
|
|
|
%exclude %{_datadir}/bash-completion/completions/lslocks
|
|
|
|
%exclude %{_datadir}/bash-completion/completions/lsmem
|
|
|
|
%exclude %{_datadir}/bash-completion/completions/lsns
|
|
|
|
%exclude %{_datadir}/bash-completion/completions/mcookie
|
|
|
|
%exclude %{_datadir}/bash-completion/completions/mkfs
|
|
|
|
%exclude %{_datadir}/bash-completion/completions/mkfs.bfs
|
|
|
|
%exclude %{_datadir}/bash-completion/completions/mkfs.cramfs
|
|
|
|
%exclude %{_datadir}/bash-completion/completions/mkfs.minix
|
|
|
|
%exclude %{_datadir}/bash-completion/completions/mkswap
|
|
|
|
%exclude %{_datadir}/bash-completion/completions/more
|
|
|
|
%exclude %{_datadir}/bash-completion/completions/mount
|
|
|
|
%exclude %{_datadir}/bash-completion/completions/mountpoint
|
|
|
|
%exclude %{_datadir}/bash-completion/completions/namei
|
|
|
|
%exclude %{_datadir}/bash-completion/completions/nsenter
|
|
|
|
%exclude %{_datadir}/bash-completion/completions/partx
|
2023-06-12 21:48:44 +02:00
|
|
|
%exclude %{_datadir}/bash-completion/completions/pipesz
|
2023-03-14 11:02:52 +01:00
|
|
|
%exclude %{_datadir}/bash-completion/completions/pivot_root
|
|
|
|
%exclude %{_datadir}/bash-completion/completions/prlimit
|
|
|
|
%exclude %{_datadir}/bash-completion/completions/readprofile
|
|
|
|
%exclude %{_datadir}/bash-completion/completions/rename
|
|
|
|
%exclude %{_datadir}/bash-completion/completions/renice
|
|
|
|
%exclude %{_datadir}/bash-completion/completions/resizepart
|
|
|
|
%exclude %{_datadir}/bash-completion/completions/rev
|
|
|
|
%exclude %{_datadir}/bash-completion/completions/rfkill
|
|
|
|
%exclude %{_datadir}/bash-completion/completions/rtcwake
|
|
|
|
%exclude %{_datadir}/bash-completion/completions/runuser
|
|
|
|
%exclude %{_datadir}/bash-completion/completions/script
|
|
|
|
%exclude %{_datadir}/bash-completion/completions/scriptlive
|
|
|
|
%exclude %{_datadir}/bash-completion/completions/scriptreplay
|
|
|
|
%exclude %{_datadir}/bash-completion/completions/setarch
|
2024-04-05 00:34:28 +02:00
|
|
|
%exclude %{_datadir}/bash-completion/completions/setpgid
|
2023-03-14 11:02:52 +01:00
|
|
|
%exclude %{_datadir}/bash-completion/completions/setpriv
|
|
|
|
%exclude %{_datadir}/bash-completion/completions/setsid
|
|
|
|
%exclude %{_datadir}/bash-completion/completions/setterm
|
|
|
|
%exclude %{_datadir}/bash-completion/completions/sfdisk
|
|
|
|
%exclude %{_datadir}/bash-completion/completions/su
|
|
|
|
%exclude %{_datadir}/bash-completion/completions/swaplabel
|
|
|
|
%exclude %{_datadir}/bash-completion/completions/swapoff
|
|
|
|
%exclude %{_datadir}/bash-completion/completions/swapon
|
|
|
|
%exclude %{_datadir}/bash-completion/completions/taskset
|
|
|
|
%exclude %{_datadir}/bash-completion/completions/tunelp
|
|
|
|
%exclude %{_datadir}/bash-completion/completions/uclampset
|
|
|
|
%exclude %{_datadir}/bash-completion/completions/ul
|
|
|
|
%exclude %{_datadir}/bash-completion/completions/umount
|
|
|
|
%exclude %{_datadir}/bash-completion/completions/unshare
|
|
|
|
%exclude %{_datadir}/bash-completion/completions/utmpdump
|
|
|
|
%exclude %{_datadir}/bash-completion/completions/uuidgen
|
|
|
|
%exclude %{_datadir}/bash-completion/completions/uuidparse
|
2023-06-12 21:48:44 +02:00
|
|
|
%exclude %{_datadir}/bash-completion/completions/waitpid
|
2023-03-14 11:02:52 +01:00
|
|
|
%exclude %{_datadir}/bash-completion/completions/wdctl
|
|
|
|
%exclude %{_datadir}/bash-completion/completions/whereis
|
|
|
|
%exclude %{_datadir}/bash-completion/completions/wipefs
|
|
|
|
%exclude %{_datadir}/bash-completion/completions/zramctl
|
|
|
|
|
|
|
|
%{_datadir}/bash-completion/completions/findmnt
|
|
|
|
%{_datadir}/bash-completion/completions/logger
|
|
|
|
%{_datadir}/bash-completion/completions/lsblk
|
|
|
|
%{_datadir}/bash-completion/completions/lslogins
|
|
|
|
|
|
|
|
# uuidd sub-package
|
2023-01-06 10:29:09 +01:00
|
|
|
%exclude %{_sbindir}/uuidd
|
|
|
|
%exclude %{_datadir}/bash-completion/completions/uuidd
|
2023-03-14 11:02:52 +01:00
|
|
|
|
2023-01-06 10:29:09 +01:00
|
|
|
%exclude %{_datadir}/locale
|
|
|
|
%exclude %{_includedir}/*
|
|
|
|
%exclude %{_libdir}/lib*.*
|
|
|
|
%exclude %{_libdir}/pkgconfig/*.pc
|
|
|
|
%exclude %{_docdir}/%{name}/getopt-example.*
|
|
|
|
# packaged in core step
|
|
|
|
%exclude %{_mandir}/man3/libblkid.3.gz
|
|
|
|
%exclude %{_mandir}/man3/uuid.3.gz
|
|
|
|
%exclude %{_mandir}/man3/uuid_*.3.gz
|
2023-02-13 09:44:32 +01:00
|
|
|
|
2023-03-14 11:02:52 +01:00
|
|
|
# exclude setarch from systemd package
|
|
|
|
%exclude %{_bindir}/linux32
|
|
|
|
%exclude %{_bindir}/linux64
|
|
|
|
%exclude %{_bindir}/s390
|
|
|
|
%exclude %{_bindir}/s390x
|
|
|
|
%exclude %{_bindir}/i386
|
|
|
|
%exclude %{_bindir}/ppc
|
|
|
|
%exclude %{_bindir}/ppc64
|
|
|
|
%exclude %{_bindir}/ppc32
|
|
|
|
%exclude %{_bindir}/sparc
|
|
|
|
%exclude %{_bindir}/sparc64
|
|
|
|
%exclude %{_bindir}/sparc32
|
|
|
|
%exclude %{_bindir}/sparc32bash
|
|
|
|
%exclude %{_bindir}/mips
|
|
|
|
%exclude %{_bindir}/mips64
|
|
|
|
%exclude %{_bindir}/mips32
|
|
|
|
%exclude %{_bindir}/ia64
|
|
|
|
%exclude %{_bindir}/x86_64
|
|
|
|
%exclude %{_bindir}/parisc
|
|
|
|
%exclude %{_bindir}/parisc32
|
|
|
|
%exclude %{_bindir}/parisc64
|
|
|
|
%exclude %{_bindir}/uname26
|
|
|
|
|
|
|
|
%exclude %{_mandir}/man8/linux32.8.gz
|
|
|
|
%exclude %{_mandir}/man8/linux64.8.gz
|
|
|
|
%exclude %{_mandir}/man8/s390.8.gz
|
|
|
|
%exclude %{_mandir}/man8/s390x.8.gz
|
|
|
|
%exclude %{_mandir}/man8/i386.8.gz
|
|
|
|
%exclude %{_mandir}/man8/ppc.8.gz
|
|
|
|
%exclude %{_mandir}/man8/ppc64.8.gz
|
|
|
|
%exclude %{_mandir}/man8/ppc32.8.gz
|
|
|
|
%exclude %{_mandir}/man8/sparc.8.gz
|
|
|
|
%exclude %{_mandir}/man8/sparc64.8.gz
|
|
|
|
%exclude %{_mandir}/man8/sparc32.8.gz
|
|
|
|
%exclude %{_mandir}/man8/sparc32bash.8.gz
|
|
|
|
%exclude %{_mandir}/man8/mips.8.gz
|
|
|
|
%exclude %{_mandir}/man8/mips64.8.gz
|
|
|
|
%exclude %{_mandir}/man8/mips32.8.gz
|
|
|
|
%exclude %{_mandir}/man8/ia64.8.gz
|
|
|
|
%exclude %{_mandir}/man8/x86_64.8.gz
|
|
|
|
%exclude %{_mandir}/man8/parisc.8.gz
|
|
|
|
%exclude %{_mandir}/man8/parisc32.8.gz
|
|
|
|
%exclude %{_mandir}/man8/parisc64.8.gz
|
|
|
|
%exclude %{_mandir}/man8/uname26.8.gz
|
2023-02-13 09:44:32 +01:00
|
|
|
|
2023-01-06 10:29:09 +01:00
|
|
|
%{_sbindir}/rcfstrim
|
2022-09-01 20:34:07 +02:00
|
|
|
%{_unitdir}/fstrim.service
|
|
|
|
%{_unitdir}/fstrim.timer
|
|
|
|
%endif
|
2023-02-13 09:44:32 +01:00
|
|
|
# ulsubset systemd
|
2022-09-01 20:34:07 +02:00
|
|
|
|
2023-02-13 09:44:32 +01:00
|
|
|
#######################
|
|
|
|
# Core packages files #
|
|
|
|
#######################
|
2022-12-09 00:16:30 +01:00
|
|
|
%if "%ulsubset" == "core"
|
2024-05-07 10:28:01 +02:00
|
|
|
%ifarch s390 s390x ia64 m68k sparc
|
|
|
|
%files -n util-linux-extra
|
|
|
|
#
|
|
|
|
# Files not common for all architectures
|
|
|
|
%ifarch ia64 m68k
|
|
|
|
|
|
|
|
%if %{ul_extra_bin_sbin}
|
|
|
|
%core /sbin/fdisk
|
|
|
|
%endif
|
|
|
|
# ul_extra_bin_sbin
|
|
|
|
|
|
|
|
%core %{_sbindir}/fdisk
|
|
|
|
%core %{_mandir}/man8/fdisk.8.gz
|
|
|
|
%endif
|
|
|
|
# arch ia64 m68k
|
|
|
|
|
|
|
|
%ifarch %sparc ia64 m68k
|
|
|
|
%core %{_mandir}/man8/cfdisk.8.gz
|
|
|
|
%core %{_mandir}/man8/sfdisk.8.gz
|
|
|
|
|
|
|
|
%if %{ul_extra_bin_sbin}
|
|
|
|
%core /sbin/cfdisk
|
|
|
|
%core /sbin/sfdisk
|
|
|
|
%endif
|
|
|
|
# ul_extra_bin_sbin
|
|
|
|
|
|
|
|
%core %{_sbindir}/cfdisk
|
|
|
|
%core %{_sbindir}/sfdisk
|
|
|
|
%endif
|
|
|
|
# arch sparc ia64 m68k
|
|
|
|
|
|
|
|
%ifarch s390 s390x
|
|
|
|
%core %{_sbindir}/fdformat
|
|
|
|
|
|
|
|
%if %{ul_extra_bin_sbin}
|
|
|
|
%core /sbin/hwclock
|
|
|
|
%endif
|
|
|
|
# ul_extra_bin_sbin
|
|
|
|
|
|
|
|
%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
|
|
|
|
# arch s390
|
|
|
|
%endif
|
|
|
|
# arch s390 s390x ia64 m68k sparc
|
|
|
|
|
2021-01-18 11:29:39 +01:00
|
|
|
%files -n libblkid1
|
2023-01-06 10:29:09 +01:00
|
|
|
%{_libdir}/libblkid.so.1
|
|
|
|
%{_libdir}/libblkid.so.1.*
|
2009-07-03 17:12:19 +02:00
|
|
|
|
2022-09-01 20:34:07 +02:00
|
|
|
%files -n libfdisk1
|
2023-01-06 10:29:09 +01:00
|
|
|
%{_libdir}/libfdisk.so.1
|
|
|
|
%{_libdir}/libfdisk.so.1.*
|
2014-07-25 09:31:27 +02:00
|
|
|
|
2021-01-18 11:29:39 +01:00
|
|
|
%files -n libmount1
|
2023-01-06 10:29:09 +01:00
|
|
|
%{_libdir}/libmount.so.1
|
|
|
|
%{_libdir}/libmount.so.1.*
|
2010-07-30 12:35:45 +02:00
|
|
|
|
2022-09-01 20:34:07 +02:00
|
|
|
%files -n libsmartcols1
|
2023-01-06 10:29:09 +01:00
|
|
|
%{_libdir}/libsmartcols.so.1
|
|
|
|
%{_libdir}/libsmartcols.so.1.*
|
2010-07-30 12:35:45 +02:00
|
|
|
|
2022-09-01 20:34:07 +02:00
|
|
|
%files -n libuuid1
|
2023-01-06 10:29:09 +01:00
|
|
|
%{_libdir}/libuuid.so.1
|
|
|
|
%{_libdir}/libuuid.so.1.*
|
2014-07-25 09:31:27 +02:00
|
|
|
|
2022-09-01 20:34:07 +02:00
|
|
|
# devel, lang and uuidd files are not packaged in staging mode
|
|
|
|
# and packaged separately in full mode
|
2022-12-09 00:16:30 +01:00
|
|
|
# FIXME: Is it needed?
|
2022-09-01 20:34:07 +02:00
|
|
|
# HACK: We have to use "%%files -n" here, otherwise python lua code will
|
|
|
|
# issue an error, even if it is inside a false condition.
|
|
|
|
%files -n %{name}-lang -f %{name}.lang
|
Accepting request 244468 from home:sbrabec:branches:Base:System
This update needs a special care:
1)
After first successful build on all platforms, "osc meta prjconf Base:System" must include:
%if 0%{?suse_version} > 1310
Preinstall: libsmartcols1
%endif
2)
You also need to make symlinks to util-linux-systemd and python-libmount.
And finally, this package is intended only for > 1310 (i. e. Factory).
3)
The spec file can have problems with (buggy) Factory check-in check:
ERROR: python-libmount: group for main package not set
There is false error and I have no work-around for this just now.
(If you want, please ping me (by mail) after package review, and I'll do all needed changes.)
- Update to version 2.25
(using work of Ruediger Meier <sweet_f_a@gmx.de>):
* based on the git master branch of util-linux
* many fixes (including bnc#869355, bnc#871951 and
bnc#871698#c49)
* new Python binding sub-package for libmount: python-libmount
* new library: libsmartcols
* new commands: lslogins, setpriv
* add fstrim systemd timer
* better systemd integration
* DROPPED command:
* cytune: Upstream decided to remove tool untested for years
that supports this old hardware.
- Dropped patches included in the upstream:
(*git) Included with no changes
(+git) Included with improvements
(!git) Included with differences
* support-other-tty-lines-not-vconsole.patch (*b9c7390)
* agetty-fooled-on-serial-line-due-plymouth.patch,
* sulogin-fooled-on-tty-line-due-plymouth.patch (*bb280f7)
* agetty-on-s390-on-dev-3270-tty1-line.patch (*f2bcda5)
* sulogin-does-not-find-any-console.patch (*624b204)
* util-linux-setarch-uname26.patch (*f6eb160)
* util-linux-ng-2.16-squashfs3-detect.patch (*11402f5)
* util-linux-lscpu-improve-hypervisor-detection.patch
(!b774473, b32488c, 5bd31c6, 0f0c558, 96ce475)
WARNING, INCOMPATIBLE CHANGE: "lscpu -p" no more reports
hypervisor, as it breaks standard behavior. Use standard output
instead! (FATE#310255)
* blkid-stop-scanning-on-I-O-error.patch (+296d96e)
* blkid-convert-superblocks-to-new-calling-convention.patch
(+37f4060)
* util-linux-libblkid-ext-probe.patch (*a1ca32f)
* util-linux-hwclock-drift-check.patch (*f196fd1)
* util-linux-hwclock-adjtime-check.patch (*db8fc5f)
- Dropped obsolete patch:
* util-linux-2.23.1-eject-fpie.patch (eject is no more SUID)
* util-linux-2.24-fdisk_remove_bogus_warnings.patch
(upstream fixed it in a different way)
* util-linux-HACK-boot.localfs.diff
(MOUNT_PRINT_SOURCE is no more referenced)
- Ported and renamed:
* util-linux-2.23.1-noenc-suse.diff
-> util-linux-noenc-suse.patch
- Split spec file to three stages:
* util-linux.spec: Everything that do not need python or systemd.
* util-linux-systemd.spec: Stuff that needs systemd:
util-linux-systemd and uuidd
NOTE: Not building systemd-less variants of utilities.
* python-libmount.spec: Just python-libmount
- Move bash-completion files to correct packages.
- Add patch util-linux-bash-completion-blockdev.patch.
- Add hacks to prevent damaging of spec files by format_spec_file
(bnc#891152, also edited util-linux-rpmlintrc).
- use nologin from upstream (was added in 2.24)
OBS-URL: https://build.opensuse.org/request/show/244468
OBS-URL: https://build.opensuse.org/package/show/Base:System/util-linux?expand=0&rev=248
2014-08-21 11:54:57 +02:00
|
|
|
|
2022-09-01 20:34:07 +02:00
|
|
|
%files -n libblkid-devel
|
2023-01-06 10:29:09 +01:00
|
|
|
%{_libdir}/libblkid.so
|
|
|
|
%dir %{_includedir}/blkid
|
|
|
|
%{_includedir}/blkid/blkid.h
|
|
|
|
%{_libdir}/pkgconfig/blkid.pc
|
|
|
|
%{_mandir}/man3/libblkid.3.gz
|
Accepting request 244468 from home:sbrabec:branches:Base:System
This update needs a special care:
1)
After first successful build on all platforms, "osc meta prjconf Base:System" must include:
%if 0%{?suse_version} > 1310
Preinstall: libsmartcols1
%endif
2)
You also need to make symlinks to util-linux-systemd and python-libmount.
And finally, this package is intended only for > 1310 (i. e. Factory).
3)
The spec file can have problems with (buggy) Factory check-in check:
ERROR: python-libmount: group for main package not set
There is false error and I have no work-around for this just now.
(If you want, please ping me (by mail) after package review, and I'll do all needed changes.)
- Update to version 2.25
(using work of Ruediger Meier <sweet_f_a@gmx.de>):
* based on the git master branch of util-linux
* many fixes (including bnc#869355, bnc#871951 and
bnc#871698#c49)
* new Python binding sub-package for libmount: python-libmount
* new library: libsmartcols
* new commands: lslogins, setpriv
* add fstrim systemd timer
* better systemd integration
* DROPPED command:
* cytune: Upstream decided to remove tool untested for years
that supports this old hardware.
- Dropped patches included in the upstream:
(*git) Included with no changes
(+git) Included with improvements
(!git) Included with differences
* support-other-tty-lines-not-vconsole.patch (*b9c7390)
* agetty-fooled-on-serial-line-due-plymouth.patch,
* sulogin-fooled-on-tty-line-due-plymouth.patch (*bb280f7)
* agetty-on-s390-on-dev-3270-tty1-line.patch (*f2bcda5)
* sulogin-does-not-find-any-console.patch (*624b204)
* util-linux-setarch-uname26.patch (*f6eb160)
* util-linux-ng-2.16-squashfs3-detect.patch (*11402f5)
* util-linux-lscpu-improve-hypervisor-detection.patch
(!b774473, b32488c, 5bd31c6, 0f0c558, 96ce475)
WARNING, INCOMPATIBLE CHANGE: "lscpu -p" no more reports
hypervisor, as it breaks standard behavior. Use standard output
instead! (FATE#310255)
* blkid-stop-scanning-on-I-O-error.patch (+296d96e)
* blkid-convert-superblocks-to-new-calling-convention.patch
(+37f4060)
* util-linux-libblkid-ext-probe.patch (*a1ca32f)
* util-linux-hwclock-drift-check.patch (*f196fd1)
* util-linux-hwclock-adjtime-check.patch (*db8fc5f)
- Dropped obsolete patch:
* util-linux-2.23.1-eject-fpie.patch (eject is no more SUID)
* util-linux-2.24-fdisk_remove_bogus_warnings.patch
(upstream fixed it in a different way)
* util-linux-HACK-boot.localfs.diff
(MOUNT_PRINT_SOURCE is no more referenced)
- Ported and renamed:
* util-linux-2.23.1-noenc-suse.diff
-> util-linux-noenc-suse.patch
- Split spec file to three stages:
* util-linux.spec: Everything that do not need python or systemd.
* util-linux-systemd.spec: Stuff that needs systemd:
util-linux-systemd and uuidd
NOTE: Not building systemd-less variants of utilities.
* python-libmount.spec: Just python-libmount
- Move bash-completion files to correct packages.
- Add patch util-linux-bash-completion-blockdev.patch.
- Add hacks to prevent damaging of spec files by format_spec_file
(bnc#891152, also edited util-linux-rpmlintrc).
- use nologin from upstream (was added in 2.24)
OBS-URL: https://build.opensuse.org/request/show/244468
OBS-URL: https://build.opensuse.org/package/show/Base:System/util-linux?expand=0&rev=248
2014-08-21 11:54:57 +02:00
|
|
|
|
2022-09-01 20:34:07 +02:00
|
|
|
%files -n libblkid-devel-static
|
2023-01-06 10:29:09 +01:00
|
|
|
%{_libdir}/libblkid.*a
|
2009-07-03 17:12:19 +02:00
|
|
|
|
2022-09-01 20:34:07 +02:00
|
|
|
%files -n libfdisk-devel
|
2023-01-06 10:29:09 +01:00
|
|
|
%{_libdir}/libfdisk.so
|
|
|
|
%dir %{_includedir}/libfdisk
|
|
|
|
%{_includedir}/libfdisk/libfdisk.h
|
|
|
|
%{_libdir}/pkgconfig/fdisk.pc
|
2009-07-03 17:12:19 +02:00
|
|
|
|
2022-09-01 20:34:07 +02:00
|
|
|
%files -n libfdisk-devel-static
|
2023-01-06 10:29:09 +01:00
|
|
|
%{_libdir}/libfdisk.*a
|
2009-07-03 17:12:19 +02:00
|
|
|
|
2022-09-01 20:34:07 +02:00
|
|
|
%files -n libmount-devel
|
2023-01-06 10:29:09 +01:00
|
|
|
%{_libdir}/libmount.so
|
|
|
|
%dir %{_includedir}/libmount
|
|
|
|
%{_includedir}/libmount/libmount.h
|
|
|
|
%{_libdir}/pkgconfig/mount.pc
|
2015-02-26 17:53:58 +01:00
|
|
|
|
2022-09-01 20:34:07 +02:00
|
|
|
%files -n libmount-devel-static
|
2023-01-06 10:29:09 +01:00
|
|
|
%{_libdir}/libmount.*a
|
2015-02-26 17:53:58 +01:00
|
|
|
|
2022-09-01 20:34:07 +02:00
|
|
|
%files -n libsmartcols-devel
|
2023-01-06 10:29:09 +01:00
|
|
|
%{_libdir}/libsmartcols.so
|
|
|
|
%dir %{_includedir}/libsmartcols
|
|
|
|
%{_includedir}/libsmartcols/libsmartcols.h
|
|
|
|
%{_libdir}/pkgconfig/smartcols.pc
|
2015-02-26 17:53:58 +01:00
|
|
|
|
2022-09-01 20:34:07 +02:00
|
|
|
%files -n libsmartcols-devel-static
|
2023-01-06 10:29:09 +01:00
|
|
|
%{_libdir}/libsmartcols.*a
|
Accepting request 244468 from home:sbrabec:branches:Base:System
This update needs a special care:
1)
After first successful build on all platforms, "osc meta prjconf Base:System" must include:
%if 0%{?suse_version} > 1310
Preinstall: libsmartcols1
%endif
2)
You also need to make symlinks to util-linux-systemd and python-libmount.
And finally, this package is intended only for > 1310 (i. e. Factory).
3)
The spec file can have problems with (buggy) Factory check-in check:
ERROR: python-libmount: group for main package not set
There is false error and I have no work-around for this just now.
(If you want, please ping me (by mail) after package review, and I'll do all needed changes.)
- Update to version 2.25
(using work of Ruediger Meier <sweet_f_a@gmx.de>):
* based on the git master branch of util-linux
* many fixes (including bnc#869355, bnc#871951 and
bnc#871698#c49)
* new Python binding sub-package for libmount: python-libmount
* new library: libsmartcols
* new commands: lslogins, setpriv
* add fstrim systemd timer
* better systemd integration
* DROPPED command:
* cytune: Upstream decided to remove tool untested for years
that supports this old hardware.
- Dropped patches included in the upstream:
(*git) Included with no changes
(+git) Included with improvements
(!git) Included with differences
* support-other-tty-lines-not-vconsole.patch (*b9c7390)
* agetty-fooled-on-serial-line-due-plymouth.patch,
* sulogin-fooled-on-tty-line-due-plymouth.patch (*bb280f7)
* agetty-on-s390-on-dev-3270-tty1-line.patch (*f2bcda5)
* sulogin-does-not-find-any-console.patch (*624b204)
* util-linux-setarch-uname26.patch (*f6eb160)
* util-linux-ng-2.16-squashfs3-detect.patch (*11402f5)
* util-linux-lscpu-improve-hypervisor-detection.patch
(!b774473, b32488c, 5bd31c6, 0f0c558, 96ce475)
WARNING, INCOMPATIBLE CHANGE: "lscpu -p" no more reports
hypervisor, as it breaks standard behavior. Use standard output
instead! (FATE#310255)
* blkid-stop-scanning-on-I-O-error.patch (+296d96e)
* blkid-convert-superblocks-to-new-calling-convention.patch
(+37f4060)
* util-linux-libblkid-ext-probe.patch (*a1ca32f)
* util-linux-hwclock-drift-check.patch (*f196fd1)
* util-linux-hwclock-adjtime-check.patch (*db8fc5f)
- Dropped obsolete patch:
* util-linux-2.23.1-eject-fpie.patch (eject is no more SUID)
* util-linux-2.24-fdisk_remove_bogus_warnings.patch
(upstream fixed it in a different way)
* util-linux-HACK-boot.localfs.diff
(MOUNT_PRINT_SOURCE is no more referenced)
- Ported and renamed:
* util-linux-2.23.1-noenc-suse.diff
-> util-linux-noenc-suse.patch
- Split spec file to three stages:
* util-linux.spec: Everything that do not need python or systemd.
* util-linux-systemd.spec: Stuff that needs systemd:
util-linux-systemd and uuidd
NOTE: Not building systemd-less variants of utilities.
* python-libmount.spec: Just python-libmount
- Move bash-completion files to correct packages.
- Add patch util-linux-bash-completion-blockdev.patch.
- Add hacks to prevent damaging of spec files by format_spec_file
(bnc#891152, also edited util-linux-rpmlintrc).
- use nologin from upstream (was added in 2.24)
OBS-URL: https://build.opensuse.org/request/show/244468
OBS-URL: https://build.opensuse.org/package/show/Base:System/util-linux?expand=0&rev=248
2014-08-21 11:54:57 +02:00
|
|
|
|
2022-09-01 20:34:07 +02:00
|
|
|
%files -n libuuid-devel
|
2023-01-06 10:29:09 +01:00
|
|
|
%{_libdir}/libuuid.so
|
|
|
|
%dir %{_includedir}/uuid
|
|
|
|
%{_includedir}/uuid/uuid.h
|
|
|
|
%{_libdir}/pkgconfig/uuid.pc
|
|
|
|
%{_mandir}/man3/uuid*
|
2021-06-04 12:46:54 +02:00
|
|
|
|
2022-09-01 20:34:07 +02:00
|
|
|
%files -n libuuid-devel-static
|
2023-01-06 10:29:09 +01:00
|
|
|
%{_libdir}/libuuid.*a
|
2022-12-09 00:16:30 +01:00
|
|
|
%endif
|
2023-02-13 09:44:32 +01:00
|
|
|
# ulsubset == core
|
2021-01-18 11:29:39 +01:00
|
|
|
|
2023-02-13 09:44:32 +01:00
|
|
|
##########################
|
|
|
|
# Systemd packages files #
|
|
|
|
##########################
|
2022-12-09 00:16:30 +01:00
|
|
|
%if "%ulsubset" == "systemd"
|
2021-01-18 11:29:39 +01:00
|
|
|
%files -n uuidd
|
2023-01-06 10:29:09 +01:00
|
|
|
%{_sbindir}/uuidd
|
2022-09-01 20:34:07 +02:00
|
|
|
%attr(-,uuidd,uuidd) %dir %{_sharedstatedir}/libuuid
|
|
|
|
%attr(-,uuidd,uuidd) %ghost %{_sharedstatedir}/libuuid/clock.txt
|
Accepting request 244468 from home:sbrabec:branches:Base:System
This update needs a special care:
1)
After first successful build on all platforms, "osc meta prjconf Base:System" must include:
%if 0%{?suse_version} > 1310
Preinstall: libsmartcols1
%endif
2)
You also need to make symlinks to util-linux-systemd and python-libmount.
And finally, this package is intended only for > 1310 (i. e. Factory).
3)
The spec file can have problems with (buggy) Factory check-in check:
ERROR: python-libmount: group for main package not set
There is false error and I have no work-around for this just now.
(If you want, please ping me (by mail) after package review, and I'll do all needed changes.)
- Update to version 2.25
(using work of Ruediger Meier <sweet_f_a@gmx.de>):
* based on the git master branch of util-linux
* many fixes (including bnc#869355, bnc#871951 and
bnc#871698#c49)
* new Python binding sub-package for libmount: python-libmount
* new library: libsmartcols
* new commands: lslogins, setpriv
* add fstrim systemd timer
* better systemd integration
* DROPPED command:
* cytune: Upstream decided to remove tool untested for years
that supports this old hardware.
- Dropped patches included in the upstream:
(*git) Included with no changes
(+git) Included with improvements
(!git) Included with differences
* support-other-tty-lines-not-vconsole.patch (*b9c7390)
* agetty-fooled-on-serial-line-due-plymouth.patch,
* sulogin-fooled-on-tty-line-due-plymouth.patch (*bb280f7)
* agetty-on-s390-on-dev-3270-tty1-line.patch (*f2bcda5)
* sulogin-does-not-find-any-console.patch (*624b204)
* util-linux-setarch-uname26.patch (*f6eb160)
* util-linux-ng-2.16-squashfs3-detect.patch (*11402f5)
* util-linux-lscpu-improve-hypervisor-detection.patch
(!b774473, b32488c, 5bd31c6, 0f0c558, 96ce475)
WARNING, INCOMPATIBLE CHANGE: "lscpu -p" no more reports
hypervisor, as it breaks standard behavior. Use standard output
instead! (FATE#310255)
* blkid-stop-scanning-on-I-O-error.patch (+296d96e)
* blkid-convert-superblocks-to-new-calling-convention.patch
(+37f4060)
* util-linux-libblkid-ext-probe.patch (*a1ca32f)
* util-linux-hwclock-drift-check.patch (*f196fd1)
* util-linux-hwclock-adjtime-check.patch (*db8fc5f)
- Dropped obsolete patch:
* util-linux-2.23.1-eject-fpie.patch (eject is no more SUID)
* util-linux-2.24-fdisk_remove_bogus_warnings.patch
(upstream fixed it in a different way)
* util-linux-HACK-boot.localfs.diff
(MOUNT_PRINT_SOURCE is no more referenced)
- Ported and renamed:
* util-linux-2.23.1-noenc-suse.diff
-> util-linux-noenc-suse.patch
- Split spec file to three stages:
* util-linux.spec: Everything that do not need python or systemd.
* util-linux-systemd.spec: Stuff that needs systemd:
util-linux-systemd and uuidd
NOTE: Not building systemd-less variants of utilities.
* python-libmount.spec: Just python-libmount
- Move bash-completion files to correct packages.
- Add patch util-linux-bash-completion-blockdev.patch.
- Add hacks to prevent damaging of spec files by format_spec_file
(bnc#891152, also edited util-linux-rpmlintrc).
- use nologin from upstream (was added in 2.24)
OBS-URL: https://build.opensuse.org/request/show/244468
OBS-URL: https://build.opensuse.org/package/show/Base:System/util-linux?expand=0&rev=248
2014-08-21 11:54:57 +02:00
|
|
|
%attr(-,uuidd,uuidd) %ghost %dir /run/uuidd
|
2023-01-06 10:29:09 +01:00
|
|
|
%{_datadir}/bash-completion/completions/uuidd
|
|
|
|
%{_mandir}/man8/uuidd.8.gz
|
|
|
|
%{_sbindir}/rcuuidd
|
Accepting request 244468 from home:sbrabec:branches:Base:System
This update needs a special care:
1)
After first successful build on all platforms, "osc meta prjconf Base:System" must include:
%if 0%{?suse_version} > 1310
Preinstall: libsmartcols1
%endif
2)
You also need to make symlinks to util-linux-systemd and python-libmount.
And finally, this package is intended only for > 1310 (i. e. Factory).
3)
The spec file can have problems with (buggy) Factory check-in check:
ERROR: python-libmount: group for main package not set
There is false error and I have no work-around for this just now.
(If you want, please ping me (by mail) after package review, and I'll do all needed changes.)
- Update to version 2.25
(using work of Ruediger Meier <sweet_f_a@gmx.de>):
* based on the git master branch of util-linux
* many fixes (including bnc#869355, bnc#871951 and
bnc#871698#c49)
* new Python binding sub-package for libmount: python-libmount
* new library: libsmartcols
* new commands: lslogins, setpriv
* add fstrim systemd timer
* better systemd integration
* DROPPED command:
* cytune: Upstream decided to remove tool untested for years
that supports this old hardware.
- Dropped patches included in the upstream:
(*git) Included with no changes
(+git) Included with improvements
(!git) Included with differences
* support-other-tty-lines-not-vconsole.patch (*b9c7390)
* agetty-fooled-on-serial-line-due-plymouth.patch,
* sulogin-fooled-on-tty-line-due-plymouth.patch (*bb280f7)
* agetty-on-s390-on-dev-3270-tty1-line.patch (*f2bcda5)
* sulogin-does-not-find-any-console.patch (*624b204)
* util-linux-setarch-uname26.patch (*f6eb160)
* util-linux-ng-2.16-squashfs3-detect.patch (*11402f5)
* util-linux-lscpu-improve-hypervisor-detection.patch
(!b774473, b32488c, 5bd31c6, 0f0c558, 96ce475)
WARNING, INCOMPATIBLE CHANGE: "lscpu -p" no more reports
hypervisor, as it breaks standard behavior. Use standard output
instead! (FATE#310255)
* blkid-stop-scanning-on-I-O-error.patch (+296d96e)
* blkid-convert-superblocks-to-new-calling-convention.patch
(+37f4060)
* util-linux-libblkid-ext-probe.patch (*a1ca32f)
* util-linux-hwclock-drift-check.patch (*f196fd1)
* util-linux-hwclock-adjtime-check.patch (*db8fc5f)
- Dropped obsolete patch:
* util-linux-2.23.1-eject-fpie.patch (eject is no more SUID)
* util-linux-2.24-fdisk_remove_bogus_warnings.patch
(upstream fixed it in a different way)
* util-linux-HACK-boot.localfs.diff
(MOUNT_PRINT_SOURCE is no more referenced)
- Ported and renamed:
* util-linux-2.23.1-noenc-suse.diff
-> util-linux-noenc-suse.patch
- Split spec file to three stages:
* util-linux.spec: Everything that do not need python or systemd.
* util-linux-systemd.spec: Stuff that needs systemd:
util-linux-systemd and uuidd
NOTE: Not building systemd-less variants of utilities.
* python-libmount.spec: Just python-libmount
- Move bash-completion files to correct packages.
- Add patch util-linux-bash-completion-blockdev.patch.
- Add hacks to prevent damaging of spec files by format_spec_file
(bnc#891152, also edited util-linux-rpmlintrc).
- use nologin from upstream (was added in 2.24)
OBS-URL: https://build.opensuse.org/request/show/244468
OBS-URL: https://build.opensuse.org/package/show/Base:System/util-linux?expand=0&rev=248
2014-08-21 11:54:57 +02:00
|
|
|
%{_unitdir}/uuidd.service
|
|
|
|
%{_unitdir}/uuidd.socket
|
2023-06-14 02:59:17 +02:00
|
|
|
|
|
|
|
%files -n util-linux-tty-tools
|
|
|
|
%{_bindir}/mesg
|
|
|
|
%verify(not mode) %attr(0755,root,tty) %{_bindir}/wall
|
|
|
|
%verify(not mode) %attr(0755,root,tty) %{_bindir}/write
|
|
|
|
%{_mandir}/man1/mesg.1.gz
|
|
|
|
%{_mandir}/man1/wall.1.gz
|
|
|
|
%{_mandir}/man1/write.1.gz
|
|
|
|
|
|
|
|
%{_datadir}/bash-completion/completions/wall
|
|
|
|
%{_datadir}/bash-completion/completions/write
|
|
|
|
%{_datadir}/bash-completion/completions/mesg
|
|
|
|
|
2024-04-08 14:51:13 +02:00
|
|
|
%files -n lastlog2
|
|
|
|
%{_bindir}/lastlog2
|
|
|
|
%{_pam_moduledir}/pam_lastlog2.so
|
|
|
|
%{_mandir}/man8/lastlog2.8.gz
|
|
|
|
%{_mandir}/man8/pam_lastlog2.8.gz
|
|
|
|
%{_unitdir}/lastlog2-import.service
|
|
|
|
%{_tmpfilesdir}/lastlog2.conf
|
|
|
|
%{_datadir}/bash-completion/completions/lastlog2
|
|
|
|
|
2024-04-05 00:34:28 +02:00
|
|
|
%files -n liblastlog2-2
|
|
|
|
%{_libdir}/liblastlog2.so.2
|
|
|
|
%{_libdir}/liblastlog2.so.2.*
|
|
|
|
|
|
|
|
%files -n liblastlog2-devel
|
|
|
|
%{_libdir}/liblastlog2.so
|
2024-04-05 12:33:55 +02:00
|
|
|
%dir %{_includedir}/liblastlog2
|
|
|
|
%{_includedir}/liblastlog2/lastlog2.h
|
2024-04-05 00:34:28 +02:00
|
|
|
%{_mandir}/man3/lastlog2.3.gz
|
|
|
|
%{_mandir}/man3/ll2_*
|
|
|
|
|
Accepting request 244468 from home:sbrabec:branches:Base:System
This update needs a special care:
1)
After first successful build on all platforms, "osc meta prjconf Base:System" must include:
%if 0%{?suse_version} > 1310
Preinstall: libsmartcols1
%endif
2)
You also need to make symlinks to util-linux-systemd and python-libmount.
And finally, this package is intended only for > 1310 (i. e. Factory).
3)
The spec file can have problems with (buggy) Factory check-in check:
ERROR: python-libmount: group for main package not set
There is false error and I have no work-around for this just now.
(If you want, please ping me (by mail) after package review, and I'll do all needed changes.)
- Update to version 2.25
(using work of Ruediger Meier <sweet_f_a@gmx.de>):
* based on the git master branch of util-linux
* many fixes (including bnc#869355, bnc#871951 and
bnc#871698#c49)
* new Python binding sub-package for libmount: python-libmount
* new library: libsmartcols
* new commands: lslogins, setpriv
* add fstrim systemd timer
* better systemd integration
* DROPPED command:
* cytune: Upstream decided to remove tool untested for years
that supports this old hardware.
- Dropped patches included in the upstream:
(*git) Included with no changes
(+git) Included with improvements
(!git) Included with differences
* support-other-tty-lines-not-vconsole.patch (*b9c7390)
* agetty-fooled-on-serial-line-due-plymouth.patch,
* sulogin-fooled-on-tty-line-due-plymouth.patch (*bb280f7)
* agetty-on-s390-on-dev-3270-tty1-line.patch (*f2bcda5)
* sulogin-does-not-find-any-console.patch (*624b204)
* util-linux-setarch-uname26.patch (*f6eb160)
* util-linux-ng-2.16-squashfs3-detect.patch (*11402f5)
* util-linux-lscpu-improve-hypervisor-detection.patch
(!b774473, b32488c, 5bd31c6, 0f0c558, 96ce475)
WARNING, INCOMPATIBLE CHANGE: "lscpu -p" no more reports
hypervisor, as it breaks standard behavior. Use standard output
instead! (FATE#310255)
* blkid-stop-scanning-on-I-O-error.patch (+296d96e)
* blkid-convert-superblocks-to-new-calling-convention.patch
(+37f4060)
* util-linux-libblkid-ext-probe.patch (*a1ca32f)
* util-linux-hwclock-drift-check.patch (*f196fd1)
* util-linux-hwclock-adjtime-check.patch (*db8fc5f)
- Dropped obsolete patch:
* util-linux-2.23.1-eject-fpie.patch (eject is no more SUID)
* util-linux-2.24-fdisk_remove_bogus_warnings.patch
(upstream fixed it in a different way)
* util-linux-HACK-boot.localfs.diff
(MOUNT_PRINT_SOURCE is no more referenced)
- Ported and renamed:
* util-linux-2.23.1-noenc-suse.diff
-> util-linux-noenc-suse.patch
- Split spec file to three stages:
* util-linux.spec: Everything that do not need python or systemd.
* util-linux-systemd.spec: Stuff that needs systemd:
util-linux-systemd and uuidd
NOTE: Not building systemd-less variants of utilities.
* python-libmount.spec: Just python-libmount
- Move bash-completion files to correct packages.
- Add patch util-linux-bash-completion-blockdev.patch.
- Add hacks to prevent damaging of spec files by format_spec_file
(bnc#891152, also edited util-linux-rpmlintrc).
- use nologin from upstream (was added in 2.24)
OBS-URL: https://build.opensuse.org/request/show/244468
OBS-URL: https://build.opensuse.org/package/show/Base:System/util-linux?expand=0&rev=248
2014-08-21 11:54:57 +02:00
|
|
|
%endif
|
2023-02-13 09:44:32 +01:00
|
|
|
# ulsubset == systemd
|
|
|
|
|
2021-01-18 11:29:39 +01:00
|
|
|
%endif
|
2023-02-13 09:44:32 +01:00
|
|
|
# ulbuild == base
|
2022-09-01 20:34:07 +02:00
|
|
|
|
2023-02-13 09:44:32 +01:00
|
|
|
################
|
|
|
|
# Python files #
|
|
|
|
################
|
2022-09-01 20:34:07 +02:00
|
|
|
%if "%ulbuild" == "python"
|
|
|
|
%files %{python_files}
|
|
|
|
%{python_sitearch}/libmount
|
Accepting request 244468 from home:sbrabec:branches:Base:System
This update needs a special care:
1)
After first successful build on all platforms, "osc meta prjconf Base:System" must include:
%if 0%{?suse_version} > 1310
Preinstall: libsmartcols1
%endif
2)
You also need to make symlinks to util-linux-systemd and python-libmount.
And finally, this package is intended only for > 1310 (i. e. Factory).
3)
The spec file can have problems with (buggy) Factory check-in check:
ERROR: python-libmount: group for main package not set
There is false error and I have no work-around for this just now.
(If you want, please ping me (by mail) after package review, and I'll do all needed changes.)
- Update to version 2.25
(using work of Ruediger Meier <sweet_f_a@gmx.de>):
* based on the git master branch of util-linux
* many fixes (including bnc#869355, bnc#871951 and
bnc#871698#c49)
* new Python binding sub-package for libmount: python-libmount
* new library: libsmartcols
* new commands: lslogins, setpriv
* add fstrim systemd timer
* better systemd integration
* DROPPED command:
* cytune: Upstream decided to remove tool untested for years
that supports this old hardware.
- Dropped patches included in the upstream:
(*git) Included with no changes
(+git) Included with improvements
(!git) Included with differences
* support-other-tty-lines-not-vconsole.patch (*b9c7390)
* agetty-fooled-on-serial-line-due-plymouth.patch,
* sulogin-fooled-on-tty-line-due-plymouth.patch (*bb280f7)
* agetty-on-s390-on-dev-3270-tty1-line.patch (*f2bcda5)
* sulogin-does-not-find-any-console.patch (*624b204)
* util-linux-setarch-uname26.patch (*f6eb160)
* util-linux-ng-2.16-squashfs3-detect.patch (*11402f5)
* util-linux-lscpu-improve-hypervisor-detection.patch
(!b774473, b32488c, 5bd31c6, 0f0c558, 96ce475)
WARNING, INCOMPATIBLE CHANGE: "lscpu -p" no more reports
hypervisor, as it breaks standard behavior. Use standard output
instead! (FATE#310255)
* blkid-stop-scanning-on-I-O-error.patch (+296d96e)
* blkid-convert-superblocks-to-new-calling-convention.patch
(+37f4060)
* util-linux-libblkid-ext-probe.patch (*a1ca32f)
* util-linux-hwclock-drift-check.patch (*f196fd1)
* util-linux-hwclock-adjtime-check.patch (*db8fc5f)
- Dropped obsolete patch:
* util-linux-2.23.1-eject-fpie.patch (eject is no more SUID)
* util-linux-2.24-fdisk_remove_bogus_warnings.patch
(upstream fixed it in a different way)
* util-linux-HACK-boot.localfs.diff
(MOUNT_PRINT_SOURCE is no more referenced)
- Ported and renamed:
* util-linux-2.23.1-noenc-suse.diff
-> util-linux-noenc-suse.patch
- Split spec file to three stages:
* util-linux.spec: Everything that do not need python or systemd.
* util-linux-systemd.spec: Stuff that needs systemd:
util-linux-systemd and uuidd
NOTE: Not building systemd-less variants of utilities.
* python-libmount.spec: Just python-libmount
- Move bash-completion files to correct packages.
- Add patch util-linux-bash-completion-blockdev.patch.
- Add hacks to prevent damaging of spec files by format_spec_file
(bnc#891152, also edited util-linux-rpmlintrc).
- use nologin from upstream (was added in 2.24)
OBS-URL: https://build.opensuse.org/request/show/244468
OBS-URL: https://build.opensuse.org/package/show/Base:System/util-linux?expand=0&rev=248
2014-08-21 11:54:57 +02:00
|
|
|
%endif
|
2023-02-13 09:44:32 +01:00
|
|
|
# ulbuild == python
|
2014-07-25 09:31:27 +02:00
|
|
|
|
2007-03-01 21:08:53 +01:00
|
|
|
%changelog
|