3
0
forked from pool/util-linux

Accepting request 448913 from Base:System

- don't install bash-completions for uninstalled binaries (chfn,
  chsh, newgrp, pg)
- for now remove procps dependency  which is only needed for tests
  because it pulls systemd

Note the util-linux bash completions are incompatible to the
installed binaries from the shadow package. We could use the
completions from bash-completion package or we could switch
to the binaries from util-linux. They seem to have more
features and being backward compatible.

I've reverted the previous procps fix. It was not mwerged to
Factory yet. (forwarded request 448848 from rudi_m)

OBS-URL: https://build.opensuse.org/request/show/448913
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/util-linux?expand=0&rev=215
This commit is contained in:
Dominique Leuenberger 2017-01-15 09:56:24 +00:00 committed by Git OBS Bridge
commit 1c00006f1d
11 changed files with 574 additions and 457 deletions

View File

@ -1,7 +1,7 @@
--- util-linux-2.23.1/login-utils/su-common.c --- a/login-utils/su-common.c
+++ util-linux-2.23.1/login-utils/su-common.c 2013-06-06 08:46:59.575872090 +0000 +++ b/login-utils/su-common.c
@@ -473,6 +473,117 @@ set_path(const struct passwd* pw) @@ -523,6 +523,117 @@ set_path(const struct passwd* pw)
err (EXIT_FAILURE, _("failed to set PATH")); err (EXIT_FAILURE, _("failed to set the %s environment variable"), "PATH");
} }
+/* Add or clear /sbin and /usr/sbin for the su command +/* Add or clear /sbin and /usr/sbin for the su command
@ -118,7 +118,7 @@
/* Update `environ' for the new shell based on PW, with SHELL being /* Update `environ' for the new shell based on PW, with SHELL being
the value for the SHELL environment variable. */ the value for the SHELL environment variable. */
@@ -508,6 +619,22 @@ modify_environment (const struct passwd @@ -560,6 +671,22 @@ modify_environment (const struct passwd *pw, const char *shell)
xsetenv ("SHELL", shell, 1); xsetenv ("SHELL", shell, 1);
if (getlogindefs_bool ("ALWAYS_SET_PATH", 0)) if (getlogindefs_bool ("ALWAYS_SET_PATH", 0))
set_path(pw); set_path(pw);

View File

@ -1,3 +1,50 @@
-------------------------------------------------------------------
Thu Jan 5 12:34:33 UTC 2017 - sweet_f_a@gmx.de
- don't install bash-completions for uninstalled binaries (chfn,
chsh, newgrp, pg)
- for now remove procps dependency which is only needed for tests
because it pulls systemd
-------------------------------------------------------------------
Thu Dec 15 09:26:01 UTC 2016 - fbui@suse.com
- Replace pkgconfig(libsystemd-*) with pkgconfig(libsystemd)
libsystemd-* libs were deprecated and are gone now.
-------------------------------------------------------------------
Wed Dec 7 16:12:55 CET 2016 - sbrabec@suse.com
- Remove no more supported --enable-libmount-force-mountinfo.
There is --enable-libmount-support-mtab, disabled by default,
exactly as we need.
-------------------------------------------------------------------
Tue Nov 8 15:11:37 UTC 2016 - sweet_f_a@gmx.de
- Update to version 2.29
* cal: possible to specify month by name (e.g. "cal January
2017") and use relative placeholders (cal "+1 month")
* fdisk(8) allows to wipe newly created partitions; the feature
is possible to control by new command line option
--wipe-partitions[==auto|never|default].
* findmnt --verify: the command scans /etc/fstab and tries to
verify the configuration.
* mount(8) now rejects requests to create another device and
mount filesystem for the same backing file. The command
`losetup --nooverlap` reuses loop device if already exists
for the same backing file. All the functionality calculate
with offset and sizelimit options of course, so it's fine to
have multiple regions (partitions) in the same image file and
mount all of them in the same time. The restriction is that
the regions should not overlap.
* lscpu supports the "drawer" topology for IBM S/390.
* More details at:
http://karelzak.blogspot.de/2016/10/util-linux-v229-whats-new.html
https://www.kernel.org/pub/linux/utils/util-linux/v2.29/v2.29-ReleaseNotes
- refresh make-sure-sbin-resp-usr-sbin-are-in-PATH.diff
------------------------------------------------------------------- -------------------------------------------------------------------
Wed Sep 7 12:43:31 UTC 2016 - sweet_f_a@gmx.de Wed Sep 7 12:43:31 UTC 2016 - sweet_f_a@gmx.de

View File

@ -1,7 +1,7 @@
# #
# spec file for package python-libmount # spec file for package python-libmount
# #
# Copyright (c) 2016 SUSE LINUX GmbH, Nuernberg, Germany. # Copyright (c) 2017 SUSE LINUX GmbH, Nuernberg, Germany.
# #
# All modifications and additions to the file contributed by third parties # All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed # remain the property of their copyright owners, unless otherwise agreed
@ -94,8 +94,7 @@ BuildRequires: librtas-devel
%if %build_util_linux_systemd %if %build_util_linux_systemd
BuildRequires: socat BuildRequires: socat
BuildRequires: systemd-rpm-macros BuildRequires: systemd-rpm-macros
BuildRequires: pkgconfig(libsystemd-daemon) BuildRequires: pkgconfig(libsystemd)
BuildRequires: pkgconfig(libsystemd-journal)
%endif %endif
%if %build_python_libmount %if %build_python_libmount
BuildRequires: python-devel BuildRequires: python-devel
@ -113,7 +112,7 @@ BuildRequires: libmount-devel
%endif %endif
%endif %endif
#END SECOND STAGE DEPENDENCIES #END SECOND STAGE DEPENDENCIES
Version: 2.28.2 Version: 2.29
Release: 0 Release: 0
# util-linux is a base package and uuidd pre-requiring pwdutils pulls # util-linux is a base package and uuidd pre-requiring pwdutils pulls
# that into the core build cycle. pwdutils also pulls in the whole # that into the core build cycle. pwdutils also pulls in the whole
@ -122,7 +121,7 @@ Release: 0
# these tools as well # these tools as well
#!BuildIgnore: pwdutils #!BuildIgnore: pwdutils
Url: https://www.kernel.org/pub/linux/utils/util-linux/ Url: https://www.kernel.org/pub/linux/utils/util-linux/
Source: ftp://ftp.kernel.org/pub/linux/utils/util-linux/v2.28/%{_name}-%{version}.tar.xz Source: ftp://ftp.kernel.org/pub/linux/utils/util-linux/v2.29/%{_name}-%{version}.tar.xz
Source1: util-linux-rpmlintrc Source1: util-linux-rpmlintrc
Source4: raw.init Source4: raw.init
Source5: etc.raw Source5: etc.raw
@ -132,7 +131,7 @@ Source8: login.pamd
Source9: remote.pamd Source9: remote.pamd
Source10: su.pamd Source10: su.pamd
Source11: su.default Source11: su.default
Source12: ftp://ftp.kernel.org/pub/linux/utils/util-linux/v2.28/%{_name}-%{version}.tar.sign Source12: ftp://ftp.kernel.org/pub/linux/utils/util-linux/v2.29/%{_name}-%{version}.tar.sign
Source13: %{_name}.keyring Source13: %{_name}.keyring
Source14: runuser.pamd Source14: runuser.pamd
# klogconsole, http://opensuse.github.com/kiwi, 7.02.25, git 859dc050 # klogconsole, http://opensuse.github.com/kiwi, 7.02.25, git 859dc050
@ -519,12 +518,11 @@ AUTOPOINT=true autoreconf -vfi
--docdir=%{_docdir}/%{_name} \ --docdir=%{_docdir}/%{_name} \
--with-audit \ --with-audit \
--with-gnu-ld \ --with-gnu-ld \
--with-ncurses \ --with-ncursesw \
--with-selinux \ --with-selinux \
$uhead \ $uhead \
--with-bashcompletiondir=%{_datadir}/bash-completion/completions \ --with-bashcompletiondir=%{_datadir}/bash-completion/completions \
--with-systemdsystemunitdir=%{_unitdir} \ --with-systemdsystemunitdir=%{_unitdir} \
--enable-libmount-force-mountinfo \
--enable-libuuid-force-uuidd \ --enable-libuuid-force-uuidd \
--enable-sulogin-emergency-mount \ --enable-sulogin-emergency-mount \
--disable-use-tty-group \ --disable-use-tty-group \
@ -532,6 +530,10 @@ AUTOPOINT=true autoreconf -vfi
--disable-rpath \ --disable-rpath \
--enable-all-programs \ --enable-all-programs \
--disable-reset \ --disable-reset \
--disable-chfn-chsh \
--disable-newgrp \
--disable-vipw \
--disable-pg \
%if %{without enable_last} %if %{without enable_last}
--disable-last \ --disable-last \
%endif %endif
@ -570,6 +572,7 @@ export TS_OPT_fdisk_gpt_known_fail="yes"
export TS_OPT_fdisk_oddinput_known_fail="yes" export TS_OPT_fdisk_oddinput_known_fail="yes"
export TS_OPT_fdisk_sunlabel_known_fail="yes" export TS_OPT_fdisk_sunlabel_known_fail="yes"
export TS_OPT_libfdisk_gpt_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_ionice_known_fail="yes"
export TS_OPT_misc_swaplabel_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_name_to_number_known_fail="yes"
@ -676,17 +679,6 @@ ln -sf ../..%{_sysconfdir}/init.d/raw %{buildroot}%{_sbindir}/rcraw
mv %{buildroot}%{_docdir}/%{_name}/getopt %{buildroot}%{_datadir}/ mv %{buildroot}%{_docdir}/%{_name}/getopt %{buildroot}%{_datadir}/
# Stupid hack so we don't have a tcsh dependency # Stupid hack so we don't have a tcsh dependency
chmod 644 %{buildroot}%{_datadir}/getopt/getopt*.tcsh chmod 644 %{buildroot}%{_datadir}/getopt/getopt*.tcsh
# Following files we don't want to package, so remove them
rm -f %{buildroot}%{_bindir}/pg
rm -f %{buildroot}%{_mandir}/man1/pg.1*
# Do not package these files to get rid of the perl dependency
rm -f %{buildroot}%{_bindir}/chkdupexe
rm -f %{buildroot}%{_mandir}/man1/chkdupexe.1
# we use this tools from pwdutils
rm -f %{buildroot}%{_bindir}/{chfn,chsh,newgrp}
rm -f %{buildroot}%{_sbindir}/{vigr,vipw}
rm -f %{buildroot}%{_mandir}/man1/{chfn.1*,chsh.1*,newgrp.1*}
rm -f %{buildroot}%{_mandir}/man8/{vigr.8*,vipw.8*}
# login is always and only in /bin # login is always and only in /bin
mv %{buildroot}%{_bindir}/login %{buildroot}/bin/ mv %{buildroot}%{_bindir}/login %{buildroot}/bin/
# arch dependent # arch dependent

View File

@ -1,17 +0,0 @@
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2
iQIcBAABCAAGBQJX0ACaAAoJEOS3HV7sOcKEkCMP/2TEulMSidpCzZm/AxHcsshN
nhOZygZtjmjvVgOrPfQjNyuOOpd/lJn39hB9j3amq7fDkWZXcjYcKjYG5v1ex3ok
4Xgn0eH9uW3fIskldiFl0agYrIvkov75G8bEhLkluY8b66OwKmzRvd8CV5nQPfQk
9RNCdluw+0Qy5044+QX24Bro3QIGHyXHe5soRe5LYbqKsuEj48iCgi10ClkmkfAv
TnelecI4Ck0OcmLqq4jygDBgufR32XnHvBdjHyA7TqFE7fHdOAUZqhJ27OyDdg1b
ABfGPBjL/nLtLjjW5BDrrFaRB/5iJyRrAke7UH0N/Si+2xm2aP2yqhy3+vDTnzfA
gP/1HMg42w62JA3sF7Z/vbMF/qhLVS3jhR0mCNMr2IY9ClnDQfrh5y+XaBTsXPvS
aIv6aEHt02JFPOoKoImdaq2sq9krKkR2cabqd3kxfKLSo/6yw/K8ZZiOEMlNSWc0
/tfYuk84hcGFwmHv+ESx3x/JG9XoUsxWmvW/1l6eLHKnJ2Q1CP+/uLml4BHQZTrH
LKSU37B/7l9UMWCq/sq9Wfbm6wDI0x8h637iCiSquCv/fzFFmYBtNqZaR4RVjyK9
KJgqzv9OJCDk89VhvfbhfpAU2unF3UAE0ho6eOSNMDrubeEQNiEj4vDKo0HccMZo
2ulDt0G0OBm6U7aIYHRn
=15U5
-----END PGP SIGNATURE-----

View File

@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:b89d37146f20bede93a42c847bce881a17e6dbd8066ff2db2bee733fa409f0cd
size 4149700

17
util-linux-2.29.tar.sign Normal file
View File

@ -0,0 +1,17 @@
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2
iQIcBAABCAAGBQJYIa+yAAoJEOS3HV7sOcKEkPEQAJ6qcx836hUP93e+q8lH7Anf
6odYlxYWC5Pgb8Qopn1KDMh5c3GAbPrnbSoVRKS3jvc24uZuhlCCwYnJbcmEt/+L
am+/zQyIF9T5ZwTadnGD2bkYXI5N9eS4R5O0N/OdBTgsVr9rjZ318zHg+8YCUZN0
hCh4e1UlUC8uL7C/WgeLW/+kN+D+/1KJISDerkw+u5FFPZGWcPcYPh7ofi4ZyV/h
OPgvaEHt3/IxsZnuUNtIEVhFBpabjdwLkXm1LQ26XLnkdipBuuadVB8jaSLUz29J
rkNVI0iiH9vq5abE0wDIzQ2Lt4Lv65fQM7dmw/Ek188tZn9MyX8vT+C5Vyu+EFtU
K+1BwMVNqfW5hZHPM2z7izO/ml77wnydEFGy9GZZpLqQAzUGgsQDC3JbiczC7Qfq
bTFGhz32sHp/2gyOqciwhLPzWxD6jOLVG84vC9Obvtm+xQEfvLa71FnHdcLU3uZA
uZHt50WSuusZJtCWDhhLgfV6NV7c+YB1tELfrStlXAHyZT3Ws0pNPv+5Sue81dGt
uYVOOlXd+5qVpcgJRs5ai86yzv65kCeqmDsSAiHMIwPfFYBOeYessiRmWpqJXTt2
S38j00fHFbNh5qqgDyso6myan4ZNLVIpihZLT2JLJqxEnf4ILZVV7krNW9p09teq
afEkNizqGL/NF2I7ltpe
=5e/s
-----END PGP SIGNATURE-----

3
util-linux-2.29.tar.xz Normal file
View File

@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:2c59ea67cc7b564104f60532f6e0a95fe17a91acb870ba8fd7e986f273abf9e7
size 4249020

View File

@ -1,3 +1,50 @@
-------------------------------------------------------------------
Thu Jan 5 12:34:33 UTC 2017 - sweet_f_a@gmx.de
- don't install bash-completions for uninstalled binaries (chfn,
chsh, newgrp, pg)
- for now remove procps dependency which is only needed for tests
because it pulls systemd
-------------------------------------------------------------------
Thu Dec 15 09:26:01 UTC 2016 - fbui@suse.com
- Replace pkgconfig(libsystemd-*) with pkgconfig(libsystemd)
libsystemd-* libs were deprecated and are gone now.
-------------------------------------------------------------------
Wed Dec 7 16:12:55 CET 2016 - sbrabec@suse.com
- Remove no more supported --enable-libmount-force-mountinfo.
There is --enable-libmount-support-mtab, disabled by default,
exactly as we need.
-------------------------------------------------------------------
Tue Nov 8 15:11:37 UTC 2016 - sweet_f_a@gmx.de
- Update to version 2.29
* cal: possible to specify month by name (e.g. "cal January
2017") and use relative placeholders (cal "+1 month")
* fdisk(8) allows to wipe newly created partitions; the feature
is possible to control by new command line option
--wipe-partitions[==auto|never|default].
* findmnt --verify: the command scans /etc/fstab and tries to
verify the configuration.
* mount(8) now rejects requests to create another device and
mount filesystem for the same backing file. The command
`losetup --nooverlap` reuses loop device if already exists
for the same backing file. All the functionality calculate
with offset and sizelimit options of course, so it's fine to
have multiple regions (partitions) in the same image file and
mount all of them in the same time. The restriction is that
the regions should not overlap.
* lscpu supports the "drawer" topology for IBM S/390.
* More details at:
http://karelzak.blogspot.de/2016/10/util-linux-v229-whats-new.html
https://www.kernel.org/pub/linux/utils/util-linux/v2.29/v2.29-ReleaseNotes
- refresh make-sure-sbin-resp-usr-sbin-are-in-PATH.diff
------------------------------------------------------------------- -------------------------------------------------------------------
Wed Sep 7 12:43:31 UTC 2016 - sweet_f_a@gmx.de Wed Sep 7 12:43:31 UTC 2016 - sweet_f_a@gmx.de

View File

@ -1,7 +1,7 @@
# #
# spec file for package util-linux-systemd # spec file for package util-linux-systemd
# #
# Copyright (c) 2016 SUSE LINUX GmbH, Nuernberg, Germany. # Copyright (c) 2017 SUSE LINUX GmbH, Nuernberg, Germany.
# #
# All modifications and additions to the file contributed by third parties # All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed # remain the property of their copyright owners, unless otherwise agreed
@ -94,8 +94,7 @@ BuildRequires: librtas-devel
%if %build_util_linux_systemd %if %build_util_linux_systemd
BuildRequires: socat BuildRequires: socat
BuildRequires: systemd-rpm-macros BuildRequires: systemd-rpm-macros
BuildRequires: pkgconfig(libsystemd-daemon) BuildRequires: pkgconfig(libsystemd)
BuildRequires: pkgconfig(libsystemd-journal)
%endif %endif
%if %build_python_libmount %if %build_python_libmount
BuildRequires: python-devel BuildRequires: python-devel
@ -113,7 +112,7 @@ BuildRequires: libmount-devel
%endif %endif
%endif %endif
#END SECOND STAGE DEPENDENCIES #END SECOND STAGE DEPENDENCIES
Version: 2.28.2 Version: 2.29
Release: 0 Release: 0
# util-linux is a base package and uuidd pre-requiring pwdutils pulls # util-linux is a base package and uuidd pre-requiring pwdutils pulls
# that into the core build cycle. pwdutils also pulls in the whole # that into the core build cycle. pwdutils also pulls in the whole
@ -122,7 +121,7 @@ Release: 0
# these tools as well # these tools as well
#!BuildIgnore: pwdutils #!BuildIgnore: pwdutils
Url: https://www.kernel.org/pub/linux/utils/util-linux/ Url: https://www.kernel.org/pub/linux/utils/util-linux/
Source: ftp://ftp.kernel.org/pub/linux/utils/util-linux/v2.28/%{_name}-%{version}.tar.xz Source: ftp://ftp.kernel.org/pub/linux/utils/util-linux/v2.29/%{_name}-%{version}.tar.xz
Source1: util-linux-rpmlintrc Source1: util-linux-rpmlintrc
Source4: raw.init Source4: raw.init
Source5: etc.raw Source5: etc.raw
@ -132,7 +131,7 @@ Source8: login.pamd
Source9: remote.pamd Source9: remote.pamd
Source10: su.pamd Source10: su.pamd
Source11: su.default Source11: su.default
Source12: ftp://ftp.kernel.org/pub/linux/utils/util-linux/v2.28/%{_name}-%{version}.tar.sign Source12: ftp://ftp.kernel.org/pub/linux/utils/util-linux/v2.29/%{_name}-%{version}.tar.sign
Source13: %{_name}.keyring Source13: %{_name}.keyring
Source14: runuser.pamd Source14: runuser.pamd
# klogconsole, http://opensuse.github.com/kiwi, 7.02.25, git 859dc050 # klogconsole, http://opensuse.github.com/kiwi, 7.02.25, git 859dc050
@ -519,12 +518,11 @@ AUTOPOINT=true autoreconf -vfi
--docdir=%{_docdir}/%{_name} \ --docdir=%{_docdir}/%{_name} \
--with-audit \ --with-audit \
--with-gnu-ld \ --with-gnu-ld \
--with-ncurses \ --with-ncursesw \
--with-selinux \ --with-selinux \
$uhead \ $uhead \
--with-bashcompletiondir=%{_datadir}/bash-completion/completions \ --with-bashcompletiondir=%{_datadir}/bash-completion/completions \
--with-systemdsystemunitdir=%{_unitdir} \ --with-systemdsystemunitdir=%{_unitdir} \
--enable-libmount-force-mountinfo \
--enable-libuuid-force-uuidd \ --enable-libuuid-force-uuidd \
--enable-sulogin-emergency-mount \ --enable-sulogin-emergency-mount \
--disable-use-tty-group \ --disable-use-tty-group \
@ -532,6 +530,10 @@ AUTOPOINT=true autoreconf -vfi
--disable-rpath \ --disable-rpath \
--enable-all-programs \ --enable-all-programs \
--disable-reset \ --disable-reset \
--disable-chfn-chsh \
--disable-newgrp \
--disable-vipw \
--disable-pg \
%if %{without enable_last} %if %{without enable_last}
--disable-last \ --disable-last \
%endif %endif
@ -570,6 +572,7 @@ export TS_OPT_fdisk_gpt_known_fail="yes"
export TS_OPT_fdisk_oddinput_known_fail="yes" export TS_OPT_fdisk_oddinput_known_fail="yes"
export TS_OPT_fdisk_sunlabel_known_fail="yes" export TS_OPT_fdisk_sunlabel_known_fail="yes"
export TS_OPT_libfdisk_gpt_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_ionice_known_fail="yes"
export TS_OPT_misc_swaplabel_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_name_to_number_known_fail="yes"
@ -676,17 +679,6 @@ ln -sf ../..%{_sysconfdir}/init.d/raw %{buildroot}%{_sbindir}/rcraw
mv %{buildroot}%{_docdir}/%{_name}/getopt %{buildroot}%{_datadir}/ mv %{buildroot}%{_docdir}/%{_name}/getopt %{buildroot}%{_datadir}/
# Stupid hack so we don't have a tcsh dependency # Stupid hack so we don't have a tcsh dependency
chmod 644 %{buildroot}%{_datadir}/getopt/getopt*.tcsh chmod 644 %{buildroot}%{_datadir}/getopt/getopt*.tcsh
# Following files we don't want to package, so remove them
rm -f %{buildroot}%{_bindir}/pg
rm -f %{buildroot}%{_mandir}/man1/pg.1*
# Do not package these files to get rid of the perl dependency
rm -f %{buildroot}%{_bindir}/chkdupexe
rm -f %{buildroot}%{_mandir}/man1/chkdupexe.1
# we use this tools from pwdutils
rm -f %{buildroot}%{_bindir}/{chfn,chsh,newgrp}
rm -f %{buildroot}%{_sbindir}/{vigr,vipw}
rm -f %{buildroot}%{_mandir}/man1/{chfn.1*,chsh.1*,newgrp.1*}
rm -f %{buildroot}%{_mandir}/man8/{vigr.8*,vipw.8*}
# login is always and only in /bin # login is always and only in /bin
mv %{buildroot}%{_bindir}/login %{buildroot}/bin/ mv %{buildroot}%{_bindir}/login %{buildroot}/bin/
# arch dependent # arch dependent

View File

@ -1,3 +1,50 @@
-------------------------------------------------------------------
Thu Jan 5 12:34:33 UTC 2017 - sweet_f_a@gmx.de
- don't install bash-completions for uninstalled binaries (chfn,
chsh, newgrp, pg)
- for now remove procps dependency which is only needed for tests
because it pulls systemd
-------------------------------------------------------------------
Thu Dec 15 09:26:01 UTC 2016 - fbui@suse.com
- Replace pkgconfig(libsystemd-*) with pkgconfig(libsystemd)
libsystemd-* libs were deprecated and are gone now.
-------------------------------------------------------------------
Wed Dec 7 16:12:55 CET 2016 - sbrabec@suse.com
- Remove no more supported --enable-libmount-force-mountinfo.
There is --enable-libmount-support-mtab, disabled by default,
exactly as we need.
-------------------------------------------------------------------
Tue Nov 8 15:11:37 UTC 2016 - sweet_f_a@gmx.de
- Update to version 2.29
* cal: possible to specify month by name (e.g. "cal January
2017") and use relative placeholders (cal "+1 month")
* fdisk(8) allows to wipe newly created partitions; the feature
is possible to control by new command line option
--wipe-partitions[==auto|never|default].
* findmnt --verify: the command scans /etc/fstab and tries to
verify the configuration.
* mount(8) now rejects requests to create another device and
mount filesystem for the same backing file. The command
`losetup --nooverlap` reuses loop device if already exists
for the same backing file. All the functionality calculate
with offset and sizelimit options of course, so it's fine to
have multiple regions (partitions) in the same image file and
mount all of them in the same time. The restriction is that
the regions should not overlap.
* lscpu supports the "drawer" topology for IBM S/390.
* More details at:
http://karelzak.blogspot.de/2016/10/util-linux-v229-whats-new.html
https://www.kernel.org/pub/linux/utils/util-linux/v2.29/v2.29-ReleaseNotes
- refresh make-sure-sbin-resp-usr-sbin-are-in-PATH.diff
------------------------------------------------------------------- -------------------------------------------------------------------
Wed Sep 7 12:43:31 UTC 2016 - sweet_f_a@gmx.de Wed Sep 7 12:43:31 UTC 2016 - sweet_f_a@gmx.de

View File

@ -1,7 +1,7 @@
# #
# spec file for package util-linux # spec file for package util-linux
# #
# Copyright (c) 2016 SUSE LINUX GmbH, Nuernberg, Germany. # Copyright (c) 2017 SUSE LINUX GmbH, Nuernberg, Germany.
# #
# All modifications and additions to the file contributed by third parties # All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed # remain the property of their copyright owners, unless otherwise agreed
@ -94,8 +94,7 @@ BuildRequires: librtas-devel
%if %build_util_linux_systemd %if %build_util_linux_systemd
BuildRequires: socat BuildRequires: socat
BuildRequires: systemd-rpm-macros BuildRequires: systemd-rpm-macros
BuildRequires: pkgconfig(libsystemd-daemon) BuildRequires: pkgconfig(libsystemd)
BuildRequires: pkgconfig(libsystemd-journal)
%endif %endif
%if %build_python_libmount %if %build_python_libmount
BuildRequires: python-devel BuildRequires: python-devel
@ -113,7 +112,7 @@ BuildRequires: libmount-devel
%endif %endif
%endif %endif
#END SECOND STAGE DEPENDENCIES #END SECOND STAGE DEPENDENCIES
Version: 2.28.2 Version: 2.29
Release: 0 Release: 0
# util-linux is a base package and uuidd pre-requiring pwdutils pulls # util-linux is a base package and uuidd pre-requiring pwdutils pulls
# that into the core build cycle. pwdutils also pulls in the whole # that into the core build cycle. pwdutils also pulls in the whole
@ -122,7 +121,7 @@ Release: 0
# these tools as well # these tools as well
#!BuildIgnore: pwdutils #!BuildIgnore: pwdutils
Url: https://www.kernel.org/pub/linux/utils/util-linux/ Url: https://www.kernel.org/pub/linux/utils/util-linux/
Source: ftp://ftp.kernel.org/pub/linux/utils/util-linux/v2.28/%{_name}-%{version}.tar.xz Source: ftp://ftp.kernel.org/pub/linux/utils/util-linux/v2.29/%{_name}-%{version}.tar.xz
Source1: util-linux-rpmlintrc Source1: util-linux-rpmlintrc
Source4: raw.init Source4: raw.init
Source5: etc.raw Source5: etc.raw
@ -132,7 +131,7 @@ Source8: login.pamd
Source9: remote.pamd Source9: remote.pamd
Source10: su.pamd Source10: su.pamd
Source11: su.default Source11: su.default
Source12: ftp://ftp.kernel.org/pub/linux/utils/util-linux/v2.28/%{_name}-%{version}.tar.sign Source12: ftp://ftp.kernel.org/pub/linux/utils/util-linux/v2.29/%{_name}-%{version}.tar.sign
Source13: %{_name}.keyring Source13: %{_name}.keyring
Source14: runuser.pamd Source14: runuser.pamd
# klogconsole, http://opensuse.github.com/kiwi, 7.02.25, git 859dc050 # klogconsole, http://opensuse.github.com/kiwi, 7.02.25, git 859dc050
@ -519,12 +518,11 @@ AUTOPOINT=true autoreconf -vfi
--docdir=%{_docdir}/%{_name} \ --docdir=%{_docdir}/%{_name} \
--with-audit \ --with-audit \
--with-gnu-ld \ --with-gnu-ld \
--with-ncurses \ --with-ncursesw \
--with-selinux \ --with-selinux \
$uhead \ $uhead \
--with-bashcompletiondir=%{_datadir}/bash-completion/completions \ --with-bashcompletiondir=%{_datadir}/bash-completion/completions \
--with-systemdsystemunitdir=%{_unitdir} \ --with-systemdsystemunitdir=%{_unitdir} \
--enable-libmount-force-mountinfo \
--enable-libuuid-force-uuidd \ --enable-libuuid-force-uuidd \
--enable-sulogin-emergency-mount \ --enable-sulogin-emergency-mount \
--disable-use-tty-group \ --disable-use-tty-group \
@ -532,6 +530,10 @@ AUTOPOINT=true autoreconf -vfi
--disable-rpath \ --disable-rpath \
--enable-all-programs \ --enable-all-programs \
--disable-reset \ --disable-reset \
--disable-chfn-chsh \
--disable-newgrp \
--disable-vipw \
--disable-pg \
%if %{without enable_last} %if %{without enable_last}
--disable-last \ --disable-last \
%endif %endif
@ -570,6 +572,7 @@ export TS_OPT_fdisk_gpt_known_fail="yes"
export TS_OPT_fdisk_oddinput_known_fail="yes" export TS_OPT_fdisk_oddinput_known_fail="yes"
export TS_OPT_fdisk_sunlabel_known_fail="yes" export TS_OPT_fdisk_sunlabel_known_fail="yes"
export TS_OPT_libfdisk_gpt_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_ionice_known_fail="yes"
export TS_OPT_misc_swaplabel_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_name_to_number_known_fail="yes"
@ -676,17 +679,6 @@ ln -sf ../..%{_sysconfdir}/init.d/raw %{buildroot}%{_sbindir}/rcraw
mv %{buildroot}%{_docdir}/%{_name}/getopt %{buildroot}%{_datadir}/ mv %{buildroot}%{_docdir}/%{_name}/getopt %{buildroot}%{_datadir}/
# Stupid hack so we don't have a tcsh dependency # Stupid hack so we don't have a tcsh dependency
chmod 644 %{buildroot}%{_datadir}/getopt/getopt*.tcsh chmod 644 %{buildroot}%{_datadir}/getopt/getopt*.tcsh
# Following files we don't want to package, so remove them
rm -f %{buildroot}%{_bindir}/pg
rm -f %{buildroot}%{_mandir}/man1/pg.1*
# Do not package these files to get rid of the perl dependency
rm -f %{buildroot}%{_bindir}/chkdupexe
rm -f %{buildroot}%{_mandir}/man1/chkdupexe.1
# we use this tools from pwdutils
rm -f %{buildroot}%{_bindir}/{chfn,chsh,newgrp}
rm -f %{buildroot}%{_sbindir}/{vigr,vipw}
rm -f %{buildroot}%{_mandir}/man1/{chfn.1*,chsh.1*,newgrp.1*}
rm -f %{buildroot}%{_mandir}/man8/{vigr.8*,vipw.8*}
# login is always and only in /bin # login is always and only in /bin
mv %{buildroot}%{_bindir}/login %{buildroot}/bin/ mv %{buildroot}%{_bindir}/login %{buildroot}/bin/
# arch dependent # arch dependent