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
|
|
|
#
|
2020-04-06 20:29:40 +02:00
|
|
|
# Copyright (c) 2020 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
|
|
|
|
2014-08-21 22:06:54 +02:00
|
|
|
# This two level indirect definition of Summary and Group is needed to
|
|
|
|
# simplify parsing of spec file by format_spec_file,
|
|
|
|
# source_validator and check-in QA scripts).
|
|
|
|
%define summary_ul A collection of basic system utilities
|
2020-09-10 01:47:10 +02:00
|
|
|
%define summary_uls A collection of basic system utilities (staging package)
|
2014-08-21 22:06:54 +02:00
|
|
|
%define summary_pl Python bindings for the libmount library
|
|
|
|
%define group_ul System/Base
|
|
|
|
%define group_uls System/Base
|
2017-09-25 11:20:17 +02:00
|
|
|
%define group_pl Development/Languages/Python
|
2020-09-10 01:47:10 +02:00
|
|
|
|
|
|
|
%global flavor @BUILD_FLAVOR@%{nil}
|
|
|
|
%if "%{flavor}" == "standard"
|
|
|
|
%define main_summary %summary_ul
|
|
|
|
%define main_group %group_ul
|
|
|
|
%define psuffix %{nil}
|
|
|
|
%bcond_without base
|
|
|
|
# All python flavors are build separately. No module can be built together with base.
|
|
|
|
# This is a limitation of %%python_subpackages.
|
|
|
|
%bcond_with python
|
|
|
|
%bcond_without systemd
|
|
|
|
%endif
|
|
|
|
%if "%{flavor}" == "mini"
|
2014-08-21 22:06:54 +02:00
|
|
|
%define main_summary %summary_uls
|
|
|
|
%define main_group %group_uls
|
2020-09-10 01:47:10 +02:00
|
|
|
%define psuffix -mini
|
|
|
|
%bcond_without base
|
|
|
|
%bcond_with python
|
|
|
|
%bcond_with systemd
|
|
|
|
%endif
|
|
|
|
%if "%{flavor}" == "python"
|
|
|
|
%define psuffix %{nil}
|
|
|
|
%define main_summary %summary_pl
|
|
|
|
%define main_group %group_pl
|
|
|
|
%bcond_with base
|
|
|
|
%bcond_without python
|
|
|
|
%bcond_without systemd
|
|
|
|
%endif
|
|
|
|
%if "%{flavor}" == ""
|
2014-08-21 22:06:54 +02:00
|
|
|
%define main_summary %summary_ul
|
|
|
|
%define main_group %group_ul
|
2020-09-10 01:47:10 +02:00
|
|
|
%define psuffix %{nil}
|
|
|
|
%bcond_without base
|
|
|
|
# All python flavors are build separately. No module can be built together with base.
|
|
|
|
# This is a limitation of %%python_subpackages.
|
|
|
|
%bcond_with python
|
|
|
|
%bcond_without systemd
|
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
|
2020-09-10 01:47:10 +02:00
|
|
|
|
|
|
|
%if ! %{defined _distconfdir}
|
|
|
|
%define _distconfdir %{_sysconfdir}
|
|
|
|
%else
|
|
|
|
%define no_config 1
|
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
|
2020-09-10 01:47:10 +02:00
|
|
|
|
|
|
|
%if %{without python}
|
|
|
|
Name: util-linux%{psuffix}
|
|
|
|
%else
|
|
|
|
%{?!python_module:%define python_module() python-%{**} python3-%{**}}
|
|
|
|
Name: python-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
|
2020-09-10 01:47:10 +02:00
|
|
|
%define _name util-linux
|
2014-08-21 22:06:54 +02:00
|
|
|
Summary: %main_summary
|
2018-03-23 10:33:09 +01:00
|
|
|
License: GPL-2.0-or-later
|
2014-08-21 22:06:54 +02:00
|
|
|
Group: %main_group
|
2010-07-30 12:35:45 +02:00
|
|
|
BuildRequires: audit-devel
|
2020-09-10 01:47:10 +02:00
|
|
|
BuildRequires: autoconf
|
|
|
|
BuildRequires: automake
|
2012-05-31 16:44:07 +02:00
|
|
|
BuildRequires: binutils-devel
|
2012-02-24 11:56:25 +01:00
|
|
|
BuildRequires: fdupes
|
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
|
2019-10-03 00:24:59 +02:00
|
|
|
BuildRequires: libeconf-devel
|
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
|
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
|
|
|
|
BuildRequires: zlib-devel
|
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
|
2016-05-03 00:32:08 +02:00
|
|
|
%ifarch ppc ppc64 ppc64le
|
|
|
|
BuildRequires: librtas-devel
|
|
|
|
%endif
|
2020-09-10 01:47:10 +02:00
|
|
|
%if %{with systemd}
|
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)
|
2020-09-10 01:47:10 +02:00
|
|
|
%systemd_requires
|
2013-12-12 13:34:11 +01:00
|
|
|
%endif
|
2020-09-10 01:47:10 +02:00
|
|
|
%if %{with python}
|
|
|
|
BuildRequires: %{python_module devel}
|
|
|
|
BuildRequires: python2-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
|
|
|
%endif
|
2020-09-10 01:47:10 +02:00
|
|
|
Version: 2.36
|
2011-12-25 23:19:56 +01:00
|
|
|
Release: 0
|
2020-04-06 20:29:40 +02:00
|
|
|
URL: https://www.kernel.org/pub/linux/utils/util-linux/
|
2020-09-10 01:47:10 +02:00
|
|
|
Source: https://www.kernel.org/pub/linux/utils/util-linux/v2.36/util-linux-%{version}.tar.xz
|
2009-07-03 17:12:19 +02:00
|
|
|
Source1: util-linux-rpmlintrc
|
2019-05-09 17:58:55 +02:00
|
|
|
Source2: util-linux-login_defs-check.sh
|
2017-02-07 21:47:46 +01:00
|
|
|
Source4: raw.service
|
2006-12-19 00:18:10 +01:00
|
|
|
Source5: etc.raw
|
2007-04-12 18:31:42 +02:00
|
|
|
Source6: etc_filesystems
|
2009-12-16 08:59:34 +01:00
|
|
|
Source7: baselibs.conf
|
2012-03-14 15:25:45 +01:00
|
|
|
Source8: login.pamd
|
|
|
|
Source9: remote.pamd
|
2013-06-06 11:42:28 +02:00
|
|
|
Source10: su.pamd
|
|
|
|
Source11: su.default
|
2020-09-10 01:47:10 +02:00
|
|
|
Source12: https://www.kernel.org/pub/linux/utils/util-linux/v2.36/util-linux-%{version}.tar.sign
|
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
|
|
|
Source13: %{_name}.keyring
|
2014-09-12 19:54:43 +02:00
|
|
|
Source14: runuser.pamd
|
2018-04-13 13:36:33 +02:00
|
|
|
Source15: runuser-l.pamd
|
|
|
|
Source16: su-l.pamd
|
2009-07-17 15:52:45 +02:00
|
|
|
Source51: blkid.conf
|
2013-06-06 11:42:28 +02:00
|
|
|
# PATCH-EXTEND-UPSTREAM: Let `su' handle /sbin and /usr/sbin in path
|
2017-02-15 15:53:56 +01:00
|
|
|
Patch0: make-sure-sbin-resp-usr-sbin-are-in-PATH.diff
|
2019-03-01 21:19:58 +01:00
|
|
|
Patch1: libmount-print-a-blacklist-hint-for-unknown-filesyst.patch
|
|
|
|
Patch2: Add-documentation-on-blacklisted-modules-to-mount-8-.patch
|
2010-02-25 11:23:43 +01:00
|
|
|
#
|
2020-09-10 01:47:10 +02:00
|
|
|
%if %{with base}
|
2017-07-04 08:41:11 +02:00
|
|
|
%if 0%{?suse_version} >= 1330
|
2017-09-14 13:58:12 +02:00
|
|
|
Requires(pre): group(tty)
|
2017-07-04 08:41:11 +02:00
|
|
|
%endif
|
2020-09-10 01:47:10 +02:00
|
|
|
PreReq: %install_info_prereq permissions
|
|
|
|
%if "%{flavor}" == "standard"
|
|
|
|
# We do not want to provide these in the "mini" package.
|
|
|
|
# If util-linux-mini is not explicitly wanted, ZYPP should always pick "standard" flavor.
|
|
|
|
Supplements: filesystem(minix)
|
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:
|
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
|
2020-09-10 01:47:10 +02:00
|
|
|
Provides: util-linux(fake+no-canonicalize)
|
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
|
2019-08-15 01:24:10 +02:00
|
|
|
# util-linux-2.34 integrates hardlink (up to Leap 15.1 and SLE 15.1).
|
|
|
|
# The last version was 1.0+git.e66999f.
|
|
|
|
Provides: hardlink = 1.1
|
|
|
|
Obsoletes: hardlink < 1.1
|
2020-09-10 01:47:10 +02:00
|
|
|
# util-linux-systemd was a SUSE specific package split. Now the staging is built differently.
|
|
|
|
# (up to Leap 15.2 and SLE 15.2)
|
|
|
|
Provides: util-linux-systemd = %{version}
|
|
|
|
Obsoletes: util-linux-systemd < 2.36
|
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:
|
|
|
|
%ifarch s390x
|
|
|
|
Obsoletes: s390-32
|
|
|
|
Provides: s390-32
|
|
|
|
%endif
|
|
|
|
# uuid-runtime appeared in SLE11 SP1 to SLE11 SP3
|
2020-09-10 01:47:10 +02:00
|
|
|
Provides: uuid-runtime = %{version}
|
2018-01-16 10:29:10 +01:00
|
|
|
Obsoletes: uuid-runtime <= 2.19.1
|
2020-09-10 01:47:10 +02:00
|
|
|
# Split-provides for upgrade from SLE < 12 and openSUSE <= 13.1
|
|
|
|
Provides: util-linux:/bin/logger
|
|
|
|
# Service files are being migrated during the update from SLE < 12 and openSUSE <= 13.1
|
|
|
|
Conflicts: util-linux < 2.25
|
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.
|
2020-09-10 01:47:10 +02:00
|
|
|
Requires: login_defs-support-for-util-linux >= 2.36
|
2013-03-26 15:44:19 +01:00
|
|
|
#
|
|
|
|
# Using "Requires" here would lend itself to help upgrading, but since
|
|
|
|
# util-linux is in the initial bootstrap, that is not a good thing to do:
|
|
|
|
#
|
|
|
|
Recommends: adjtimex
|
|
|
|
Recommends: time
|
|
|
|
Recommends: which
|
2020-09-10 01:47:10 +02:00
|
|
|
# Allows live build of packages using in BuildRequires: util-linux-mini.
|
|
|
|
Provides: util-linux-mini = %{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
|
|
|
%else
|
2020-09-10 01:47:10 +02:00
|
|
|
Conflicts: util-linux
|
|
|
|
%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
|
|
|
%endif
|
2020-09-10 01:47:10 +02:00
|
|
|
%if %{with python}
|
|
|
|
%python_subpackages
|
|
|
|
%if %{with base}
|
|
|
|
%error base + python is not supported by %%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
|
|
|
|
%endif
|
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.
|
|
|
|
|
2020-09-10 01:47:10 +02:00
|
|
|
%if %{with base}
|
|
|
|
%package -n libblkid1%{psuffix}
|
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
|
2020-09-10 01:47:10 +02:00
|
|
|
%if "%{flavor}" == "mini"
|
|
|
|
Conflicts: libblkid1
|
|
|
|
%else
|
|
|
|
Provides: libblkid1-mini = %{version}
|
|
|
|
%endif
|
2009-07-03 17:12:19 +02:00
|
|
|
|
2020-09-10 01:47:10 +02:00
|
|
|
%description -n libblkid1%{psuffix}
|
2009-07-03 17:12:19 +02:00
|
|
|
Library for filesystem detection.
|
|
|
|
|
2020-09-10 01:47:10 +02:00
|
|
|
%package -n libblkid%{psuffix}-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++
|
2020-09-10 01:47:10 +02:00
|
|
|
Requires: libblkid1%{psuffix} = %{version}
|
|
|
|
%if "%{flavor}" == "mini"
|
|
|
|
Conflicts: libblkid-devel
|
|
|
|
%else
|
|
|
|
Provides: libblkid-mini-devel = %{version}
|
|
|
|
%endif
|
2009-07-03 17:12:19 +02:00
|
|
|
|
2020-09-10 01:47:10 +02:00
|
|
|
%description -n libblkid%{psuffix}-devel
|
2009-07-03 17:12:19 +02:00
|
|
|
Files needed to develop applications using the library for filesystem
|
|
|
|
detection.
|
|
|
|
|
2020-09-10 01:47:10 +02:00
|
|
|
%package -n libblkid%{psuffix}-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++
|
2020-09-10 01:47:10 +02:00
|
|
|
Requires: libblkid%{psuffix}-devel = %{version}
|
|
|
|
%if "%{flavor}" == "mini"
|
|
|
|
Conflicts: libblkid-devel-static
|
|
|
|
%else
|
|
|
|
Provides: libblkid-mini-devel-static = %{version}
|
|
|
|
%endif
|
2014-07-25 09:31:27 +02:00
|
|
|
|
2020-09-10 01:47:10 +02:00
|
|
|
%description -n libblkid%{psuffix}-devel-static
|
2014-07-25 09:31:27 +02:00
|
|
|
Files needed to develop applications using the library for filesystem
|
|
|
|
detection.
|
|
|
|
|
2020-09-10 01:47:10 +02:00
|
|
|
%package -n libfdisk1%{psuffix}
|
|
|
|
Summary: Filesystem detection library
|
|
|
|
License: LGPL-2.1-or-later
|
2019-07-17 19:21:26 +02:00
|
|
|
Group: System/Libraries
|
2020-09-10 01:47:10 +02:00
|
|
|
%if "%{flavor}" == "mini"
|
|
|
|
Conflicts: libfdisk1
|
|
|
|
%else
|
|
|
|
Provides: libfdisk1-mini = %{version}
|
|
|
|
%endif
|
2006-12-19 00:18:10 +01:00
|
|
|
|
2020-09-10 01:47:10 +02:00
|
|
|
%description -n libfdisk1%{psuffix}
|
|
|
|
Library for filesystem detection.
|
2009-07-03 17:12:19 +02:00
|
|
|
|
2020-09-10 01:47:10 +02:00
|
|
|
%package -n libfdisk%{psuffix}-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++
|
2020-09-10 01:47:10 +02:00
|
|
|
Requires: libfdisk1%{psuffix} = %{version}
|
|
|
|
%if "%{flavor}" == "mini"
|
|
|
|
Conflicts: libfdisk-devel
|
|
|
|
%else
|
|
|
|
Provides: libfdisk-mini-devel = %{version}
|
|
|
|
%endif
|
2009-07-03 17:12:19 +02:00
|
|
|
|
2020-09-10 01:47:10 +02:00
|
|
|
%description -n libfdisk%{psuffix}-devel
|
|
|
|
Files needed to develop applications using the library for filesystem
|
|
|
|
detection.
|
2006-12-19 00:18:10 +01:00
|
|
|
|
2020-09-10 01:47:10 +02:00
|
|
|
%package -n libfdisk%{psuffix}-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++
|
2020-09-10 01:47:10 +02:00
|
|
|
Requires: libfdisk%{psuffix}-devel = %{version}
|
|
|
|
%if "%{flavor}" == "mini"
|
|
|
|
Conflicts: libfdisk-devel-static
|
|
|
|
%else
|
|
|
|
Provides: libfdisk-mini-devel-static = %{version}
|
|
|
|
%endif
|
2014-07-25 09:31:27 +02:00
|
|
|
|
2020-09-10 01:47:10 +02:00
|
|
|
%description -n libfdisk%{psuffix}-devel-static
|
|
|
|
Files needed to develop applications using the library for filesystem
|
|
|
|
detection.
|
2014-07-25 09:31:27 +02:00
|
|
|
|
2020-09-10 01:47:10 +02:00
|
|
|
%package -n libmount1%{psuffix}
|
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
|
2020-09-10 01:47:10 +02:00
|
|
|
%if "%{flavor}" == "mini"
|
|
|
|
Conflicts: libmount1
|
|
|
|
%else
|
|
|
|
Provides: libmount1-mini = %{version}
|
|
|
|
%endif
|
2010-07-30 12:35:45 +02:00
|
|
|
|
2020-09-10 01:47:10 +02:00
|
|
|
%description -n libmount1%{psuffix}
|
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
|
|
|
|
2020-09-10 01:47:10 +02:00
|
|
|
%package -n libmount%{psuffix}-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++
|
2020-09-10 01:47:10 +02:00
|
|
|
Requires: libmount1%{psuffix} = %{version}
|
|
|
|
%if "%{flavor}" == "mini"
|
|
|
|
Conflicts: libmount-devel
|
|
|
|
%else
|
|
|
|
Provides: libmount-mini-devel = %{version}
|
|
|
|
%endif
|
2010-07-30 12:35:45 +02:00
|
|
|
|
2020-09-10 01:47:10 +02:00
|
|
|
%description -n libmount%{psuffix}-devel
|
2019-07-02 00:18:40 +02:00
|
|
|
Files to develop applications using the libmount library.
|
|
|
|
|
2020-09-10 01:47:10 +02:00
|
|
|
%package -n libmount%{psuffix}-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++
|
2020-09-10 01:47:10 +02:00
|
|
|
Requires: libmount%{psuffix}-devel = %{version}
|
|
|
|
%if "%{flavor}" == "mini"
|
|
|
|
Conflicts: libmount-devel-static
|
|
|
|
%else
|
|
|
|
Provides: libmount-mini-devel-static = %{version}
|
|
|
|
%endif
|
2014-07-25 09:31:27 +02:00
|
|
|
|
2020-09-10 01:47:10 +02:00
|
|
|
%description -n libmount%{psuffix}-devel-static
|
2014-07-25 09:31:27 +02:00
|
|
|
Files to develop applications using the libmount library.
|
|
|
|
|
2020-09-10 01:47:10 +02:00
|
|
|
%package -n libsmartcols1%{psuffix}
|
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
|
2020-09-10 01:47:10 +02:00
|
|
|
%if "%{flavor}" == "mini"
|
|
|
|
Conflicts: libsmartcols1
|
|
|
|
%else
|
|
|
|
Provides: libsmartcols1-mini = %{version}
|
|
|
|
%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
|
|
|
|
2020-09-10 01:47:10 +02:00
|
|
|
%description -n libsmartcols1%{psuffix}
|
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.
|
|
|
|
|
2020-09-10 01:47:10 +02:00
|
|
|
%package -n libsmartcols%{psuffix}-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++
|
2020-09-10 01:47:10 +02:00
|
|
|
Requires: libsmartcols1%{psuffix} = %{version}
|
|
|
|
%if "%{flavor}" == "mini"
|
|
|
|
Conflicts: libsmartcols-devel
|
|
|
|
%else
|
|
|
|
Provides: libsmartcols-mini-devel = %{version}
|
|
|
|
%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
|
|
|
|
2020-09-10 01:47:10 +02:00
|
|
|
%description -n libsmartcols%{psuffix}-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.
|
|
|
|
|
2020-09-10 01:47:10 +02:00
|
|
|
%package -n libsmartcols%{psuffix}-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++
|
2020-09-10 01:47:10 +02:00
|
|
|
Requires: libsmartcols%{psuffix}-devel = %{version}
|
|
|
|
%if "%{flavor}" == "mini"
|
|
|
|
Conflicts: libsmartcols-devel-static
|
|
|
|
%else
|
|
|
|
Provides: libsmartcols-mini-devel-static = %{version}
|
|
|
|
%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
|
|
|
|
2020-09-10 01:47:10 +02:00
|
|
|
%description -n libsmartcols%{psuffix}-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.
|
|
|
|
|
2020-09-10 01:47:10 +02:00
|
|
|
%package -n libuuid1%{psuffix}
|
|
|
|
Summary: Library to generate UUIDs
|
|
|
|
License: BSD-3-Clause
|
2019-07-17 19:21:26 +02:00
|
|
|
Group: System/Libraries
|
2020-09-10 01:47:10 +02:00
|
|
|
%if "%{flavor}" == "mini"
|
|
|
|
Conflicts: libuuid1
|
|
|
|
%else
|
|
|
|
Provides: libuuid1-mini = %{version}
|
|
|
|
%endif
|
2015-02-26 17:53:58 +01:00
|
|
|
|
2020-09-10 01:47:10 +02:00
|
|
|
%description -n libuuid1%{psuffix}
|
|
|
|
A library to generate universally unique IDs (UUIDs).
|
2015-02-26 17:53:58 +01:00
|
|
|
|
2020-09-10 01:47:10 +02:00
|
|
|
%package -n libuuid%{psuffix}-devel
|
|
|
|
Summary: Development files for libuuid
|
|
|
|
License: BSD-3-Clause
|
2019-07-17 19:21:26 +02:00
|
|
|
Group: Development/Libraries/C and C++
|
2020-09-10 01:47:10 +02:00
|
|
|
Requires: libuuid1%{psuffix} = %{version}
|
|
|
|
%if "%{flavor}" == "mini"
|
|
|
|
Conflicts: libuuid-devel
|
|
|
|
%else
|
|
|
|
Provides: libuuid-mini-devel = %{version}
|
|
|
|
%endif
|
2015-02-26 17:53:58 +01:00
|
|
|
|
2020-09-10 01:47:10 +02:00
|
|
|
%description -n libuuid%{psuffix}-devel
|
|
|
|
Files to develop applications using the library to generate universally
|
|
|
|
unique IDs (UUIDs).
|
2015-02-26 17:53:58 +01:00
|
|
|
|
2020-09-10 01:47:10 +02:00
|
|
|
%package -n libuuid%{psuffix}-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++
|
2020-09-10 01:47:10 +02:00
|
|
|
Requires: libuuid%{psuffix}-devel = %{version}
|
|
|
|
%if "%{flavor}" == "mini"
|
|
|
|
Conflicts: libuuid-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
|
|
|
%else
|
2020-09-10 01:47:10 +02:00
|
|
|
Provides: libuuid-mini-devel-static = %{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
|
|
|
%endif
|
|
|
|
|
2020-09-10 01:47:10 +02:00
|
|
|
%description -n libuuid%{psuffix}-devel-static
|
|
|
|
Files to develop applications using the library to generate universally
|
|
|
|
unique IDs (UUIDs).
|
|
|
|
|
|
|
|
%package -n uuidd%{psuffix}
|
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
|
|
|
%if 0%{?suse_version} >= 1330
|
|
|
|
Requires(pre): group(uuidd)
|
|
|
|
%else
|
2014-10-31 16:22:34 +01:00
|
|
|
Requires(pre): /usr/sbin/groupadd
|
|
|
|
Requires(pre): /usr/sbin/useradd
|
2017-09-14 13:58:12 +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
|
|
|
# uuidd bash-completion moved to a correct package
|
|
|
|
Conflicts: util-linux < 2.25
|
2014-10-31 16:22:34 +01:00
|
|
|
%systemd_requires
|
2020-09-10 01:47:10 +02:00
|
|
|
%if "%{flavor}" == "mini"
|
|
|
|
Conflicts: uuidd
|
|
|
|
%else
|
|
|
|
Provides: uuidd-mini = %{version}
|
|
|
|
%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
|
|
|
|
2020-09-10 01:47:10 +02:00
|
|
|
%description -n uuidd%{psuffix}
|
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.
|
|
|
|
|
2020-09-10 01:47:10 +02:00
|
|
|
%lang_package
|
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
|
2020-09-10 01:47:10 +02:00
|
|
|
%if %{with python}
|
|
|
|
%if %{with base}
|
|
|
|
# This is not used in any osc build.
|
2018-08-08 01:53:11 +02:00
|
|
|
%package -n python3-libmount
|
2014-08-21 22:06:54 +02:00
|
|
|
Summary: %summary_pl
|
2019-07-17 19:21:26 +02:00
|
|
|
License: GPL-2.0-or-later
|
2014-08-21 22:06:54 +02:00
|
|
|
Group: %group_pl
|
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
|
|
|
|
2018-08-08 01:53:11 +02:00
|
|
|
%description -n python3-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
|
|
|
%else
|
|
|
|
%description
|
|
|
|
%endif
|
2017-09-25 11:20:17 +02:00
|
|
|
This package contains the Python bindings for util-linux 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
|
|
|
library.
|
|
|
|
|
|
|
|
%endif
|
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
|
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
|
2019-05-09 17:58:55 +02:00
|
|
|
bash ./util-linux-login_defs-check.sh
|
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
|
|
|
#
|
|
|
|
# util-linux itself
|
|
|
|
#
|
2013-06-05 15:07:12 +02:00
|
|
|
# Version check for libutempter
|
|
|
|
#
|
2013-06-06 11:42:28 +02:00
|
|
|
uhead=$(find %_includedir -name utempter.h 2>/dev/null)
|
2013-06-05 15:07:12 +02:00
|
|
|
if test -n "$uhead" && grep -q utempter_add_record "$uhead"
|
|
|
|
then
|
|
|
|
uhead=--with-utempter
|
|
|
|
else
|
|
|
|
uhead=--without-utempter
|
|
|
|
fi
|
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"
|
2020-09-10 01:47:10 +02:00
|
|
|
autoreconf -f -i
|
|
|
|
function configure_and_build() {
|
|
|
|
%if %{with python}
|
|
|
|
%define _configure ../configure
|
|
|
|
%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
|
|
|
#
|
|
|
|
# SUSE now supports only systemd based system. We do not build
|
|
|
|
# sysvinit-only versions of UTIL_LINUX_SYSTEMD_SOURCES utilities.
|
2020-09-10 01:47:10 +02:00
|
|
|
#AUTOPOINT=true autoreconf -vfi
|
2010-11-16 19:58:07 +01:00
|
|
|
%configure \
|
Accepting request 390044 from home:rudi_m:branches:Base:System
Just a minor cosmetical cleanup which should not change anything
for the Factory build.
Changes:
- fix build for openSUSE >= 13.1 (inclusive SLE 12)
- drop build for openSUSE < 13.1
- remove old build conditions: sysvinit_tools, enable_su and
enable_eject
- cosmetics: reorder configure options
old: Base:System/util-linux
new: home:rudi_m:branches:Base:System/util-linux rev None
Index: python-libmount.changes
===================================================================
--- python-libmount.changes (revision 302)
+++ python-libmount.changes (revision 13)
@@ -1,4 +1,13 @@
-------------------------------------------------------------------
+Wed Apr 13 21:29:00 UTC 2016 - sweet_f_a@gmx.de
+
+- fix build for openSUSE >= 13.1 (inclusive SLE 12)
+- drop build for openSUSE < 13.1
+- remove old build conditions: sysvinit_tools, enable_su and
+ enable_eject
+- cosmetics: reorder configure options
+
+-------------------------------------------------------------------
Wed Apr 13 09:53:21 UTC 2016 - sweet_f_a@gmx.de
- Update to version 2.28:
Index: python-libmount.spec
===================================================================
--- python-libmount.spec (revision 302)
+++ python-libmount.spec (revision 13)
@@ -16,9 +16,6 @@
#
-%bcond_without sysvinit_tools
-%bcond_without enable_su
-%bcond_without enable_eject
%bcond_without enable_last
Name: python-libmount
@@ -97,14 +94,10 @@
%endif
%if %build_util_linux_systemd
BuildRequires: socat
-%if 0%{?suse_version} <= 1230
-BuildRequires: pkgconfig(systemd)
-%else
BuildRequires: systemd-rpm-macros
BuildRequires: pkgconfig(libsystemd-daemon)
BuildRequires: pkgconfig(libsystemd-journal)
%endif
-%endif
%if %build_python_libmount
BuildRequires: python-devel
%endif
@@ -170,25 +163,17 @@
PreReq: %install_info_prereq permissions
PreReq: %insserv_prereq %fillup_prereq /bin/sed
Recommends: %{name}-lang = %{version}
-%if %{with enable_eject}
Provides: eject = 2.1.0-166.8
-%endif
Provides: login = 4.0-33.7
-%if %{with enable_eject}
# File conflict of eject (up to 12.3 and SLE11).
Obsoletes: eject < 2.1.0-166.8
-%endif
# File conflict of login (up to 12.1 and SLE11).
Obsoletes: login < 4.0-33.7
-%if %{with enable_su}
# File conflict of su and kill (up to 12.3 and SLE11).
# It should be coreutils < 8.21-4, but coreutils provide Release-less symbol.
Conflicts: coreutils < 8.21
-%endif
-%if %{with sysvinit_tools}
# File conflict of sulogin and utmpdump (up to 12.3 and SLE11).
Conflicts: sysvinit-tools < 2.88+-87
-%endif
# bnc#805684:
%ifarch s390x
Obsoletes: s390-32
@@ -538,6 +523,7 @@
# sysvinit-only versions of UTIL_LINUX_SYSTEMD_SOURCES utilities.
AUTOPOINT=true autoreconf -vfi
%configure \
+ --disable-silent-rules \
--localstatedir=/run \
--docdir=%{_docdir}/%{_name} \
--with-audit \
@@ -546,46 +532,33 @@
--with-selinux \
$uhead \
--with-bashcompletiondir=%{_datadir}/bash-completion \
- --enable-all-programs \
- --disable-reset \
+ --with-systemdsystemunitdir=%{_unitdir} \
+ --enable-libmount-force-mountinfo \
+ --enable-sulogin-emergency-mount \
--disable-use-tty-group \
- --disable-silent-rules \
--enable-static \
--disable-rpath \
+ --enable-all-programs \
+ --disable-reset \
%if %{without enable_last}
--disable-last \
%endif
-%if %{without enable_eject}
- --disable-eject \
-%endif
-%if %{with sysvinit_tools}
- --enable-sulogin-emergency-mount \
-%else
- --disable-sulogin \
- --disable-mountpoint \
-%endif
-%if %{without enable_su}
- --disable-su \
- --disable-kill \
-%endif
%if %build_util_linux_systemd
+ --with-systemd \
--enable-logger \
--enable-lslogins \
--enable-uuidd \
- --with-systemd \
- --with-systemdsystemunitdir=%{_unitdir} \
%else
+ --without-systemd \
--disable-logger \
--disable-lslogins \
--disable-uuidd \
- --without-systemd \
%endif
%if %build_python_libmount
--with-python \
%else
--without-python \
%endif
- --enable-libmount-force-mountinfo \
#
# Safety check: HAVE_UUIDD should be always 1:
@@ -637,11 +610,9 @@
install -m 644 %{SOURCE9} %{buildroot}%{_sysconfdir}/pam.d/remote
install -m 644 %{SOURCE14} %{buildroot}%{_sysconfdir}/pam.d/runuser
install -m 644 %{SOURCE14} %{buildroot}%{_sysconfdir}/pam.d/runuser-l
-%if %{with enable_su}
install -m 644 %{SOURCE10} %{buildroot}%{_sysconfdir}/pam.d/su
install -m 644 %{SOURCE10} %{buildroot}%{_sysconfdir}/pam.d/su-l
install -m 644 %{SOURCE11} %{buildroot}%{_sysconfdir}/default/su
-%endif
mkdir -p %{buildroot}%{_localstatedir}/adm/fillup-templates
pushd ../klogconsole
# klogconsole install
@@ -655,10 +626,8 @@
rm -f %{buildroot}%{python_sitearch}/libmount/*.*a
%if %build_util_linux
#UsrMerge
-%if %{with enable_su}
ln -s %{_bindir}/kill %{buildroot}/bin
ln -s %{_bindir}/su %{buildroot}/bin
-%endif
ln -s %{_bindir}/dmesg %{buildroot}/bin
ln -s %{_bindir}/more %{buildroot}/bin
ln -s %{_bindir}/mount %{buildroot}/bin
@@ -798,7 +767,6 @@
%post
%{fillup_and_insserv raw}
%set_permissions %{_bindir}/wall %{_bindir}/write %{_bindir}/mount %{_bindir}/umount
-%if %{with enable_su}
%set_permissions %{_bindir}/su
# Safely migrate PAM files from coreutils to util-linux
# (openSUSE 12.3->13.1, SLE11->SLE12)
@@ -817,7 +785,6 @@
mv %{_sysconfdir}/$PAM_FILE.rpmsave %{_sysconfdir}/$PAM_FILE
fi
done
-%endif
# mount option 'code=' is now called 'codepage=' so change fstab
if [ -f etc/fstab ]; then
@@ -829,9 +796,7 @@
%verifyscript
%verify_permissions -e %{_bindir}/wall -e %{_bindir}/write -e %{_bindir}/mount -e %{_bindir}/umount
-%if %{with enable_su}
%verify_permissions -e %{_bindir}/su
-%endif
%post -n libblkid1 -p /sbin/ldconfig
@@ -857,9 +822,8 @@
%endif
%if %build_util_linux_systemd
-# Note: This is not a perfect solution: fstrim is part of util-linux, fstrim services are part of util-linux-systemd (for build loop prevention reasons).
-# If only util-linux is updated, restart of fstrim service does not happen.
-# Maybe we should move fstrim to util-linux-systemd in the next version.
+# fstrim(8) and fstrim.service are from different packages. But it's a oneshot
+# service (timer), no restart needed on binary updates (unless path is changed).
%pre -n util-linux-systemd
%{service_add_pre fstrim.service fstrim.timer}
@@ -877,7 +841,7 @@
/usr/sbin/useradd -r -g uuidd -c "User for uuidd" \
-d /var/run/uuidd uuidd 2>/dev/null || :
%{service_add_pre uuidd.socket uuidd.service}
-%systemd_preset_pre
+%{?systemd_preset_pre}
%post -n uuidd
%{service_add_post uuidd.socket uuidd.service}
@@ -889,7 +853,7 @@
%{service_del_postun uuidd.socket uuidd.service}
%posttrans -p /bin/bash -n uuidd
-%systemd_preset_posttrans
+%{?systemd_preset_posttrans}
%endif
%if %build_util_linux
@@ -920,16 +884,12 @@
%config(noreplace) %{_sysconfdir}/pam.d/remote
%config(noreplace) %{_sysconfdir}/pam.d/runuser
%config(noreplace) %{_sysconfdir}/pam.d/runuser-l
-%if %{with enable_su}
%config(noreplace) %{_sysconfdir}/pam.d/su
%config(noreplace) %{_sysconfdir}/pam.d/su-l
%config(noreplace) %{_sysconfdir}/default/su
-%endif
#UsrMerge
-%if %{with enable_su}
/bin/kill
/bin/su
-%endif
/bin/dmesg
/bin/more
/bin/mount
@@ -963,13 +923,9 @@
/sbin/fstrim
/sbin/chcpu
#EndUsrMerge
-%if %{with enable_su}
%{_bindir}/kill
%{_bindir}/su
-%endif
-%if %{with enable_eject}
%{_bindir}/eject
-%endif
%{_bindir}/cal
%{_bindir}/chrt
%{_bindir}/col
@@ -1018,10 +974,8 @@
%{_bindir}/ul
%{_bindir}/umount
%{_bindir}/unshare
-%if %{with sysvinit_tools}
%{_bindir}/mountpoint
%{_bindir}/utmpdump
-%endif
%{_bindir}/uuidgen
%{_bindir}/uname26
%ifnarch ppc ppc64
@@ -1059,9 +1013,7 @@
%{_sbindir}/rtcwake
%{_sbindir}/runuser
%{_sbindir}/setctsid
-%if %{with sysvinit_tools}
%{_sbindir}/sulogin
-%endif
%{_sbindir}/swaplabel
%{_sbindir}/swapoff
%{_sbindir}/swapon
@@ -1071,10 +1023,8 @@
%{_bindir}/whereis
%verify(not mode) %attr(0755,root,tty) %{_bindir}/write
%{_sbindir}/zramctl
-%if %{with enable_su}
%{_mandir}/man1/kill.1.gz
%{_mandir}/man1/su.1.gz
-%endif
%{_mandir}/man1/cal.1.gz
%{_mandir}/man1/chrt.1.gz
%{_mandir}/man1/col.1.gz
@@ -1082,9 +1032,7 @@
%{_mandir}/man1/colrm.1.gz
%{_mandir}/man1/column.1.gz
%{_mandir}/man1/dmesg.1.gz
-%if %{with enable_eject}
%{_mandir}/man1/eject.1.gz
-%endif
%{_mandir}/man1/fallocate.1.gz
%{_mandir}/man1/flock.1.gz
%{_mandir}/man1/getopt.1.gz
@@ -1123,10 +1071,8 @@
%{_mandir}/man1/whereis.1.gz
%{_mandir}/man1/write.1.gz
%{_mandir}/man1/ipcmk.1.gz
-%if %{with sysvinit_tools}
%{_mandir}/man1/mountpoint.1.gz
%{_mandir}/man1/utmpdump.1.gz
-%endif
%{_mandir}/man1/runuser.1.gz
%{_mandir}/man1/uuidgen.1.gz
%{_mandir}/man5/fstab.5.gz
@@ -1178,9 +1124,7 @@
%{_mandir}/man8/fstrim.8.gz
%{_mandir}/man8/lsblk.8.gz
%{_mandir}/man8/resizepart.8.gz
-%if %{with sysvinit_tools}
%{_mandir}/man8/sulogin.8.gz
-%endif
%{_mandir}/man8/wdctl.8.gz
%{_sbindir}/flushb
%{_sbindir}/readprofile
Index: util-linux-systemd.changes
===================================================================
--- util-linux-systemd.changes (revision 302)
+++ util-linux-systemd.changes (revision 13)
@@ -1,4 +1,13 @@
-------------------------------------------------------------------
+Wed Apr 13 21:29:00 UTC 2016 - sweet_f_a@gmx.de
+
+- fix build for openSUSE >= 13.1 (inclusive SLE 12)
+- drop build for openSUSE < 13.1
+- remove old build conditions: sysvinit_tools, enable_su and
+ enable_eject
+- cosmetics: reorder configure options
+
+-------------------------------------------------------------------
Wed Apr 13 09:53:21 UTC 2016 - sweet_f_a@gmx.de
- Update to version 2.28:
Index: util-linux-systemd.spec
===================================================================
--- util-linux-systemd.spec (revision 302)
+++ util-linux-systemd.spec (revision 13)
@@ -16,9 +16,6 @@
#
-%bcond_without sysvinit_tools
-%bcond_without enable_su
-%bcond_without enable_eject
%bcond_without enable_last
Name: util-linux-systemd
@@ -97,14 +94,10 @@
%endif
%if %build_util_linux_systemd
BuildRequires: socat
-%if 0%{?suse_version} <= 1230
-BuildRequires: pkgconfig(systemd)
-%else
BuildRequires: systemd-rpm-macros
BuildRequires: pkgconfig(libsystemd-daemon)
BuildRequires: pkgconfig(libsystemd-journal)
%endif
-%endif
%if %build_python_libmount
BuildRequires: python-devel
%endif
@@ -170,25 +163,17 @@
PreReq: %install_info_prereq permissions
PreReq: %insserv_prereq %fillup_prereq /bin/sed
Recommends: %{name}-lang = %{version}
-%if %{with enable_eject}
Provides: eject = 2.1.0-166.8
-%endif
Provides: login = 4.0-33.7
-%if %{with enable_eject}
# File conflict of eject (up to 12.3 and SLE11).
Obsoletes: eject < 2.1.0-166.8
-%endif
# File conflict of login (up to 12.1 and SLE11).
Obsoletes: login < 4.0-33.7
-%if %{with enable_su}
# File conflict of su and kill (up to 12.3 and SLE11).
# It should be coreutils < 8.21-4, but coreutils provide Release-less symbol.
Conflicts: coreutils < 8.21
-%endif
-%if %{with sysvinit_tools}
# File conflict of sulogin and utmpdump (up to 12.3 and SLE11).
Conflicts: sysvinit-tools < 2.88+-87
-%endif
# bnc#805684:
%ifarch s390x
Obsoletes: s390-32
@@ -538,6 +523,7 @@
# sysvinit-only versions of UTIL_LINUX_SYSTEMD_SOURCES utilities.
AUTOPOINT=true autoreconf -vfi
%configure \
+ --disable-silent-rules \
--localstatedir=/run \
--docdir=%{_docdir}/%{_name} \
--with-audit \
@@ -546,46 +532,33 @@
--with-selinux \
$uhead \
--with-bashcompletiondir=%{_datadir}/bash-completion \
- --enable-all-programs \
- --disable-reset \
+ --with-systemdsystemunitdir=%{_unitdir} \
+ --enable-libmount-force-mountinfo \
+ --enable-sulogin-emergency-mount \
--disable-use-tty-group \
- --disable-silent-rules \
--enable-static \
--disable-rpath \
+ --enable-all-programs \
+ --disable-reset \
%if %{without enable_last}
--disable-last \
%endif
-%if %{without enable_eject}
- --disable-eject \
-%endif
-%if %{with sysvinit_tools}
- --enable-sulogin-emergency-mount \
-%else
- --disable-sulogin \
- --disable-mountpoint \
-%endif
-%if %{without enable_su}
- --disable-su \
- --disable-kill \
-%endif
%if %build_util_linux_systemd
+ --with-systemd \
--enable-logger \
--enable-lslogins \
--enable-uuidd \
- --with-systemd \
- --with-systemdsystemunitdir=%{_unitdir} \
%else
+ --without-systemd \
--disable-logger \
--disable-lslogins \
--disable-uuidd \
- --without-systemd \
%endif
%if %build_python_libmount
--with-python \
%else
--without-python \
%endif
- --enable-libmount-force-mountinfo \
#
# Safety check: HAVE_UUIDD should be always 1:
@@ -637,11 +610,9 @@
install -m 644 %{SOURCE9} %{buildroot}%{_sysconfdir}/pam.d/remote
install -m 644 %{SOURCE14} %{buildroot}%{_sysconfdir}/pam.d/runuser
install -m 644 %{SOURCE14} %{buildroot}%{_sysconfdir}/pam.d/runuser-l
-%if %{with enable_su}
install -m 644 %{SOURCE10} %{buildroot}%{_sysconfdir}/pam.d/su
install -m 644 %{SOURCE10} %{buildroot}%{_sysconfdir}/pam.d/su-l
install -m 644 %{SOURCE11} %{buildroot}%{_sysconfdir}/default/su
-%endif
mkdir -p %{buildroot}%{_localstatedir}/adm/fillup-templates
pushd ../klogconsole
# klogconsole install
@@ -655,10 +626,8 @@
rm -f %{buildroot}%{python_sitearch}/libmount/*.*a
%if %build_util_linux
#UsrMerge
-%if %{with enable_su}
ln -s %{_bindir}/kill %{buildroot}/bin
ln -s %{_bindir}/su %{buildroot}/bin
-%endif
ln -s %{_bindir}/dmesg %{buildroot}/bin
ln -s %{_bindir}/more %{buildroot}/bin
ln -s %{_bindir}/mount %{buildroot}/bin
@@ -798,7 +767,6 @@
%post
%{fillup_and_insserv raw}
%set_permissions %{_bindir}/wall %{_bindir}/write %{_bindir}/mount %{_bindir}/umount
-%if %{with enable_su}
%set_permissions %{_bindir}/su
# Safely migrate PAM files from coreutils to util-linux
# (openSUSE 12.3->13.1, SLE11->SLE12)
@@ -817,7 +785,6 @@
mv %{_sysconfdir}/$PAM_FILE.rpmsave %{_sysconfdir}/$PAM_FILE
fi
done
-%endif
# mount option 'code=' is now called 'codepage=' so change fstab
if [ -f etc/fstab ]; then
@@ -829,9 +796,7 @@
%verifyscript
%verify_permissions -e %{_bindir}/wall -e %{_bindir}/write -e %{_bindir}/mount -e %{_bindir}/umount
-%if %{with enable_su}
%verify_permissions -e %{_bindir}/su
-%endif
%post -n libblkid1 -p /sbin/ldconfig
@@ -857,9 +822,8 @@
%endif
%if %build_util_linux_systemd
-# Note: This is not a perfect solution: fstrim is part of util-linux, fstrim services are part of util-linux-systemd (for build loop prevention reasons).
-# If only util-linux is updated, restart of fstrim service does not happen.
-# Maybe we should move fstrim to util-linux-systemd in the next version.
+# fstrim(8) and fstrim.service are from different packages. But it's a oneshot
+# service (timer), no restart needed on binary updates (unless path is changed).
%pre -n util-linux-systemd
%{service_add_pre fstrim.service fstrim.timer}
@@ -877,7 +841,7 @@
/usr/sbin/useradd -r -g uuidd -c "User for uuidd" \
-d /var/run/uuidd uuidd 2>/dev/null || :
%{service_add_pre uuidd.socket uuidd.service}
-%systemd_preset_pre
+%{?systemd_preset_pre}
%post -n uuidd
%{service_add_post uuidd.socket uuidd.service}
@@ -889,7 +853,7 @@
%{service_del_postun uuidd.socket uuidd.service}
%posttrans -p /bin/bash -n uuidd
-%systemd_preset_posttrans
+%{?systemd_preset_posttrans}
%endif
%if %build_util_linux
@@ -920,16 +884,12 @@
%config(noreplace) %{_sysconfdir}/pam.d/remote
%config(noreplace) %{_sysconfdir}/pam.d/runuser
%config(noreplace) %{_sysconfdir}/pam.d/runuser-l
-%if %{with enable_su}
%config(noreplace) %{_sysconfdir}/pam.d/su
%config(noreplace) %{_sysconfdir}/pam.d/su-l
%config(noreplace) %{_sysconfdir}/default/su
-%endif
#UsrMerge
-%if %{with enable_su}
/bin/kill
/bin/su
-%endif
/bin/dmesg
/bin/more
/bin/mount
@@ -963,13 +923,9 @@
/sbin/fstrim
/sbin/chcpu
#EndUsrMerge
-%if %{with enable_su}
%{_bindir}/kill
%{_bindir}/su
-%endif
-%if %{with enable_eject}
%{_bindir}/eject
-%endif
%{_bindir}/cal
%{_bindir}/chrt
%{_bindir}/col
@@ -1018,10 +974,8 @@
%{_bindir}/ul
%{_bindir}/umount
%{_bindir}/unshare
-%if %{with sysvinit_tools}
%{_bindir}/mountpoint
%{_bindir}/utmpdump
-%endif
%{_bindir}/uuidgen
%{_bindir}/uname26
%ifnarch ppc ppc64
@@ -1059,9 +1013,7 @@
%{_sbindir}/rtcwake
%{_sbindir}/runuser
%{_sbindir}/setctsid
-%if %{with sysvinit_tools}
%{_sbindir}/sulogin
-%endif
%{_sbindir}/swaplabel
%{_sbindir}/swapoff
%{_sbindir}/swapon
@@ -1071,10 +1023,8 @@
%{_bindir}/whereis
%verify(not mode) %attr(0755,root,tty) %{_bindir}/write
%{_sbindir}/zramctl
-%if %{with enable_su}
%{_mandir}/man1/kill.1.gz
%{_mandir}/man1/su.1.gz
-%endif
%{_mandir}/man1/cal.1.gz
%{_mandir}/man1/chrt.1.gz
%{_mandir}/man1/col.1.gz
@@ -1082,9 +1032,7 @@
%{_mandir}/man1/colrm.1.gz
%{_mandir}/man1/column.1.gz
%{_mandir}/man1/dmesg.1.gz
-%if %{with enable_eject}
%{_mandir}/man1/eject.1.gz
-%endif
%{_mandir}/man1/fallocate.1.gz
%{_mandir}/man1/flock.1.gz
%{_mandir}/man1/getopt.1.gz
@@ -1123,10 +1071,8 @@
%{_mandir}/man1/whereis.1.gz
%{_mandir}/man1/write.1.gz
%{_mandir}/man1/ipcmk.1.gz
-%if %{with sysvinit_tools}
%{_mandir}/man1/mountpoint.1.gz
%{_mandir}/man1/utmpdump.1.gz
-%endif
%{_mandir}/man1/runuser.1.gz
%{_mandir}/man1/uuidgen.1.gz
%{_mandir}/man5/fstab.5.gz
@@ -1178,9 +1124,7 @@
%{_mandir}/man8/fstrim.8.gz
%{_mandir}/man8/lsblk.8.gz
%{_mandir}/man8/resizepart.8.gz
-%if %{with sysvinit_tools}
%{_mandir}/man8/sulogin.8.gz
-%endif
%{_mandir}/man8/wdctl.8.gz
%{_sbindir}/flushb
%{_sbindir}/readprofile
Index: util-linux.changes
===================================================================
--- util-linux.changes (revision 302)
+++ util-linux.changes (revision 13)
@@ -1,4 +1,13 @@
-------------------------------------------------------------------
+Wed Apr 13 21:29:00 UTC 2016 - sweet_f_a@gmx.de
+
+- fix build for openSUSE >= 13.1 (inclusive SLE 12)
+- drop build for openSUSE < 13.1
+- remove old build conditions: sysvinit_tools, enable_su and
+ enable_eject
+- cosmetics: reorder configure options
+
+-------------------------------------------------------------------
Wed Apr 13 09:53:21 UTC 2016 - sweet_f_a@gmx.de
- Update to version 2.28:
Index: util-linux.spec
===================================================================
--- util-linux.spec (revision 302)
+++ util-linux.spec (revision 13)
@@ -16,9 +16,6 @@
#
-%bcond_without sysvinit_tools
-%bcond_without enable_su
-%bcond_without enable_eject
%bcond_without enable_last
Name: util-linux
@@ -97,14 +94,10 @@
%endif
%if %build_util_linux_systemd
BuildRequires: socat
-%if 0%{?suse_version} <= 1230
-BuildRequires: pkgconfig(systemd)
-%else
BuildRequires: systemd-rpm-macros
BuildRequires: pkgconfig(libsystemd-daemon)
BuildRequires: pkgconfig(libsystemd-journal)
%endif
-%endif
%if %build_python_libmount
BuildRequires: python-devel
%endif
@@ -170,25 +163,17 @@
PreReq: %install_info_prereq permissions
PreReq: %insserv_prereq %fillup_prereq /bin/sed
Recommends: %{name}-lang = %{version}
-%if %{with enable_eject}
Provides: eject = 2.1.0-166.8
-%endif
Provides: login = 4.0-33.7
-%if %{with enable_eject}
# File conflict of eject (up to 12.3 and SLE11).
Obsoletes: eject < 2.1.0-166.8
-%endif
# File conflict of login (up to 12.1 and SLE11).
Obsoletes: login < 4.0-33.7
-%if %{with enable_su}
# File conflict of su and kill (up to 12.3 and SLE11).
# It should be coreutils < 8.21-4, but coreutils provide Release-less symbol.
Conflicts: coreutils < 8.21
-%endif
-%if %{with sysvinit_tools}
# File conflict of sulogin and utmpdump (up to 12.3 and SLE11).
Conflicts: sysvinit-tools < 2.88+-87
-%endif
# bnc#805684:
%ifarch s390x
Obsoletes: s390-32
@@ -538,6 +523,7 @@
# sysvinit-only versions of UTIL_LINUX_SYSTEMD_SOURCES utilities.
AUTOPOINT=true autoreconf -vfi
%configure \
+ --disable-silent-rules \
--localstatedir=/run \
--docdir=%{_docdir}/%{_name} \
--with-audit \
@@ -546,46 +532,33 @@
--with-selinux \
$uhead \
--with-bashcompletiondir=%{_datadir}/bash-completion \
- --enable-all-programs \
- --disable-reset \
+ --with-systemdsystemunitdir=%{_unitdir} \
+ --enable-libmount-force-mountinfo \
+ --enable-sulogin-emergency-mount \
--disable-use-tty-group \
- --disable-silent-rules \
--enable-static \
--disable-rpath \
+ --enable-all-programs \
+ --disable-reset \
%if %{without enable_last}
--disable-last \
%endif
-%if %{without enable_eject}
- --disable-eject \
-%endif
-%if %{with sysvinit_tools}
- --enable-sulogin-emergency-mount \
-%else
- --disable-sulogin \
- --disable-mountpoint \
-%endif
-%if %{without enable_su}
- --disable-su \
- --disable-kill \
-%endif
%if %build_util_linux_systemd
+ --with-systemd \
--enable-logger \
--enable-lslogins \
--enable-uuidd \
- --with-systemd \
- --with-systemdsystemunitdir=%{_unitdir} \
%else
+ --without-systemd \
--disable-logger \
--disable-lslogins \
--disable-uuidd \
- --without-systemd \
%endif
%if %build_python_libmount
--with-python \
%else
--without-python \
%endif
- --enable-libmount-force-mountinfo \
#
# Safety check: HAVE_UUIDD should be always 1:
@@ -637,11 +610,9 @@
install -m 644 %{SOURCE9} %{buildroot}%{_sysconfdir}/pam.d/remote
install -m 644 %{SOURCE14} %{buildroot}%{_sysconfdir}/pam.d/runuser
install -m 644 %{SOURCE14} %{buildroot}%{_sysconfdir}/pam.d/runuser-l
-%if %{with enable_su}
install -m 644 %{SOURCE10} %{buildroot}%{_sysconfdir}/pam.d/su
install -m 644 %{SOURCE10} %{buildroot}%{_sysconfdir}/pam.d/su-l
install -m 644 %{SOURCE11} %{buildroot}%{_sysconfdir}/default/su
-%endif
mkdir -p %{buildroot}%{_localstatedir}/adm/fillup-templates
pushd ../klogconsole
# klogconsole install
@@ -655,10 +626,8 @@
rm -f %{buildroot}%{python_sitearch}/libmount/*.*a
%if %build_util_linux
#UsrMerge
-%if %{with enable_su}
ln -s %{_bindir}/kill %{buildroot}/bin
ln -s %{_bindir}/su %{buildroot}/bin
-%endif
ln -s %{_bindir}/dmesg %{buildroot}/bin
ln -s %{_bindir}/more %{buildroot}/bin
ln -s %{_bindir}/mount %{buildroot}/bin
@@ -798,7 +767,6 @@
%post
%{fillup_and_insserv raw}
%set_permissions %{_bindir}/wall %{_bindir}/write %{_bindir}/mount %{_bindir}/umount
-%if %{with enable_su}
%set_permissions %{_bindir}/su
# Safely migrate PAM files from coreutils to util-linux
# (openSUSE 12.3->13.1, SLE11->SLE12)
@@ -817,7 +785,6 @@
mv %{_sysconfdir}/$PAM_FILE.rpmsave %{_sysconfdir}/$PAM_FILE
fi
done
-%endif
# mount option 'code=' is now called 'codepage=' so change fstab
if [ -f etc/fstab ]; then
@@ -829,9 +796,7 @@
%verifyscript
%verify_permissions -e %{_bindir}/wall -e %{_bindir}/write -e %{_bindir}/mount -e %{_bindir}/umount
-%if %{with enable_su}
%verify_permissions -e %{_bindir}/su
-%endif
%post -n libblkid1 -p /sbin/ldconfig
@@ -857,9 +822,8 @@
%endif
%if %build_util_linux_systemd
-# Note: This is not a perfect solution: fstrim is part of util-linux, fstrim services are part of util-linux-systemd (for build loop prevention reasons).
-# If only util-linux is updated, restart of fstrim service does not happen.
-# Maybe we should move fstrim to util-linux-systemd in the next version.
+# fstrim(8) and fstrim.service are from different packages. But it's a oneshot
+# service (timer), no restart needed on binary updates (unless path is changed).
%pre -n util-linux-systemd
%{service_add_pre fstrim.service fstrim.timer}
@@ -877,7 +841,7 @@
/usr/sbin/useradd -r -g uuidd -c "User for uuidd" \
-d /var/run/uuidd uuidd 2>/dev/null || :
%{service_add_pre uuidd.socket uuidd.service}
-%systemd_preset_pre
+%{?systemd_preset_pre}
%post -n uuidd
%{service_add_post uuidd.socket uuidd.service}
@@ -889,7 +853,7 @@
%{service_del_postun uuidd.socket uuidd.service}
%posttrans -p /bin/bash -n uuidd
-%systemd_preset_posttrans
+%{?systemd_preset_posttrans}
%endif
%if %build_util_linux
@@ -920,16 +884,12 @@
%config(noreplace) %{_sysconfdir}/pam.d/remote
%config(noreplace) %{_sysconfdir}/pam.d/runuser
%config(noreplace) %{_sysconfdir}/pam.d/runuser-l
-%if %{with enable_su}
%config(noreplace) %{_sysconfdir}/pam.d/su
%config(noreplace) %{_sysconfdir}/pam.d/su-l
%config(noreplace) %{_sysconfdir}/default/su
-%endif
#UsrMerge
-%if %{with enable_su}
/bin/kill
/bin/su
-%endif
/bin/dmesg
/bin/more
/bin/mount
@@ -963,13 +923,9 @@
/sbin/fstrim
/sbin/chcpu
#EndUsrMerge
-%if %{with enable_su}
%{_bindir}/kill
%{_bindir}/su
-%endif
-%if %{with enable_eject}
%{_bindir}/eject
-%endif
%{_bindir}/cal
%{_bindir}/chrt
%{_bindir}/col
@@ -1018,10 +974,8 @@
%{_bindir}/ul
%{_bindir}/umount
%{_bindir}/unshare
-%if %{with sysvinit_tools}
%{_bindir}/mountpoint
%{_bindir}/utmpdump
-%endif
%{_bindir}/uuidgen
%{_bindir}/uname26
%ifnarch ppc ppc64
@@ -1059,9 +1013,7 @@
%{_sbindir}/rtcwake
%{_sbindir}/runuser
%{_sbindir}/setctsid
-%if %{with sysvinit_tools}
%{_sbindir}/sulogin
-%endif
%{_sbindir}/swaplabel
%{_sbindir}/swapoff
%{_sbindir}/swapon
@@ -1071,10 +1023,8 @@
%{_bindir}/whereis
%verify(not mode) %attr(0755,root,tty) %{_bindir}/write
%{_sbindir}/zramctl
-%if %{with enable_su}
%{_mandir}/man1/kill.1.gz
%{_mandir}/man1/su.1.gz
-%endif
%{_mandir}/man1/cal.1.gz
%{_mandir}/man1/chrt.1.gz
%{_mandir}/man1/col.1.gz
@@ -1082,9 +1032,7 @@
%{_mandir}/man1/colrm.1.gz
%{_mandir}/man1/column.1.gz
%{_mandir}/man1/dmesg.1.gz
-%if %{with enable_eject}
%{_mandir}/man1/eject.1.gz
-%endif
%{_mandir}/man1/fallocate.1.gz
%{_mandir}/man1/flock.1.gz
%{_mandir}/man1/getopt.1.gz
@@ -1123,10 +1071,8 @@
%{_mandir}/man1/whereis.1.gz
%{_mandir}/man1/write.1.gz
%{_mandir}/man1/ipcmk.1.gz
-%if %{with sysvinit_tools}
%{_mandir}/man1/mountpoint.1.gz
%{_mandir}/man1/utmpdump.1.gz
-%endif
%{_mandir}/man1/runuser.1.gz
%{_mandir}/man1/uuidgen.1.gz
%{_mandir}/man5/fstab.5.gz
@@ -1178,9 +1124,7 @@
%{_mandir}/man8/fstrim.8.gz
%{_mandir}/man8/lsblk.8.gz
%{_mandir}/man8/resizepart.8.gz
-%if %{with sysvinit_tools}
%{_mandir}/man8/sulogin.8.gz
-%endif
%{_mandir}/man8/wdctl.8.gz
%{_sbindir}/flushb
%{_sbindir}/readprofile
OBS-URL: https://build.opensuse.org/request/show/390044
OBS-URL: https://build.opensuse.org/package/show/Base:System/util-linux?expand=0&rev=304
2016-04-24 11:08:55 +02:00
|
|
|
--disable-silent-rules \
|
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
|
|
|
--docdir=%{_docdir}/%{_name} \
|
Accepting request 543952 from home:sbrabec:branches:util-linux-2.31
- Update to version 2.31:
* New utilities: uuidparse, rfkill.
* su has been refactored and extended to create pseudo terminal
(new option --pty, CVE-2016-2779, bsc#968674). This new
EXPERIMENTAL feature provides better isolation between root's
terminal and an unprivileged su.
* libuuid: Improved to match
* libuuid, uuidgen: support hash-based UUIDs v3 (md5) and v5
(sha1) as specified by RFC-4122. Provide UUID templates for
dns, url, oid, or x500.
* libblkid: Extended support for DM-integrity, HPE (aka
extended-XFS) and UBI superblock. New API to hide already
detected signatures.
* libfdisk: New API to modify grain, make possible to completely
disable dialog driven partitioning.
* libsmartcols: New API to move columns.
* column: --table-header-repeat to repeat table headers.
* libfdisk: Use BLKPG ioctls to inform the kernel about changes.
* fdisk: Improved ^C and ^D behavior.
* cfdisk: Dialog to resize partition.
* look: Follow the WORDLIST environment variable.
* script: Follow the usual semantics for stop/continue signals.
* setpriv: New command line options --ambient-caps and
--init-groups.
* hwclock: Reduce system shutdown times, log --systz when using
libaudit.
* Other bug fixes.
- Drop upstreamed util-linux-use-tinfow.patch.
- Update to version 2.31:
OBS-URL: https://build.opensuse.org/request/show/543952
OBS-URL: https://build.opensuse.org/package/show/Base:System/util-linux?expand=0&rev=352
2017-11-27 11:06:27 +01:00
|
|
|
--disable-makeinstall-chown \
|
|
|
|
--disable-makeinstall-setuid \
|
2009-07-03 17:12:19 +02:00
|
|
|
--with-audit \
|
2017-09-15 09:19:46 +02:00
|
|
|
--with-btrfs \
|
2013-06-05 15:07:12 +02:00
|
|
|
--with-gnu-ld \
|
2016-11-15 23:04:51 +01:00
|
|
|
--with-ncursesw \
|
2017-09-15 09:19:46 +02:00
|
|
|
--with-readline \
|
2009-07-03 17:12:19 +02:00
|
|
|
--with-selinux \
|
2013-06-05 15:07:12 +02:00
|
|
|
$uhead \
|
2016-06-14 14:46:18 +02:00
|
|
|
--with-bashcompletiondir=%{_datadir}/bash-completion/completions \
|
Accepting request 390044 from home:rudi_m:branches:Base:System
Just a minor cosmetical cleanup which should not change anything
for the Factory build.
Changes:
- fix build for openSUSE >= 13.1 (inclusive SLE 12)
- drop build for openSUSE < 13.1
- remove old build conditions: sysvinit_tools, enable_su and
enable_eject
- cosmetics: reorder configure options
old: Base:System/util-linux
new: home:rudi_m:branches:Base:System/util-linux rev None
Index: python-libmount.changes
===================================================================
--- python-libmount.changes (revision 302)
+++ python-libmount.changes (revision 13)
@@ -1,4 +1,13 @@
-------------------------------------------------------------------
+Wed Apr 13 21:29:00 UTC 2016 - sweet_f_a@gmx.de
+
+- fix build for openSUSE >= 13.1 (inclusive SLE 12)
+- drop build for openSUSE < 13.1
+- remove old build conditions: sysvinit_tools, enable_su and
+ enable_eject
+- cosmetics: reorder configure options
+
+-------------------------------------------------------------------
Wed Apr 13 09:53:21 UTC 2016 - sweet_f_a@gmx.de
- Update to version 2.28:
Index: python-libmount.spec
===================================================================
--- python-libmount.spec (revision 302)
+++ python-libmount.spec (revision 13)
@@ -16,9 +16,6 @@
#
-%bcond_without sysvinit_tools
-%bcond_without enable_su
-%bcond_without enable_eject
%bcond_without enable_last
Name: python-libmount
@@ -97,14 +94,10 @@
%endif
%if %build_util_linux_systemd
BuildRequires: socat
-%if 0%{?suse_version} <= 1230
-BuildRequires: pkgconfig(systemd)
-%else
BuildRequires: systemd-rpm-macros
BuildRequires: pkgconfig(libsystemd-daemon)
BuildRequires: pkgconfig(libsystemd-journal)
%endif
-%endif
%if %build_python_libmount
BuildRequires: python-devel
%endif
@@ -170,25 +163,17 @@
PreReq: %install_info_prereq permissions
PreReq: %insserv_prereq %fillup_prereq /bin/sed
Recommends: %{name}-lang = %{version}
-%if %{with enable_eject}
Provides: eject = 2.1.0-166.8
-%endif
Provides: login = 4.0-33.7
-%if %{with enable_eject}
# File conflict of eject (up to 12.3 and SLE11).
Obsoletes: eject < 2.1.0-166.8
-%endif
# File conflict of login (up to 12.1 and SLE11).
Obsoletes: login < 4.0-33.7
-%if %{with enable_su}
# File conflict of su and kill (up to 12.3 and SLE11).
# It should be coreutils < 8.21-4, but coreutils provide Release-less symbol.
Conflicts: coreutils < 8.21
-%endif
-%if %{with sysvinit_tools}
# File conflict of sulogin and utmpdump (up to 12.3 and SLE11).
Conflicts: sysvinit-tools < 2.88+-87
-%endif
# bnc#805684:
%ifarch s390x
Obsoletes: s390-32
@@ -538,6 +523,7 @@
# sysvinit-only versions of UTIL_LINUX_SYSTEMD_SOURCES utilities.
AUTOPOINT=true autoreconf -vfi
%configure \
+ --disable-silent-rules \
--localstatedir=/run \
--docdir=%{_docdir}/%{_name} \
--with-audit \
@@ -546,46 +532,33 @@
--with-selinux \
$uhead \
--with-bashcompletiondir=%{_datadir}/bash-completion \
- --enable-all-programs \
- --disable-reset \
+ --with-systemdsystemunitdir=%{_unitdir} \
+ --enable-libmount-force-mountinfo \
+ --enable-sulogin-emergency-mount \
--disable-use-tty-group \
- --disable-silent-rules \
--enable-static \
--disable-rpath \
+ --enable-all-programs \
+ --disable-reset \
%if %{without enable_last}
--disable-last \
%endif
-%if %{without enable_eject}
- --disable-eject \
-%endif
-%if %{with sysvinit_tools}
- --enable-sulogin-emergency-mount \
-%else
- --disable-sulogin \
- --disable-mountpoint \
-%endif
-%if %{without enable_su}
- --disable-su \
- --disable-kill \
-%endif
%if %build_util_linux_systemd
+ --with-systemd \
--enable-logger \
--enable-lslogins \
--enable-uuidd \
- --with-systemd \
- --with-systemdsystemunitdir=%{_unitdir} \
%else
+ --without-systemd \
--disable-logger \
--disable-lslogins \
--disable-uuidd \
- --without-systemd \
%endif
%if %build_python_libmount
--with-python \
%else
--without-python \
%endif
- --enable-libmount-force-mountinfo \
#
# Safety check: HAVE_UUIDD should be always 1:
@@ -637,11 +610,9 @@
install -m 644 %{SOURCE9} %{buildroot}%{_sysconfdir}/pam.d/remote
install -m 644 %{SOURCE14} %{buildroot}%{_sysconfdir}/pam.d/runuser
install -m 644 %{SOURCE14} %{buildroot}%{_sysconfdir}/pam.d/runuser-l
-%if %{with enable_su}
install -m 644 %{SOURCE10} %{buildroot}%{_sysconfdir}/pam.d/su
install -m 644 %{SOURCE10} %{buildroot}%{_sysconfdir}/pam.d/su-l
install -m 644 %{SOURCE11} %{buildroot}%{_sysconfdir}/default/su
-%endif
mkdir -p %{buildroot}%{_localstatedir}/adm/fillup-templates
pushd ../klogconsole
# klogconsole install
@@ -655,10 +626,8 @@
rm -f %{buildroot}%{python_sitearch}/libmount/*.*a
%if %build_util_linux
#UsrMerge
-%if %{with enable_su}
ln -s %{_bindir}/kill %{buildroot}/bin
ln -s %{_bindir}/su %{buildroot}/bin
-%endif
ln -s %{_bindir}/dmesg %{buildroot}/bin
ln -s %{_bindir}/more %{buildroot}/bin
ln -s %{_bindir}/mount %{buildroot}/bin
@@ -798,7 +767,6 @@
%post
%{fillup_and_insserv raw}
%set_permissions %{_bindir}/wall %{_bindir}/write %{_bindir}/mount %{_bindir}/umount
-%if %{with enable_su}
%set_permissions %{_bindir}/su
# Safely migrate PAM files from coreutils to util-linux
# (openSUSE 12.3->13.1, SLE11->SLE12)
@@ -817,7 +785,6 @@
mv %{_sysconfdir}/$PAM_FILE.rpmsave %{_sysconfdir}/$PAM_FILE
fi
done
-%endif
# mount option 'code=' is now called 'codepage=' so change fstab
if [ -f etc/fstab ]; then
@@ -829,9 +796,7 @@
%verifyscript
%verify_permissions -e %{_bindir}/wall -e %{_bindir}/write -e %{_bindir}/mount -e %{_bindir}/umount
-%if %{with enable_su}
%verify_permissions -e %{_bindir}/su
-%endif
%post -n libblkid1 -p /sbin/ldconfig
@@ -857,9 +822,8 @@
%endif
%if %build_util_linux_systemd
-# Note: This is not a perfect solution: fstrim is part of util-linux, fstrim services are part of util-linux-systemd (for build loop prevention reasons).
-# If only util-linux is updated, restart of fstrim service does not happen.
-# Maybe we should move fstrim to util-linux-systemd in the next version.
+# fstrim(8) and fstrim.service are from different packages. But it's a oneshot
+# service (timer), no restart needed on binary updates (unless path is changed).
%pre -n util-linux-systemd
%{service_add_pre fstrim.service fstrim.timer}
@@ -877,7 +841,7 @@
/usr/sbin/useradd -r -g uuidd -c "User for uuidd" \
-d /var/run/uuidd uuidd 2>/dev/null || :
%{service_add_pre uuidd.socket uuidd.service}
-%systemd_preset_pre
+%{?systemd_preset_pre}
%post -n uuidd
%{service_add_post uuidd.socket uuidd.service}
@@ -889,7 +853,7 @@
%{service_del_postun uuidd.socket uuidd.service}
%posttrans -p /bin/bash -n uuidd
-%systemd_preset_posttrans
+%{?systemd_preset_posttrans}
%endif
%if %build_util_linux
@@ -920,16 +884,12 @@
%config(noreplace) %{_sysconfdir}/pam.d/remote
%config(noreplace) %{_sysconfdir}/pam.d/runuser
%config(noreplace) %{_sysconfdir}/pam.d/runuser-l
-%if %{with enable_su}
%config(noreplace) %{_sysconfdir}/pam.d/su
%config(noreplace) %{_sysconfdir}/pam.d/su-l
%config(noreplace) %{_sysconfdir}/default/su
-%endif
#UsrMerge
-%if %{with enable_su}
/bin/kill
/bin/su
-%endif
/bin/dmesg
/bin/more
/bin/mount
@@ -963,13 +923,9 @@
/sbin/fstrim
/sbin/chcpu
#EndUsrMerge
-%if %{with enable_su}
%{_bindir}/kill
%{_bindir}/su
-%endif
-%if %{with enable_eject}
%{_bindir}/eject
-%endif
%{_bindir}/cal
%{_bindir}/chrt
%{_bindir}/col
@@ -1018,10 +974,8 @@
%{_bindir}/ul
%{_bindir}/umount
%{_bindir}/unshare
-%if %{with sysvinit_tools}
%{_bindir}/mountpoint
%{_bindir}/utmpdump
-%endif
%{_bindir}/uuidgen
%{_bindir}/uname26
%ifnarch ppc ppc64
@@ -1059,9 +1013,7 @@
%{_sbindir}/rtcwake
%{_sbindir}/runuser
%{_sbindir}/setctsid
-%if %{with sysvinit_tools}
%{_sbindir}/sulogin
-%endif
%{_sbindir}/swaplabel
%{_sbindir}/swapoff
%{_sbindir}/swapon
@@ -1071,10 +1023,8 @@
%{_bindir}/whereis
%verify(not mode) %attr(0755,root,tty) %{_bindir}/write
%{_sbindir}/zramctl
-%if %{with enable_su}
%{_mandir}/man1/kill.1.gz
%{_mandir}/man1/su.1.gz
-%endif
%{_mandir}/man1/cal.1.gz
%{_mandir}/man1/chrt.1.gz
%{_mandir}/man1/col.1.gz
@@ -1082,9 +1032,7 @@
%{_mandir}/man1/colrm.1.gz
%{_mandir}/man1/column.1.gz
%{_mandir}/man1/dmesg.1.gz
-%if %{with enable_eject}
%{_mandir}/man1/eject.1.gz
-%endif
%{_mandir}/man1/fallocate.1.gz
%{_mandir}/man1/flock.1.gz
%{_mandir}/man1/getopt.1.gz
@@ -1123,10 +1071,8 @@
%{_mandir}/man1/whereis.1.gz
%{_mandir}/man1/write.1.gz
%{_mandir}/man1/ipcmk.1.gz
-%if %{with sysvinit_tools}
%{_mandir}/man1/mountpoint.1.gz
%{_mandir}/man1/utmpdump.1.gz
-%endif
%{_mandir}/man1/runuser.1.gz
%{_mandir}/man1/uuidgen.1.gz
%{_mandir}/man5/fstab.5.gz
@@ -1178,9 +1124,7 @@
%{_mandir}/man8/fstrim.8.gz
%{_mandir}/man8/lsblk.8.gz
%{_mandir}/man8/resizepart.8.gz
-%if %{with sysvinit_tools}
%{_mandir}/man8/sulogin.8.gz
-%endif
%{_mandir}/man8/wdctl.8.gz
%{_sbindir}/flushb
%{_sbindir}/readprofile
Index: util-linux-systemd.changes
===================================================================
--- util-linux-systemd.changes (revision 302)
+++ util-linux-systemd.changes (revision 13)
@@ -1,4 +1,13 @@
-------------------------------------------------------------------
+Wed Apr 13 21:29:00 UTC 2016 - sweet_f_a@gmx.de
+
+- fix build for openSUSE >= 13.1 (inclusive SLE 12)
+- drop build for openSUSE < 13.1
+- remove old build conditions: sysvinit_tools, enable_su and
+ enable_eject
+- cosmetics: reorder configure options
+
+-------------------------------------------------------------------
Wed Apr 13 09:53:21 UTC 2016 - sweet_f_a@gmx.de
- Update to version 2.28:
Index: util-linux-systemd.spec
===================================================================
--- util-linux-systemd.spec (revision 302)
+++ util-linux-systemd.spec (revision 13)
@@ -16,9 +16,6 @@
#
-%bcond_without sysvinit_tools
-%bcond_without enable_su
-%bcond_without enable_eject
%bcond_without enable_last
Name: util-linux-systemd
@@ -97,14 +94,10 @@
%endif
%if %build_util_linux_systemd
BuildRequires: socat
-%if 0%{?suse_version} <= 1230
-BuildRequires: pkgconfig(systemd)
-%else
BuildRequires: systemd-rpm-macros
BuildRequires: pkgconfig(libsystemd-daemon)
BuildRequires: pkgconfig(libsystemd-journal)
%endif
-%endif
%if %build_python_libmount
BuildRequires: python-devel
%endif
@@ -170,25 +163,17 @@
PreReq: %install_info_prereq permissions
PreReq: %insserv_prereq %fillup_prereq /bin/sed
Recommends: %{name}-lang = %{version}
-%if %{with enable_eject}
Provides: eject = 2.1.0-166.8
-%endif
Provides: login = 4.0-33.7
-%if %{with enable_eject}
# File conflict of eject (up to 12.3 and SLE11).
Obsoletes: eject < 2.1.0-166.8
-%endif
# File conflict of login (up to 12.1 and SLE11).
Obsoletes: login < 4.0-33.7
-%if %{with enable_su}
# File conflict of su and kill (up to 12.3 and SLE11).
# It should be coreutils < 8.21-4, but coreutils provide Release-less symbol.
Conflicts: coreutils < 8.21
-%endif
-%if %{with sysvinit_tools}
# File conflict of sulogin and utmpdump (up to 12.3 and SLE11).
Conflicts: sysvinit-tools < 2.88+-87
-%endif
# bnc#805684:
%ifarch s390x
Obsoletes: s390-32
@@ -538,6 +523,7 @@
# sysvinit-only versions of UTIL_LINUX_SYSTEMD_SOURCES utilities.
AUTOPOINT=true autoreconf -vfi
%configure \
+ --disable-silent-rules \
--localstatedir=/run \
--docdir=%{_docdir}/%{_name} \
--with-audit \
@@ -546,46 +532,33 @@
--with-selinux \
$uhead \
--with-bashcompletiondir=%{_datadir}/bash-completion \
- --enable-all-programs \
- --disable-reset \
+ --with-systemdsystemunitdir=%{_unitdir} \
+ --enable-libmount-force-mountinfo \
+ --enable-sulogin-emergency-mount \
--disable-use-tty-group \
- --disable-silent-rules \
--enable-static \
--disable-rpath \
+ --enable-all-programs \
+ --disable-reset \
%if %{without enable_last}
--disable-last \
%endif
-%if %{without enable_eject}
- --disable-eject \
-%endif
-%if %{with sysvinit_tools}
- --enable-sulogin-emergency-mount \
-%else
- --disable-sulogin \
- --disable-mountpoint \
-%endif
-%if %{without enable_su}
- --disable-su \
- --disable-kill \
-%endif
%if %build_util_linux_systemd
+ --with-systemd \
--enable-logger \
--enable-lslogins \
--enable-uuidd \
- --with-systemd \
- --with-systemdsystemunitdir=%{_unitdir} \
%else
+ --without-systemd \
--disable-logger \
--disable-lslogins \
--disable-uuidd \
- --without-systemd \
%endif
%if %build_python_libmount
--with-python \
%else
--without-python \
%endif
- --enable-libmount-force-mountinfo \
#
# Safety check: HAVE_UUIDD should be always 1:
@@ -637,11 +610,9 @@
install -m 644 %{SOURCE9} %{buildroot}%{_sysconfdir}/pam.d/remote
install -m 644 %{SOURCE14} %{buildroot}%{_sysconfdir}/pam.d/runuser
install -m 644 %{SOURCE14} %{buildroot}%{_sysconfdir}/pam.d/runuser-l
-%if %{with enable_su}
install -m 644 %{SOURCE10} %{buildroot}%{_sysconfdir}/pam.d/su
install -m 644 %{SOURCE10} %{buildroot}%{_sysconfdir}/pam.d/su-l
install -m 644 %{SOURCE11} %{buildroot}%{_sysconfdir}/default/su
-%endif
mkdir -p %{buildroot}%{_localstatedir}/adm/fillup-templates
pushd ../klogconsole
# klogconsole install
@@ -655,10 +626,8 @@
rm -f %{buildroot}%{python_sitearch}/libmount/*.*a
%if %build_util_linux
#UsrMerge
-%if %{with enable_su}
ln -s %{_bindir}/kill %{buildroot}/bin
ln -s %{_bindir}/su %{buildroot}/bin
-%endif
ln -s %{_bindir}/dmesg %{buildroot}/bin
ln -s %{_bindir}/more %{buildroot}/bin
ln -s %{_bindir}/mount %{buildroot}/bin
@@ -798,7 +767,6 @@
%post
%{fillup_and_insserv raw}
%set_permissions %{_bindir}/wall %{_bindir}/write %{_bindir}/mount %{_bindir}/umount
-%if %{with enable_su}
%set_permissions %{_bindir}/su
# Safely migrate PAM files from coreutils to util-linux
# (openSUSE 12.3->13.1, SLE11->SLE12)
@@ -817,7 +785,6 @@
mv %{_sysconfdir}/$PAM_FILE.rpmsave %{_sysconfdir}/$PAM_FILE
fi
done
-%endif
# mount option 'code=' is now called 'codepage=' so change fstab
if [ -f etc/fstab ]; then
@@ -829,9 +796,7 @@
%verifyscript
%verify_permissions -e %{_bindir}/wall -e %{_bindir}/write -e %{_bindir}/mount -e %{_bindir}/umount
-%if %{with enable_su}
%verify_permissions -e %{_bindir}/su
-%endif
%post -n libblkid1 -p /sbin/ldconfig
@@ -857,9 +822,8 @@
%endif
%if %build_util_linux_systemd
-# Note: This is not a perfect solution: fstrim is part of util-linux, fstrim services are part of util-linux-systemd (for build loop prevention reasons).
-# If only util-linux is updated, restart of fstrim service does not happen.
-# Maybe we should move fstrim to util-linux-systemd in the next version.
+# fstrim(8) and fstrim.service are from different packages. But it's a oneshot
+# service (timer), no restart needed on binary updates (unless path is changed).
%pre -n util-linux-systemd
%{service_add_pre fstrim.service fstrim.timer}
@@ -877,7 +841,7 @@
/usr/sbin/useradd -r -g uuidd -c "User for uuidd" \
-d /var/run/uuidd uuidd 2>/dev/null || :
%{service_add_pre uuidd.socket uuidd.service}
-%systemd_preset_pre
+%{?systemd_preset_pre}
%post -n uuidd
%{service_add_post uuidd.socket uuidd.service}
@@ -889,7 +853,7 @@
%{service_del_postun uuidd.socket uuidd.service}
%posttrans -p /bin/bash -n uuidd
-%systemd_preset_posttrans
+%{?systemd_preset_posttrans}
%endif
%if %build_util_linux
@@ -920,16 +884,12 @@
%config(noreplace) %{_sysconfdir}/pam.d/remote
%config(noreplace) %{_sysconfdir}/pam.d/runuser
%config(noreplace) %{_sysconfdir}/pam.d/runuser-l
-%if %{with enable_su}
%config(noreplace) %{_sysconfdir}/pam.d/su
%config(noreplace) %{_sysconfdir}/pam.d/su-l
%config(noreplace) %{_sysconfdir}/default/su
-%endif
#UsrMerge
-%if %{with enable_su}
/bin/kill
/bin/su
-%endif
/bin/dmesg
/bin/more
/bin/mount
@@ -963,13 +923,9 @@
/sbin/fstrim
/sbin/chcpu
#EndUsrMerge
-%if %{with enable_su}
%{_bindir}/kill
%{_bindir}/su
-%endif
-%if %{with enable_eject}
%{_bindir}/eject
-%endif
%{_bindir}/cal
%{_bindir}/chrt
%{_bindir}/col
@@ -1018,10 +974,8 @@
%{_bindir}/ul
%{_bindir}/umount
%{_bindir}/unshare
-%if %{with sysvinit_tools}
%{_bindir}/mountpoint
%{_bindir}/utmpdump
-%endif
%{_bindir}/uuidgen
%{_bindir}/uname26
%ifnarch ppc ppc64
@@ -1059,9 +1013,7 @@
%{_sbindir}/rtcwake
%{_sbindir}/runuser
%{_sbindir}/setctsid
-%if %{with sysvinit_tools}
%{_sbindir}/sulogin
-%endif
%{_sbindir}/swaplabel
%{_sbindir}/swapoff
%{_sbindir}/swapon
@@ -1071,10 +1023,8 @@
%{_bindir}/whereis
%verify(not mode) %attr(0755,root,tty) %{_bindir}/write
%{_sbindir}/zramctl
-%if %{with enable_su}
%{_mandir}/man1/kill.1.gz
%{_mandir}/man1/su.1.gz
-%endif
%{_mandir}/man1/cal.1.gz
%{_mandir}/man1/chrt.1.gz
%{_mandir}/man1/col.1.gz
@@ -1082,9 +1032,7 @@
%{_mandir}/man1/colrm.1.gz
%{_mandir}/man1/column.1.gz
%{_mandir}/man1/dmesg.1.gz
-%if %{with enable_eject}
%{_mandir}/man1/eject.1.gz
-%endif
%{_mandir}/man1/fallocate.1.gz
%{_mandir}/man1/flock.1.gz
%{_mandir}/man1/getopt.1.gz
@@ -1123,10 +1071,8 @@
%{_mandir}/man1/whereis.1.gz
%{_mandir}/man1/write.1.gz
%{_mandir}/man1/ipcmk.1.gz
-%if %{with sysvinit_tools}
%{_mandir}/man1/mountpoint.1.gz
%{_mandir}/man1/utmpdump.1.gz
-%endif
%{_mandir}/man1/runuser.1.gz
%{_mandir}/man1/uuidgen.1.gz
%{_mandir}/man5/fstab.5.gz
@@ -1178,9 +1124,7 @@
%{_mandir}/man8/fstrim.8.gz
%{_mandir}/man8/lsblk.8.gz
%{_mandir}/man8/resizepart.8.gz
-%if %{with sysvinit_tools}
%{_mandir}/man8/sulogin.8.gz
-%endif
%{_mandir}/man8/wdctl.8.gz
%{_sbindir}/flushb
%{_sbindir}/readprofile
Index: util-linux.changes
===================================================================
--- util-linux.changes (revision 302)
+++ util-linux.changes (revision 13)
@@ -1,4 +1,13 @@
-------------------------------------------------------------------
+Wed Apr 13 21:29:00 UTC 2016 - sweet_f_a@gmx.de
+
+- fix build for openSUSE >= 13.1 (inclusive SLE 12)
+- drop build for openSUSE < 13.1
+- remove old build conditions: sysvinit_tools, enable_su and
+ enable_eject
+- cosmetics: reorder configure options
+
+-------------------------------------------------------------------
Wed Apr 13 09:53:21 UTC 2016 - sweet_f_a@gmx.de
- Update to version 2.28:
Index: util-linux.spec
===================================================================
--- util-linux.spec (revision 302)
+++ util-linux.spec (revision 13)
@@ -16,9 +16,6 @@
#
-%bcond_without sysvinit_tools
-%bcond_without enable_su
-%bcond_without enable_eject
%bcond_without enable_last
Name: util-linux
@@ -97,14 +94,10 @@
%endif
%if %build_util_linux_systemd
BuildRequires: socat
-%if 0%{?suse_version} <= 1230
-BuildRequires: pkgconfig(systemd)
-%else
BuildRequires: systemd-rpm-macros
BuildRequires: pkgconfig(libsystemd-daemon)
BuildRequires: pkgconfig(libsystemd-journal)
%endif
-%endif
%if %build_python_libmount
BuildRequires: python-devel
%endif
@@ -170,25 +163,17 @@
PreReq: %install_info_prereq permissions
PreReq: %insserv_prereq %fillup_prereq /bin/sed
Recommends: %{name}-lang = %{version}
-%if %{with enable_eject}
Provides: eject = 2.1.0-166.8
-%endif
Provides: login = 4.0-33.7
-%if %{with enable_eject}
# File conflict of eject (up to 12.3 and SLE11).
Obsoletes: eject < 2.1.0-166.8
-%endif
# File conflict of login (up to 12.1 and SLE11).
Obsoletes: login < 4.0-33.7
-%if %{with enable_su}
# File conflict of su and kill (up to 12.3 and SLE11).
# It should be coreutils < 8.21-4, but coreutils provide Release-less symbol.
Conflicts: coreutils < 8.21
-%endif
-%if %{with sysvinit_tools}
# File conflict of sulogin and utmpdump (up to 12.3 and SLE11).
Conflicts: sysvinit-tools < 2.88+-87
-%endif
# bnc#805684:
%ifarch s390x
Obsoletes: s390-32
@@ -538,6 +523,7 @@
# sysvinit-only versions of UTIL_LINUX_SYSTEMD_SOURCES utilities.
AUTOPOINT=true autoreconf -vfi
%configure \
+ --disable-silent-rules \
--localstatedir=/run \
--docdir=%{_docdir}/%{_name} \
--with-audit \
@@ -546,46 +532,33 @@
--with-selinux \
$uhead \
--with-bashcompletiondir=%{_datadir}/bash-completion \
- --enable-all-programs \
- --disable-reset \
+ --with-systemdsystemunitdir=%{_unitdir} \
+ --enable-libmount-force-mountinfo \
+ --enable-sulogin-emergency-mount \
--disable-use-tty-group \
- --disable-silent-rules \
--enable-static \
--disable-rpath \
+ --enable-all-programs \
+ --disable-reset \
%if %{without enable_last}
--disable-last \
%endif
-%if %{without enable_eject}
- --disable-eject \
-%endif
-%if %{with sysvinit_tools}
- --enable-sulogin-emergency-mount \
-%else
- --disable-sulogin \
- --disable-mountpoint \
-%endif
-%if %{without enable_su}
- --disable-su \
- --disable-kill \
-%endif
%if %build_util_linux_systemd
+ --with-systemd \
--enable-logger \
--enable-lslogins \
--enable-uuidd \
- --with-systemd \
- --with-systemdsystemunitdir=%{_unitdir} \
%else
+ --without-systemd \
--disable-logger \
--disable-lslogins \
--disable-uuidd \
- --without-systemd \
%endif
%if %build_python_libmount
--with-python \
%else
--without-python \
%endif
- --enable-libmount-force-mountinfo \
#
# Safety check: HAVE_UUIDD should be always 1:
@@ -637,11 +610,9 @@
install -m 644 %{SOURCE9} %{buildroot}%{_sysconfdir}/pam.d/remote
install -m 644 %{SOURCE14} %{buildroot}%{_sysconfdir}/pam.d/runuser
install -m 644 %{SOURCE14} %{buildroot}%{_sysconfdir}/pam.d/runuser-l
-%if %{with enable_su}
install -m 644 %{SOURCE10} %{buildroot}%{_sysconfdir}/pam.d/su
install -m 644 %{SOURCE10} %{buildroot}%{_sysconfdir}/pam.d/su-l
install -m 644 %{SOURCE11} %{buildroot}%{_sysconfdir}/default/su
-%endif
mkdir -p %{buildroot}%{_localstatedir}/adm/fillup-templates
pushd ../klogconsole
# klogconsole install
@@ -655,10 +626,8 @@
rm -f %{buildroot}%{python_sitearch}/libmount/*.*a
%if %build_util_linux
#UsrMerge
-%if %{with enable_su}
ln -s %{_bindir}/kill %{buildroot}/bin
ln -s %{_bindir}/su %{buildroot}/bin
-%endif
ln -s %{_bindir}/dmesg %{buildroot}/bin
ln -s %{_bindir}/more %{buildroot}/bin
ln -s %{_bindir}/mount %{buildroot}/bin
@@ -798,7 +767,6 @@
%post
%{fillup_and_insserv raw}
%set_permissions %{_bindir}/wall %{_bindir}/write %{_bindir}/mount %{_bindir}/umount
-%if %{with enable_su}
%set_permissions %{_bindir}/su
# Safely migrate PAM files from coreutils to util-linux
# (openSUSE 12.3->13.1, SLE11->SLE12)
@@ -817,7 +785,6 @@
mv %{_sysconfdir}/$PAM_FILE.rpmsave %{_sysconfdir}/$PAM_FILE
fi
done
-%endif
# mount option 'code=' is now called 'codepage=' so change fstab
if [ -f etc/fstab ]; then
@@ -829,9 +796,7 @@
%verifyscript
%verify_permissions -e %{_bindir}/wall -e %{_bindir}/write -e %{_bindir}/mount -e %{_bindir}/umount
-%if %{with enable_su}
%verify_permissions -e %{_bindir}/su
-%endif
%post -n libblkid1 -p /sbin/ldconfig
@@ -857,9 +822,8 @@
%endif
%if %build_util_linux_systemd
-# Note: This is not a perfect solution: fstrim is part of util-linux, fstrim services are part of util-linux-systemd (for build loop prevention reasons).
-# If only util-linux is updated, restart of fstrim service does not happen.
-# Maybe we should move fstrim to util-linux-systemd in the next version.
+# fstrim(8) and fstrim.service are from different packages. But it's a oneshot
+# service (timer), no restart needed on binary updates (unless path is changed).
%pre -n util-linux-systemd
%{service_add_pre fstrim.service fstrim.timer}
@@ -877,7 +841,7 @@
/usr/sbin/useradd -r -g uuidd -c "User for uuidd" \
-d /var/run/uuidd uuidd 2>/dev/null || :
%{service_add_pre uuidd.socket uuidd.service}
-%systemd_preset_pre
+%{?systemd_preset_pre}
%post -n uuidd
%{service_add_post uuidd.socket uuidd.service}
@@ -889,7 +853,7 @@
%{service_del_postun uuidd.socket uuidd.service}
%posttrans -p /bin/bash -n uuidd
-%systemd_preset_posttrans
+%{?systemd_preset_posttrans}
%endif
%if %build_util_linux
@@ -920,16 +884,12 @@
%config(noreplace) %{_sysconfdir}/pam.d/remote
%config(noreplace) %{_sysconfdir}/pam.d/runuser
%config(noreplace) %{_sysconfdir}/pam.d/runuser-l
-%if %{with enable_su}
%config(noreplace) %{_sysconfdir}/pam.d/su
%config(noreplace) %{_sysconfdir}/pam.d/su-l
%config(noreplace) %{_sysconfdir}/default/su
-%endif
#UsrMerge
-%if %{with enable_su}
/bin/kill
/bin/su
-%endif
/bin/dmesg
/bin/more
/bin/mount
@@ -963,13 +923,9 @@
/sbin/fstrim
/sbin/chcpu
#EndUsrMerge
-%if %{with enable_su}
%{_bindir}/kill
%{_bindir}/su
-%endif
-%if %{with enable_eject}
%{_bindir}/eject
-%endif
%{_bindir}/cal
%{_bindir}/chrt
%{_bindir}/col
@@ -1018,10 +974,8 @@
%{_bindir}/ul
%{_bindir}/umount
%{_bindir}/unshare
-%if %{with sysvinit_tools}
%{_bindir}/mountpoint
%{_bindir}/utmpdump
-%endif
%{_bindir}/uuidgen
%{_bindir}/uname26
%ifnarch ppc ppc64
@@ -1059,9 +1013,7 @@
%{_sbindir}/rtcwake
%{_sbindir}/runuser
%{_sbindir}/setctsid
-%if %{with sysvinit_tools}
%{_sbindir}/sulogin
-%endif
%{_sbindir}/swaplabel
%{_sbindir}/swapoff
%{_sbindir}/swapon
@@ -1071,10 +1023,8 @@
%{_bindir}/whereis
%verify(not mode) %attr(0755,root,tty) %{_bindir}/write
%{_sbindir}/zramctl
-%if %{with enable_su}
%{_mandir}/man1/kill.1.gz
%{_mandir}/man1/su.1.gz
-%endif
%{_mandir}/man1/cal.1.gz
%{_mandir}/man1/chrt.1.gz
%{_mandir}/man1/col.1.gz
@@ -1082,9 +1032,7 @@
%{_mandir}/man1/colrm.1.gz
%{_mandir}/man1/column.1.gz
%{_mandir}/man1/dmesg.1.gz
-%if %{with enable_eject}
%{_mandir}/man1/eject.1.gz
-%endif
%{_mandir}/man1/fallocate.1.gz
%{_mandir}/man1/flock.1.gz
%{_mandir}/man1/getopt.1.gz
@@ -1123,10 +1071,8 @@
%{_mandir}/man1/whereis.1.gz
%{_mandir}/man1/write.1.gz
%{_mandir}/man1/ipcmk.1.gz
-%if %{with sysvinit_tools}
%{_mandir}/man1/mountpoint.1.gz
%{_mandir}/man1/utmpdump.1.gz
-%endif
%{_mandir}/man1/runuser.1.gz
%{_mandir}/man1/uuidgen.1.gz
%{_mandir}/man5/fstab.5.gz
@@ -1178,9 +1124,7 @@
%{_mandir}/man8/fstrim.8.gz
%{_mandir}/man8/lsblk.8.gz
%{_mandir}/man8/resizepart.8.gz
-%if %{with sysvinit_tools}
%{_mandir}/man8/sulogin.8.gz
-%endif
%{_mandir}/man8/wdctl.8.gz
%{_sbindir}/flushb
%{_sbindir}/readprofile
OBS-URL: https://build.opensuse.org/request/show/390044
OBS-URL: https://build.opensuse.org/package/show/Base:System/util-linux?expand=0&rev=304
2016-04-24 11:08:55 +02:00
|
|
|
--with-systemdsystemunitdir=%{_unitdir} \
|
2016-08-22 16:04:49 +02:00
|
|
|
--enable-libuuid-force-uuidd \
|
Accepting request 390044 from home:rudi_m:branches:Base:System
Just a minor cosmetical cleanup which should not change anything
for the Factory build.
Changes:
- fix build for openSUSE >= 13.1 (inclusive SLE 12)
- drop build for openSUSE < 13.1
- remove old build conditions: sysvinit_tools, enable_su and
enable_eject
- cosmetics: reorder configure options
old: Base:System/util-linux
new: home:rudi_m:branches:Base:System/util-linux rev None
Index: python-libmount.changes
===================================================================
--- python-libmount.changes (revision 302)
+++ python-libmount.changes (revision 13)
@@ -1,4 +1,13 @@
-------------------------------------------------------------------
+Wed Apr 13 21:29:00 UTC 2016 - sweet_f_a@gmx.de
+
+- fix build for openSUSE >= 13.1 (inclusive SLE 12)
+- drop build for openSUSE < 13.1
+- remove old build conditions: sysvinit_tools, enable_su and
+ enable_eject
+- cosmetics: reorder configure options
+
+-------------------------------------------------------------------
Wed Apr 13 09:53:21 UTC 2016 - sweet_f_a@gmx.de
- Update to version 2.28:
Index: python-libmount.spec
===================================================================
--- python-libmount.spec (revision 302)
+++ python-libmount.spec (revision 13)
@@ -16,9 +16,6 @@
#
-%bcond_without sysvinit_tools
-%bcond_without enable_su
-%bcond_without enable_eject
%bcond_without enable_last
Name: python-libmount
@@ -97,14 +94,10 @@
%endif
%if %build_util_linux_systemd
BuildRequires: socat
-%if 0%{?suse_version} <= 1230
-BuildRequires: pkgconfig(systemd)
-%else
BuildRequires: systemd-rpm-macros
BuildRequires: pkgconfig(libsystemd-daemon)
BuildRequires: pkgconfig(libsystemd-journal)
%endif
-%endif
%if %build_python_libmount
BuildRequires: python-devel
%endif
@@ -170,25 +163,17 @@
PreReq: %install_info_prereq permissions
PreReq: %insserv_prereq %fillup_prereq /bin/sed
Recommends: %{name}-lang = %{version}
-%if %{with enable_eject}
Provides: eject = 2.1.0-166.8
-%endif
Provides: login = 4.0-33.7
-%if %{with enable_eject}
# File conflict of eject (up to 12.3 and SLE11).
Obsoletes: eject < 2.1.0-166.8
-%endif
# File conflict of login (up to 12.1 and SLE11).
Obsoletes: login < 4.0-33.7
-%if %{with enable_su}
# File conflict of su and kill (up to 12.3 and SLE11).
# It should be coreutils < 8.21-4, but coreutils provide Release-less symbol.
Conflicts: coreutils < 8.21
-%endif
-%if %{with sysvinit_tools}
# File conflict of sulogin and utmpdump (up to 12.3 and SLE11).
Conflicts: sysvinit-tools < 2.88+-87
-%endif
# bnc#805684:
%ifarch s390x
Obsoletes: s390-32
@@ -538,6 +523,7 @@
# sysvinit-only versions of UTIL_LINUX_SYSTEMD_SOURCES utilities.
AUTOPOINT=true autoreconf -vfi
%configure \
+ --disable-silent-rules \
--localstatedir=/run \
--docdir=%{_docdir}/%{_name} \
--with-audit \
@@ -546,46 +532,33 @@
--with-selinux \
$uhead \
--with-bashcompletiondir=%{_datadir}/bash-completion \
- --enable-all-programs \
- --disable-reset \
+ --with-systemdsystemunitdir=%{_unitdir} \
+ --enable-libmount-force-mountinfo \
+ --enable-sulogin-emergency-mount \
--disable-use-tty-group \
- --disable-silent-rules \
--enable-static \
--disable-rpath \
+ --enable-all-programs \
+ --disable-reset \
%if %{without enable_last}
--disable-last \
%endif
-%if %{without enable_eject}
- --disable-eject \
-%endif
-%if %{with sysvinit_tools}
- --enable-sulogin-emergency-mount \
-%else
- --disable-sulogin \
- --disable-mountpoint \
-%endif
-%if %{without enable_su}
- --disable-su \
- --disable-kill \
-%endif
%if %build_util_linux_systemd
+ --with-systemd \
--enable-logger \
--enable-lslogins \
--enable-uuidd \
- --with-systemd \
- --with-systemdsystemunitdir=%{_unitdir} \
%else
+ --without-systemd \
--disable-logger \
--disable-lslogins \
--disable-uuidd \
- --without-systemd \
%endif
%if %build_python_libmount
--with-python \
%else
--without-python \
%endif
- --enable-libmount-force-mountinfo \
#
# Safety check: HAVE_UUIDD should be always 1:
@@ -637,11 +610,9 @@
install -m 644 %{SOURCE9} %{buildroot}%{_sysconfdir}/pam.d/remote
install -m 644 %{SOURCE14} %{buildroot}%{_sysconfdir}/pam.d/runuser
install -m 644 %{SOURCE14} %{buildroot}%{_sysconfdir}/pam.d/runuser-l
-%if %{with enable_su}
install -m 644 %{SOURCE10} %{buildroot}%{_sysconfdir}/pam.d/su
install -m 644 %{SOURCE10} %{buildroot}%{_sysconfdir}/pam.d/su-l
install -m 644 %{SOURCE11} %{buildroot}%{_sysconfdir}/default/su
-%endif
mkdir -p %{buildroot}%{_localstatedir}/adm/fillup-templates
pushd ../klogconsole
# klogconsole install
@@ -655,10 +626,8 @@
rm -f %{buildroot}%{python_sitearch}/libmount/*.*a
%if %build_util_linux
#UsrMerge
-%if %{with enable_su}
ln -s %{_bindir}/kill %{buildroot}/bin
ln -s %{_bindir}/su %{buildroot}/bin
-%endif
ln -s %{_bindir}/dmesg %{buildroot}/bin
ln -s %{_bindir}/more %{buildroot}/bin
ln -s %{_bindir}/mount %{buildroot}/bin
@@ -798,7 +767,6 @@
%post
%{fillup_and_insserv raw}
%set_permissions %{_bindir}/wall %{_bindir}/write %{_bindir}/mount %{_bindir}/umount
-%if %{with enable_su}
%set_permissions %{_bindir}/su
# Safely migrate PAM files from coreutils to util-linux
# (openSUSE 12.3->13.1, SLE11->SLE12)
@@ -817,7 +785,6 @@
mv %{_sysconfdir}/$PAM_FILE.rpmsave %{_sysconfdir}/$PAM_FILE
fi
done
-%endif
# mount option 'code=' is now called 'codepage=' so change fstab
if [ -f etc/fstab ]; then
@@ -829,9 +796,7 @@
%verifyscript
%verify_permissions -e %{_bindir}/wall -e %{_bindir}/write -e %{_bindir}/mount -e %{_bindir}/umount
-%if %{with enable_su}
%verify_permissions -e %{_bindir}/su
-%endif
%post -n libblkid1 -p /sbin/ldconfig
@@ -857,9 +822,8 @@
%endif
%if %build_util_linux_systemd
-# Note: This is not a perfect solution: fstrim is part of util-linux, fstrim services are part of util-linux-systemd (for build loop prevention reasons).
-# If only util-linux is updated, restart of fstrim service does not happen.
-# Maybe we should move fstrim to util-linux-systemd in the next version.
+# fstrim(8) and fstrim.service are from different packages. But it's a oneshot
+# service (timer), no restart needed on binary updates (unless path is changed).
%pre -n util-linux-systemd
%{service_add_pre fstrim.service fstrim.timer}
@@ -877,7 +841,7 @@
/usr/sbin/useradd -r -g uuidd -c "User for uuidd" \
-d /var/run/uuidd uuidd 2>/dev/null || :
%{service_add_pre uuidd.socket uuidd.service}
-%systemd_preset_pre
+%{?systemd_preset_pre}
%post -n uuidd
%{service_add_post uuidd.socket uuidd.service}
@@ -889,7 +853,7 @@
%{service_del_postun uuidd.socket uuidd.service}
%posttrans -p /bin/bash -n uuidd
-%systemd_preset_posttrans
+%{?systemd_preset_posttrans}
%endif
%if %build_util_linux
@@ -920,16 +884,12 @@
%config(noreplace) %{_sysconfdir}/pam.d/remote
%config(noreplace) %{_sysconfdir}/pam.d/runuser
%config(noreplace) %{_sysconfdir}/pam.d/runuser-l
-%if %{with enable_su}
%config(noreplace) %{_sysconfdir}/pam.d/su
%config(noreplace) %{_sysconfdir}/pam.d/su-l
%config(noreplace) %{_sysconfdir}/default/su
-%endif
#UsrMerge
-%if %{with enable_su}
/bin/kill
/bin/su
-%endif
/bin/dmesg
/bin/more
/bin/mount
@@ -963,13 +923,9 @@
/sbin/fstrim
/sbin/chcpu
#EndUsrMerge
-%if %{with enable_su}
%{_bindir}/kill
%{_bindir}/su
-%endif
-%if %{with enable_eject}
%{_bindir}/eject
-%endif
%{_bindir}/cal
%{_bindir}/chrt
%{_bindir}/col
@@ -1018,10 +974,8 @@
%{_bindir}/ul
%{_bindir}/umount
%{_bindir}/unshare
-%if %{with sysvinit_tools}
%{_bindir}/mountpoint
%{_bindir}/utmpdump
-%endif
%{_bindir}/uuidgen
%{_bindir}/uname26
%ifnarch ppc ppc64
@@ -1059,9 +1013,7 @@
%{_sbindir}/rtcwake
%{_sbindir}/runuser
%{_sbindir}/setctsid
-%if %{with sysvinit_tools}
%{_sbindir}/sulogin
-%endif
%{_sbindir}/swaplabel
%{_sbindir}/swapoff
%{_sbindir}/swapon
@@ -1071,10 +1023,8 @@
%{_bindir}/whereis
%verify(not mode) %attr(0755,root,tty) %{_bindir}/write
%{_sbindir}/zramctl
-%if %{with enable_su}
%{_mandir}/man1/kill.1.gz
%{_mandir}/man1/su.1.gz
-%endif
%{_mandir}/man1/cal.1.gz
%{_mandir}/man1/chrt.1.gz
%{_mandir}/man1/col.1.gz
@@ -1082,9 +1032,7 @@
%{_mandir}/man1/colrm.1.gz
%{_mandir}/man1/column.1.gz
%{_mandir}/man1/dmesg.1.gz
-%if %{with enable_eject}
%{_mandir}/man1/eject.1.gz
-%endif
%{_mandir}/man1/fallocate.1.gz
%{_mandir}/man1/flock.1.gz
%{_mandir}/man1/getopt.1.gz
@@ -1123,10 +1071,8 @@
%{_mandir}/man1/whereis.1.gz
%{_mandir}/man1/write.1.gz
%{_mandir}/man1/ipcmk.1.gz
-%if %{with sysvinit_tools}
%{_mandir}/man1/mountpoint.1.gz
%{_mandir}/man1/utmpdump.1.gz
-%endif
%{_mandir}/man1/runuser.1.gz
%{_mandir}/man1/uuidgen.1.gz
%{_mandir}/man5/fstab.5.gz
@@ -1178,9 +1124,7 @@
%{_mandir}/man8/fstrim.8.gz
%{_mandir}/man8/lsblk.8.gz
%{_mandir}/man8/resizepart.8.gz
-%if %{with sysvinit_tools}
%{_mandir}/man8/sulogin.8.gz
-%endif
%{_mandir}/man8/wdctl.8.gz
%{_sbindir}/flushb
%{_sbindir}/readprofile
Index: util-linux-systemd.changes
===================================================================
--- util-linux-systemd.changes (revision 302)
+++ util-linux-systemd.changes (revision 13)
@@ -1,4 +1,13 @@
-------------------------------------------------------------------
+Wed Apr 13 21:29:00 UTC 2016 - sweet_f_a@gmx.de
+
+- fix build for openSUSE >= 13.1 (inclusive SLE 12)
+- drop build for openSUSE < 13.1
+- remove old build conditions: sysvinit_tools, enable_su and
+ enable_eject
+- cosmetics: reorder configure options
+
+-------------------------------------------------------------------
Wed Apr 13 09:53:21 UTC 2016 - sweet_f_a@gmx.de
- Update to version 2.28:
Index: util-linux-systemd.spec
===================================================================
--- util-linux-systemd.spec (revision 302)
+++ util-linux-systemd.spec (revision 13)
@@ -16,9 +16,6 @@
#
-%bcond_without sysvinit_tools
-%bcond_without enable_su
-%bcond_without enable_eject
%bcond_without enable_last
Name: util-linux-systemd
@@ -97,14 +94,10 @@
%endif
%if %build_util_linux_systemd
BuildRequires: socat
-%if 0%{?suse_version} <= 1230
-BuildRequires: pkgconfig(systemd)
-%else
BuildRequires: systemd-rpm-macros
BuildRequires: pkgconfig(libsystemd-daemon)
BuildRequires: pkgconfig(libsystemd-journal)
%endif
-%endif
%if %build_python_libmount
BuildRequires: python-devel
%endif
@@ -170,25 +163,17 @@
PreReq: %install_info_prereq permissions
PreReq: %insserv_prereq %fillup_prereq /bin/sed
Recommends: %{name}-lang = %{version}
-%if %{with enable_eject}
Provides: eject = 2.1.0-166.8
-%endif
Provides: login = 4.0-33.7
-%if %{with enable_eject}
# File conflict of eject (up to 12.3 and SLE11).
Obsoletes: eject < 2.1.0-166.8
-%endif
# File conflict of login (up to 12.1 and SLE11).
Obsoletes: login < 4.0-33.7
-%if %{with enable_su}
# File conflict of su and kill (up to 12.3 and SLE11).
# It should be coreutils < 8.21-4, but coreutils provide Release-less symbol.
Conflicts: coreutils < 8.21
-%endif
-%if %{with sysvinit_tools}
# File conflict of sulogin and utmpdump (up to 12.3 and SLE11).
Conflicts: sysvinit-tools < 2.88+-87
-%endif
# bnc#805684:
%ifarch s390x
Obsoletes: s390-32
@@ -538,6 +523,7 @@
# sysvinit-only versions of UTIL_LINUX_SYSTEMD_SOURCES utilities.
AUTOPOINT=true autoreconf -vfi
%configure \
+ --disable-silent-rules \
--localstatedir=/run \
--docdir=%{_docdir}/%{_name} \
--with-audit \
@@ -546,46 +532,33 @@
--with-selinux \
$uhead \
--with-bashcompletiondir=%{_datadir}/bash-completion \
- --enable-all-programs \
- --disable-reset \
+ --with-systemdsystemunitdir=%{_unitdir} \
+ --enable-libmount-force-mountinfo \
+ --enable-sulogin-emergency-mount \
--disable-use-tty-group \
- --disable-silent-rules \
--enable-static \
--disable-rpath \
+ --enable-all-programs \
+ --disable-reset \
%if %{without enable_last}
--disable-last \
%endif
-%if %{without enable_eject}
- --disable-eject \
-%endif
-%if %{with sysvinit_tools}
- --enable-sulogin-emergency-mount \
-%else
- --disable-sulogin \
- --disable-mountpoint \
-%endif
-%if %{without enable_su}
- --disable-su \
- --disable-kill \
-%endif
%if %build_util_linux_systemd
+ --with-systemd \
--enable-logger \
--enable-lslogins \
--enable-uuidd \
- --with-systemd \
- --with-systemdsystemunitdir=%{_unitdir} \
%else
+ --without-systemd \
--disable-logger \
--disable-lslogins \
--disable-uuidd \
- --without-systemd \
%endif
%if %build_python_libmount
--with-python \
%else
--without-python \
%endif
- --enable-libmount-force-mountinfo \
#
# Safety check: HAVE_UUIDD should be always 1:
@@ -637,11 +610,9 @@
install -m 644 %{SOURCE9} %{buildroot}%{_sysconfdir}/pam.d/remote
install -m 644 %{SOURCE14} %{buildroot}%{_sysconfdir}/pam.d/runuser
install -m 644 %{SOURCE14} %{buildroot}%{_sysconfdir}/pam.d/runuser-l
-%if %{with enable_su}
install -m 644 %{SOURCE10} %{buildroot}%{_sysconfdir}/pam.d/su
install -m 644 %{SOURCE10} %{buildroot}%{_sysconfdir}/pam.d/su-l
install -m 644 %{SOURCE11} %{buildroot}%{_sysconfdir}/default/su
-%endif
mkdir -p %{buildroot}%{_localstatedir}/adm/fillup-templates
pushd ../klogconsole
# klogconsole install
@@ -655,10 +626,8 @@
rm -f %{buildroot}%{python_sitearch}/libmount/*.*a
%if %build_util_linux
#UsrMerge
-%if %{with enable_su}
ln -s %{_bindir}/kill %{buildroot}/bin
ln -s %{_bindir}/su %{buildroot}/bin
-%endif
ln -s %{_bindir}/dmesg %{buildroot}/bin
ln -s %{_bindir}/more %{buildroot}/bin
ln -s %{_bindir}/mount %{buildroot}/bin
@@ -798,7 +767,6 @@
%post
%{fillup_and_insserv raw}
%set_permissions %{_bindir}/wall %{_bindir}/write %{_bindir}/mount %{_bindir}/umount
-%if %{with enable_su}
%set_permissions %{_bindir}/su
# Safely migrate PAM files from coreutils to util-linux
# (openSUSE 12.3->13.1, SLE11->SLE12)
@@ -817,7 +785,6 @@
mv %{_sysconfdir}/$PAM_FILE.rpmsave %{_sysconfdir}/$PAM_FILE
fi
done
-%endif
# mount option 'code=' is now called 'codepage=' so change fstab
if [ -f etc/fstab ]; then
@@ -829,9 +796,7 @@
%verifyscript
%verify_permissions -e %{_bindir}/wall -e %{_bindir}/write -e %{_bindir}/mount -e %{_bindir}/umount
-%if %{with enable_su}
%verify_permissions -e %{_bindir}/su
-%endif
%post -n libblkid1 -p /sbin/ldconfig
@@ -857,9 +822,8 @@
%endif
%if %build_util_linux_systemd
-# Note: This is not a perfect solution: fstrim is part of util-linux, fstrim services are part of util-linux-systemd (for build loop prevention reasons).
-# If only util-linux is updated, restart of fstrim service does not happen.
-# Maybe we should move fstrim to util-linux-systemd in the next version.
+# fstrim(8) and fstrim.service are from different packages. But it's a oneshot
+# service (timer), no restart needed on binary updates (unless path is changed).
%pre -n util-linux-systemd
%{service_add_pre fstrim.service fstrim.timer}
@@ -877,7 +841,7 @@
/usr/sbin/useradd -r -g uuidd -c "User for uuidd" \
-d /var/run/uuidd uuidd 2>/dev/null || :
%{service_add_pre uuidd.socket uuidd.service}
-%systemd_preset_pre
+%{?systemd_preset_pre}
%post -n uuidd
%{service_add_post uuidd.socket uuidd.service}
@@ -889,7 +853,7 @@
%{service_del_postun uuidd.socket uuidd.service}
%posttrans -p /bin/bash -n uuidd
-%systemd_preset_posttrans
+%{?systemd_preset_posttrans}
%endif
%if %build_util_linux
@@ -920,16 +884,12 @@
%config(noreplace) %{_sysconfdir}/pam.d/remote
%config(noreplace) %{_sysconfdir}/pam.d/runuser
%config(noreplace) %{_sysconfdir}/pam.d/runuser-l
-%if %{with enable_su}
%config(noreplace) %{_sysconfdir}/pam.d/su
%config(noreplace) %{_sysconfdir}/pam.d/su-l
%config(noreplace) %{_sysconfdir}/default/su
-%endif
#UsrMerge
-%if %{with enable_su}
/bin/kill
/bin/su
-%endif
/bin/dmesg
/bin/more
/bin/mount
@@ -963,13 +923,9 @@
/sbin/fstrim
/sbin/chcpu
#EndUsrMerge
-%if %{with enable_su}
%{_bindir}/kill
%{_bindir}/su
-%endif
-%if %{with enable_eject}
%{_bindir}/eject
-%endif
%{_bindir}/cal
%{_bindir}/chrt
%{_bindir}/col
@@ -1018,10 +974,8 @@
%{_bindir}/ul
%{_bindir}/umount
%{_bindir}/unshare
-%if %{with sysvinit_tools}
%{_bindir}/mountpoint
%{_bindir}/utmpdump
-%endif
%{_bindir}/uuidgen
%{_bindir}/uname26
%ifnarch ppc ppc64
@@ -1059,9 +1013,7 @@
%{_sbindir}/rtcwake
%{_sbindir}/runuser
%{_sbindir}/setctsid
-%if %{with sysvinit_tools}
%{_sbindir}/sulogin
-%endif
%{_sbindir}/swaplabel
%{_sbindir}/swapoff
%{_sbindir}/swapon
@@ -1071,10 +1023,8 @@
%{_bindir}/whereis
%verify(not mode) %attr(0755,root,tty) %{_bindir}/write
%{_sbindir}/zramctl
-%if %{with enable_su}
%{_mandir}/man1/kill.1.gz
%{_mandir}/man1/su.1.gz
-%endif
%{_mandir}/man1/cal.1.gz
%{_mandir}/man1/chrt.1.gz
%{_mandir}/man1/col.1.gz
@@ -1082,9 +1032,7 @@
%{_mandir}/man1/colrm.1.gz
%{_mandir}/man1/column.1.gz
%{_mandir}/man1/dmesg.1.gz
-%if %{with enable_eject}
%{_mandir}/man1/eject.1.gz
-%endif
%{_mandir}/man1/fallocate.1.gz
%{_mandir}/man1/flock.1.gz
%{_mandir}/man1/getopt.1.gz
@@ -1123,10 +1071,8 @@
%{_mandir}/man1/whereis.1.gz
%{_mandir}/man1/write.1.gz
%{_mandir}/man1/ipcmk.1.gz
-%if %{with sysvinit_tools}
%{_mandir}/man1/mountpoint.1.gz
%{_mandir}/man1/utmpdump.1.gz
-%endif
%{_mandir}/man1/runuser.1.gz
%{_mandir}/man1/uuidgen.1.gz
%{_mandir}/man5/fstab.5.gz
@@ -1178,9 +1124,7 @@
%{_mandir}/man8/fstrim.8.gz
%{_mandir}/man8/lsblk.8.gz
%{_mandir}/man8/resizepart.8.gz
-%if %{with sysvinit_tools}
%{_mandir}/man8/sulogin.8.gz
-%endif
%{_mandir}/man8/wdctl.8.gz
%{_sbindir}/flushb
%{_sbindir}/readprofile
Index: util-linux.changes
===================================================================
--- util-linux.changes (revision 302)
+++ util-linux.changes (revision 13)
@@ -1,4 +1,13 @@
-------------------------------------------------------------------
+Wed Apr 13 21:29:00 UTC 2016 - sweet_f_a@gmx.de
+
+- fix build for openSUSE >= 13.1 (inclusive SLE 12)
+- drop build for openSUSE < 13.1
+- remove old build conditions: sysvinit_tools, enable_su and
+ enable_eject
+- cosmetics: reorder configure options
+
+-------------------------------------------------------------------
Wed Apr 13 09:53:21 UTC 2016 - sweet_f_a@gmx.de
- Update to version 2.28:
Index: util-linux.spec
===================================================================
--- util-linux.spec (revision 302)
+++ util-linux.spec (revision 13)
@@ -16,9 +16,6 @@
#
-%bcond_without sysvinit_tools
-%bcond_without enable_su
-%bcond_without enable_eject
%bcond_without enable_last
Name: util-linux
@@ -97,14 +94,10 @@
%endif
%if %build_util_linux_systemd
BuildRequires: socat
-%if 0%{?suse_version} <= 1230
-BuildRequires: pkgconfig(systemd)
-%else
BuildRequires: systemd-rpm-macros
BuildRequires: pkgconfig(libsystemd-daemon)
BuildRequires: pkgconfig(libsystemd-journal)
%endif
-%endif
%if %build_python_libmount
BuildRequires: python-devel
%endif
@@ -170,25 +163,17 @@
PreReq: %install_info_prereq permissions
PreReq: %insserv_prereq %fillup_prereq /bin/sed
Recommends: %{name}-lang = %{version}
-%if %{with enable_eject}
Provides: eject = 2.1.0-166.8
-%endif
Provides: login = 4.0-33.7
-%if %{with enable_eject}
# File conflict of eject (up to 12.3 and SLE11).
Obsoletes: eject < 2.1.0-166.8
-%endif
# File conflict of login (up to 12.1 and SLE11).
Obsoletes: login < 4.0-33.7
-%if %{with enable_su}
# File conflict of su and kill (up to 12.3 and SLE11).
# It should be coreutils < 8.21-4, but coreutils provide Release-less symbol.
Conflicts: coreutils < 8.21
-%endif
-%if %{with sysvinit_tools}
# File conflict of sulogin and utmpdump (up to 12.3 and SLE11).
Conflicts: sysvinit-tools < 2.88+-87
-%endif
# bnc#805684:
%ifarch s390x
Obsoletes: s390-32
@@ -538,6 +523,7 @@
# sysvinit-only versions of UTIL_LINUX_SYSTEMD_SOURCES utilities.
AUTOPOINT=true autoreconf -vfi
%configure \
+ --disable-silent-rules \
--localstatedir=/run \
--docdir=%{_docdir}/%{_name} \
--with-audit \
@@ -546,46 +532,33 @@
--with-selinux \
$uhead \
--with-bashcompletiondir=%{_datadir}/bash-completion \
- --enable-all-programs \
- --disable-reset \
+ --with-systemdsystemunitdir=%{_unitdir} \
+ --enable-libmount-force-mountinfo \
+ --enable-sulogin-emergency-mount \
--disable-use-tty-group \
- --disable-silent-rules \
--enable-static \
--disable-rpath \
+ --enable-all-programs \
+ --disable-reset \
%if %{without enable_last}
--disable-last \
%endif
-%if %{without enable_eject}
- --disable-eject \
-%endif
-%if %{with sysvinit_tools}
- --enable-sulogin-emergency-mount \
-%else
- --disable-sulogin \
- --disable-mountpoint \
-%endif
-%if %{without enable_su}
- --disable-su \
- --disable-kill \
-%endif
%if %build_util_linux_systemd
+ --with-systemd \
--enable-logger \
--enable-lslogins \
--enable-uuidd \
- --with-systemd \
- --with-systemdsystemunitdir=%{_unitdir} \
%else
+ --without-systemd \
--disable-logger \
--disable-lslogins \
--disable-uuidd \
- --without-systemd \
%endif
%if %build_python_libmount
--with-python \
%else
--without-python \
%endif
- --enable-libmount-force-mountinfo \
#
# Safety check: HAVE_UUIDD should be always 1:
@@ -637,11 +610,9 @@
install -m 644 %{SOURCE9} %{buildroot}%{_sysconfdir}/pam.d/remote
install -m 644 %{SOURCE14} %{buildroot}%{_sysconfdir}/pam.d/runuser
install -m 644 %{SOURCE14} %{buildroot}%{_sysconfdir}/pam.d/runuser-l
-%if %{with enable_su}
install -m 644 %{SOURCE10} %{buildroot}%{_sysconfdir}/pam.d/su
install -m 644 %{SOURCE10} %{buildroot}%{_sysconfdir}/pam.d/su-l
install -m 644 %{SOURCE11} %{buildroot}%{_sysconfdir}/default/su
-%endif
mkdir -p %{buildroot}%{_localstatedir}/adm/fillup-templates
pushd ../klogconsole
# klogconsole install
@@ -655,10 +626,8 @@
rm -f %{buildroot}%{python_sitearch}/libmount/*.*a
%if %build_util_linux
#UsrMerge
-%if %{with enable_su}
ln -s %{_bindir}/kill %{buildroot}/bin
ln -s %{_bindir}/su %{buildroot}/bin
-%endif
ln -s %{_bindir}/dmesg %{buildroot}/bin
ln -s %{_bindir}/more %{buildroot}/bin
ln -s %{_bindir}/mount %{buildroot}/bin
@@ -798,7 +767,6 @@
%post
%{fillup_and_insserv raw}
%set_permissions %{_bindir}/wall %{_bindir}/write %{_bindir}/mount %{_bindir}/umount
-%if %{with enable_su}
%set_permissions %{_bindir}/su
# Safely migrate PAM files from coreutils to util-linux
# (openSUSE 12.3->13.1, SLE11->SLE12)
@@ -817,7 +785,6 @@
mv %{_sysconfdir}/$PAM_FILE.rpmsave %{_sysconfdir}/$PAM_FILE
fi
done
-%endif
# mount option 'code=' is now called 'codepage=' so change fstab
if [ -f etc/fstab ]; then
@@ -829,9 +796,7 @@
%verifyscript
%verify_permissions -e %{_bindir}/wall -e %{_bindir}/write -e %{_bindir}/mount -e %{_bindir}/umount
-%if %{with enable_su}
%verify_permissions -e %{_bindir}/su
-%endif
%post -n libblkid1 -p /sbin/ldconfig
@@ -857,9 +822,8 @@
%endif
%if %build_util_linux_systemd
-# Note: This is not a perfect solution: fstrim is part of util-linux, fstrim services are part of util-linux-systemd (for build loop prevention reasons).
-# If only util-linux is updated, restart of fstrim service does not happen.
-# Maybe we should move fstrim to util-linux-systemd in the next version.
+# fstrim(8) and fstrim.service are from different packages. But it's a oneshot
+# service (timer), no restart needed on binary updates (unless path is changed).
%pre -n util-linux-systemd
%{service_add_pre fstrim.service fstrim.timer}
@@ -877,7 +841,7 @@
/usr/sbin/useradd -r -g uuidd -c "User for uuidd" \
-d /var/run/uuidd uuidd 2>/dev/null || :
%{service_add_pre uuidd.socket uuidd.service}
-%systemd_preset_pre
+%{?systemd_preset_pre}
%post -n uuidd
%{service_add_post uuidd.socket uuidd.service}
@@ -889,7 +853,7 @@
%{service_del_postun uuidd.socket uuidd.service}
%posttrans -p /bin/bash -n uuidd
-%systemd_preset_posttrans
+%{?systemd_preset_posttrans}
%endif
%if %build_util_linux
@@ -920,16 +884,12 @@
%config(noreplace) %{_sysconfdir}/pam.d/remote
%config(noreplace) %{_sysconfdir}/pam.d/runuser
%config(noreplace) %{_sysconfdir}/pam.d/runuser-l
-%if %{with enable_su}
%config(noreplace) %{_sysconfdir}/pam.d/su
%config(noreplace) %{_sysconfdir}/pam.d/su-l
%config(noreplace) %{_sysconfdir}/default/su
-%endif
#UsrMerge
-%if %{with enable_su}
/bin/kill
/bin/su
-%endif
/bin/dmesg
/bin/more
/bin/mount
@@ -963,13 +923,9 @@
/sbin/fstrim
/sbin/chcpu
#EndUsrMerge
-%if %{with enable_su}
%{_bindir}/kill
%{_bindir}/su
-%endif
-%if %{with enable_eject}
%{_bindir}/eject
-%endif
%{_bindir}/cal
%{_bindir}/chrt
%{_bindir}/col
@@ -1018,10 +974,8 @@
%{_bindir}/ul
%{_bindir}/umount
%{_bindir}/unshare
-%if %{with sysvinit_tools}
%{_bindir}/mountpoint
%{_bindir}/utmpdump
-%endif
%{_bindir}/uuidgen
%{_bindir}/uname26
%ifnarch ppc ppc64
@@ -1059,9 +1013,7 @@
%{_sbindir}/rtcwake
%{_sbindir}/runuser
%{_sbindir}/setctsid
-%if %{with sysvinit_tools}
%{_sbindir}/sulogin
-%endif
%{_sbindir}/swaplabel
%{_sbindir}/swapoff
%{_sbindir}/swapon
@@ -1071,10 +1023,8 @@
%{_bindir}/whereis
%verify(not mode) %attr(0755,root,tty) %{_bindir}/write
%{_sbindir}/zramctl
-%if %{with enable_su}
%{_mandir}/man1/kill.1.gz
%{_mandir}/man1/su.1.gz
-%endif
%{_mandir}/man1/cal.1.gz
%{_mandir}/man1/chrt.1.gz
%{_mandir}/man1/col.1.gz
@@ -1082,9 +1032,7 @@
%{_mandir}/man1/colrm.1.gz
%{_mandir}/man1/column.1.gz
%{_mandir}/man1/dmesg.1.gz
-%if %{with enable_eject}
%{_mandir}/man1/eject.1.gz
-%endif
%{_mandir}/man1/fallocate.1.gz
%{_mandir}/man1/flock.1.gz
%{_mandir}/man1/getopt.1.gz
@@ -1123,10 +1071,8 @@
%{_mandir}/man1/whereis.1.gz
%{_mandir}/man1/write.1.gz
%{_mandir}/man1/ipcmk.1.gz
-%if %{with sysvinit_tools}
%{_mandir}/man1/mountpoint.1.gz
%{_mandir}/man1/utmpdump.1.gz
-%endif
%{_mandir}/man1/runuser.1.gz
%{_mandir}/man1/uuidgen.1.gz
%{_mandir}/man5/fstab.5.gz
@@ -1178,9 +1124,7 @@
%{_mandir}/man8/fstrim.8.gz
%{_mandir}/man8/lsblk.8.gz
%{_mandir}/man8/resizepart.8.gz
-%if %{with sysvinit_tools}
%{_mandir}/man8/sulogin.8.gz
-%endif
%{_mandir}/man8/wdctl.8.gz
%{_sbindir}/flushb
%{_sbindir}/readprofile
OBS-URL: https://build.opensuse.org/request/show/390044
OBS-URL: https://build.opensuse.org/package/show/Base:System/util-linux?expand=0&rev=304
2016-04-24 11:08:55 +02:00
|
|
|
--enable-sulogin-emergency-mount \
|
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
|
|
|
--disable-use-tty-group \
|
|
|
|
--enable-static \
|
|
|
|
--disable-rpath \
|
Accepting request 390044 from home:rudi_m:branches:Base:System
Just a minor cosmetical cleanup which should not change anything
for the Factory build.
Changes:
- fix build for openSUSE >= 13.1 (inclusive SLE 12)
- drop build for openSUSE < 13.1
- remove old build conditions: sysvinit_tools, enable_su and
enable_eject
- cosmetics: reorder configure options
old: Base:System/util-linux
new: home:rudi_m:branches:Base:System/util-linux rev None
Index: python-libmount.changes
===================================================================
--- python-libmount.changes (revision 302)
+++ python-libmount.changes (revision 13)
@@ -1,4 +1,13 @@
-------------------------------------------------------------------
+Wed Apr 13 21:29:00 UTC 2016 - sweet_f_a@gmx.de
+
+- fix build for openSUSE >= 13.1 (inclusive SLE 12)
+- drop build for openSUSE < 13.1
+- remove old build conditions: sysvinit_tools, enable_su and
+ enable_eject
+- cosmetics: reorder configure options
+
+-------------------------------------------------------------------
Wed Apr 13 09:53:21 UTC 2016 - sweet_f_a@gmx.de
- Update to version 2.28:
Index: python-libmount.spec
===================================================================
--- python-libmount.spec (revision 302)
+++ python-libmount.spec (revision 13)
@@ -16,9 +16,6 @@
#
-%bcond_without sysvinit_tools
-%bcond_without enable_su
-%bcond_without enable_eject
%bcond_without enable_last
Name: python-libmount
@@ -97,14 +94,10 @@
%endif
%if %build_util_linux_systemd
BuildRequires: socat
-%if 0%{?suse_version} <= 1230
-BuildRequires: pkgconfig(systemd)
-%else
BuildRequires: systemd-rpm-macros
BuildRequires: pkgconfig(libsystemd-daemon)
BuildRequires: pkgconfig(libsystemd-journal)
%endif
-%endif
%if %build_python_libmount
BuildRequires: python-devel
%endif
@@ -170,25 +163,17 @@
PreReq: %install_info_prereq permissions
PreReq: %insserv_prereq %fillup_prereq /bin/sed
Recommends: %{name}-lang = %{version}
-%if %{with enable_eject}
Provides: eject = 2.1.0-166.8
-%endif
Provides: login = 4.0-33.7
-%if %{with enable_eject}
# File conflict of eject (up to 12.3 and SLE11).
Obsoletes: eject < 2.1.0-166.8
-%endif
# File conflict of login (up to 12.1 and SLE11).
Obsoletes: login < 4.0-33.7
-%if %{with enable_su}
# File conflict of su and kill (up to 12.3 and SLE11).
# It should be coreutils < 8.21-4, but coreutils provide Release-less symbol.
Conflicts: coreutils < 8.21
-%endif
-%if %{with sysvinit_tools}
# File conflict of sulogin and utmpdump (up to 12.3 and SLE11).
Conflicts: sysvinit-tools < 2.88+-87
-%endif
# bnc#805684:
%ifarch s390x
Obsoletes: s390-32
@@ -538,6 +523,7 @@
# sysvinit-only versions of UTIL_LINUX_SYSTEMD_SOURCES utilities.
AUTOPOINT=true autoreconf -vfi
%configure \
+ --disable-silent-rules \
--localstatedir=/run \
--docdir=%{_docdir}/%{_name} \
--with-audit \
@@ -546,46 +532,33 @@
--with-selinux \
$uhead \
--with-bashcompletiondir=%{_datadir}/bash-completion \
- --enable-all-programs \
- --disable-reset \
+ --with-systemdsystemunitdir=%{_unitdir} \
+ --enable-libmount-force-mountinfo \
+ --enable-sulogin-emergency-mount \
--disable-use-tty-group \
- --disable-silent-rules \
--enable-static \
--disable-rpath \
+ --enable-all-programs \
+ --disable-reset \
%if %{without enable_last}
--disable-last \
%endif
-%if %{without enable_eject}
- --disable-eject \
-%endif
-%if %{with sysvinit_tools}
- --enable-sulogin-emergency-mount \
-%else
- --disable-sulogin \
- --disable-mountpoint \
-%endif
-%if %{without enable_su}
- --disable-su \
- --disable-kill \
-%endif
%if %build_util_linux_systemd
+ --with-systemd \
--enable-logger \
--enable-lslogins \
--enable-uuidd \
- --with-systemd \
- --with-systemdsystemunitdir=%{_unitdir} \
%else
+ --without-systemd \
--disable-logger \
--disable-lslogins \
--disable-uuidd \
- --without-systemd \
%endif
%if %build_python_libmount
--with-python \
%else
--without-python \
%endif
- --enable-libmount-force-mountinfo \
#
# Safety check: HAVE_UUIDD should be always 1:
@@ -637,11 +610,9 @@
install -m 644 %{SOURCE9} %{buildroot}%{_sysconfdir}/pam.d/remote
install -m 644 %{SOURCE14} %{buildroot}%{_sysconfdir}/pam.d/runuser
install -m 644 %{SOURCE14} %{buildroot}%{_sysconfdir}/pam.d/runuser-l
-%if %{with enable_su}
install -m 644 %{SOURCE10} %{buildroot}%{_sysconfdir}/pam.d/su
install -m 644 %{SOURCE10} %{buildroot}%{_sysconfdir}/pam.d/su-l
install -m 644 %{SOURCE11} %{buildroot}%{_sysconfdir}/default/su
-%endif
mkdir -p %{buildroot}%{_localstatedir}/adm/fillup-templates
pushd ../klogconsole
# klogconsole install
@@ -655,10 +626,8 @@
rm -f %{buildroot}%{python_sitearch}/libmount/*.*a
%if %build_util_linux
#UsrMerge
-%if %{with enable_su}
ln -s %{_bindir}/kill %{buildroot}/bin
ln -s %{_bindir}/su %{buildroot}/bin
-%endif
ln -s %{_bindir}/dmesg %{buildroot}/bin
ln -s %{_bindir}/more %{buildroot}/bin
ln -s %{_bindir}/mount %{buildroot}/bin
@@ -798,7 +767,6 @@
%post
%{fillup_and_insserv raw}
%set_permissions %{_bindir}/wall %{_bindir}/write %{_bindir}/mount %{_bindir}/umount
-%if %{with enable_su}
%set_permissions %{_bindir}/su
# Safely migrate PAM files from coreutils to util-linux
# (openSUSE 12.3->13.1, SLE11->SLE12)
@@ -817,7 +785,6 @@
mv %{_sysconfdir}/$PAM_FILE.rpmsave %{_sysconfdir}/$PAM_FILE
fi
done
-%endif
# mount option 'code=' is now called 'codepage=' so change fstab
if [ -f etc/fstab ]; then
@@ -829,9 +796,7 @@
%verifyscript
%verify_permissions -e %{_bindir}/wall -e %{_bindir}/write -e %{_bindir}/mount -e %{_bindir}/umount
-%if %{with enable_su}
%verify_permissions -e %{_bindir}/su
-%endif
%post -n libblkid1 -p /sbin/ldconfig
@@ -857,9 +822,8 @@
%endif
%if %build_util_linux_systemd
-# Note: This is not a perfect solution: fstrim is part of util-linux, fstrim services are part of util-linux-systemd (for build loop prevention reasons).
-# If only util-linux is updated, restart of fstrim service does not happen.
-# Maybe we should move fstrim to util-linux-systemd in the next version.
+# fstrim(8) and fstrim.service are from different packages. But it's a oneshot
+# service (timer), no restart needed on binary updates (unless path is changed).
%pre -n util-linux-systemd
%{service_add_pre fstrim.service fstrim.timer}
@@ -877,7 +841,7 @@
/usr/sbin/useradd -r -g uuidd -c "User for uuidd" \
-d /var/run/uuidd uuidd 2>/dev/null || :
%{service_add_pre uuidd.socket uuidd.service}
-%systemd_preset_pre
+%{?systemd_preset_pre}
%post -n uuidd
%{service_add_post uuidd.socket uuidd.service}
@@ -889,7 +853,7 @@
%{service_del_postun uuidd.socket uuidd.service}
%posttrans -p /bin/bash -n uuidd
-%systemd_preset_posttrans
+%{?systemd_preset_posttrans}
%endif
%if %build_util_linux
@@ -920,16 +884,12 @@
%config(noreplace) %{_sysconfdir}/pam.d/remote
%config(noreplace) %{_sysconfdir}/pam.d/runuser
%config(noreplace) %{_sysconfdir}/pam.d/runuser-l
-%if %{with enable_su}
%config(noreplace) %{_sysconfdir}/pam.d/su
%config(noreplace) %{_sysconfdir}/pam.d/su-l
%config(noreplace) %{_sysconfdir}/default/su
-%endif
#UsrMerge
-%if %{with enable_su}
/bin/kill
/bin/su
-%endif
/bin/dmesg
/bin/more
/bin/mount
@@ -963,13 +923,9 @@
/sbin/fstrim
/sbin/chcpu
#EndUsrMerge
-%if %{with enable_su}
%{_bindir}/kill
%{_bindir}/su
-%endif
-%if %{with enable_eject}
%{_bindir}/eject
-%endif
%{_bindir}/cal
%{_bindir}/chrt
%{_bindir}/col
@@ -1018,10 +974,8 @@
%{_bindir}/ul
%{_bindir}/umount
%{_bindir}/unshare
-%if %{with sysvinit_tools}
%{_bindir}/mountpoint
%{_bindir}/utmpdump
-%endif
%{_bindir}/uuidgen
%{_bindir}/uname26
%ifnarch ppc ppc64
@@ -1059,9 +1013,7 @@
%{_sbindir}/rtcwake
%{_sbindir}/runuser
%{_sbindir}/setctsid
-%if %{with sysvinit_tools}
%{_sbindir}/sulogin
-%endif
%{_sbindir}/swaplabel
%{_sbindir}/swapoff
%{_sbindir}/swapon
@@ -1071,10 +1023,8 @@
%{_bindir}/whereis
%verify(not mode) %attr(0755,root,tty) %{_bindir}/write
%{_sbindir}/zramctl
-%if %{with enable_su}
%{_mandir}/man1/kill.1.gz
%{_mandir}/man1/su.1.gz
-%endif
%{_mandir}/man1/cal.1.gz
%{_mandir}/man1/chrt.1.gz
%{_mandir}/man1/col.1.gz
@@ -1082,9 +1032,7 @@
%{_mandir}/man1/colrm.1.gz
%{_mandir}/man1/column.1.gz
%{_mandir}/man1/dmesg.1.gz
-%if %{with enable_eject}
%{_mandir}/man1/eject.1.gz
-%endif
%{_mandir}/man1/fallocate.1.gz
%{_mandir}/man1/flock.1.gz
%{_mandir}/man1/getopt.1.gz
@@ -1123,10 +1071,8 @@
%{_mandir}/man1/whereis.1.gz
%{_mandir}/man1/write.1.gz
%{_mandir}/man1/ipcmk.1.gz
-%if %{with sysvinit_tools}
%{_mandir}/man1/mountpoint.1.gz
%{_mandir}/man1/utmpdump.1.gz
-%endif
%{_mandir}/man1/runuser.1.gz
%{_mandir}/man1/uuidgen.1.gz
%{_mandir}/man5/fstab.5.gz
@@ -1178,9 +1124,7 @@
%{_mandir}/man8/fstrim.8.gz
%{_mandir}/man8/lsblk.8.gz
%{_mandir}/man8/resizepart.8.gz
-%if %{with sysvinit_tools}
%{_mandir}/man8/sulogin.8.gz
-%endif
%{_mandir}/man8/wdctl.8.gz
%{_sbindir}/flushb
%{_sbindir}/readprofile
Index: util-linux-systemd.changes
===================================================================
--- util-linux-systemd.changes (revision 302)
+++ util-linux-systemd.changes (revision 13)
@@ -1,4 +1,13 @@
-------------------------------------------------------------------
+Wed Apr 13 21:29:00 UTC 2016 - sweet_f_a@gmx.de
+
+- fix build for openSUSE >= 13.1 (inclusive SLE 12)
+- drop build for openSUSE < 13.1
+- remove old build conditions: sysvinit_tools, enable_su and
+ enable_eject
+- cosmetics: reorder configure options
+
+-------------------------------------------------------------------
Wed Apr 13 09:53:21 UTC 2016 - sweet_f_a@gmx.de
- Update to version 2.28:
Index: util-linux-systemd.spec
===================================================================
--- util-linux-systemd.spec (revision 302)
+++ util-linux-systemd.spec (revision 13)
@@ -16,9 +16,6 @@
#
-%bcond_without sysvinit_tools
-%bcond_without enable_su
-%bcond_without enable_eject
%bcond_without enable_last
Name: util-linux-systemd
@@ -97,14 +94,10 @@
%endif
%if %build_util_linux_systemd
BuildRequires: socat
-%if 0%{?suse_version} <= 1230
-BuildRequires: pkgconfig(systemd)
-%else
BuildRequires: systemd-rpm-macros
BuildRequires: pkgconfig(libsystemd-daemon)
BuildRequires: pkgconfig(libsystemd-journal)
%endif
-%endif
%if %build_python_libmount
BuildRequires: python-devel
%endif
@@ -170,25 +163,17 @@
PreReq: %install_info_prereq permissions
PreReq: %insserv_prereq %fillup_prereq /bin/sed
Recommends: %{name}-lang = %{version}
-%if %{with enable_eject}
Provides: eject = 2.1.0-166.8
-%endif
Provides: login = 4.0-33.7
-%if %{with enable_eject}
# File conflict of eject (up to 12.3 and SLE11).
Obsoletes: eject < 2.1.0-166.8
-%endif
# File conflict of login (up to 12.1 and SLE11).
Obsoletes: login < 4.0-33.7
-%if %{with enable_su}
# File conflict of su and kill (up to 12.3 and SLE11).
# It should be coreutils < 8.21-4, but coreutils provide Release-less symbol.
Conflicts: coreutils < 8.21
-%endif
-%if %{with sysvinit_tools}
# File conflict of sulogin and utmpdump (up to 12.3 and SLE11).
Conflicts: sysvinit-tools < 2.88+-87
-%endif
# bnc#805684:
%ifarch s390x
Obsoletes: s390-32
@@ -538,6 +523,7 @@
# sysvinit-only versions of UTIL_LINUX_SYSTEMD_SOURCES utilities.
AUTOPOINT=true autoreconf -vfi
%configure \
+ --disable-silent-rules \
--localstatedir=/run \
--docdir=%{_docdir}/%{_name} \
--with-audit \
@@ -546,46 +532,33 @@
--with-selinux \
$uhead \
--with-bashcompletiondir=%{_datadir}/bash-completion \
- --enable-all-programs \
- --disable-reset \
+ --with-systemdsystemunitdir=%{_unitdir} \
+ --enable-libmount-force-mountinfo \
+ --enable-sulogin-emergency-mount \
--disable-use-tty-group \
- --disable-silent-rules \
--enable-static \
--disable-rpath \
+ --enable-all-programs \
+ --disable-reset \
%if %{without enable_last}
--disable-last \
%endif
-%if %{without enable_eject}
- --disable-eject \
-%endif
-%if %{with sysvinit_tools}
- --enable-sulogin-emergency-mount \
-%else
- --disable-sulogin \
- --disable-mountpoint \
-%endif
-%if %{without enable_su}
- --disable-su \
- --disable-kill \
-%endif
%if %build_util_linux_systemd
+ --with-systemd \
--enable-logger \
--enable-lslogins \
--enable-uuidd \
- --with-systemd \
- --with-systemdsystemunitdir=%{_unitdir} \
%else
+ --without-systemd \
--disable-logger \
--disable-lslogins \
--disable-uuidd \
- --without-systemd \
%endif
%if %build_python_libmount
--with-python \
%else
--without-python \
%endif
- --enable-libmount-force-mountinfo \
#
# Safety check: HAVE_UUIDD should be always 1:
@@ -637,11 +610,9 @@
install -m 644 %{SOURCE9} %{buildroot}%{_sysconfdir}/pam.d/remote
install -m 644 %{SOURCE14} %{buildroot}%{_sysconfdir}/pam.d/runuser
install -m 644 %{SOURCE14} %{buildroot}%{_sysconfdir}/pam.d/runuser-l
-%if %{with enable_su}
install -m 644 %{SOURCE10} %{buildroot}%{_sysconfdir}/pam.d/su
install -m 644 %{SOURCE10} %{buildroot}%{_sysconfdir}/pam.d/su-l
install -m 644 %{SOURCE11} %{buildroot}%{_sysconfdir}/default/su
-%endif
mkdir -p %{buildroot}%{_localstatedir}/adm/fillup-templates
pushd ../klogconsole
# klogconsole install
@@ -655,10 +626,8 @@
rm -f %{buildroot}%{python_sitearch}/libmount/*.*a
%if %build_util_linux
#UsrMerge
-%if %{with enable_su}
ln -s %{_bindir}/kill %{buildroot}/bin
ln -s %{_bindir}/su %{buildroot}/bin
-%endif
ln -s %{_bindir}/dmesg %{buildroot}/bin
ln -s %{_bindir}/more %{buildroot}/bin
ln -s %{_bindir}/mount %{buildroot}/bin
@@ -798,7 +767,6 @@
%post
%{fillup_and_insserv raw}
%set_permissions %{_bindir}/wall %{_bindir}/write %{_bindir}/mount %{_bindir}/umount
-%if %{with enable_su}
%set_permissions %{_bindir}/su
# Safely migrate PAM files from coreutils to util-linux
# (openSUSE 12.3->13.1, SLE11->SLE12)
@@ -817,7 +785,6 @@
mv %{_sysconfdir}/$PAM_FILE.rpmsave %{_sysconfdir}/$PAM_FILE
fi
done
-%endif
# mount option 'code=' is now called 'codepage=' so change fstab
if [ -f etc/fstab ]; then
@@ -829,9 +796,7 @@
%verifyscript
%verify_permissions -e %{_bindir}/wall -e %{_bindir}/write -e %{_bindir}/mount -e %{_bindir}/umount
-%if %{with enable_su}
%verify_permissions -e %{_bindir}/su
-%endif
%post -n libblkid1 -p /sbin/ldconfig
@@ -857,9 +822,8 @@
%endif
%if %build_util_linux_systemd
-# Note: This is not a perfect solution: fstrim is part of util-linux, fstrim services are part of util-linux-systemd (for build loop prevention reasons).
-# If only util-linux is updated, restart of fstrim service does not happen.
-# Maybe we should move fstrim to util-linux-systemd in the next version.
+# fstrim(8) and fstrim.service are from different packages. But it's a oneshot
+# service (timer), no restart needed on binary updates (unless path is changed).
%pre -n util-linux-systemd
%{service_add_pre fstrim.service fstrim.timer}
@@ -877,7 +841,7 @@
/usr/sbin/useradd -r -g uuidd -c "User for uuidd" \
-d /var/run/uuidd uuidd 2>/dev/null || :
%{service_add_pre uuidd.socket uuidd.service}
-%systemd_preset_pre
+%{?systemd_preset_pre}
%post -n uuidd
%{service_add_post uuidd.socket uuidd.service}
@@ -889,7 +853,7 @@
%{service_del_postun uuidd.socket uuidd.service}
%posttrans -p /bin/bash -n uuidd
-%systemd_preset_posttrans
+%{?systemd_preset_posttrans}
%endif
%if %build_util_linux
@@ -920,16 +884,12 @@
%config(noreplace) %{_sysconfdir}/pam.d/remote
%config(noreplace) %{_sysconfdir}/pam.d/runuser
%config(noreplace) %{_sysconfdir}/pam.d/runuser-l
-%if %{with enable_su}
%config(noreplace) %{_sysconfdir}/pam.d/su
%config(noreplace) %{_sysconfdir}/pam.d/su-l
%config(noreplace) %{_sysconfdir}/default/su
-%endif
#UsrMerge
-%if %{with enable_su}
/bin/kill
/bin/su
-%endif
/bin/dmesg
/bin/more
/bin/mount
@@ -963,13 +923,9 @@
/sbin/fstrim
/sbin/chcpu
#EndUsrMerge
-%if %{with enable_su}
%{_bindir}/kill
%{_bindir}/su
-%endif
-%if %{with enable_eject}
%{_bindir}/eject
-%endif
%{_bindir}/cal
%{_bindir}/chrt
%{_bindir}/col
@@ -1018,10 +974,8 @@
%{_bindir}/ul
%{_bindir}/umount
%{_bindir}/unshare
-%if %{with sysvinit_tools}
%{_bindir}/mountpoint
%{_bindir}/utmpdump
-%endif
%{_bindir}/uuidgen
%{_bindir}/uname26
%ifnarch ppc ppc64
@@ -1059,9 +1013,7 @@
%{_sbindir}/rtcwake
%{_sbindir}/runuser
%{_sbindir}/setctsid
-%if %{with sysvinit_tools}
%{_sbindir}/sulogin
-%endif
%{_sbindir}/swaplabel
%{_sbindir}/swapoff
%{_sbindir}/swapon
@@ -1071,10 +1023,8 @@
%{_bindir}/whereis
%verify(not mode) %attr(0755,root,tty) %{_bindir}/write
%{_sbindir}/zramctl
-%if %{with enable_su}
%{_mandir}/man1/kill.1.gz
%{_mandir}/man1/su.1.gz
-%endif
%{_mandir}/man1/cal.1.gz
%{_mandir}/man1/chrt.1.gz
%{_mandir}/man1/col.1.gz
@@ -1082,9 +1032,7 @@
%{_mandir}/man1/colrm.1.gz
%{_mandir}/man1/column.1.gz
%{_mandir}/man1/dmesg.1.gz
-%if %{with enable_eject}
%{_mandir}/man1/eject.1.gz
-%endif
%{_mandir}/man1/fallocate.1.gz
%{_mandir}/man1/flock.1.gz
%{_mandir}/man1/getopt.1.gz
@@ -1123,10 +1071,8 @@
%{_mandir}/man1/whereis.1.gz
%{_mandir}/man1/write.1.gz
%{_mandir}/man1/ipcmk.1.gz
-%if %{with sysvinit_tools}
%{_mandir}/man1/mountpoint.1.gz
%{_mandir}/man1/utmpdump.1.gz
-%endif
%{_mandir}/man1/runuser.1.gz
%{_mandir}/man1/uuidgen.1.gz
%{_mandir}/man5/fstab.5.gz
@@ -1178,9 +1124,7 @@
%{_mandir}/man8/fstrim.8.gz
%{_mandir}/man8/lsblk.8.gz
%{_mandir}/man8/resizepart.8.gz
-%if %{with sysvinit_tools}
%{_mandir}/man8/sulogin.8.gz
-%endif
%{_mandir}/man8/wdctl.8.gz
%{_sbindir}/flushb
%{_sbindir}/readprofile
Index: util-linux.changes
===================================================================
--- util-linux.changes (revision 302)
+++ util-linux.changes (revision 13)
@@ -1,4 +1,13 @@
-------------------------------------------------------------------
+Wed Apr 13 21:29:00 UTC 2016 - sweet_f_a@gmx.de
+
+- fix build for openSUSE >= 13.1 (inclusive SLE 12)
+- drop build for openSUSE < 13.1
+- remove old build conditions: sysvinit_tools, enable_su and
+ enable_eject
+- cosmetics: reorder configure options
+
+-------------------------------------------------------------------
Wed Apr 13 09:53:21 UTC 2016 - sweet_f_a@gmx.de
- Update to version 2.28:
Index: util-linux.spec
===================================================================
--- util-linux.spec (revision 302)
+++ util-linux.spec (revision 13)
@@ -16,9 +16,6 @@
#
-%bcond_without sysvinit_tools
-%bcond_without enable_su
-%bcond_without enable_eject
%bcond_without enable_last
Name: util-linux
@@ -97,14 +94,10 @@
%endif
%if %build_util_linux_systemd
BuildRequires: socat
-%if 0%{?suse_version} <= 1230
-BuildRequires: pkgconfig(systemd)
-%else
BuildRequires: systemd-rpm-macros
BuildRequires: pkgconfig(libsystemd-daemon)
BuildRequires: pkgconfig(libsystemd-journal)
%endif
-%endif
%if %build_python_libmount
BuildRequires: python-devel
%endif
@@ -170,25 +163,17 @@
PreReq: %install_info_prereq permissions
PreReq: %insserv_prereq %fillup_prereq /bin/sed
Recommends: %{name}-lang = %{version}
-%if %{with enable_eject}
Provides: eject = 2.1.0-166.8
-%endif
Provides: login = 4.0-33.7
-%if %{with enable_eject}
# File conflict of eject (up to 12.3 and SLE11).
Obsoletes: eject < 2.1.0-166.8
-%endif
# File conflict of login (up to 12.1 and SLE11).
Obsoletes: login < 4.0-33.7
-%if %{with enable_su}
# File conflict of su and kill (up to 12.3 and SLE11).
# It should be coreutils < 8.21-4, but coreutils provide Release-less symbol.
Conflicts: coreutils < 8.21
-%endif
-%if %{with sysvinit_tools}
# File conflict of sulogin and utmpdump (up to 12.3 and SLE11).
Conflicts: sysvinit-tools < 2.88+-87
-%endif
# bnc#805684:
%ifarch s390x
Obsoletes: s390-32
@@ -538,6 +523,7 @@
# sysvinit-only versions of UTIL_LINUX_SYSTEMD_SOURCES utilities.
AUTOPOINT=true autoreconf -vfi
%configure \
+ --disable-silent-rules \
--localstatedir=/run \
--docdir=%{_docdir}/%{_name} \
--with-audit \
@@ -546,46 +532,33 @@
--with-selinux \
$uhead \
--with-bashcompletiondir=%{_datadir}/bash-completion \
- --enable-all-programs \
- --disable-reset \
+ --with-systemdsystemunitdir=%{_unitdir} \
+ --enable-libmount-force-mountinfo \
+ --enable-sulogin-emergency-mount \
--disable-use-tty-group \
- --disable-silent-rules \
--enable-static \
--disable-rpath \
+ --enable-all-programs \
+ --disable-reset \
%if %{without enable_last}
--disable-last \
%endif
-%if %{without enable_eject}
- --disable-eject \
-%endif
-%if %{with sysvinit_tools}
- --enable-sulogin-emergency-mount \
-%else
- --disable-sulogin \
- --disable-mountpoint \
-%endif
-%if %{without enable_su}
- --disable-su \
- --disable-kill \
-%endif
%if %build_util_linux_systemd
+ --with-systemd \
--enable-logger \
--enable-lslogins \
--enable-uuidd \
- --with-systemd \
- --with-systemdsystemunitdir=%{_unitdir} \
%else
+ --without-systemd \
--disable-logger \
--disable-lslogins \
--disable-uuidd \
- --without-systemd \
%endif
%if %build_python_libmount
--with-python \
%else
--without-python \
%endif
- --enable-libmount-force-mountinfo \
#
# Safety check: HAVE_UUIDD should be always 1:
@@ -637,11 +610,9 @@
install -m 644 %{SOURCE9} %{buildroot}%{_sysconfdir}/pam.d/remote
install -m 644 %{SOURCE14} %{buildroot}%{_sysconfdir}/pam.d/runuser
install -m 644 %{SOURCE14} %{buildroot}%{_sysconfdir}/pam.d/runuser-l
-%if %{with enable_su}
install -m 644 %{SOURCE10} %{buildroot}%{_sysconfdir}/pam.d/su
install -m 644 %{SOURCE10} %{buildroot}%{_sysconfdir}/pam.d/su-l
install -m 644 %{SOURCE11} %{buildroot}%{_sysconfdir}/default/su
-%endif
mkdir -p %{buildroot}%{_localstatedir}/adm/fillup-templates
pushd ../klogconsole
# klogconsole install
@@ -655,10 +626,8 @@
rm -f %{buildroot}%{python_sitearch}/libmount/*.*a
%if %build_util_linux
#UsrMerge
-%if %{with enable_su}
ln -s %{_bindir}/kill %{buildroot}/bin
ln -s %{_bindir}/su %{buildroot}/bin
-%endif
ln -s %{_bindir}/dmesg %{buildroot}/bin
ln -s %{_bindir}/more %{buildroot}/bin
ln -s %{_bindir}/mount %{buildroot}/bin
@@ -798,7 +767,6 @@
%post
%{fillup_and_insserv raw}
%set_permissions %{_bindir}/wall %{_bindir}/write %{_bindir}/mount %{_bindir}/umount
-%if %{with enable_su}
%set_permissions %{_bindir}/su
# Safely migrate PAM files from coreutils to util-linux
# (openSUSE 12.3->13.1, SLE11->SLE12)
@@ -817,7 +785,6 @@
mv %{_sysconfdir}/$PAM_FILE.rpmsave %{_sysconfdir}/$PAM_FILE
fi
done
-%endif
# mount option 'code=' is now called 'codepage=' so change fstab
if [ -f etc/fstab ]; then
@@ -829,9 +796,7 @@
%verifyscript
%verify_permissions -e %{_bindir}/wall -e %{_bindir}/write -e %{_bindir}/mount -e %{_bindir}/umount
-%if %{with enable_su}
%verify_permissions -e %{_bindir}/su
-%endif
%post -n libblkid1 -p /sbin/ldconfig
@@ -857,9 +822,8 @@
%endif
%if %build_util_linux_systemd
-# Note: This is not a perfect solution: fstrim is part of util-linux, fstrim services are part of util-linux-systemd (for build loop prevention reasons).
-# If only util-linux is updated, restart of fstrim service does not happen.
-# Maybe we should move fstrim to util-linux-systemd in the next version.
+# fstrim(8) and fstrim.service are from different packages. But it's a oneshot
+# service (timer), no restart needed on binary updates (unless path is changed).
%pre -n util-linux-systemd
%{service_add_pre fstrim.service fstrim.timer}
@@ -877,7 +841,7 @@
/usr/sbin/useradd -r -g uuidd -c "User for uuidd" \
-d /var/run/uuidd uuidd 2>/dev/null || :
%{service_add_pre uuidd.socket uuidd.service}
-%systemd_preset_pre
+%{?systemd_preset_pre}
%post -n uuidd
%{service_add_post uuidd.socket uuidd.service}
@@ -889,7 +853,7 @@
%{service_del_postun uuidd.socket uuidd.service}
%posttrans -p /bin/bash -n uuidd
-%systemd_preset_posttrans
+%{?systemd_preset_posttrans}
%endif
%if %build_util_linux
@@ -920,16 +884,12 @@
%config(noreplace) %{_sysconfdir}/pam.d/remote
%config(noreplace) %{_sysconfdir}/pam.d/runuser
%config(noreplace) %{_sysconfdir}/pam.d/runuser-l
-%if %{with enable_su}
%config(noreplace) %{_sysconfdir}/pam.d/su
%config(noreplace) %{_sysconfdir}/pam.d/su-l
%config(noreplace) %{_sysconfdir}/default/su
-%endif
#UsrMerge
-%if %{with enable_su}
/bin/kill
/bin/su
-%endif
/bin/dmesg
/bin/more
/bin/mount
@@ -963,13 +923,9 @@
/sbin/fstrim
/sbin/chcpu
#EndUsrMerge
-%if %{with enable_su}
%{_bindir}/kill
%{_bindir}/su
-%endif
-%if %{with enable_eject}
%{_bindir}/eject
-%endif
%{_bindir}/cal
%{_bindir}/chrt
%{_bindir}/col
@@ -1018,10 +974,8 @@
%{_bindir}/ul
%{_bindir}/umount
%{_bindir}/unshare
-%if %{with sysvinit_tools}
%{_bindir}/mountpoint
%{_bindir}/utmpdump
-%endif
%{_bindir}/uuidgen
%{_bindir}/uname26
%ifnarch ppc ppc64
@@ -1059,9 +1013,7 @@
%{_sbindir}/rtcwake
%{_sbindir}/runuser
%{_sbindir}/setctsid
-%if %{with sysvinit_tools}
%{_sbindir}/sulogin
-%endif
%{_sbindir}/swaplabel
%{_sbindir}/swapoff
%{_sbindir}/swapon
@@ -1071,10 +1023,8 @@
%{_bindir}/whereis
%verify(not mode) %attr(0755,root,tty) %{_bindir}/write
%{_sbindir}/zramctl
-%if %{with enable_su}
%{_mandir}/man1/kill.1.gz
%{_mandir}/man1/su.1.gz
-%endif
%{_mandir}/man1/cal.1.gz
%{_mandir}/man1/chrt.1.gz
%{_mandir}/man1/col.1.gz
@@ -1082,9 +1032,7 @@
%{_mandir}/man1/colrm.1.gz
%{_mandir}/man1/column.1.gz
%{_mandir}/man1/dmesg.1.gz
-%if %{with enable_eject}
%{_mandir}/man1/eject.1.gz
-%endif
%{_mandir}/man1/fallocate.1.gz
%{_mandir}/man1/flock.1.gz
%{_mandir}/man1/getopt.1.gz
@@ -1123,10 +1071,8 @@
%{_mandir}/man1/whereis.1.gz
%{_mandir}/man1/write.1.gz
%{_mandir}/man1/ipcmk.1.gz
-%if %{with sysvinit_tools}
%{_mandir}/man1/mountpoint.1.gz
%{_mandir}/man1/utmpdump.1.gz
-%endif
%{_mandir}/man1/runuser.1.gz
%{_mandir}/man1/uuidgen.1.gz
%{_mandir}/man5/fstab.5.gz
@@ -1178,9 +1124,7 @@
%{_mandir}/man8/fstrim.8.gz
%{_mandir}/man8/lsblk.8.gz
%{_mandir}/man8/resizepart.8.gz
-%if %{with sysvinit_tools}
%{_mandir}/man8/sulogin.8.gz
-%endif
%{_mandir}/man8/wdctl.8.gz
%{_sbindir}/flushb
%{_sbindir}/readprofile
OBS-URL: https://build.opensuse.org/request/show/390044
OBS-URL: https://build.opensuse.org/package/show/Base:System/util-linux?expand=0&rev=304
2016-04-24 11:08:55 +02:00
|
|
|
--enable-all-programs \
|
2017-01-05 17:34:46 +01:00
|
|
|
--disable-chfn-chsh \
|
|
|
|
--disable-newgrp \
|
|
|
|
--disable-vipw \
|
|
|
|
--disable-pg \
|
2020-09-10 01:47:10 +02:00
|
|
|
%if %{with systemd}
|
Accepting request 390044 from home:rudi_m:branches:Base:System
Just a minor cosmetical cleanup which should not change anything
for the Factory build.
Changes:
- fix build for openSUSE >= 13.1 (inclusive SLE 12)
- drop build for openSUSE < 13.1
- remove old build conditions: sysvinit_tools, enable_su and
enable_eject
- cosmetics: reorder configure options
old: Base:System/util-linux
new: home:rudi_m:branches:Base:System/util-linux rev None
Index: python-libmount.changes
===================================================================
--- python-libmount.changes (revision 302)
+++ python-libmount.changes (revision 13)
@@ -1,4 +1,13 @@
-------------------------------------------------------------------
+Wed Apr 13 21:29:00 UTC 2016 - sweet_f_a@gmx.de
+
+- fix build for openSUSE >= 13.1 (inclusive SLE 12)
+- drop build for openSUSE < 13.1
+- remove old build conditions: sysvinit_tools, enable_su and
+ enable_eject
+- cosmetics: reorder configure options
+
+-------------------------------------------------------------------
Wed Apr 13 09:53:21 UTC 2016 - sweet_f_a@gmx.de
- Update to version 2.28:
Index: python-libmount.spec
===================================================================
--- python-libmount.spec (revision 302)
+++ python-libmount.spec (revision 13)
@@ -16,9 +16,6 @@
#
-%bcond_without sysvinit_tools
-%bcond_without enable_su
-%bcond_without enable_eject
%bcond_without enable_last
Name: python-libmount
@@ -97,14 +94,10 @@
%endif
%if %build_util_linux_systemd
BuildRequires: socat
-%if 0%{?suse_version} <= 1230
-BuildRequires: pkgconfig(systemd)
-%else
BuildRequires: systemd-rpm-macros
BuildRequires: pkgconfig(libsystemd-daemon)
BuildRequires: pkgconfig(libsystemd-journal)
%endif
-%endif
%if %build_python_libmount
BuildRequires: python-devel
%endif
@@ -170,25 +163,17 @@
PreReq: %install_info_prereq permissions
PreReq: %insserv_prereq %fillup_prereq /bin/sed
Recommends: %{name}-lang = %{version}
-%if %{with enable_eject}
Provides: eject = 2.1.0-166.8
-%endif
Provides: login = 4.0-33.7
-%if %{with enable_eject}
# File conflict of eject (up to 12.3 and SLE11).
Obsoletes: eject < 2.1.0-166.8
-%endif
# File conflict of login (up to 12.1 and SLE11).
Obsoletes: login < 4.0-33.7
-%if %{with enable_su}
# File conflict of su and kill (up to 12.3 and SLE11).
# It should be coreutils < 8.21-4, but coreutils provide Release-less symbol.
Conflicts: coreutils < 8.21
-%endif
-%if %{with sysvinit_tools}
# File conflict of sulogin and utmpdump (up to 12.3 and SLE11).
Conflicts: sysvinit-tools < 2.88+-87
-%endif
# bnc#805684:
%ifarch s390x
Obsoletes: s390-32
@@ -538,6 +523,7 @@
# sysvinit-only versions of UTIL_LINUX_SYSTEMD_SOURCES utilities.
AUTOPOINT=true autoreconf -vfi
%configure \
+ --disable-silent-rules \
--localstatedir=/run \
--docdir=%{_docdir}/%{_name} \
--with-audit \
@@ -546,46 +532,33 @@
--with-selinux \
$uhead \
--with-bashcompletiondir=%{_datadir}/bash-completion \
- --enable-all-programs \
- --disable-reset \
+ --with-systemdsystemunitdir=%{_unitdir} \
+ --enable-libmount-force-mountinfo \
+ --enable-sulogin-emergency-mount \
--disable-use-tty-group \
- --disable-silent-rules \
--enable-static \
--disable-rpath \
+ --enable-all-programs \
+ --disable-reset \
%if %{without enable_last}
--disable-last \
%endif
-%if %{without enable_eject}
- --disable-eject \
-%endif
-%if %{with sysvinit_tools}
- --enable-sulogin-emergency-mount \
-%else
- --disable-sulogin \
- --disable-mountpoint \
-%endif
-%if %{without enable_su}
- --disable-su \
- --disable-kill \
-%endif
%if %build_util_linux_systemd
+ --with-systemd \
--enable-logger \
--enable-lslogins \
--enable-uuidd \
- --with-systemd \
- --with-systemdsystemunitdir=%{_unitdir} \
%else
+ --without-systemd \
--disable-logger \
--disable-lslogins \
--disable-uuidd \
- --without-systemd \
%endif
%if %build_python_libmount
--with-python \
%else
--without-python \
%endif
- --enable-libmount-force-mountinfo \
#
# Safety check: HAVE_UUIDD should be always 1:
@@ -637,11 +610,9 @@
install -m 644 %{SOURCE9} %{buildroot}%{_sysconfdir}/pam.d/remote
install -m 644 %{SOURCE14} %{buildroot}%{_sysconfdir}/pam.d/runuser
install -m 644 %{SOURCE14} %{buildroot}%{_sysconfdir}/pam.d/runuser-l
-%if %{with enable_su}
install -m 644 %{SOURCE10} %{buildroot}%{_sysconfdir}/pam.d/su
install -m 644 %{SOURCE10} %{buildroot}%{_sysconfdir}/pam.d/su-l
install -m 644 %{SOURCE11} %{buildroot}%{_sysconfdir}/default/su
-%endif
mkdir -p %{buildroot}%{_localstatedir}/adm/fillup-templates
pushd ../klogconsole
# klogconsole install
@@ -655,10 +626,8 @@
rm -f %{buildroot}%{python_sitearch}/libmount/*.*a
%if %build_util_linux
#UsrMerge
-%if %{with enable_su}
ln -s %{_bindir}/kill %{buildroot}/bin
ln -s %{_bindir}/su %{buildroot}/bin
-%endif
ln -s %{_bindir}/dmesg %{buildroot}/bin
ln -s %{_bindir}/more %{buildroot}/bin
ln -s %{_bindir}/mount %{buildroot}/bin
@@ -798,7 +767,6 @@
%post
%{fillup_and_insserv raw}
%set_permissions %{_bindir}/wall %{_bindir}/write %{_bindir}/mount %{_bindir}/umount
-%if %{with enable_su}
%set_permissions %{_bindir}/su
# Safely migrate PAM files from coreutils to util-linux
# (openSUSE 12.3->13.1, SLE11->SLE12)
@@ -817,7 +785,6 @@
mv %{_sysconfdir}/$PAM_FILE.rpmsave %{_sysconfdir}/$PAM_FILE
fi
done
-%endif
# mount option 'code=' is now called 'codepage=' so change fstab
if [ -f etc/fstab ]; then
@@ -829,9 +796,7 @@
%verifyscript
%verify_permissions -e %{_bindir}/wall -e %{_bindir}/write -e %{_bindir}/mount -e %{_bindir}/umount
-%if %{with enable_su}
%verify_permissions -e %{_bindir}/su
-%endif
%post -n libblkid1 -p /sbin/ldconfig
@@ -857,9 +822,8 @@
%endif
%if %build_util_linux_systemd
-# Note: This is not a perfect solution: fstrim is part of util-linux, fstrim services are part of util-linux-systemd (for build loop prevention reasons).
-# If only util-linux is updated, restart of fstrim service does not happen.
-# Maybe we should move fstrim to util-linux-systemd in the next version.
+# fstrim(8) and fstrim.service are from different packages. But it's a oneshot
+# service (timer), no restart needed on binary updates (unless path is changed).
%pre -n util-linux-systemd
%{service_add_pre fstrim.service fstrim.timer}
@@ -877,7 +841,7 @@
/usr/sbin/useradd -r -g uuidd -c "User for uuidd" \
-d /var/run/uuidd uuidd 2>/dev/null || :
%{service_add_pre uuidd.socket uuidd.service}
-%systemd_preset_pre
+%{?systemd_preset_pre}
%post -n uuidd
%{service_add_post uuidd.socket uuidd.service}
@@ -889,7 +853,7 @@
%{service_del_postun uuidd.socket uuidd.service}
%posttrans -p /bin/bash -n uuidd
-%systemd_preset_posttrans
+%{?systemd_preset_posttrans}
%endif
%if %build_util_linux
@@ -920,16 +884,12 @@
%config(noreplace) %{_sysconfdir}/pam.d/remote
%config(noreplace) %{_sysconfdir}/pam.d/runuser
%config(noreplace) %{_sysconfdir}/pam.d/runuser-l
-%if %{with enable_su}
%config(noreplace) %{_sysconfdir}/pam.d/su
%config(noreplace) %{_sysconfdir}/pam.d/su-l
%config(noreplace) %{_sysconfdir}/default/su
-%endif
#UsrMerge
-%if %{with enable_su}
/bin/kill
/bin/su
-%endif
/bin/dmesg
/bin/more
/bin/mount
@@ -963,13 +923,9 @@
/sbin/fstrim
/sbin/chcpu
#EndUsrMerge
-%if %{with enable_su}
%{_bindir}/kill
%{_bindir}/su
-%endif
-%if %{with enable_eject}
%{_bindir}/eject
-%endif
%{_bindir}/cal
%{_bindir}/chrt
%{_bindir}/col
@@ -1018,10 +974,8 @@
%{_bindir}/ul
%{_bindir}/umount
%{_bindir}/unshare
-%if %{with sysvinit_tools}
%{_bindir}/mountpoint
%{_bindir}/utmpdump
-%endif
%{_bindir}/uuidgen
%{_bindir}/uname26
%ifnarch ppc ppc64
@@ -1059,9 +1013,7 @@
%{_sbindir}/rtcwake
%{_sbindir}/runuser
%{_sbindir}/setctsid
-%if %{with sysvinit_tools}
%{_sbindir}/sulogin
-%endif
%{_sbindir}/swaplabel
%{_sbindir}/swapoff
%{_sbindir}/swapon
@@ -1071,10 +1023,8 @@
%{_bindir}/whereis
%verify(not mode) %attr(0755,root,tty) %{_bindir}/write
%{_sbindir}/zramctl
-%if %{with enable_su}
%{_mandir}/man1/kill.1.gz
%{_mandir}/man1/su.1.gz
-%endif
%{_mandir}/man1/cal.1.gz
%{_mandir}/man1/chrt.1.gz
%{_mandir}/man1/col.1.gz
@@ -1082,9 +1032,7 @@
%{_mandir}/man1/colrm.1.gz
%{_mandir}/man1/column.1.gz
%{_mandir}/man1/dmesg.1.gz
-%if %{with enable_eject}
%{_mandir}/man1/eject.1.gz
-%endif
%{_mandir}/man1/fallocate.1.gz
%{_mandir}/man1/flock.1.gz
%{_mandir}/man1/getopt.1.gz
@@ -1123,10 +1071,8 @@
%{_mandir}/man1/whereis.1.gz
%{_mandir}/man1/write.1.gz
%{_mandir}/man1/ipcmk.1.gz
-%if %{with sysvinit_tools}
%{_mandir}/man1/mountpoint.1.gz
%{_mandir}/man1/utmpdump.1.gz
-%endif
%{_mandir}/man1/runuser.1.gz
%{_mandir}/man1/uuidgen.1.gz
%{_mandir}/man5/fstab.5.gz
@@ -1178,9 +1124,7 @@
%{_mandir}/man8/fstrim.8.gz
%{_mandir}/man8/lsblk.8.gz
%{_mandir}/man8/resizepart.8.gz
-%if %{with sysvinit_tools}
%{_mandir}/man8/sulogin.8.gz
-%endif
%{_mandir}/man8/wdctl.8.gz
%{_sbindir}/flushb
%{_sbindir}/readprofile
Index: util-linux-systemd.changes
===================================================================
--- util-linux-systemd.changes (revision 302)
+++ util-linux-systemd.changes (revision 13)
@@ -1,4 +1,13 @@
-------------------------------------------------------------------
+Wed Apr 13 21:29:00 UTC 2016 - sweet_f_a@gmx.de
+
+- fix build for openSUSE >= 13.1 (inclusive SLE 12)
+- drop build for openSUSE < 13.1
+- remove old build conditions: sysvinit_tools, enable_su and
+ enable_eject
+- cosmetics: reorder configure options
+
+-------------------------------------------------------------------
Wed Apr 13 09:53:21 UTC 2016 - sweet_f_a@gmx.de
- Update to version 2.28:
Index: util-linux-systemd.spec
===================================================================
--- util-linux-systemd.spec (revision 302)
+++ util-linux-systemd.spec (revision 13)
@@ -16,9 +16,6 @@
#
-%bcond_without sysvinit_tools
-%bcond_without enable_su
-%bcond_without enable_eject
%bcond_without enable_last
Name: util-linux-systemd
@@ -97,14 +94,10 @@
%endif
%if %build_util_linux_systemd
BuildRequires: socat
-%if 0%{?suse_version} <= 1230
-BuildRequires: pkgconfig(systemd)
-%else
BuildRequires: systemd-rpm-macros
BuildRequires: pkgconfig(libsystemd-daemon)
BuildRequires: pkgconfig(libsystemd-journal)
%endif
-%endif
%if %build_python_libmount
BuildRequires: python-devel
%endif
@@ -170,25 +163,17 @@
PreReq: %install_info_prereq permissions
PreReq: %insserv_prereq %fillup_prereq /bin/sed
Recommends: %{name}-lang = %{version}
-%if %{with enable_eject}
Provides: eject = 2.1.0-166.8
-%endif
Provides: login = 4.0-33.7
-%if %{with enable_eject}
# File conflict of eject (up to 12.3 and SLE11).
Obsoletes: eject < 2.1.0-166.8
-%endif
# File conflict of login (up to 12.1 and SLE11).
Obsoletes: login < 4.0-33.7
-%if %{with enable_su}
# File conflict of su and kill (up to 12.3 and SLE11).
# It should be coreutils < 8.21-4, but coreutils provide Release-less symbol.
Conflicts: coreutils < 8.21
-%endif
-%if %{with sysvinit_tools}
# File conflict of sulogin and utmpdump (up to 12.3 and SLE11).
Conflicts: sysvinit-tools < 2.88+-87
-%endif
# bnc#805684:
%ifarch s390x
Obsoletes: s390-32
@@ -538,6 +523,7 @@
# sysvinit-only versions of UTIL_LINUX_SYSTEMD_SOURCES utilities.
AUTOPOINT=true autoreconf -vfi
%configure \
+ --disable-silent-rules \
--localstatedir=/run \
--docdir=%{_docdir}/%{_name} \
--with-audit \
@@ -546,46 +532,33 @@
--with-selinux \
$uhead \
--with-bashcompletiondir=%{_datadir}/bash-completion \
- --enable-all-programs \
- --disable-reset \
+ --with-systemdsystemunitdir=%{_unitdir} \
+ --enable-libmount-force-mountinfo \
+ --enable-sulogin-emergency-mount \
--disable-use-tty-group \
- --disable-silent-rules \
--enable-static \
--disable-rpath \
+ --enable-all-programs \
+ --disable-reset \
%if %{without enable_last}
--disable-last \
%endif
-%if %{without enable_eject}
- --disable-eject \
-%endif
-%if %{with sysvinit_tools}
- --enable-sulogin-emergency-mount \
-%else
- --disable-sulogin \
- --disable-mountpoint \
-%endif
-%if %{without enable_su}
- --disable-su \
- --disable-kill \
-%endif
%if %build_util_linux_systemd
+ --with-systemd \
--enable-logger \
--enable-lslogins \
--enable-uuidd \
- --with-systemd \
- --with-systemdsystemunitdir=%{_unitdir} \
%else
+ --without-systemd \
--disable-logger \
--disable-lslogins \
--disable-uuidd \
- --without-systemd \
%endif
%if %build_python_libmount
--with-python \
%else
--without-python \
%endif
- --enable-libmount-force-mountinfo \
#
# Safety check: HAVE_UUIDD should be always 1:
@@ -637,11 +610,9 @@
install -m 644 %{SOURCE9} %{buildroot}%{_sysconfdir}/pam.d/remote
install -m 644 %{SOURCE14} %{buildroot}%{_sysconfdir}/pam.d/runuser
install -m 644 %{SOURCE14} %{buildroot}%{_sysconfdir}/pam.d/runuser-l
-%if %{with enable_su}
install -m 644 %{SOURCE10} %{buildroot}%{_sysconfdir}/pam.d/su
install -m 644 %{SOURCE10} %{buildroot}%{_sysconfdir}/pam.d/su-l
install -m 644 %{SOURCE11} %{buildroot}%{_sysconfdir}/default/su
-%endif
mkdir -p %{buildroot}%{_localstatedir}/adm/fillup-templates
pushd ../klogconsole
# klogconsole install
@@ -655,10 +626,8 @@
rm -f %{buildroot}%{python_sitearch}/libmount/*.*a
%if %build_util_linux
#UsrMerge
-%if %{with enable_su}
ln -s %{_bindir}/kill %{buildroot}/bin
ln -s %{_bindir}/su %{buildroot}/bin
-%endif
ln -s %{_bindir}/dmesg %{buildroot}/bin
ln -s %{_bindir}/more %{buildroot}/bin
ln -s %{_bindir}/mount %{buildroot}/bin
@@ -798,7 +767,6 @@
%post
%{fillup_and_insserv raw}
%set_permissions %{_bindir}/wall %{_bindir}/write %{_bindir}/mount %{_bindir}/umount
-%if %{with enable_su}
%set_permissions %{_bindir}/su
# Safely migrate PAM files from coreutils to util-linux
# (openSUSE 12.3->13.1, SLE11->SLE12)
@@ -817,7 +785,6 @@
mv %{_sysconfdir}/$PAM_FILE.rpmsave %{_sysconfdir}/$PAM_FILE
fi
done
-%endif
# mount option 'code=' is now called 'codepage=' so change fstab
if [ -f etc/fstab ]; then
@@ -829,9 +796,7 @@
%verifyscript
%verify_permissions -e %{_bindir}/wall -e %{_bindir}/write -e %{_bindir}/mount -e %{_bindir}/umount
-%if %{with enable_su}
%verify_permissions -e %{_bindir}/su
-%endif
%post -n libblkid1 -p /sbin/ldconfig
@@ -857,9 +822,8 @@
%endif
%if %build_util_linux_systemd
-# Note: This is not a perfect solution: fstrim is part of util-linux, fstrim services are part of util-linux-systemd (for build loop prevention reasons).
-# If only util-linux is updated, restart of fstrim service does not happen.
-# Maybe we should move fstrim to util-linux-systemd in the next version.
+# fstrim(8) and fstrim.service are from different packages. But it's a oneshot
+# service (timer), no restart needed on binary updates (unless path is changed).
%pre -n util-linux-systemd
%{service_add_pre fstrim.service fstrim.timer}
@@ -877,7 +841,7 @@
/usr/sbin/useradd -r -g uuidd -c "User for uuidd" \
-d /var/run/uuidd uuidd 2>/dev/null || :
%{service_add_pre uuidd.socket uuidd.service}
-%systemd_preset_pre
+%{?systemd_preset_pre}
%post -n uuidd
%{service_add_post uuidd.socket uuidd.service}
@@ -889,7 +853,7 @@
%{service_del_postun uuidd.socket uuidd.service}
%posttrans -p /bin/bash -n uuidd
-%systemd_preset_posttrans
+%{?systemd_preset_posttrans}
%endif
%if %build_util_linux
@@ -920,16 +884,12 @@
%config(noreplace) %{_sysconfdir}/pam.d/remote
%config(noreplace) %{_sysconfdir}/pam.d/runuser
%config(noreplace) %{_sysconfdir}/pam.d/runuser-l
-%if %{with enable_su}
%config(noreplace) %{_sysconfdir}/pam.d/su
%config(noreplace) %{_sysconfdir}/pam.d/su-l
%config(noreplace) %{_sysconfdir}/default/su
-%endif
#UsrMerge
-%if %{with enable_su}
/bin/kill
/bin/su
-%endif
/bin/dmesg
/bin/more
/bin/mount
@@ -963,13 +923,9 @@
/sbin/fstrim
/sbin/chcpu
#EndUsrMerge
-%if %{with enable_su}
%{_bindir}/kill
%{_bindir}/su
-%endif
-%if %{with enable_eject}
%{_bindir}/eject
-%endif
%{_bindir}/cal
%{_bindir}/chrt
%{_bindir}/col
@@ -1018,10 +974,8 @@
%{_bindir}/ul
%{_bindir}/umount
%{_bindir}/unshare
-%if %{with sysvinit_tools}
%{_bindir}/mountpoint
%{_bindir}/utmpdump
-%endif
%{_bindir}/uuidgen
%{_bindir}/uname26
%ifnarch ppc ppc64
@@ -1059,9 +1013,7 @@
%{_sbindir}/rtcwake
%{_sbindir}/runuser
%{_sbindir}/setctsid
-%if %{with sysvinit_tools}
%{_sbindir}/sulogin
-%endif
%{_sbindir}/swaplabel
%{_sbindir}/swapoff
%{_sbindir}/swapon
@@ -1071,10 +1023,8 @@
%{_bindir}/whereis
%verify(not mode) %attr(0755,root,tty) %{_bindir}/write
%{_sbindir}/zramctl
-%if %{with enable_su}
%{_mandir}/man1/kill.1.gz
%{_mandir}/man1/su.1.gz
-%endif
%{_mandir}/man1/cal.1.gz
%{_mandir}/man1/chrt.1.gz
%{_mandir}/man1/col.1.gz
@@ -1082,9 +1032,7 @@
%{_mandir}/man1/colrm.1.gz
%{_mandir}/man1/column.1.gz
%{_mandir}/man1/dmesg.1.gz
-%if %{with enable_eject}
%{_mandir}/man1/eject.1.gz
-%endif
%{_mandir}/man1/fallocate.1.gz
%{_mandir}/man1/flock.1.gz
%{_mandir}/man1/getopt.1.gz
@@ -1123,10 +1071,8 @@
%{_mandir}/man1/whereis.1.gz
%{_mandir}/man1/write.1.gz
%{_mandir}/man1/ipcmk.1.gz
-%if %{with sysvinit_tools}
%{_mandir}/man1/mountpoint.1.gz
%{_mandir}/man1/utmpdump.1.gz
-%endif
%{_mandir}/man1/runuser.1.gz
%{_mandir}/man1/uuidgen.1.gz
%{_mandir}/man5/fstab.5.gz
@@ -1178,9 +1124,7 @@
%{_mandir}/man8/fstrim.8.gz
%{_mandir}/man8/lsblk.8.gz
%{_mandir}/man8/resizepart.8.gz
-%if %{with sysvinit_tools}
%{_mandir}/man8/sulogin.8.gz
-%endif
%{_mandir}/man8/wdctl.8.gz
%{_sbindir}/flushb
%{_sbindir}/readprofile
Index: util-linux.changes
===================================================================
--- util-linux.changes (revision 302)
+++ util-linux.changes (revision 13)
@@ -1,4 +1,13 @@
-------------------------------------------------------------------
+Wed Apr 13 21:29:00 UTC 2016 - sweet_f_a@gmx.de
+
+- fix build for openSUSE >= 13.1 (inclusive SLE 12)
+- drop build for openSUSE < 13.1
+- remove old build conditions: sysvinit_tools, enable_su and
+ enable_eject
+- cosmetics: reorder configure options
+
+-------------------------------------------------------------------
Wed Apr 13 09:53:21 UTC 2016 - sweet_f_a@gmx.de
- Update to version 2.28:
Index: util-linux.spec
===================================================================
--- util-linux.spec (revision 302)
+++ util-linux.spec (revision 13)
@@ -16,9 +16,6 @@
#
-%bcond_without sysvinit_tools
-%bcond_without enable_su
-%bcond_without enable_eject
%bcond_without enable_last
Name: util-linux
@@ -97,14 +94,10 @@
%endif
%if %build_util_linux_systemd
BuildRequires: socat
-%if 0%{?suse_version} <= 1230
-BuildRequires: pkgconfig(systemd)
-%else
BuildRequires: systemd-rpm-macros
BuildRequires: pkgconfig(libsystemd-daemon)
BuildRequires: pkgconfig(libsystemd-journal)
%endif
-%endif
%if %build_python_libmount
BuildRequires: python-devel
%endif
@@ -170,25 +163,17 @@
PreReq: %install_info_prereq permissions
PreReq: %insserv_prereq %fillup_prereq /bin/sed
Recommends: %{name}-lang = %{version}
-%if %{with enable_eject}
Provides: eject = 2.1.0-166.8
-%endif
Provides: login = 4.0-33.7
-%if %{with enable_eject}
# File conflict of eject (up to 12.3 and SLE11).
Obsoletes: eject < 2.1.0-166.8
-%endif
# File conflict of login (up to 12.1 and SLE11).
Obsoletes: login < 4.0-33.7
-%if %{with enable_su}
# File conflict of su and kill (up to 12.3 and SLE11).
# It should be coreutils < 8.21-4, but coreutils provide Release-less symbol.
Conflicts: coreutils < 8.21
-%endif
-%if %{with sysvinit_tools}
# File conflict of sulogin and utmpdump (up to 12.3 and SLE11).
Conflicts: sysvinit-tools < 2.88+-87
-%endif
# bnc#805684:
%ifarch s390x
Obsoletes: s390-32
@@ -538,6 +523,7 @@
# sysvinit-only versions of UTIL_LINUX_SYSTEMD_SOURCES utilities.
AUTOPOINT=true autoreconf -vfi
%configure \
+ --disable-silent-rules \
--localstatedir=/run \
--docdir=%{_docdir}/%{_name} \
--with-audit \
@@ -546,46 +532,33 @@
--with-selinux \
$uhead \
--with-bashcompletiondir=%{_datadir}/bash-completion \
- --enable-all-programs \
- --disable-reset \
+ --with-systemdsystemunitdir=%{_unitdir} \
+ --enable-libmount-force-mountinfo \
+ --enable-sulogin-emergency-mount \
--disable-use-tty-group \
- --disable-silent-rules \
--enable-static \
--disable-rpath \
+ --enable-all-programs \
+ --disable-reset \
%if %{without enable_last}
--disable-last \
%endif
-%if %{without enable_eject}
- --disable-eject \
-%endif
-%if %{with sysvinit_tools}
- --enable-sulogin-emergency-mount \
-%else
- --disable-sulogin \
- --disable-mountpoint \
-%endif
-%if %{without enable_su}
- --disable-su \
- --disable-kill \
-%endif
%if %build_util_linux_systemd
+ --with-systemd \
--enable-logger \
--enable-lslogins \
--enable-uuidd \
- --with-systemd \
- --with-systemdsystemunitdir=%{_unitdir} \
%else
+ --without-systemd \
--disable-logger \
--disable-lslogins \
--disable-uuidd \
- --without-systemd \
%endif
%if %build_python_libmount
--with-python \
%else
--without-python \
%endif
- --enable-libmount-force-mountinfo \
#
# Safety check: HAVE_UUIDD should be always 1:
@@ -637,11 +610,9 @@
install -m 644 %{SOURCE9} %{buildroot}%{_sysconfdir}/pam.d/remote
install -m 644 %{SOURCE14} %{buildroot}%{_sysconfdir}/pam.d/runuser
install -m 644 %{SOURCE14} %{buildroot}%{_sysconfdir}/pam.d/runuser-l
-%if %{with enable_su}
install -m 644 %{SOURCE10} %{buildroot}%{_sysconfdir}/pam.d/su
install -m 644 %{SOURCE10} %{buildroot}%{_sysconfdir}/pam.d/su-l
install -m 644 %{SOURCE11} %{buildroot}%{_sysconfdir}/default/su
-%endif
mkdir -p %{buildroot}%{_localstatedir}/adm/fillup-templates
pushd ../klogconsole
# klogconsole install
@@ -655,10 +626,8 @@
rm -f %{buildroot}%{python_sitearch}/libmount/*.*a
%if %build_util_linux
#UsrMerge
-%if %{with enable_su}
ln -s %{_bindir}/kill %{buildroot}/bin
ln -s %{_bindir}/su %{buildroot}/bin
-%endif
ln -s %{_bindir}/dmesg %{buildroot}/bin
ln -s %{_bindir}/more %{buildroot}/bin
ln -s %{_bindir}/mount %{buildroot}/bin
@@ -798,7 +767,6 @@
%post
%{fillup_and_insserv raw}
%set_permissions %{_bindir}/wall %{_bindir}/write %{_bindir}/mount %{_bindir}/umount
-%if %{with enable_su}
%set_permissions %{_bindir}/su
# Safely migrate PAM files from coreutils to util-linux
# (openSUSE 12.3->13.1, SLE11->SLE12)
@@ -817,7 +785,6 @@
mv %{_sysconfdir}/$PAM_FILE.rpmsave %{_sysconfdir}/$PAM_FILE
fi
done
-%endif
# mount option 'code=' is now called 'codepage=' so change fstab
if [ -f etc/fstab ]; then
@@ -829,9 +796,7 @@
%verifyscript
%verify_permissions -e %{_bindir}/wall -e %{_bindir}/write -e %{_bindir}/mount -e %{_bindir}/umount
-%if %{with enable_su}
%verify_permissions -e %{_bindir}/su
-%endif
%post -n libblkid1 -p /sbin/ldconfig
@@ -857,9 +822,8 @@
%endif
%if %build_util_linux_systemd
-# Note: This is not a perfect solution: fstrim is part of util-linux, fstrim services are part of util-linux-systemd (for build loop prevention reasons).
-# If only util-linux is updated, restart of fstrim service does not happen.
-# Maybe we should move fstrim to util-linux-systemd in the next version.
+# fstrim(8) and fstrim.service are from different packages. But it's a oneshot
+# service (timer), no restart needed on binary updates (unless path is changed).
%pre -n util-linux-systemd
%{service_add_pre fstrim.service fstrim.timer}
@@ -877,7 +841,7 @@
/usr/sbin/useradd -r -g uuidd -c "User for uuidd" \
-d /var/run/uuidd uuidd 2>/dev/null || :
%{service_add_pre uuidd.socket uuidd.service}
-%systemd_preset_pre
+%{?systemd_preset_pre}
%post -n uuidd
%{service_add_post uuidd.socket uuidd.service}
@@ -889,7 +853,7 @@
%{service_del_postun uuidd.socket uuidd.service}
%posttrans -p /bin/bash -n uuidd
-%systemd_preset_posttrans
+%{?systemd_preset_posttrans}
%endif
%if %build_util_linux
@@ -920,16 +884,12 @@
%config(noreplace) %{_sysconfdir}/pam.d/remote
%config(noreplace) %{_sysconfdir}/pam.d/runuser
%config(noreplace) %{_sysconfdir}/pam.d/runuser-l
-%if %{with enable_su}
%config(noreplace) %{_sysconfdir}/pam.d/su
%config(noreplace) %{_sysconfdir}/pam.d/su-l
%config(noreplace) %{_sysconfdir}/default/su
-%endif
#UsrMerge
-%if %{with enable_su}
/bin/kill
/bin/su
-%endif
/bin/dmesg
/bin/more
/bin/mount
@@ -963,13 +923,9 @@
/sbin/fstrim
/sbin/chcpu
#EndUsrMerge
-%if %{with enable_su}
%{_bindir}/kill
%{_bindir}/su
-%endif
-%if %{with enable_eject}
%{_bindir}/eject
-%endif
%{_bindir}/cal
%{_bindir}/chrt
%{_bindir}/col
@@ -1018,10 +974,8 @@
%{_bindir}/ul
%{_bindir}/umount
%{_bindir}/unshare
-%if %{with sysvinit_tools}
%{_bindir}/mountpoint
%{_bindir}/utmpdump
-%endif
%{_bindir}/uuidgen
%{_bindir}/uname26
%ifnarch ppc ppc64
@@ -1059,9 +1013,7 @@
%{_sbindir}/rtcwake
%{_sbindir}/runuser
%{_sbindir}/setctsid
-%if %{with sysvinit_tools}
%{_sbindir}/sulogin
-%endif
%{_sbindir}/swaplabel
%{_sbindir}/swapoff
%{_sbindir}/swapon
@@ -1071,10 +1023,8 @@
%{_bindir}/whereis
%verify(not mode) %attr(0755,root,tty) %{_bindir}/write
%{_sbindir}/zramctl
-%if %{with enable_su}
%{_mandir}/man1/kill.1.gz
%{_mandir}/man1/su.1.gz
-%endif
%{_mandir}/man1/cal.1.gz
%{_mandir}/man1/chrt.1.gz
%{_mandir}/man1/col.1.gz
@@ -1082,9 +1032,7 @@
%{_mandir}/man1/colrm.1.gz
%{_mandir}/man1/column.1.gz
%{_mandir}/man1/dmesg.1.gz
-%if %{with enable_eject}
%{_mandir}/man1/eject.1.gz
-%endif
%{_mandir}/man1/fallocate.1.gz
%{_mandir}/man1/flock.1.gz
%{_mandir}/man1/getopt.1.gz
@@ -1123,10 +1071,8 @@
%{_mandir}/man1/whereis.1.gz
%{_mandir}/man1/write.1.gz
%{_mandir}/man1/ipcmk.1.gz
-%if %{with sysvinit_tools}
%{_mandir}/man1/mountpoint.1.gz
%{_mandir}/man1/utmpdump.1.gz
-%endif
%{_mandir}/man1/runuser.1.gz
%{_mandir}/man1/uuidgen.1.gz
%{_mandir}/man5/fstab.5.gz
@@ -1178,9 +1124,7 @@
%{_mandir}/man8/fstrim.8.gz
%{_mandir}/man8/lsblk.8.gz
%{_mandir}/man8/resizepart.8.gz
-%if %{with sysvinit_tools}
%{_mandir}/man8/sulogin.8.gz
-%endif
%{_mandir}/man8/wdctl.8.gz
%{_sbindir}/flushb
%{_sbindir}/readprofile
OBS-URL: https://build.opensuse.org/request/show/390044
OBS-URL: https://build.opensuse.org/package/show/Base:System/util-linux?expand=0&rev=304
2016-04-24 11:08:55 +02:00
|
|
|
--with-systemd \
|
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
|
|
|
%else
|
Accepting request 390044 from home:rudi_m:branches:Base:System
Just a minor cosmetical cleanup which should not change anything
for the Factory build.
Changes:
- fix build for openSUSE >= 13.1 (inclusive SLE 12)
- drop build for openSUSE < 13.1
- remove old build conditions: sysvinit_tools, enable_su and
enable_eject
- cosmetics: reorder configure options
old: Base:System/util-linux
new: home:rudi_m:branches:Base:System/util-linux rev None
Index: python-libmount.changes
===================================================================
--- python-libmount.changes (revision 302)
+++ python-libmount.changes (revision 13)
@@ -1,4 +1,13 @@
-------------------------------------------------------------------
+Wed Apr 13 21:29:00 UTC 2016 - sweet_f_a@gmx.de
+
+- fix build for openSUSE >= 13.1 (inclusive SLE 12)
+- drop build for openSUSE < 13.1
+- remove old build conditions: sysvinit_tools, enable_su and
+ enable_eject
+- cosmetics: reorder configure options
+
+-------------------------------------------------------------------
Wed Apr 13 09:53:21 UTC 2016 - sweet_f_a@gmx.de
- Update to version 2.28:
Index: python-libmount.spec
===================================================================
--- python-libmount.spec (revision 302)
+++ python-libmount.spec (revision 13)
@@ -16,9 +16,6 @@
#
-%bcond_without sysvinit_tools
-%bcond_without enable_su
-%bcond_without enable_eject
%bcond_without enable_last
Name: python-libmount
@@ -97,14 +94,10 @@
%endif
%if %build_util_linux_systemd
BuildRequires: socat
-%if 0%{?suse_version} <= 1230
-BuildRequires: pkgconfig(systemd)
-%else
BuildRequires: systemd-rpm-macros
BuildRequires: pkgconfig(libsystemd-daemon)
BuildRequires: pkgconfig(libsystemd-journal)
%endif
-%endif
%if %build_python_libmount
BuildRequires: python-devel
%endif
@@ -170,25 +163,17 @@
PreReq: %install_info_prereq permissions
PreReq: %insserv_prereq %fillup_prereq /bin/sed
Recommends: %{name}-lang = %{version}
-%if %{with enable_eject}
Provides: eject = 2.1.0-166.8
-%endif
Provides: login = 4.0-33.7
-%if %{with enable_eject}
# File conflict of eject (up to 12.3 and SLE11).
Obsoletes: eject < 2.1.0-166.8
-%endif
# File conflict of login (up to 12.1 and SLE11).
Obsoletes: login < 4.0-33.7
-%if %{with enable_su}
# File conflict of su and kill (up to 12.3 and SLE11).
# It should be coreutils < 8.21-4, but coreutils provide Release-less symbol.
Conflicts: coreutils < 8.21
-%endif
-%if %{with sysvinit_tools}
# File conflict of sulogin and utmpdump (up to 12.3 and SLE11).
Conflicts: sysvinit-tools < 2.88+-87
-%endif
# bnc#805684:
%ifarch s390x
Obsoletes: s390-32
@@ -538,6 +523,7 @@
# sysvinit-only versions of UTIL_LINUX_SYSTEMD_SOURCES utilities.
AUTOPOINT=true autoreconf -vfi
%configure \
+ --disable-silent-rules \
--localstatedir=/run \
--docdir=%{_docdir}/%{_name} \
--with-audit \
@@ -546,46 +532,33 @@
--with-selinux \
$uhead \
--with-bashcompletiondir=%{_datadir}/bash-completion \
- --enable-all-programs \
- --disable-reset \
+ --with-systemdsystemunitdir=%{_unitdir} \
+ --enable-libmount-force-mountinfo \
+ --enable-sulogin-emergency-mount \
--disable-use-tty-group \
- --disable-silent-rules \
--enable-static \
--disable-rpath \
+ --enable-all-programs \
+ --disable-reset \
%if %{without enable_last}
--disable-last \
%endif
-%if %{without enable_eject}
- --disable-eject \
-%endif
-%if %{with sysvinit_tools}
- --enable-sulogin-emergency-mount \
-%else
- --disable-sulogin \
- --disable-mountpoint \
-%endif
-%if %{without enable_su}
- --disable-su \
- --disable-kill \
-%endif
%if %build_util_linux_systemd
+ --with-systemd \
--enable-logger \
--enable-lslogins \
--enable-uuidd \
- --with-systemd \
- --with-systemdsystemunitdir=%{_unitdir} \
%else
+ --without-systemd \
--disable-logger \
--disable-lslogins \
--disable-uuidd \
- --without-systemd \
%endif
%if %build_python_libmount
--with-python \
%else
--without-python \
%endif
- --enable-libmount-force-mountinfo \
#
# Safety check: HAVE_UUIDD should be always 1:
@@ -637,11 +610,9 @@
install -m 644 %{SOURCE9} %{buildroot}%{_sysconfdir}/pam.d/remote
install -m 644 %{SOURCE14} %{buildroot}%{_sysconfdir}/pam.d/runuser
install -m 644 %{SOURCE14} %{buildroot}%{_sysconfdir}/pam.d/runuser-l
-%if %{with enable_su}
install -m 644 %{SOURCE10} %{buildroot}%{_sysconfdir}/pam.d/su
install -m 644 %{SOURCE10} %{buildroot}%{_sysconfdir}/pam.d/su-l
install -m 644 %{SOURCE11} %{buildroot}%{_sysconfdir}/default/su
-%endif
mkdir -p %{buildroot}%{_localstatedir}/adm/fillup-templates
pushd ../klogconsole
# klogconsole install
@@ -655,10 +626,8 @@
rm -f %{buildroot}%{python_sitearch}/libmount/*.*a
%if %build_util_linux
#UsrMerge
-%if %{with enable_su}
ln -s %{_bindir}/kill %{buildroot}/bin
ln -s %{_bindir}/su %{buildroot}/bin
-%endif
ln -s %{_bindir}/dmesg %{buildroot}/bin
ln -s %{_bindir}/more %{buildroot}/bin
ln -s %{_bindir}/mount %{buildroot}/bin
@@ -798,7 +767,6 @@
%post
%{fillup_and_insserv raw}
%set_permissions %{_bindir}/wall %{_bindir}/write %{_bindir}/mount %{_bindir}/umount
-%if %{with enable_su}
%set_permissions %{_bindir}/su
# Safely migrate PAM files from coreutils to util-linux
# (openSUSE 12.3->13.1, SLE11->SLE12)
@@ -817,7 +785,6 @@
mv %{_sysconfdir}/$PAM_FILE.rpmsave %{_sysconfdir}/$PAM_FILE
fi
done
-%endif
# mount option 'code=' is now called 'codepage=' so change fstab
if [ -f etc/fstab ]; then
@@ -829,9 +796,7 @@
%verifyscript
%verify_permissions -e %{_bindir}/wall -e %{_bindir}/write -e %{_bindir}/mount -e %{_bindir}/umount
-%if %{with enable_su}
%verify_permissions -e %{_bindir}/su
-%endif
%post -n libblkid1 -p /sbin/ldconfig
@@ -857,9 +822,8 @@
%endif
%if %build_util_linux_systemd
-# Note: This is not a perfect solution: fstrim is part of util-linux, fstrim services are part of util-linux-systemd (for build loop prevention reasons).
-# If only util-linux is updated, restart of fstrim service does not happen.
-# Maybe we should move fstrim to util-linux-systemd in the next version.
+# fstrim(8) and fstrim.service are from different packages. But it's a oneshot
+# service (timer), no restart needed on binary updates (unless path is changed).
%pre -n util-linux-systemd
%{service_add_pre fstrim.service fstrim.timer}
@@ -877,7 +841,7 @@
/usr/sbin/useradd -r -g uuidd -c "User for uuidd" \
-d /var/run/uuidd uuidd 2>/dev/null || :
%{service_add_pre uuidd.socket uuidd.service}
-%systemd_preset_pre
+%{?systemd_preset_pre}
%post -n uuidd
%{service_add_post uuidd.socket uuidd.service}
@@ -889,7 +853,7 @@
%{service_del_postun uuidd.socket uuidd.service}
%posttrans -p /bin/bash -n uuidd
-%systemd_preset_posttrans
+%{?systemd_preset_posttrans}
%endif
%if %build_util_linux
@@ -920,16 +884,12 @@
%config(noreplace) %{_sysconfdir}/pam.d/remote
%config(noreplace) %{_sysconfdir}/pam.d/runuser
%config(noreplace) %{_sysconfdir}/pam.d/runuser-l
-%if %{with enable_su}
%config(noreplace) %{_sysconfdir}/pam.d/su
%config(noreplace) %{_sysconfdir}/pam.d/su-l
%config(noreplace) %{_sysconfdir}/default/su
-%endif
#UsrMerge
-%if %{with enable_su}
/bin/kill
/bin/su
-%endif
/bin/dmesg
/bin/more
/bin/mount
@@ -963,13 +923,9 @@
/sbin/fstrim
/sbin/chcpu
#EndUsrMerge
-%if %{with enable_su}
%{_bindir}/kill
%{_bindir}/su
-%endif
-%if %{with enable_eject}
%{_bindir}/eject
-%endif
%{_bindir}/cal
%{_bindir}/chrt
%{_bindir}/col
@@ -1018,10 +974,8 @@
%{_bindir}/ul
%{_bindir}/umount
%{_bindir}/unshare
-%if %{with sysvinit_tools}
%{_bindir}/mountpoint
%{_bindir}/utmpdump
-%endif
%{_bindir}/uuidgen
%{_bindir}/uname26
%ifnarch ppc ppc64
@@ -1059,9 +1013,7 @@
%{_sbindir}/rtcwake
%{_sbindir}/runuser
%{_sbindir}/setctsid
-%if %{with sysvinit_tools}
%{_sbindir}/sulogin
-%endif
%{_sbindir}/swaplabel
%{_sbindir}/swapoff
%{_sbindir}/swapon
@@ -1071,10 +1023,8 @@
%{_bindir}/whereis
%verify(not mode) %attr(0755,root,tty) %{_bindir}/write
%{_sbindir}/zramctl
-%if %{with enable_su}
%{_mandir}/man1/kill.1.gz
%{_mandir}/man1/su.1.gz
-%endif
%{_mandir}/man1/cal.1.gz
%{_mandir}/man1/chrt.1.gz
%{_mandir}/man1/col.1.gz
@@ -1082,9 +1032,7 @@
%{_mandir}/man1/colrm.1.gz
%{_mandir}/man1/column.1.gz
%{_mandir}/man1/dmesg.1.gz
-%if %{with enable_eject}
%{_mandir}/man1/eject.1.gz
-%endif
%{_mandir}/man1/fallocate.1.gz
%{_mandir}/man1/flock.1.gz
%{_mandir}/man1/getopt.1.gz
@@ -1123,10 +1071,8 @@
%{_mandir}/man1/whereis.1.gz
%{_mandir}/man1/write.1.gz
%{_mandir}/man1/ipcmk.1.gz
-%if %{with sysvinit_tools}
%{_mandir}/man1/mountpoint.1.gz
%{_mandir}/man1/utmpdump.1.gz
-%endif
%{_mandir}/man1/runuser.1.gz
%{_mandir}/man1/uuidgen.1.gz
%{_mandir}/man5/fstab.5.gz
@@ -1178,9 +1124,7 @@
%{_mandir}/man8/fstrim.8.gz
%{_mandir}/man8/lsblk.8.gz
%{_mandir}/man8/resizepart.8.gz
-%if %{with sysvinit_tools}
%{_mandir}/man8/sulogin.8.gz
-%endif
%{_mandir}/man8/wdctl.8.gz
%{_sbindir}/flushb
%{_sbindir}/readprofile
Index: util-linux-systemd.changes
===================================================================
--- util-linux-systemd.changes (revision 302)
+++ util-linux-systemd.changes (revision 13)
@@ -1,4 +1,13 @@
-------------------------------------------------------------------
+Wed Apr 13 21:29:00 UTC 2016 - sweet_f_a@gmx.de
+
+- fix build for openSUSE >= 13.1 (inclusive SLE 12)
+- drop build for openSUSE < 13.1
+- remove old build conditions: sysvinit_tools, enable_su and
+ enable_eject
+- cosmetics: reorder configure options
+
+-------------------------------------------------------------------
Wed Apr 13 09:53:21 UTC 2016 - sweet_f_a@gmx.de
- Update to version 2.28:
Index: util-linux-systemd.spec
===================================================================
--- util-linux-systemd.spec (revision 302)
+++ util-linux-systemd.spec (revision 13)
@@ -16,9 +16,6 @@
#
-%bcond_without sysvinit_tools
-%bcond_without enable_su
-%bcond_without enable_eject
%bcond_without enable_last
Name: util-linux-systemd
@@ -97,14 +94,10 @@
%endif
%if %build_util_linux_systemd
BuildRequires: socat
-%if 0%{?suse_version} <= 1230
-BuildRequires: pkgconfig(systemd)
-%else
BuildRequires: systemd-rpm-macros
BuildRequires: pkgconfig(libsystemd-daemon)
BuildRequires: pkgconfig(libsystemd-journal)
%endif
-%endif
%if %build_python_libmount
BuildRequires: python-devel
%endif
@@ -170,25 +163,17 @@
PreReq: %install_info_prereq permissions
PreReq: %insserv_prereq %fillup_prereq /bin/sed
Recommends: %{name}-lang = %{version}
-%if %{with enable_eject}
Provides: eject = 2.1.0-166.8
-%endif
Provides: login = 4.0-33.7
-%if %{with enable_eject}
# File conflict of eject (up to 12.3 and SLE11).
Obsoletes: eject < 2.1.0-166.8
-%endif
# File conflict of login (up to 12.1 and SLE11).
Obsoletes: login < 4.0-33.7
-%if %{with enable_su}
# File conflict of su and kill (up to 12.3 and SLE11).
# It should be coreutils < 8.21-4, but coreutils provide Release-less symbol.
Conflicts: coreutils < 8.21
-%endif
-%if %{with sysvinit_tools}
# File conflict of sulogin and utmpdump (up to 12.3 and SLE11).
Conflicts: sysvinit-tools < 2.88+-87
-%endif
# bnc#805684:
%ifarch s390x
Obsoletes: s390-32
@@ -538,6 +523,7 @@
# sysvinit-only versions of UTIL_LINUX_SYSTEMD_SOURCES utilities.
AUTOPOINT=true autoreconf -vfi
%configure \
+ --disable-silent-rules \
--localstatedir=/run \
--docdir=%{_docdir}/%{_name} \
--with-audit \
@@ -546,46 +532,33 @@
--with-selinux \
$uhead \
--with-bashcompletiondir=%{_datadir}/bash-completion \
- --enable-all-programs \
- --disable-reset \
+ --with-systemdsystemunitdir=%{_unitdir} \
+ --enable-libmount-force-mountinfo \
+ --enable-sulogin-emergency-mount \
--disable-use-tty-group \
- --disable-silent-rules \
--enable-static \
--disable-rpath \
+ --enable-all-programs \
+ --disable-reset \
%if %{without enable_last}
--disable-last \
%endif
-%if %{without enable_eject}
- --disable-eject \
-%endif
-%if %{with sysvinit_tools}
- --enable-sulogin-emergency-mount \
-%else
- --disable-sulogin \
- --disable-mountpoint \
-%endif
-%if %{without enable_su}
- --disable-su \
- --disable-kill \
-%endif
%if %build_util_linux_systemd
+ --with-systemd \
--enable-logger \
--enable-lslogins \
--enable-uuidd \
- --with-systemd \
- --with-systemdsystemunitdir=%{_unitdir} \
%else
+ --without-systemd \
--disable-logger \
--disable-lslogins \
--disable-uuidd \
- --without-systemd \
%endif
%if %build_python_libmount
--with-python \
%else
--without-python \
%endif
- --enable-libmount-force-mountinfo \
#
# Safety check: HAVE_UUIDD should be always 1:
@@ -637,11 +610,9 @@
install -m 644 %{SOURCE9} %{buildroot}%{_sysconfdir}/pam.d/remote
install -m 644 %{SOURCE14} %{buildroot}%{_sysconfdir}/pam.d/runuser
install -m 644 %{SOURCE14} %{buildroot}%{_sysconfdir}/pam.d/runuser-l
-%if %{with enable_su}
install -m 644 %{SOURCE10} %{buildroot}%{_sysconfdir}/pam.d/su
install -m 644 %{SOURCE10} %{buildroot}%{_sysconfdir}/pam.d/su-l
install -m 644 %{SOURCE11} %{buildroot}%{_sysconfdir}/default/su
-%endif
mkdir -p %{buildroot}%{_localstatedir}/adm/fillup-templates
pushd ../klogconsole
# klogconsole install
@@ -655,10 +626,8 @@
rm -f %{buildroot}%{python_sitearch}/libmount/*.*a
%if %build_util_linux
#UsrMerge
-%if %{with enable_su}
ln -s %{_bindir}/kill %{buildroot}/bin
ln -s %{_bindir}/su %{buildroot}/bin
-%endif
ln -s %{_bindir}/dmesg %{buildroot}/bin
ln -s %{_bindir}/more %{buildroot}/bin
ln -s %{_bindir}/mount %{buildroot}/bin
@@ -798,7 +767,6 @@
%post
%{fillup_and_insserv raw}
%set_permissions %{_bindir}/wall %{_bindir}/write %{_bindir}/mount %{_bindir}/umount
-%if %{with enable_su}
%set_permissions %{_bindir}/su
# Safely migrate PAM files from coreutils to util-linux
# (openSUSE 12.3->13.1, SLE11->SLE12)
@@ -817,7 +785,6 @@
mv %{_sysconfdir}/$PAM_FILE.rpmsave %{_sysconfdir}/$PAM_FILE
fi
done
-%endif
# mount option 'code=' is now called 'codepage=' so change fstab
if [ -f etc/fstab ]; then
@@ -829,9 +796,7 @@
%verifyscript
%verify_permissions -e %{_bindir}/wall -e %{_bindir}/write -e %{_bindir}/mount -e %{_bindir}/umount
-%if %{with enable_su}
%verify_permissions -e %{_bindir}/su
-%endif
%post -n libblkid1 -p /sbin/ldconfig
@@ -857,9 +822,8 @@
%endif
%if %build_util_linux_systemd
-# Note: This is not a perfect solution: fstrim is part of util-linux, fstrim services are part of util-linux-systemd (for build loop prevention reasons).
-# If only util-linux is updated, restart of fstrim service does not happen.
-# Maybe we should move fstrim to util-linux-systemd in the next version.
+# fstrim(8) and fstrim.service are from different packages. But it's a oneshot
+# service (timer), no restart needed on binary updates (unless path is changed).
%pre -n util-linux-systemd
%{service_add_pre fstrim.service fstrim.timer}
@@ -877,7 +841,7 @@
/usr/sbin/useradd -r -g uuidd -c "User for uuidd" \
-d /var/run/uuidd uuidd 2>/dev/null || :
%{service_add_pre uuidd.socket uuidd.service}
-%systemd_preset_pre
+%{?systemd_preset_pre}
%post -n uuidd
%{service_add_post uuidd.socket uuidd.service}
@@ -889,7 +853,7 @@
%{service_del_postun uuidd.socket uuidd.service}
%posttrans -p /bin/bash -n uuidd
-%systemd_preset_posttrans
+%{?systemd_preset_posttrans}
%endif
%if %build_util_linux
@@ -920,16 +884,12 @@
%config(noreplace) %{_sysconfdir}/pam.d/remote
%config(noreplace) %{_sysconfdir}/pam.d/runuser
%config(noreplace) %{_sysconfdir}/pam.d/runuser-l
-%if %{with enable_su}
%config(noreplace) %{_sysconfdir}/pam.d/su
%config(noreplace) %{_sysconfdir}/pam.d/su-l
%config(noreplace) %{_sysconfdir}/default/su
-%endif
#UsrMerge
-%if %{with enable_su}
/bin/kill
/bin/su
-%endif
/bin/dmesg
/bin/more
/bin/mount
@@ -963,13 +923,9 @@
/sbin/fstrim
/sbin/chcpu
#EndUsrMerge
-%if %{with enable_su}
%{_bindir}/kill
%{_bindir}/su
-%endif
-%if %{with enable_eject}
%{_bindir}/eject
-%endif
%{_bindir}/cal
%{_bindir}/chrt
%{_bindir}/col
@@ -1018,10 +974,8 @@
%{_bindir}/ul
%{_bindir}/umount
%{_bindir}/unshare
-%if %{with sysvinit_tools}
%{_bindir}/mountpoint
%{_bindir}/utmpdump
-%endif
%{_bindir}/uuidgen
%{_bindir}/uname26
%ifnarch ppc ppc64
@@ -1059,9 +1013,7 @@
%{_sbindir}/rtcwake
%{_sbindir}/runuser
%{_sbindir}/setctsid
-%if %{with sysvinit_tools}
%{_sbindir}/sulogin
-%endif
%{_sbindir}/swaplabel
%{_sbindir}/swapoff
%{_sbindir}/swapon
@@ -1071,10 +1023,8 @@
%{_bindir}/whereis
%verify(not mode) %attr(0755,root,tty) %{_bindir}/write
%{_sbindir}/zramctl
-%if %{with enable_su}
%{_mandir}/man1/kill.1.gz
%{_mandir}/man1/su.1.gz
-%endif
%{_mandir}/man1/cal.1.gz
%{_mandir}/man1/chrt.1.gz
%{_mandir}/man1/col.1.gz
@@ -1082,9 +1032,7 @@
%{_mandir}/man1/colrm.1.gz
%{_mandir}/man1/column.1.gz
%{_mandir}/man1/dmesg.1.gz
-%if %{with enable_eject}
%{_mandir}/man1/eject.1.gz
-%endif
%{_mandir}/man1/fallocate.1.gz
%{_mandir}/man1/flock.1.gz
%{_mandir}/man1/getopt.1.gz
@@ -1123,10 +1071,8 @@
%{_mandir}/man1/whereis.1.gz
%{_mandir}/man1/write.1.gz
%{_mandir}/man1/ipcmk.1.gz
-%if %{with sysvinit_tools}
%{_mandir}/man1/mountpoint.1.gz
%{_mandir}/man1/utmpdump.1.gz
-%endif
%{_mandir}/man1/runuser.1.gz
%{_mandir}/man1/uuidgen.1.gz
%{_mandir}/man5/fstab.5.gz
@@ -1178,9 +1124,7 @@
%{_mandir}/man8/fstrim.8.gz
%{_mandir}/man8/lsblk.8.gz
%{_mandir}/man8/resizepart.8.gz
-%if %{with sysvinit_tools}
%{_mandir}/man8/sulogin.8.gz
-%endif
%{_mandir}/man8/wdctl.8.gz
%{_sbindir}/flushb
%{_sbindir}/readprofile
Index: util-linux.changes
===================================================================
--- util-linux.changes (revision 302)
+++ util-linux.changes (revision 13)
@@ -1,4 +1,13 @@
-------------------------------------------------------------------
+Wed Apr 13 21:29:00 UTC 2016 - sweet_f_a@gmx.de
+
+- fix build for openSUSE >= 13.1 (inclusive SLE 12)
+- drop build for openSUSE < 13.1
+- remove old build conditions: sysvinit_tools, enable_su and
+ enable_eject
+- cosmetics: reorder configure options
+
+-------------------------------------------------------------------
Wed Apr 13 09:53:21 UTC 2016 - sweet_f_a@gmx.de
- Update to version 2.28:
Index: util-linux.spec
===================================================================
--- util-linux.spec (revision 302)
+++ util-linux.spec (revision 13)
@@ -16,9 +16,6 @@
#
-%bcond_without sysvinit_tools
-%bcond_without enable_su
-%bcond_without enable_eject
%bcond_without enable_last
Name: util-linux
@@ -97,14 +94,10 @@
%endif
%if %build_util_linux_systemd
BuildRequires: socat
-%if 0%{?suse_version} <= 1230
-BuildRequires: pkgconfig(systemd)
-%else
BuildRequires: systemd-rpm-macros
BuildRequires: pkgconfig(libsystemd-daemon)
BuildRequires: pkgconfig(libsystemd-journal)
%endif
-%endif
%if %build_python_libmount
BuildRequires: python-devel
%endif
@@ -170,25 +163,17 @@
PreReq: %install_info_prereq permissions
PreReq: %insserv_prereq %fillup_prereq /bin/sed
Recommends: %{name}-lang = %{version}
-%if %{with enable_eject}
Provides: eject = 2.1.0-166.8
-%endif
Provides: login = 4.0-33.7
-%if %{with enable_eject}
# File conflict of eject (up to 12.3 and SLE11).
Obsoletes: eject < 2.1.0-166.8
-%endif
# File conflict of login (up to 12.1 and SLE11).
Obsoletes: login < 4.0-33.7
-%if %{with enable_su}
# File conflict of su and kill (up to 12.3 and SLE11).
# It should be coreutils < 8.21-4, but coreutils provide Release-less symbol.
Conflicts: coreutils < 8.21
-%endif
-%if %{with sysvinit_tools}
# File conflict of sulogin and utmpdump (up to 12.3 and SLE11).
Conflicts: sysvinit-tools < 2.88+-87
-%endif
# bnc#805684:
%ifarch s390x
Obsoletes: s390-32
@@ -538,6 +523,7 @@
# sysvinit-only versions of UTIL_LINUX_SYSTEMD_SOURCES utilities.
AUTOPOINT=true autoreconf -vfi
%configure \
+ --disable-silent-rules \
--localstatedir=/run \
--docdir=%{_docdir}/%{_name} \
--with-audit \
@@ -546,46 +532,33 @@
--with-selinux \
$uhead \
--with-bashcompletiondir=%{_datadir}/bash-completion \
- --enable-all-programs \
- --disable-reset \
+ --with-systemdsystemunitdir=%{_unitdir} \
+ --enable-libmount-force-mountinfo \
+ --enable-sulogin-emergency-mount \
--disable-use-tty-group \
- --disable-silent-rules \
--enable-static \
--disable-rpath \
+ --enable-all-programs \
+ --disable-reset \
%if %{without enable_last}
--disable-last \
%endif
-%if %{without enable_eject}
- --disable-eject \
-%endif
-%if %{with sysvinit_tools}
- --enable-sulogin-emergency-mount \
-%else
- --disable-sulogin \
- --disable-mountpoint \
-%endif
-%if %{without enable_su}
- --disable-su \
- --disable-kill \
-%endif
%if %build_util_linux_systemd
+ --with-systemd \
--enable-logger \
--enable-lslogins \
--enable-uuidd \
- --with-systemd \
- --with-systemdsystemunitdir=%{_unitdir} \
%else
+ --without-systemd \
--disable-logger \
--disable-lslogins \
--disable-uuidd \
- --without-systemd \
%endif
%if %build_python_libmount
--with-python \
%else
--without-python \
%endif
- --enable-libmount-force-mountinfo \
#
# Safety check: HAVE_UUIDD should be always 1:
@@ -637,11 +610,9 @@
install -m 644 %{SOURCE9} %{buildroot}%{_sysconfdir}/pam.d/remote
install -m 644 %{SOURCE14} %{buildroot}%{_sysconfdir}/pam.d/runuser
install -m 644 %{SOURCE14} %{buildroot}%{_sysconfdir}/pam.d/runuser-l
-%if %{with enable_su}
install -m 644 %{SOURCE10} %{buildroot}%{_sysconfdir}/pam.d/su
install -m 644 %{SOURCE10} %{buildroot}%{_sysconfdir}/pam.d/su-l
install -m 644 %{SOURCE11} %{buildroot}%{_sysconfdir}/default/su
-%endif
mkdir -p %{buildroot}%{_localstatedir}/adm/fillup-templates
pushd ../klogconsole
# klogconsole install
@@ -655,10 +626,8 @@
rm -f %{buildroot}%{python_sitearch}/libmount/*.*a
%if %build_util_linux
#UsrMerge
-%if %{with enable_su}
ln -s %{_bindir}/kill %{buildroot}/bin
ln -s %{_bindir}/su %{buildroot}/bin
-%endif
ln -s %{_bindir}/dmesg %{buildroot}/bin
ln -s %{_bindir}/more %{buildroot}/bin
ln -s %{_bindir}/mount %{buildroot}/bin
@@ -798,7 +767,6 @@
%post
%{fillup_and_insserv raw}
%set_permissions %{_bindir}/wall %{_bindir}/write %{_bindir}/mount %{_bindir}/umount
-%if %{with enable_su}
%set_permissions %{_bindir}/su
# Safely migrate PAM files from coreutils to util-linux
# (openSUSE 12.3->13.1, SLE11->SLE12)
@@ -817,7 +785,6 @@
mv %{_sysconfdir}/$PAM_FILE.rpmsave %{_sysconfdir}/$PAM_FILE
fi
done
-%endif
# mount option 'code=' is now called 'codepage=' so change fstab
if [ -f etc/fstab ]; then
@@ -829,9 +796,7 @@
%verifyscript
%verify_permissions -e %{_bindir}/wall -e %{_bindir}/write -e %{_bindir}/mount -e %{_bindir}/umount
-%if %{with enable_su}
%verify_permissions -e %{_bindir}/su
-%endif
%post -n libblkid1 -p /sbin/ldconfig
@@ -857,9 +822,8 @@
%endif
%if %build_util_linux_systemd
-# Note: This is not a perfect solution: fstrim is part of util-linux, fstrim services are part of util-linux-systemd (for build loop prevention reasons).
-# If only util-linux is updated, restart of fstrim service does not happen.
-# Maybe we should move fstrim to util-linux-systemd in the next version.
+# fstrim(8) and fstrim.service are from different packages. But it's a oneshot
+# service (timer), no restart needed on binary updates (unless path is changed).
%pre -n util-linux-systemd
%{service_add_pre fstrim.service fstrim.timer}
@@ -877,7 +841,7 @@
/usr/sbin/useradd -r -g uuidd -c "User for uuidd" \
-d /var/run/uuidd uuidd 2>/dev/null || :
%{service_add_pre uuidd.socket uuidd.service}
-%systemd_preset_pre
+%{?systemd_preset_pre}
%post -n uuidd
%{service_add_post uuidd.socket uuidd.service}
@@ -889,7 +853,7 @@
%{service_del_postun uuidd.socket uuidd.service}
%posttrans -p /bin/bash -n uuidd
-%systemd_preset_posttrans
+%{?systemd_preset_posttrans}
%endif
%if %build_util_linux
@@ -920,16 +884,12 @@
%config(noreplace) %{_sysconfdir}/pam.d/remote
%config(noreplace) %{_sysconfdir}/pam.d/runuser
%config(noreplace) %{_sysconfdir}/pam.d/runuser-l
-%if %{with enable_su}
%config(noreplace) %{_sysconfdir}/pam.d/su
%config(noreplace) %{_sysconfdir}/pam.d/su-l
%config(noreplace) %{_sysconfdir}/default/su
-%endif
#UsrMerge
-%if %{with enable_su}
/bin/kill
/bin/su
-%endif
/bin/dmesg
/bin/more
/bin/mount
@@ -963,13 +923,9 @@
/sbin/fstrim
/sbin/chcpu
#EndUsrMerge
-%if %{with enable_su}
%{_bindir}/kill
%{_bindir}/su
-%endif
-%if %{with enable_eject}
%{_bindir}/eject
-%endif
%{_bindir}/cal
%{_bindir}/chrt
%{_bindir}/col
@@ -1018,10 +974,8 @@
%{_bindir}/ul
%{_bindir}/umount
%{_bindir}/unshare
-%if %{with sysvinit_tools}
%{_bindir}/mountpoint
%{_bindir}/utmpdump
-%endif
%{_bindir}/uuidgen
%{_bindir}/uname26
%ifnarch ppc ppc64
@@ -1059,9 +1013,7 @@
%{_sbindir}/rtcwake
%{_sbindir}/runuser
%{_sbindir}/setctsid
-%if %{with sysvinit_tools}
%{_sbindir}/sulogin
-%endif
%{_sbindir}/swaplabel
%{_sbindir}/swapoff
%{_sbindir}/swapon
@@ -1071,10 +1023,8 @@
%{_bindir}/whereis
%verify(not mode) %attr(0755,root,tty) %{_bindir}/write
%{_sbindir}/zramctl
-%if %{with enable_su}
%{_mandir}/man1/kill.1.gz
%{_mandir}/man1/su.1.gz
-%endif
%{_mandir}/man1/cal.1.gz
%{_mandir}/man1/chrt.1.gz
%{_mandir}/man1/col.1.gz
@@ -1082,9 +1032,7 @@
%{_mandir}/man1/colrm.1.gz
%{_mandir}/man1/column.1.gz
%{_mandir}/man1/dmesg.1.gz
-%if %{with enable_eject}
%{_mandir}/man1/eject.1.gz
-%endif
%{_mandir}/man1/fallocate.1.gz
%{_mandir}/man1/flock.1.gz
%{_mandir}/man1/getopt.1.gz
@@ -1123,10 +1071,8 @@
%{_mandir}/man1/whereis.1.gz
%{_mandir}/man1/write.1.gz
%{_mandir}/man1/ipcmk.1.gz
-%if %{with sysvinit_tools}
%{_mandir}/man1/mountpoint.1.gz
%{_mandir}/man1/utmpdump.1.gz
-%endif
%{_mandir}/man1/runuser.1.gz
%{_mandir}/man1/uuidgen.1.gz
%{_mandir}/man5/fstab.5.gz
@@ -1178,9 +1124,7 @@
%{_mandir}/man8/fstrim.8.gz
%{_mandir}/man8/lsblk.8.gz
%{_mandir}/man8/resizepart.8.gz
-%if %{with sysvinit_tools}
%{_mandir}/man8/sulogin.8.gz
-%endif
%{_mandir}/man8/wdctl.8.gz
%{_sbindir}/flushb
%{_sbindir}/readprofile
OBS-URL: https://build.opensuse.org/request/show/390044
OBS-URL: https://build.opensuse.org/package/show/Base:System/util-linux?expand=0&rev=304
2016-04-24 11:08:55 +02:00
|
|
|
--without-systemd \
|
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
|
2020-09-10 01:47:10 +02:00
|
|
|
%if %{with 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
|
|
|
--with-python \
|
2020-09-10 01:47:10 +02:00
|
|
|
--enable-pylibmount \
|
|
|
|
--enable-libmount \
|
|
|
|
--enable-libblkid \
|
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
|
|
|
%else
|
|
|
|
--without-python \
|
2020-09-10 01:47:10 +02:00
|
|
|
%endif
|
|
|
|
%if %{without base}
|
|
|
|
--disable-all-programs \
|
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
|
2019-10-03 00:24:59 +02:00
|
|
|
--enable-vendordir=%{_distconfdir}
|
2010-07-30 12:35:45 +02:00
|
|
|
make %{?_smp_mflags}
|
2020-09-10 01:47:10 +02:00
|
|
|
}
|
|
|
|
%if %{without python}
|
|
|
|
configure_and_build
|
|
|
|
%else
|
|
|
|
%{python_expand export PYTHON=$python
|
|
|
|
mkdir -p build.$python
|
|
|
|
cd build.$python
|
|
|
|
configure_and_build
|
|
|
|
cd ..
|
|
|
|
}
|
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
|
2013-12-12 13:34:11 +01:00
|
|
|
|
2006-12-19 00:18:10 +01:00
|
|
|
%install
|
2020-09-10 01:47:10 +02:00
|
|
|
%if %{with base}
|
2019-10-03 00:24:59 +02:00
|
|
|
mkdir -p %{buildroot}{%{_distconfdir}/{pam.d,default},%{_mandir}/man{1,8},/bin,/sbin,%{_bindir},%{_sbindir},%{_infodir},%{_sysconfdir}/issue.d}
|
2011-01-11 16:19:40 +01:00
|
|
|
install -m 644 %{SOURCE51} %{buildroot}%{_sysconfdir}/blkid.conf
|
2019-10-03 00:24:59 +02:00
|
|
|
install -m 644 %{SOURCE8} %{buildroot}%{_distconfdir}/pam.d/login
|
|
|
|
install -m 644 %{SOURCE9} %{buildroot}%{_distconfdir}/pam.d/remote
|
|
|
|
install -m 644 %{SOURCE14} %{buildroot}%{_distconfdir}/pam.d/runuser
|
|
|
|
install -m 644 %{SOURCE15} %{buildroot}%{_distconfdir}/pam.d/runuser-l
|
|
|
|
install -m 644 %{SOURCE10} %{buildroot}%{_distconfdir}/pam.d/su
|
|
|
|
install -m 644 %{SOURCE16} %{buildroot}%{_distconfdir}/pam.d/su-l
|
|
|
|
install -m 644 %{SOURCE11} %{buildroot}%{_distconfdir}/default/su
|
2019-07-22 18:53:23 +02:00
|
|
|
sed 's/\bsu\b/runuser/g' <%{SOURCE11} >runuser.default
|
2019-10-03 00:24:59 +02:00
|
|
|
install -m 644 runuser.default %{buildroot}%{_distconfdir}/default/runuser
|
2007-04-12 18:31:42 +02:00
|
|
|
#
|
2006-12-19 00:18:10 +01:00
|
|
|
# util-linux install
|
2007-04-12 18:31:42 +02:00
|
|
|
#
|
2020-09-10 01:47:10 +02:00
|
|
|
%endif
|
|
|
|
%if %{without python}
|
2011-01-11 16:19:40 +01:00
|
|
|
%make_install
|
2020-09-10 01:47:10 +02:00
|
|
|
%else
|
|
|
|
%{python_expand cd build.$python
|
|
|
|
%make_install
|
|
|
|
cd ..
|
|
|
|
}
|
|
|
|
%endif
|
|
|
|
|
|
|
|
%if %{with base}
|
2018-08-08 01:53:11 +02:00
|
|
|
rm -f %{buildroot}%{python3_sitearch}/libmount/*.*a
|
2012-03-13 13:38:21 +01:00
|
|
|
#UsrMerge
|
2013-06-05 15:07:12 +02:00
|
|
|
ln -s %{_bindir}/kill %{buildroot}/bin
|
|
|
|
ln -s %{_bindir}/su %{buildroot}/bin
|
2012-03-13 13:38:21 +01:00
|
|
|
ln -s %{_bindir}/dmesg %{buildroot}/bin
|
|
|
|
ln -s %{_bindir}/more %{buildroot}/bin
|
|
|
|
ln -s %{_bindir}/mount %{buildroot}/bin
|
|
|
|
ln -s %{_bindir}/umount %{buildroot}/bin
|
|
|
|
ln -s %{_bindir}/findmnt %{buildroot}/bin
|
|
|
|
ln -s %{_bindir}/lsblk %{buildroot}/bin
|
|
|
|
ln -s %{_sbindir}/agetty %{buildroot}/sbin
|
|
|
|
ln -s %{_sbindir}/blockdev %{buildroot}/sbin
|
|
|
|
ln -s %{_sbindir}/cfdisk %{buildroot}/sbin
|
|
|
|
ln -s %{_sbindir}/ctrlaltdel %{buildroot}/sbin
|
|
|
|
ln -s %{_sbindir}/fdisk %{buildroot}/sbin
|
|
|
|
ln -s %{_sbindir}/fsck.minix %{buildroot}/sbin
|
|
|
|
ln -s %{_sbindir}/fsck.cramfs %{buildroot}/sbin
|
|
|
|
ln -s %{_sbindir}/hwclock %{buildroot}/sbin
|
|
|
|
ln -s %{_sbindir}/losetup %{buildroot}/sbin
|
|
|
|
ln -s %{_sbindir}/mkfs %{buildroot}/sbin
|
|
|
|
ln -s %{_sbindir}/mkfs.bfs %{buildroot}/sbin
|
|
|
|
ln -s %{_sbindir}/mkfs.minix %{buildroot}/sbin
|
|
|
|
ln -s %{_sbindir}/mkfs.cramfs %{buildroot}/sbin
|
|
|
|
ln -s %{_sbindir}/mkswap %{buildroot}/sbin
|
2014-05-28 12:59:39 +02:00
|
|
|
ln -s %{_sbindir}/nologin %{buildroot}/sbin
|
2012-03-13 13:38:21 +01:00
|
|
|
ln -s %{_sbindir}/pivot_root %{buildroot}/sbin
|
|
|
|
ln -s %{_sbindir}/raw %{buildroot}/sbin
|
|
|
|
ln -s %{_sbindir}/sfdisk %{buildroot}/sbin
|
|
|
|
ln -s %{_sbindir}/swapoff %{buildroot}/sbin
|
|
|
|
ln -s %{_sbindir}/swapon %{buildroot}/sbin
|
|
|
|
ln -s %{_sbindir}/blkid %{buildroot}/sbin
|
|
|
|
ln -s %{_sbindir}/findfs %{buildroot}/sbin
|
|
|
|
ln -s %{_sbindir}/fsck %{buildroot}/sbin
|
|
|
|
ln -s %{_sbindir}/switch_root %{buildroot}/sbin
|
|
|
|
ln -s %{_sbindir}/wipefs %{buildroot}/sbin
|
|
|
|
ln -s %{_sbindir}/fsfreeze %{buildroot}/sbin
|
|
|
|
ln -s %{_sbindir}/swaplabel %{buildroot}/sbin
|
|
|
|
ln -s %{_sbindir}/fstrim %{buildroot}/sbin
|
|
|
|
ln -s %{_sbindir}/chcpu %{buildroot}/sbin
|
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
|
|
|
#EndUsrMerge
|
2011-01-11 16:19:40 +01:00
|
|
|
install -m 644 %{SOURCE6} %{buildroot}%{_sysconfdir}/filesystems
|
2020-05-25 00:48:07 +02:00
|
|
|
echo -e "#!/bin/sh\n/sbin/blockdev --flushbufs \$1" > %{buildroot}%{_sbindir}/flushb
|
2011-01-11 16:19:40 +01:00
|
|
|
chmod 755 %{buildroot}%{_sbindir}/flushb
|
2006-12-19 00:18:10 +01:00
|
|
|
# Install scripts to configure raw devices at boot time
|
2013-06-06 11:42:28 +02:00
|
|
|
install -m 644 $RPM_SOURCE_DIR%{_sysconfdir}.raw %{buildroot}%{_sysconfdir}/raw
|
2017-02-07 21:47:46 +01:00
|
|
|
install -m 644 $RPM_SOURCE_DIR/raw.service %{buildroot}%{_unitdir}
|
|
|
|
ln -sf service %{buildroot}%{_sbindir}/rcraw
|
2013-12-12 13:34:11 +01:00
|
|
|
# upstream moved getopt examples from datadir to docdir but we keep
|
|
|
|
# the old location because we would need to fix the manpage first
|
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
|
|
|
mv %{buildroot}%{_docdir}/%{_name}/getopt %{buildroot}%{_datadir}/
|
2006-12-19 00:18:10 +01:00
|
|
|
# Stupid hack so we don't have a tcsh dependency
|
2011-01-11 16:19:40 +01:00
|
|
|
chmod 644 %{buildroot}%{_datadir}/getopt/getopt*.tcsh
|
2012-03-14 15:25:45 +01:00
|
|
|
# login is always and only in /bin
|
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
|
|
|
mv %{buildroot}%{_bindir}/login %{buildroot}/bin/
|
2007-06-07 13:16:42 +02:00
|
|
|
# arch dependent
|
2006-12-19 00:18:10 +01:00
|
|
|
%ifarch s390 s390x
|
2011-01-11 16:19:40 +01:00
|
|
|
rm -f %{buildroot}%{_sysconfdir}/fdprm
|
|
|
|
rm -f %{buildroot}%{_sbindir}/fdformat
|
2012-03-13 13:38:21 +01:00
|
|
|
rm -f %{buildroot}%{_sbindir}/hwclock
|
|
|
|
#UsrMerge
|
2011-01-11 16:19:40 +01:00
|
|
|
rm -f %{buildroot}/sbin/hwclock
|
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
|
|
|
#EndUsrMerge
|
2011-01-11 16:19:40 +01:00
|
|
|
rm -f %{buildroot}%{_bindir}/setterm
|
|
|
|
rm -f %{buildroot}%{_sbindir}/tunelp
|
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
|
|
|
rm -f %{buildroot}%{_mandir}/man8/fdformat.8*
|
|
|
|
rm -f %{buildroot}%{_mandir}/man8/hwclock.8*
|
|
|
|
rm -f %{buildroot}%{_mandir}/man8/tunelp.8*
|
2006-12-19 00:18:10 +01:00
|
|
|
%endif
|
2013-10-09 17:02:58 +02:00
|
|
|
%ifarch ia64 %sparc m68k
|
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
|
|
|
rm -f %{buildroot}%{_mandir}/man8/cfdisk.8*
|
|
|
|
rm -f %{buildroot}%{_mandir}/man8/sfdisk.8*
|
2012-03-13 13:38:21 +01:00
|
|
|
rm -f %{buildroot}%{_sbindir}/cfdisk
|
|
|
|
#UsrMerge
|
2011-01-11 16:19:40 +01:00
|
|
|
rm -f %{buildroot}/sbin/cfdisk
|
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
|
|
|
#EndUsrMerge
|
2012-03-13 13:38:21 +01:00
|
|
|
rm -f %{buildroot}%{_sbindir}/sfdisk
|
|
|
|
#UsrMerge
|
2011-01-11 16:19:40 +01:00
|
|
|
rm -f %{buildroot}/sbin/sfdisk
|
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
|
|
|
#EndUsrMerge
|
2006-12-19 00:18:10 +01:00
|
|
|
%endif
|
2013-10-09 17:02:58 +02:00
|
|
|
%ifarch ia64 m68k
|
2012-03-13 13:38:21 +01:00
|
|
|
rm -f %{buildroot}%{_sbindir}/fdisk
|
|
|
|
#UsrMerge
|
2011-01-11 16:19:40 +01:00
|
|
|
rm -f %{buildroot}/sbin/fdisk
|
2012-03-13 13:38:21 +01:00
|
|
|
#EndUsrMerge
|
2011-01-11 16:19:40 +01:00
|
|
|
rm -f %{buildroot}%{_mandir}/man8/fdisk.8*
|
2006-12-19 00:18:10 +01:00
|
|
|
%endif
|
2020-09-10 01:47:10 +02:00
|
|
|
%find_lang %{_name} %{name}.lang
|
2009-07-03 17:12:19 +02:00
|
|
|
# create list of setarch(8) symlinks
|
2011-01-11 16:19:40 +01:00
|
|
|
find %{buildroot}%{_bindir}/ -regextype posix-egrep -type l \
|
2010-06-25 20:44:47 +02:00
|
|
|
-regex ".*(linux32|linux64|s390|s390x|i386|ppc|ppc64|ppc32|sparc|sparc64|sparc32|sparc32bash|mips|mips64|mips32|ia64|x86_64|parisc|parisc32|parisc64)$" \
|
2009-07-03 17:12:19 +02:00
|
|
|
-printf "%{_bindir}/%f\n" >> %{name}.files
|
2011-01-11 16:19:40 +01:00
|
|
|
find %{buildroot}%{_mandir}/man8 -regextype posix-egrep \
|
2010-06-25 20:44:47 +02:00
|
|
|
-regex ".*(linux32|linux64|s390|s390x|i386|ppc|ppc64|ppc32|sparc|sparc64|sparc32|sparc32bash|mips|mips64|mips32|ia64|x86_64|parisc|parisc32|parisc64)\.8.*" \
|
2009-07-03 17:12:19 +02:00
|
|
|
-printf "%{_mandir}/man8/%f*\n" >> %{name}.files
|
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
|
|
|
mkdir -p %{buildroot}/bin
|
|
|
|
mkdir -p %{buildroot}%{_sbindir}
|
|
|
|
mkdir -p %{buildroot}%{_localstatedir}/lib/libuuid
|
|
|
|
mkdir -p %{buildroot}/run/uuidd
|
|
|
|
ln -s %{_bindir}/logger %{buildroot}/bin
|
2011-08-02 16:03:08 +02:00
|
|
|
# clock.txt from uuidd is a ghost file
|
|
|
|
touch %{buildroot}%{_localstatedir}/lib/libuuid/clock.txt
|
2014-10-31 16:22:34 +01:00
|
|
|
ln -sf /sbin/service %{buildroot}/usr/sbin/rcuuidd
|
|
|
|
ln -sf /sbin/service %{buildroot}/usr/sbin/rcfstrim
|
2020-09-10 01:47:10 +02:00
|
|
|
%else
|
|
|
|
# There is a limitation: python module needs to build much more, and install even more. Delete it.
|
|
|
|
rm -r %{buildroot}{%{_bindir},%{_mandir},%{_datadir},%{_includedir},%{_libdir}/{lib,pkg}*}
|
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
|
|
|
|
# link duplicate manpages and python bindings
|
|
|
|
%fdupes -s %{buildroot}%{_prefix}
|
2006-12-19 00:18:10 +01:00
|
|
|
|
2020-09-10 01:47:10 +02:00
|
|
|
%check
|
|
|
|
# Perform testsuite with the standard build only.
|
|
|
|
%if "%{flavor}" == "standard"
|
|
|
|
# mark some tests "known_fail"
|
|
|
|
#
|
|
|
|
%if 0%{?qemu_user_space_build}
|
|
|
|
export TS_OPT_fdisk_gpt_known_fail="yes"
|
|
|
|
export TS_OPT_fdisk_oddinput_known_fail="yes"
|
|
|
|
export TS_OPT_fdisk_sunlabel_known_fail="yes"
|
|
|
|
export TS_OPT_fincore_count_known_fail="yes"
|
|
|
|
export TS_OPT_libfdisk_gpt_known_fail="yes"
|
|
|
|
export TS_OPT_misc_flock_known_fail="yes"
|
|
|
|
export TS_OPT_misc_ionice_known_fail="yes"
|
|
|
|
export TS_OPT_misc_swaplabel_known_fail="yes"
|
|
|
|
export TS_OPT_kill_name_to_number_known_fail="yes"
|
|
|
|
export TS_OPT_kill_print_pid_known_fail="yes"
|
|
|
|
export TS_OPT_kill_queue_known_fail="yes"
|
|
|
|
export TS_OPT_uuid_uuidd_known_fail="yes"
|
|
|
|
# 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"
|
|
|
|
%endif
|
|
|
|
# This does not work with a chroot build: / is not a mountpoint
|
|
|
|
export TS_OPT_misc_mountpoint_known_fail="yes"
|
|
|
|
#
|
|
|
|
# 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"
|
|
|
|
%endif
|
|
|
|
|
|
|
|
%if %{with base}
|
2017-02-07 21:47:46 +01:00
|
|
|
%pre
|
2018-05-22 17:37:10 +02:00
|
|
|
%service_add_pre raw.service
|
2020-09-10 01:47:10 +02:00
|
|
|
%if %{with systemd}
|
|
|
|
%service_add_pre fstrim.service fstrim.timer
|
|
|
|
%endif
|
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
|
2018-05-22 17:37:10 +02:00
|
|
|
%service_add_post raw.service
|
2020-09-10 01:47:10 +02:00
|
|
|
%if %{with systemd}
|
|
|
|
%service_add_post fstrim.service fstrim.timer
|
|
|
|
%endif
|
2013-06-06 11:42:28 +02:00
|
|
|
%set_permissions %{_bindir}/wall %{_bindir}/write %{_bindir}/mount %{_bindir}/umount
|
|
|
|
%set_permissions %{_bindir}/su
|
2020-09-10 01:47:10 +02:00
|
|
|
%if ! %{defined no_config}
|
2013-10-08 10:48:43 +02:00
|
|
|
#
|
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
|
2019-08-07 01:09:02 +02:00
|
|
|
if test -f %{_sysconfdir}/pam.d/$PAM_FILE.rpmnew ; then
|
2019-08-15 01:24:10 +02:00
|
|
|
echo "Your %{_sysconfdir}/pam.d/$PAM_FILE is outdated. Please check %{_sysconfdir}/pam.d/$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.
|
2019-05-09 17:58:55 +02:00
|
|
|
if ! grep -q "^# /etc/default/su is an override" %{_sysconfdir}/default/su ; then
|
|
|
|
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
|
|
|
|
fi
|
|
|
|
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
|
2011-01-11 16:19:40 +01:00
|
|
|
|
2019-10-03 00:24:59 +02:00
|
|
|
%posttrans
|
2020-09-10 01:47:10 +02:00
|
|
|
%if %{defined no_config}
|
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
|
2019-10-03 00:24:59 +02:00
|
|
|
|
2017-02-07 21:47:46 +01:00
|
|
|
%preun
|
2018-05-22 17:37:10 +02:00
|
|
|
%service_del_preun raw.service
|
2020-09-10 01:47:10 +02:00
|
|
|
%if %{with systemd}
|
|
|
|
%service_del_preun fstrim.service fstrim.timer
|
|
|
|
%endif
|
2017-02-07 21:47:46 +01:00
|
|
|
|
2006-12-19 00:18:10 +01:00
|
|
|
%postun
|
2018-05-22 17:37:10 +02:00
|
|
|
%service_del_postun raw.service
|
2020-09-10 01:47:10 +02:00
|
|
|
%if %{with systemd}
|
|
|
|
%service_del_postun fstrim.service fstrim.timer
|
|
|
|
%endif
|
2011-01-11 16:19:40 +01:00
|
|
|
|
2006-12-19 00:18:10 +01:00
|
|
|
%verifyscript
|
2013-06-06 11:42:28 +02:00
|
|
|
%verify_permissions -e %{_bindir}/wall -e %{_bindir}/write -e %{_bindir}/mount -e %{_bindir}/umount
|
|
|
|
%verify_permissions -e %{_bindir}/su
|
2006-12-19 00:18:10 +01:00
|
|
|
|
2020-09-10 01:47:10 +02:00
|
|
|
%post -n libblkid1%{psuffix} -p /sbin/ldconfig
|
2010-07-30 12:35:45 +02:00
|
|
|
|
2020-09-10 01:47:10 +02:00
|
|
|
%postun -n libblkid1%{psuffix} -p /sbin/ldconfig
|
2010-07-30 12:35:45 +02:00
|
|
|
|
2020-09-10 01:47:10 +02:00
|
|
|
%post -n libmount1%{psuffix} -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
|
|
|
|
2020-09-10 01:47:10 +02:00
|
|
|
%postun -n libmount1%{psuffix} -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
|
|
|
|
2020-09-10 01:47:10 +02:00
|
|
|
%post -n libsmartcols1%{psuffix} -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
|
|
|
|
2020-09-10 01:47:10 +02:00
|
|
|
%postun -n libsmartcols1%{psuffix} -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
|
|
|
|
2020-09-10 01:47:10 +02:00
|
|
|
%post -n libuuid1%{psuffix} -p /sbin/ldconfig
|
2015-02-26 17:53:58 +01:00
|
|
|
|
2020-09-10 01:47:10 +02:00
|
|
|
%postun -n libuuid1%{psuffix} -p /sbin/ldconfig
|
2015-02-26 17:53:58 +01:00
|
|
|
|
2020-09-10 01:47:10 +02:00
|
|
|
%post -n libfdisk1%{psuffix} -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
|
|
|
|
2020-09-10 01:47:10 +02:00
|
|
|
%postun -n libfdisk1%{psuffix} -p /sbin/ldconfig
|
2014-10-31 16:22:34 +01:00
|
|
|
|
2017-09-14 13:58:12 +02:00
|
|
|
%if 0%{?suse_version} >= 1330
|
2020-09-10 01:47:10 +02:00
|
|
|
%pre -n uuidd%{psuffix}
|
2017-09-14 13:58:12 +02:00
|
|
|
%else
|
2020-09-10 01:47:10 +02:00
|
|
|
%pre -n uuidd%{psuffix}
|
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" \
|
|
|
|
-d /var/run/uuidd uuidd
|
2017-09-14 13:58:12 +02:00
|
|
|
%endif
|
2020-09-10 01:47:10 +02:00
|
|
|
%if %{with systemd}
|
2014-10-31 16:22:34 +01:00
|
|
|
%{service_add_pre uuidd.socket uuidd.service}
|
2020-09-10 01:47:10 +02:00
|
|
|
%endif
|
2009-07-03 17:12:19 +02:00
|
|
|
|
2020-09-10 01:47:10 +02:00
|
|
|
%post -n uuidd%{psuffix}
|
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 || :
|
2020-09-10 01:47:10 +02:00
|
|
|
%if %{with systemd}
|
2014-10-31 16:22:34 +01:00
|
|
|
%{service_add_post uuidd.socket uuidd.service}
|
2020-09-10 01:47:10 +02:00
|
|
|
%endif
|
2009-07-03 17:12:19 +02:00
|
|
|
|
2020-09-10 01:47:10 +02:00
|
|
|
%preun -n uuidd%{psuffix}
|
|
|
|
%if %{with systemd}
|
2014-10-31 16:22:34 +01:00
|
|
|
%{service_del_preun uuidd.socket uuidd.service}
|
2020-09-10 01:47:10 +02:00
|
|
|
%endif
|
2009-07-03 17:12:19 +02:00
|
|
|
|
2020-09-10 01:47:10 +02:00
|
|
|
%postun -n uuidd%{psuffix}
|
|
|
|
%if %{with systemd}
|
2014-10-31 16:22:34 +01:00
|
|
|
%{service_del_postun uuidd.socket uuidd.service}
|
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
|
2020-09-10 01:47:10 +02:00
|
|
|
%endif
|
2009-07-03 17:12:19 +02:00
|
|
|
|
2020-09-10 01:47:10 +02:00
|
|
|
%if %{with base}
|
|
|
|
%%files lang -f %{name}.lang
|
|
|
|
|
|
|
|
%%files -n %{_name}%{psuffix} -f %{name}.files
|
2006-12-19 00:18:10 +01:00
|
|
|
# Common files for all archs
|
|
|
|
%defattr(-,root,root)
|
2012-02-24 11:56:25 +01:00
|
|
|
# util-linux documentation files
|
2018-11-27 19:17:59 +01:00
|
|
|
%doc AUTHORS ChangeLog README NEWS
|
2018-03-23 10:33:09 +01:00
|
|
|
%license README.licensing
|
|
|
|
%license COPYING
|
2018-11-27 19:17:59 +01:00
|
|
|
%license Documentation/licenses/*
|
2012-02-24 11:56:25 +01:00
|
|
|
%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
|
2017-02-07 21:47:46 +01:00
|
|
|
%{_unitdir}/raw.service
|
2011-01-11 16:19:40 +01:00
|
|
|
%config(noreplace) %attr(644,root,root) %{_sysconfdir}/raw
|
|
|
|
%config(noreplace) %{_sysconfdir}/filesystems
|
|
|
|
%config(noreplace) %{_sysconfdir}/blkid.conf
|
2019-10-03 00:24:59 +02:00
|
|
|
%if %{defined no_config}
|
|
|
|
%{_distconfdir}/pam.d/login
|
|
|
|
%{_distconfdir}/pam.d/remote
|
|
|
|
%{_distconfdir}/pam.d/runuser
|
|
|
|
%{_distconfdir}/pam.d/runuser-l
|
|
|
|
%{_distconfdir}/pam.d/su
|
|
|
|
%{_distconfdir}/pam.d/su-l
|
2020-09-10 01:47:10 +02:00
|
|
|
%if 0%{?suse_version} <= 1520
|
|
|
|
%dir %{_distconfdir}/default
|
|
|
|
%endif
|
2019-10-03 00:24:59 +02:00
|
|
|
%{_distconfdir}/default/runuser
|
|
|
|
%{_distconfdir}/default/su
|
|
|
|
%else
|
2019-08-07 01:09:02 +02:00
|
|
|
%config(noreplace) %{_sysconfdir}/pam.d/login
|
|
|
|
%config(noreplace) %{_sysconfdir}/pam.d/remote
|
|
|
|
%config(noreplace) %{_sysconfdir}/pam.d/runuser
|
|
|
|
%config(noreplace) %{_sysconfdir}/pam.d/runuser-l
|
|
|
|
%config(noreplace) %{_sysconfdir}/pam.d/su
|
|
|
|
%config(noreplace) %{_sysconfdir}/pam.d/su-l
|
2019-07-22 18:53:23 +02:00
|
|
|
%config(noreplace) %{_sysconfdir}/default/runuser
|
2013-06-06 11:42:28 +02:00
|
|
|
%config(noreplace) %{_sysconfdir}/default/su
|
2019-10-03 00:24:59 +02:00
|
|
|
%endif
|
2018-10-15 17:41:28 +02:00
|
|
|
%config %dir %{_sysconfdir}/issue.d
|
2012-03-13 13:38:21 +01:00
|
|
|
#UsrMerge
|
2013-06-05 15:07:12 +02:00
|
|
|
/bin/kill
|
|
|
|
/bin/su
|
2006-12-19 00:18:10 +01:00
|
|
|
/bin/dmesg
|
|
|
|
/bin/more
|
|
|
|
/bin/mount
|
|
|
|
/bin/umount
|
2010-07-30 12:35:45 +02:00
|
|
|
/bin/findmnt
|
2020-09-10 01:47:10 +02:00
|
|
|
/bin/logger
|
2012-03-14 15:25:45 +01:00
|
|
|
/bin/login
|
2011-01-11 16:19:40 +01:00
|
|
|
/bin/lsblk
|
2006-12-19 00:18:10 +01:00
|
|
|
/sbin/agetty
|
|
|
|
/sbin/blockdev
|
|
|
|
/sbin/ctrlaltdel
|
|
|
|
/sbin/fsck.minix
|
|
|
|
/sbin/fsck.cramfs
|
|
|
|
/sbin/losetup
|
|
|
|
/sbin/mkfs
|
|
|
|
/sbin/mkfs.bfs
|
|
|
|
/sbin/mkfs.minix
|
|
|
|
/sbin/mkfs.cramfs
|
|
|
|
/sbin/mkswap
|
|
|
|
/sbin/nologin
|
|
|
|
/sbin/pivot_root
|
2007-04-12 18:31:42 +02:00
|
|
|
/sbin/raw
|
2006-12-19 00:18:10 +01:00
|
|
|
/sbin/swapoff
|
|
|
|
/sbin/swapon
|
2009-07-03 17:12:19 +02:00
|
|
|
/sbin/blkid
|
|
|
|
/sbin/findfs
|
|
|
|
/sbin/fsck
|
|
|
|
/sbin/switch_root
|
2010-02-25 11:23:43 +01:00
|
|
|
/sbin/wipefs
|
2010-07-30 12:35:45 +02:00
|
|
|
/sbin/fsfreeze
|
|
|
|
/sbin/swaplabel
|
2011-01-11 16:19:40 +01:00
|
|
|
/sbin/fstrim
|
2012-02-24 11:56:25 +01:00
|
|
|
/sbin/chcpu
|
2012-03-13 13:38:21 +01:00
|
|
|
#EndUsrMerge
|
2013-06-05 15:07:12 +02:00
|
|
|
%{_bindir}/kill
|
2020-05-19 20:19:32 +02:00
|
|
|
%verify(not mode) %{_bindir}/su
|
2013-10-28 11:50:01 +01:00
|
|
|
%{_bindir}/eject
|
2011-01-11 16:19:40 +01:00
|
|
|
%{_bindir}/cal
|
2017-06-19 18:44:47 +02:00
|
|
|
%{_bindir}/chmem
|
2018-11-27 19:17:59 +01:00
|
|
|
%{_bindir}/choom
|
2011-01-11 16:19:40 +01:00
|
|
|
%{_bindir}/chrt
|
|
|
|
%{_bindir}/col
|
|
|
|
%{_bindir}/colcrt
|
|
|
|
%{_bindir}/colrm
|
|
|
|
%{_bindir}/column
|
2012-03-13 13:38:21 +01:00
|
|
|
%{_bindir}/dmesg
|
2011-01-11 16:19:40 +01:00
|
|
|
%{_bindir}/fallocate
|
2017-06-19 18:44:47 +02:00
|
|
|
%{_bindir}/fincore
|
2012-03-13 13:38:21 +01:00
|
|
|
%{_bindir}/findmnt
|
2011-01-11 16:19:40 +01:00
|
|
|
%{_bindir}/flock
|
|
|
|
%{_bindir}/getopt
|
2019-07-27 00:24:05 +02:00
|
|
|
%{_bindir}/hardlink
|
2011-01-11 16:19:40 +01:00
|
|
|
%{_bindir}/hexdump
|
|
|
|
%{_bindir}/ionice
|
2012-03-13 13:38:21 +01:00
|
|
|
%{_bindir}/ipcmk
|
2011-01-11 16:19:40 +01:00
|
|
|
%{_bindir}/ipcrm
|
|
|
|
%{_bindir}/ipcs
|
2020-09-10 01:47:10 +02:00
|
|
|
%{_bindir}/irqtop
|
2011-01-11 16:19:40 +01:00
|
|
|
%{_bindir}/isosize
|
2013-12-12 13:34:11 +01:00
|
|
|
%{_bindir}/last
|
|
|
|
%{_bindir}/lastb
|
2011-01-11 16:19:40 +01:00
|
|
|
%{_bindir}/line
|
|
|
|
%{_bindir}/look
|
2020-09-10 01:47:10 +02:00
|
|
|
%{_bindir}/logger
|
2012-03-13 13:38:21 +01:00
|
|
|
%{_bindir}/lsblk
|
2011-01-11 16:19:40 +01:00
|
|
|
%{_bindir}/lscpu
|
Accepting request 333182 from home:sbrabec:branches:util-linux-2.27
- Update to version 2.27:
* Many changes and improvements, most notably:
* lsipc: new command
* unshare provides a new option --propagation=
* mount(8) supports read-only binds in one (not atomic) step by
"bind,ro".
* GNU readline support in fdisk and sfdisk.
* JSON support in libsmartcols and findmnt, losetup, lsblk,
lslocks, sfdisk and lsipc.
* script has been massively improved to be more robust and less
complex (bsc#888678, bsc#930236).
* sulogin supports locked root accounts by --force.
* colors support by default. It is possible to change this
with --disable-colors-default.
* more information in cfdisk
* fdisk provides new commands 'F' and 'i'
* cal supports the new options --twelve and --months <n>
* rtcwake supports a news option --list-modes and --date, no
support RTC_ALM_READ and RTC_ALM_SET fallbacks any more.
* Many fixes, most notably:
* fsck: now supports -r {fd} (bsc#903738)
* better handling of multi-path devices
(bsc#880468, bsc#924994)
* flock: improve timeout handling (bsc#926945)
* lsblk: display mountpoint even for top-level device
(bsc#943415)
OBS-URL: https://build.opensuse.org/request/show/333182
OBS-URL: https://build.opensuse.org/package/show/Base:System/util-linux?expand=0&rev=293
2015-09-27 12:49:19 +02:00
|
|
|
%{_bindir}/lsipc
|
2020-09-10 01:47:10 +02:00
|
|
|
%{_bindir}/lsirq
|
2013-06-05 15:07:12 +02:00
|
|
|
%{_bindir}/lslocks
|
2020-09-10 01:47:10 +02:00
|
|
|
%{_bindir}/lslogins
|
2017-06-19 18:44:47 +02:00
|
|
|
%{_bindir}/lsmem
|
2016-04-13 18:27:53 +02:00
|
|
|
%{_bindir}/lsns
|
2011-01-11 16:19:40 +01:00
|
|
|
%{_bindir}/mcookie
|
|
|
|
%{_bindir}/mesg
|
2012-03-13 13:38:21 +01:00
|
|
|
%{_bindir}/more
|
2020-05-19 20:19:32 +02:00
|
|
|
%verify(not mode) %{_bindir}/mount
|
2011-01-11 16:19:40 +01:00
|
|
|
%{_bindir}/namei
|
2013-06-05 15:07:12 +02:00
|
|
|
%{_bindir}/nsenter
|
2012-02-24 11:56:25 +01:00
|
|
|
%{_bindir}/prlimit
|
2011-01-11 16:19:40 +01:00
|
|
|
%{_bindir}/rename
|
|
|
|
%{_bindir}/renice
|
|
|
|
%{_bindir}/rev
|
|
|
|
%{_bindir}/script
|
2020-04-06 23:48:18 +02:00
|
|
|
%{_bindir}/scriptlive
|
2011-01-11 16:19:40 +01:00
|
|
|
%{_bindir}/scriptreplay
|
2012-03-13 13:38:21 +01:00
|
|
|
%{_bindir}/setarch
|
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
|
|
|
%{_bindir}/setpriv
|
2011-01-11 16:19:40 +01:00
|
|
|
%{_bindir}/setsid
|
|
|
|
%{_bindir}/taskset
|
2012-03-13 13:38:21 +01:00
|
|
|
%{_bindir}/ul
|
2020-05-19 20:19:32 +02:00
|
|
|
%verify(not mode) %{_bindir}/umount
|
2011-01-11 16:19:40 +01:00
|
|
|
%{_bindir}/unshare
|
2013-06-05 15:07:12 +02:00
|
|
|
%{_bindir}/mountpoint
|
|
|
|
%{_bindir}/utmpdump
|
2012-03-13 13:38:21 +01:00
|
|
|
%{_bindir}/uuidgen
|
Accepting request 543952 from home:sbrabec:branches:util-linux-2.31
- Update to version 2.31:
* New utilities: uuidparse, rfkill.
* su has been refactored and extended to create pseudo terminal
(new option --pty, CVE-2016-2779, bsc#968674). This new
EXPERIMENTAL feature provides better isolation between root's
terminal and an unprivileged su.
* libuuid: Improved to match
* libuuid, uuidgen: support hash-based UUIDs v3 (md5) and v5
(sha1) as specified by RFC-4122. Provide UUID templates for
dns, url, oid, or x500.
* libblkid: Extended support for DM-integrity, HPE (aka
extended-XFS) and UBI superblock. New API to hide already
detected signatures.
* libfdisk: New API to modify grain, make possible to completely
disable dialog driven partitioning.
* libsmartcols: New API to move columns.
* column: --table-header-repeat to repeat table headers.
* libfdisk: Use BLKPG ioctls to inform the kernel about changes.
* fdisk: Improved ^C and ^D behavior.
* cfdisk: Dialog to resize partition.
* look: Follow the WORDLIST environment variable.
* script: Follow the usual semantics for stop/continue signals.
* setpriv: New command line options --ambient-caps and
--init-groups.
* hwclock: Reduce system shutdown times, log --systz when using
libaudit.
* Other bug fixes.
- Drop upstreamed util-linux-use-tinfow.patch.
- Update to version 2.31:
OBS-URL: https://build.opensuse.org/request/show/543952
OBS-URL: https://build.opensuse.org/package/show/Base:System/util-linux?expand=0&rev=352
2017-11-27 11:06:27 +01:00
|
|
|
%{_bindir}/uuidparse
|
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
|
|
|
%{_bindir}/uname26
|
2013-06-05 15:07:12 +02:00
|
|
|
%{_bindir}/wdctl
|
2011-01-11 16:19:40 +01:00
|
|
|
%{_sbindir}/addpart
|
2012-03-13 13:38:21 +01:00
|
|
|
%{_sbindir}/agetty
|
|
|
|
%{_sbindir}/blkid
|
2013-06-05 15:07:12 +02:00
|
|
|
%{_sbindir}/blkdiscard
|
2017-06-19 18:44:47 +02:00
|
|
|
# blkzone depends on linux/blkzoned.h
|
|
|
|
%if 0%{?suse_version} >= 1330
|
|
|
|
%{_sbindir}/blkzone
|
|
|
|
%endif
|
2012-03-13 13:38:21 +01:00
|
|
|
%{_sbindir}/blockdev
|
|
|
|
%{_sbindir}/chcpu
|
|
|
|
%{_sbindir}/ctrlaltdel
|
2011-01-11 16:19:40 +01:00
|
|
|
%{_sbindir}/delpart
|
2012-03-13 13:38:21 +01:00
|
|
|
%{_sbindir}/findfs
|
|
|
|
%{_sbindir}/fsck
|
|
|
|
%{_sbindir}/fsck.minix
|
|
|
|
%{_sbindir}/fsck.cramfs
|
|
|
|
%{_sbindir}/fsfreeze
|
|
|
|
%{_sbindir}/fstrim
|
2011-01-11 16:19:40 +01:00
|
|
|
%{_sbindir}/ldattach
|
2012-03-13 13:38:21 +01:00
|
|
|
%{_sbindir}/losetup
|
|
|
|
%{_sbindir}/mkfs
|
|
|
|
%{_sbindir}/mkfs.bfs
|
|
|
|
%{_sbindir}/mkfs.minix
|
|
|
|
%{_sbindir}/mkfs.cramfs
|
|
|
|
%{_sbindir}/mkswap
|
|
|
|
%{_sbindir}/nologin
|
2011-01-11 16:19:40 +01:00
|
|
|
%{_sbindir}/partx
|
2012-03-13 13:38:21 +01:00
|
|
|
%{_sbindir}/pivot_root
|
|
|
|
%{_sbindir}/raw
|
2011-01-11 16:19:40 +01:00
|
|
|
%{_sbindir}/rcraw
|
2013-06-05 15:07:12 +02:00
|
|
|
%{_sbindir}/resizepart
|
2018-01-29 17:19:06 +01:00
|
|
|
%{_sbindir}/rfkill
|
2011-01-11 16:19:40 +01:00
|
|
|
%{_sbindir}/rtcwake
|
2013-06-05 15:07:12 +02:00
|
|
|
%{_sbindir}/runuser
|
|
|
|
%{_sbindir}/sulogin
|
2012-03-13 13:38:21 +01:00
|
|
|
%{_sbindir}/swaplabel
|
|
|
|
%{_sbindir}/swapoff
|
|
|
|
%{_sbindir}/swapon
|
|
|
|
%{_sbindir}/switch_root
|
|
|
|
%{_sbindir}/wipefs
|
2011-01-11 16:19:40 +01:00
|
|
|
%verify(not mode) %attr(0755,root,tty) %{_bindir}/wall
|
|
|
|
%{_bindir}/whereis
|
|
|
|
%verify(not mode) %attr(0755,root,tty) %{_bindir}/write
|
2015-02-26 17:53:58 +01:00
|
|
|
%{_sbindir}/zramctl
|
2013-06-05 15:07:12 +02:00
|
|
|
%{_mandir}/man1/kill.1.gz
|
|
|
|
%{_mandir}/man1/su.1.gz
|
2006-12-19 00:18:10 +01:00
|
|
|
%{_mandir}/man1/cal.1.gz
|
2018-11-27 19:17:59 +01:00
|
|
|
%{_mandir}/man1/choom.1.gz
|
2006-12-19 00:18:10 +01:00
|
|
|
%{_mandir}/man1/chrt.1.gz
|
|
|
|
%{_mandir}/man1/col.1.gz
|
|
|
|
%{_mandir}/man1/colcrt.1.gz
|
|
|
|
%{_mandir}/man1/colrm.1.gz
|
|
|
|
%{_mandir}/man1/column.1.gz
|
2007-06-05 20:09:38 +02:00
|
|
|
%{_mandir}/man1/dmesg.1.gz
|
2013-06-05 15:07:12 +02:00
|
|
|
%{_mandir}/man1/eject.1.gz
|
2010-02-25 11:23:43 +01:00
|
|
|
%{_mandir}/man1/fallocate.1.gz
|
2017-06-19 18:44:47 +02:00
|
|
|
%{_mandir}/man1/fincore.1.gz
|
2006-12-19 00:18:10 +01:00
|
|
|
%{_mandir}/man1/flock.1.gz
|
|
|
|
%{_mandir}/man1/getopt.1.gz
|
2019-07-27 00:24:05 +02:00
|
|
|
%{_mandir}/man1/hardlink.1.gz
|
2006-12-19 00:18:10 +01:00
|
|
|
%{_mandir}/man1/hexdump.1.gz
|
2007-06-05 20:09:38 +02:00
|
|
|
%{_mandir}/man1/ipcrm.1.gz
|
|
|
|
%{_mandir}/man1/ipcs.1.gz
|
2013-12-12 13:34:11 +01:00
|
|
|
%{_mandir}/man1/last.1.gz
|
|
|
|
%{_mandir}/man1/lastb.1.gz
|
2006-12-19 00:18:10 +01:00
|
|
|
%{_mandir}/man1/line.1.gz
|
2012-03-14 15:25:45 +01:00
|
|
|
%{_mandir}/man1/login.1.gz
|
2006-12-19 00:18:10 +01:00
|
|
|
%{_mandir}/man1/look.1.gz
|
2008-10-08 18:42:45 +02:00
|
|
|
%{_mandir}/man1/lscpu.1.gz
|
Accepting request 333182 from home:sbrabec:branches:util-linux-2.27
- Update to version 2.27:
* Many changes and improvements, most notably:
* lsipc: new command
* unshare provides a new option --propagation=
* mount(8) supports read-only binds in one (not atomic) step by
"bind,ro".
* GNU readline support in fdisk and sfdisk.
* JSON support in libsmartcols and findmnt, losetup, lsblk,
lslocks, sfdisk and lsipc.
* script has been massively improved to be more robust and less
complex (bsc#888678, bsc#930236).
* sulogin supports locked root accounts by --force.
* colors support by default. It is possible to change this
with --disable-colors-default.
* more information in cfdisk
* fdisk provides new commands 'F' and 'i'
* cal supports the new options --twelve and --months <n>
* rtcwake supports a news option --list-modes and --date, no
support RTC_ALM_READ and RTC_ALM_SET fallbacks any more.
* Many fixes, most notably:
* fsck: now supports -r {fd} (bsc#903738)
* better handling of multi-path devices
(bsc#880468, bsc#924994)
* flock: improve timeout handling (bsc#926945)
* lsblk: display mountpoint even for top-level device
(bsc#943415)
OBS-URL: https://build.opensuse.org/request/show/333182
OBS-URL: https://build.opensuse.org/package/show/Base:System/util-linux?expand=0&rev=293
2015-09-27 12:49:19 +02:00
|
|
|
%{_mandir}/man1/lsipc.1.gz
|
2020-09-10 01:47:10 +02:00
|
|
|
%{_mandir}/man1/lsirq.1.gz
|
2017-06-19 18:44:47 +02:00
|
|
|
%{_mandir}/man1/lsmem.1.gz
|
2006-12-19 00:18:10 +01:00
|
|
|
%{_mandir}/man1/mcookie.1.gz
|
|
|
|
%{_mandir}/man1/mesg.1.gz
|
|
|
|
%{_mandir}/man1/more.1.gz
|
|
|
|
%{_mandir}/man1/namei.1.gz
|
2013-06-05 15:07:12 +02:00
|
|
|
%{_mandir}/man1/nsenter.1.gz
|
2006-12-19 00:18:10 +01:00
|
|
|
%{_mandir}/man1/ionice.1.gz
|
2020-09-10 01:47:10 +02:00
|
|
|
%{_mandir}/man1/irqtop.1.gz
|
2012-02-24 11:56:25 +01:00
|
|
|
%{_mandir}/man1/prlimit.1.gz
|
2006-12-19 00:18:10 +01:00
|
|
|
%{_mandir}/man1/rename.1.gz
|
|
|
|
%{_mandir}/man1/rev.1.gz
|
2007-06-05 20:09:38 +02:00
|
|
|
%{_mandir}/man1/renice.1.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
|
|
|
%{_mandir}/man1/setpriv.1.gz
|
2007-06-05 20:09:38 +02:00
|
|
|
%{_mandir}/man1/setsid.1.gz
|
2006-12-19 00:18:10 +01:00
|
|
|
%{_mandir}/man1/script.1.gz
|
2020-04-06 23:48:18 +02:00
|
|
|
%{_mandir}/man1/scriptlive.1.gz
|
2008-06-26 00:34:31 +02:00
|
|
|
%{_mandir}/man1/scriptreplay.1.gz
|
2007-04-12 18:31:42 +02:00
|
|
|
%{_mandir}/man1/setterm.1.gz
|
2006-12-19 00:18:10 +01:00
|
|
|
%{_mandir}/man1/taskset.1.gz
|
|
|
|
%{_mandir}/man1/ul.1.gz
|
2010-02-25 11:23:43 +01:00
|
|
|
%{_mandir}/man1/unshare.1.gz
|
2006-12-19 00:18:10 +01:00
|
|
|
%{_mandir}/man1/wall.1.gz
|
|
|
|
%{_mandir}/man1/whereis.1.gz
|
|
|
|
%{_mandir}/man1/write.1.gz
|
2009-07-03 17:12:19 +02:00
|
|
|
%{_mandir}/man1/ipcmk.1.gz
|
2013-06-05 15:07:12 +02:00
|
|
|
%{_mandir}/man1/mountpoint.1.gz
|
|
|
|
%{_mandir}/man1/utmpdump.1.gz
|
|
|
|
%{_mandir}/man1/runuser.1.gz
|
2009-07-03 17:12:19 +02:00
|
|
|
%{_mandir}/man1/uuidgen.1.gz
|
Accepting request 543952 from home:sbrabec:branches:util-linux-2.31
- Update to version 2.31:
* New utilities: uuidparse, rfkill.
* su has been refactored and extended to create pseudo terminal
(new option --pty, CVE-2016-2779, bsc#968674). This new
EXPERIMENTAL feature provides better isolation between root's
terminal and an unprivileged su.
* libuuid: Improved to match
* libuuid, uuidgen: support hash-based UUIDs v3 (md5) and v5
(sha1) as specified by RFC-4122. Provide UUID templates for
dns, url, oid, or x500.
* libblkid: Extended support for DM-integrity, HPE (aka
extended-XFS) and UBI superblock. New API to hide already
detected signatures.
* libfdisk: New API to modify grain, make possible to completely
disable dialog driven partitioning.
* libsmartcols: New API to move columns.
* column: --table-header-repeat to repeat table headers.
* libfdisk: Use BLKPG ioctls to inform the kernel about changes.
* fdisk: Improved ^C and ^D behavior.
* cfdisk: Dialog to resize partition.
* look: Follow the WORDLIST environment variable.
* script: Follow the usual semantics for stop/continue signals.
* setpriv: New command line options --ambient-caps and
--init-groups.
* hwclock: Reduce system shutdown times, log --systz when using
libaudit.
* Other bug fixes.
- Drop upstreamed util-linux-use-tinfow.patch.
- Update to version 2.31:
OBS-URL: https://build.opensuse.org/request/show/543952
OBS-URL: https://build.opensuse.org/package/show/Base:System/util-linux?expand=0&rev=352
2017-11-27 11:06:27 +01:00
|
|
|
%{_mandir}/man1/uuidparse.1.gz
|
2018-11-27 19:17:59 +01:00
|
|
|
%{_mandir}/man5/adjtime_config.5.gz
|
2006-12-19 00:18:10 +01:00
|
|
|
%{_mandir}/man5/fstab.5.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
|
|
|
%{_mandir}/man5/terminal-colors.d.5.gz
|
2007-04-12 18:31:42 +02:00
|
|
|
%{_mandir}/man8/addpart.8.gz
|
2006-12-19 00:18:10 +01:00
|
|
|
%{_mandir}/man8/agetty.8.gz
|
2017-06-19 18:44:47 +02:00
|
|
|
%if 0%{?suse_version} >= 1330
|
|
|
|
%{_mandir}/man8/blkzone.8.gz
|
|
|
|
%endif
|
2006-12-19 00:18:10 +01:00
|
|
|
%{_mandir}/man8/blockdev.8.gz
|
2017-06-19 18:44:47 +02:00
|
|
|
%{_mandir}/man8/chmem.8.gz
|
2006-12-19 00:18:10 +01:00
|
|
|
%{_mandir}/man8/ctrlaltdel.8.gz
|
2017-06-19 18:44:47 +02:00
|
|
|
%{_mandir}/man8/delpart.8.gz
|
2009-07-03 17:12:19 +02:00
|
|
|
%{_mandir}/man8/blkid.8.gz
|
2013-06-05 15:07:12 +02:00
|
|
|
%{_mandir}/man8/blkdiscard.8.gz
|
2009-07-03 17:12:19 +02:00
|
|
|
%{_mandir}/man8/switch_root.8.gz
|
2006-12-19 00:18:10 +01:00
|
|
|
%{_mandir}/man8/mkfs.bfs.8.gz
|
|
|
|
%{_mandir}/man8/mkfs.minix.8.gz
|
2009-07-03 17:12:19 +02:00
|
|
|
%{_mandir}/man8/findfs.8.gz
|
|
|
|
%{_mandir}/man8/fsck.8.gz
|
2013-06-05 15:07:12 +02:00
|
|
|
%{_mandir}/man8/fsck.cramfs.8.gz
|
2006-12-19 00:18:10 +01:00
|
|
|
%{_mandir}/man8/fsck.minix.8.gz
|
|
|
|
%{_mandir}/man8/isosize.8.gz
|
2008-06-26 00:34:31 +02:00
|
|
|
%{_mandir}/man8/ldattach.8.gz
|
2020-09-10 01:47:10 +02:00
|
|
|
%{_mandir}/man1/logger.1.gz
|
2006-12-19 00:18:10 +01:00
|
|
|
%{_mandir}/man8/losetup.8.gz
|
2013-06-05 15:07:12 +02:00
|
|
|
%{_mandir}/man8/lslocks.8.gz
|
2020-09-10 01:47:10 +02:00
|
|
|
%{_mandir}/man1/lslogins.1.gz
|
2016-04-13 18:27:53 +02:00
|
|
|
%{_mandir}/man8/lsns.8.gz
|
2006-12-19 00:18:10 +01:00
|
|
|
%{_mandir}/man8/mkfs.8.gz
|
2013-06-05 15:07:12 +02:00
|
|
|
%{_mandir}/man8/mkfs.cramfs.8.gz
|
2006-12-19 00:18:10 +01:00
|
|
|
%{_mandir}/man8/mkswap.8.gz
|
|
|
|
%{_mandir}/man8/mount.8.gz
|
|
|
|
%{_mandir}/man8/nologin.8.gz
|
2010-07-30 12:35:45 +02:00
|
|
|
%{_mandir}/man8/findmnt.8.gz
|
|
|
|
%{_mandir}/man8/fsfreeze.8.gz
|
|
|
|
%{_mandir}/man8/swaplabel.8.gz
|
2012-02-24 11:56:25 +01:00
|
|
|
%{_mandir}/man8/readprofile.8.gz
|
Accepting request 543952 from home:sbrabec:branches:util-linux-2.31
- Update to version 2.31:
* New utilities: uuidparse, rfkill.
* su has been refactored and extended to create pseudo terminal
(new option --pty, CVE-2016-2779, bsc#968674). This new
EXPERIMENTAL feature provides better isolation between root's
terminal and an unprivileged su.
* libuuid: Improved to match
* libuuid, uuidgen: support hash-based UUIDs v3 (md5) and v5
(sha1) as specified by RFC-4122. Provide UUID templates for
dns, url, oid, or x500.
* libblkid: Extended support for DM-integrity, HPE (aka
extended-XFS) and UBI superblock. New API to hide already
detected signatures.
* libfdisk: New API to modify grain, make possible to completely
disable dialog driven partitioning.
* libsmartcols: New API to move columns.
* column: --table-header-repeat to repeat table headers.
* libfdisk: Use BLKPG ioctls to inform the kernel about changes.
* fdisk: Improved ^C and ^D behavior.
* cfdisk: Dialog to resize partition.
* look: Follow the WORDLIST environment variable.
* script: Follow the usual semantics for stop/continue signals.
* setpriv: New command line options --ambient-caps and
--init-groups.
* hwclock: Reduce system shutdown times, log --systz when using
libaudit.
* Other bug fixes.
- Drop upstreamed util-linux-use-tinfow.patch.
- Update to version 2.31:
OBS-URL: https://build.opensuse.org/request/show/543952
OBS-URL: https://build.opensuse.org/package/show/Base:System/util-linux?expand=0&rev=352
2017-11-27 11:06:27 +01:00
|
|
|
%{_mandir}/man8/rfkill.8.gz
|
2012-02-24 11:56:25 +01:00
|
|
|
%{_mandir}/man8/chcpu.8.gz
|
2007-04-12 18:31:42 +02:00
|
|
|
%{_mandir}/man8/partx.8.gz
|
2006-12-19 00:18:10 +01:00
|
|
|
%{_mandir}/man8/pivot_root.8.gz
|
|
|
|
%{_mandir}/man8/raw.8.gz
|
2007-07-18 22:39:11 +02:00
|
|
|
%{_mandir}/man8/rtcwake.8.gz
|
2009-07-03 17:12:19 +02:00
|
|
|
%{_mandir}/man8/setarch.8.gz
|
2006-12-19 00:18:10 +01:00
|
|
|
%{_mandir}/man8/swapoff.8.gz
|
|
|
|
%{_mandir}/man8/swapon.8.gz
|
|
|
|
%{_mandir}/man8/umount.8.gz
|
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
|
|
|
%{_mandir}/man8/uname26.8.gz
|
2010-02-25 11:23:43 +01:00
|
|
|
%{_mandir}/man8/wipefs.8.gz
|
2015-02-26 17:53:58 +01:00
|
|
|
%{_mandir}/man8/zramctl.8.gz
|
2011-01-11 16:19:40 +01:00
|
|
|
%{_mandir}/man8/fstrim.8.gz
|
|
|
|
%{_mandir}/man8/lsblk.8.gz
|
2013-06-05 15:07:12 +02:00
|
|
|
%{_mandir}/man8/resizepart.8.gz
|
|
|
|
%{_mandir}/man8/sulogin.8.gz
|
|
|
|
%{_mandir}/man8/wdctl.8.gz
|
2020-09-10 01:47:10 +02:00
|
|
|
%{_sbindir}/rcfstrim
|
2011-01-11 16:19:40 +01:00
|
|
|
%{_sbindir}/flushb
|
|
|
|
%{_sbindir}/readprofile
|
|
|
|
%dir %{_datadir}/getopt
|
|
|
|
%attr (755,root,root) %{_datadir}/getopt/getopt-parse.bash
|
|
|
|
%attr (755,root,root) %{_datadir}/getopt/getopt-parse.tcsh
|
2017-02-15 15:53:56 +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:
|
2016-06-14 14:46:18 +02:00
|
|
|
%dir %{_datadir}/bash-completion
|
|
|
|
%dir %{_datadir}/bash-completion/completions
|
2016-04-27 00:14:30 +02:00
|
|
|
%{_datadir}/bash-completion/completions/*
|
|
|
|
%exclude %{_datadir}/bash-completion/completions/uuidd
|
2013-10-09 17:02:58 +02:00
|
|
|
%ifnarch ia64 m68k
|
2012-02-24 11:56:25 +01:00
|
|
|
#XXX: post our patches upstream
|
|
|
|
#XXX: call fdupes on /usr/share/man
|
2012-03-13 13:38:21 +01:00
|
|
|
#UsrMerge
|
2006-12-19 00:18:10 +01:00
|
|
|
/sbin/fdisk
|
2012-03-13 13:38:21 +01:00
|
|
|
#EndUsrMerge
|
|
|
|
%{_sbindir}/fdisk
|
2006-12-19 00:18:10 +01:00
|
|
|
%{_mandir}/man8/fdisk.8.gz
|
|
|
|
%endif
|
2013-10-09 17:02:58 +02:00
|
|
|
%ifnarch %sparc ia64 m68k
|
2006-12-19 00:18:10 +01:00
|
|
|
%{_mandir}/man8/cfdisk.8.gz
|
|
|
|
%{_mandir}/man8/sfdisk.8.gz
|
2012-03-13 13:38:21 +01:00
|
|
|
#UsrMerge
|
2006-12-19 00:18:10 +01:00
|
|
|
/sbin/cfdisk
|
|
|
|
/sbin/sfdisk
|
2012-03-13 13:38:21 +01:00
|
|
|
#EndUsrMerge
|
|
|
|
%{_sbindir}/cfdisk
|
|
|
|
%{_sbindir}/sfdisk
|
2006-12-19 00:18:10 +01:00
|
|
|
%endif
|
|
|
|
%ifnarch s390 s390x
|
2011-01-11 16:19:40 +01:00
|
|
|
%{_sbindir}/fdformat
|
2012-03-13 13:38:21 +01:00
|
|
|
#UsrMerge
|
2006-12-19 00:18:10 +01:00
|
|
|
/sbin/hwclock
|
2012-03-13 13:38:21 +01:00
|
|
|
#EndUsrMerge
|
|
|
|
%{_sbindir}/hwclock
|
2011-01-11 16:19:40 +01:00
|
|
|
%{_bindir}/setterm
|
|
|
|
%{_sbindir}/tunelp
|
2006-12-19 00:18:10 +01:00
|
|
|
%{_mandir}/man8/fdformat.8.gz
|
|
|
|
%{_mandir}/man8/hwclock.8.gz
|
|
|
|
%{_mandir}/man8/tunelp.8.gz
|
|
|
|
%endif
|
2020-09-10 01:47:10 +02:00
|
|
|
%if %{with systemd}
|
|
|
|
%{_unitdir}/fstrim.service
|
|
|
|
%{_unitdir}/fstrim.timer
|
|
|
|
%endif
|
2008-02-10 18:13:34 +01:00
|
|
|
|
2020-09-10 01:47:10 +02:00
|
|
|
%files -n libblkid1%{psuffix}
|
2009-07-03 17:12:19 +02:00
|
|
|
%defattr(-, root, root)
|
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
|
|
|
%{_libdir}/libblkid.so.1
|
|
|
|
%{_libdir}/libblkid.so.1.*
|
2009-07-03 17:12:19 +02:00
|
|
|
|
2020-09-10 01:47:10 +02:00
|
|
|
%files -n libblkid%{psuffix}-devel
|
2009-07-03 17:12:19 +02:00
|
|
|
%defattr(-, root, root)
|
|
|
|
%{_libdir}/libblkid.so
|
|
|
|
%dir %{_includedir}/blkid
|
|
|
|
%{_includedir}/blkid/blkid.h
|
2011-01-11 16:19:40 +01:00
|
|
|
%{_libdir}/pkgconfig/blkid.pc
|
2009-07-03 17:12:19 +02:00
|
|
|
%{_mandir}/man3/libblkid.3.gz
|
|
|
|
|
2020-09-10 01:47:10 +02:00
|
|
|
%files -n libblkid%{psuffix}-devel-static
|
2014-07-25 09:31:27 +02:00
|
|
|
%defattr(-, root, root)
|
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
|
|
|
%{_libdir}/libblkid.*a
|
2014-07-25 09:31:27 +02:00
|
|
|
|
2020-09-10 01:47:10 +02:00
|
|
|
%files -n libmount1%{psuffix}
|
2010-07-30 12:35:45 +02:00
|
|
|
%defattr(-, root, root)
|
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
|
|
|
%{_libdir}/libmount.so.1
|
|
|
|
%{_libdir}/libmount.so.1.*
|
2010-07-30 12:35:45 +02:00
|
|
|
|
2020-09-10 01:47:10 +02:00
|
|
|
%files -n libmount%{psuffix}-devel
|
2010-07-30 12:35:45 +02:00
|
|
|
%defattr(-, root, root)
|
|
|
|
%{_libdir}/libmount.so
|
2011-01-26 12:52:47 +01:00
|
|
|
%dir %{_includedir}/libmount
|
|
|
|
%{_includedir}/libmount/libmount.h
|
2011-01-11 16:19:40 +01:00
|
|
|
%{_libdir}/pkgconfig/mount.pc
|
2010-07-30 12:35:45 +02:00
|
|
|
|
2020-09-10 01:47:10 +02:00
|
|
|
%files -n libmount%{psuffix}-devel-static
|
2014-07-25 09:31:27 +02:00
|
|
|
%defattr(-, root, root)
|
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
|
|
|
%{_libdir}/libmount.*a
|
2014-07-25 09:31:27 +02:00
|
|
|
|
2020-09-10 01:47:10 +02:00
|
|
|
%files -n libsmartcols1%{psuffix}
|
2009-07-03 17:12:19 +02:00
|
|
|
%defattr(-, root, root)
|
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
|
|
|
%{_libdir}/libsmartcols.so.1
|
|
|
|
%{_libdir}/libsmartcols.so.1.*
|
|
|
|
|
2020-09-10 01:47:10 +02:00
|
|
|
%files -n libsmartcols%{psuffix}-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
|
|
|
%defattr(-, root, root)
|
|
|
|
%{_libdir}/libsmartcols.so
|
|
|
|
%dir %{_includedir}/libsmartcols
|
|
|
|
%{_includedir}/libsmartcols/libsmartcols.h
|
|
|
|
%{_libdir}/pkgconfig/smartcols.pc
|
|
|
|
|
2020-09-10 01:47:10 +02:00
|
|
|
%files -n libsmartcols%{psuffix}-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
|
|
|
%defattr(-, root, root)
|
|
|
|
%{_libdir}/libsmartcols.*a
|
2009-07-03 17:12:19 +02:00
|
|
|
|
2020-09-10 01:47:10 +02:00
|
|
|
%files -n libuuid1%{psuffix}
|
2009-07-03 17:12:19 +02:00
|
|
|
%defattr(-, root, root)
|
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
|
|
|
%{_libdir}/libuuid.so.1
|
|
|
|
%{_libdir}/libuuid.so.1.*
|
2009-07-03 17:12:19 +02:00
|
|
|
|
2020-09-10 01:47:10 +02:00
|
|
|
%files -n libuuid%{psuffix}-devel
|
2009-07-03 17:12:19 +02:00
|
|
|
%defattr(-, root, root)
|
|
|
|
%{_libdir}/libuuid.so
|
|
|
|
%dir %{_includedir}/uuid
|
|
|
|
%{_includedir}/uuid/uuid.h
|
2011-01-11 16:19:40 +01:00
|
|
|
%{_libdir}/pkgconfig/uuid.pc
|
2009-07-03 17:12:19 +02:00
|
|
|
%{_mandir}/man3/uuid*
|
|
|
|
|
2020-09-10 01:47:10 +02:00
|
|
|
%files -n libuuid%{psuffix}-devel-static
|
2014-07-25 09:31:27 +02:00
|
|
|
%defattr(-, root, root)
|
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
|
|
|
%{_libdir}/libuuid.*a
|
2015-02-26 17:53:58 +01:00
|
|
|
|
2020-09-10 01:47:10 +02:00
|
|
|
%files -n libfdisk1%{psuffix}
|
2015-02-26 17:53:58 +01:00
|
|
|
%defattr(-, root, root)
|
|
|
|
%{_libdir}/libfdisk.so.1
|
|
|
|
%{_libdir}/libfdisk.so.1.*
|
|
|
|
|
2020-09-10 01:47:10 +02:00
|
|
|
%files -n libfdisk%{psuffix}-devel
|
2015-02-26 17:53:58 +01:00
|
|
|
%defattr(-, root, root)
|
|
|
|
%{_libdir}/libfdisk.so
|
|
|
|
%dir %{_includedir}/libfdisk
|
|
|
|
%{_includedir}/libfdisk/libfdisk.h
|
|
|
|
%{_libdir}/pkgconfig/fdisk.pc
|
|
|
|
|
2020-09-10 01:47:10 +02:00
|
|
|
%files -n libfdisk%{psuffix}-devel-static
|
2015-02-26 17:53:58 +01:00
|
|
|
%defattr(-, root, root)
|
|
|
|
%{_libdir}/libfdisk.*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
|
|
|
|
2020-09-10 01:47:10 +02:00
|
|
|
%files -n uuidd%{psuffix}
|
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
|
|
|
%defattr(-, root, root)
|
2014-10-31 16:22:34 +01:00
|
|
|
%{_sbindir}/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
|
|
|
%attr(-,uuidd,uuidd) %dir %{_localstatedir}/lib/libuuid
|
|
|
|
%ghost %{_localstatedir}/lib/libuuid/clock.txt
|
|
|
|
%attr(-,uuidd,uuidd) %ghost %dir /run/uuidd
|
2016-04-27 00:14:30 +02:00
|
|
|
%{_datadir}/bash-completion/completions/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
|
|
|
%{_mandir}/man8/uuidd.8.gz
|
|
|
|
%{_sbindir}/rcuuidd
|
2020-09-10 01:47:10 +02:00
|
|
|
%if %{with systemd}
|
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
|
|
|
|
%endif
|
|
|
|
%endif
|
2020-09-10 01:47:10 +02:00
|
|
|
|
|
|
|
%if %{with python}
|
|
|
|
%files %{python_files}
|
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
|
|
|
%defattr(-, root, root)
|
2020-09-10 01:47:10 +02:00
|
|
|
%{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
|
2014-07-25 09:31:27 +02:00
|
|
|
|
2007-03-01 21:08:53 +01:00
|
|
|
%changelog
|