Hello community, here is the log from the commit of package util-linux for openSUSE:Factory checked in at 2017-09-28 12:32:49 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/util-linux (Old) and /work/SRC/openSUSE:Factory/.util-linux.new (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "util-linux" Thu Sep 28 12:32:49 2017 rev:221 rq:528604 version:2.30.1 Changes: -------- --- /work/SRC/openSUSE:Factory/util-linux/python-libmount.changes 2017-07-09 20:29:43.820949209 +0200 +++ /work/SRC/openSUSE:Factory/.util-linux.new/python-libmount.changes 2017-09-28 12:32:50.345036644 +0200 @@ -1,0 +2,30 @@ +Thu Sep 21 14:41:01 UTC 2017 - [email protected] + +- Update RPM categories and summaries. + Do not ignore errors from useradd. + +------------------------------------------------------------------- +Fri Sep 15 07:17:45 UTC 2017 - [email protected] + +- Ensure libreadline usage as well as _GNU_SOURCE + +------------------------------------------------------------------- +Tue Sep 12 12:35:34 CEST 2017 - [email protected] + +- Fix prerequirement of groups tty and uuidd (boo#1057937). + +------------------------------------------------------------------- +Thu Jul 20 13:51:20 UTC 2017 - [email protected] + +- Update to version 2.30.1: + Bugfix release, more details at: + https://www.kernel.org/pub/linux/utils/util-linux/v2.30/v2.30.1-ReleaseNotes +- Drop upstreamed patch + util-linux-lscpu-cleanup-DMI-detection-return-codes.patch + +------------------------------------------------------------------- +Mon Jul 3 12:38:36 UTC 2017 - [email protected] + +- Make sure group tty is defined + +------------------------------------------------------------------- util-linux-systemd.changes: same change util-linux.changes: same change Old: ---- util-linux-2.30.tar.sign util-linux-2.30.tar.xz util-linux-lscpu-cleanup-DMI-detection-return-codes.patch New: ---- util-linux-2.30.1.tar.sign util-linux-2.30.1.tar.xz ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ python-libmount.spec ++++++ --- /var/tmp/diff_new_pack.47GxyF/_old 2017-09-28 12:32:51.916815638 +0200 +++ /var/tmp/diff_new_pack.47GxyF/_new 2017-09-28 12:32:51.920815075 +0200 @@ -42,7 +42,7 @@ %define summary_pl Python bindings for the libmount library %define group_ul System/Base %define group_uls System/Base -%define group_pl System/Filesystems +%define group_pl Development/Languages/Python %if "%{name}" == "python-libmount" %define build_util_linux 0 %define build_util_linux_systemd 0 @@ -73,7 +73,7 @@ %endif Summary: %main_summary License: GPL-2.0+ -Group: %main_group +Group: %group_pl BuildRequires: audit-devel BuildRequires: bc BuildRequires: binutils-devel @@ -116,7 +116,7 @@ %endif %endif #END SECOND STAGE DEPENDENCIES -Version: 2.30 +Version: 2.30.1 Release: 0 # util-linux is a base package and uuidd pre-requiring pwdutils pulls # that into the core build cycle. pwdutils also pulls in the whole @@ -157,12 +157,13 @@ Patch0: make-sure-sbin-resp-usr-sbin-are-in-PATH.diff # PATCH-FEATURE-SLE util-linux-losetup-Add-support-for-setting-logical-blocksize.patch bsc931634 FATE319010 [email protected] -- Add support for setting logical blocksizes. Patch1: util-linux-losetup-Add-support-for-setting-logical-blocksize.patch -# PATCH-BUG-FIX util-linux-lscpu-cleanup-DMI-detection-return-codes.patch bsc#1039360 [email protected] -- lscpu: cleanup DMI detection return codes -Patch2: util-linux-lscpu-cleanup-DMI-detection-return-codes.patch BuildRoot: %{_tmppath}/%{name}-%{version}-build # %if %build_util_linux Supplements: filesystem(minix) +%if 0%{?suse_version} >= 1330 +Requires(pre): group(tty) +%endif Provides: fsck-with-dev-lock = %{version} # bnc#651598: Provides: util-linux(fake+no-canonicalize) @@ -240,7 +241,7 @@ %package -n libblkid1 Summary: Filesystem detection library -Group: System/Filesystems +Group: System/Libraries %description -n libblkid1 Library for filesystem detection. @@ -265,13 +266,13 @@ %package -n libuuid1 Summary: Library to generate UUIDs -Group: System/Filesystems +Group: System/Libraries %description -n libuuid1 A library to generate universally unique IDs (UUIDs). %package -n libuuid-devel -Summary: Development files for libuuid1 +Summary: Development files for libuuid Group: Development/Libraries/C and C++ Requires: libuuid1 = %{version} @@ -280,7 +281,7 @@ unique IDs (UUIDs). %package -n libuuid-devel-static -Summary: Development files for libuuid1 +Summary: Development files for libuuid Group: Development/Libraries/C and C++ Requires: libuuid-devel = %{version} @@ -290,19 +291,19 @@ %package -n libmount1 Summary: Device mount library -Group: System/Filesystems +Group: System/Libraries %description -n libmount1 Library designed to be used in low-level utils like mount(8) and /usr/sbin/mount.<type> helpers. %package -n libmount-devel -Summary: Development files for libmount1 +Summary: Development files for libmount Group: Development/Libraries/C and C++ Requires: libmount1 = %{version} %package -n libmount-devel-static -Summary: Development files for libmount1 +Summary: Development files for libmount Group: Development/Libraries/C and C++ Requires: libmount-devel = %{version} @@ -320,7 +321,7 @@ Library to sort human readable column-based text output. %package -n libsmartcols-devel -Summary: Development files for libsmartcols1 +Summary: Development files for libsmartcols Group: Development/Libraries/C and C++ Requires: libsmartcols1 = %{version} @@ -328,7 +329,7 @@ Files to develop applications using the libsmartcols library. %package -n libsmartcols-devel-static -Summary: Development files for libsmartcols1 +Summary: Development files for libsmartcols Group: Development/Libraries/C and C++ Requires: libsmartcols-devel = %{version} @@ -337,7 +338,7 @@ %package -n libfdisk1 Summary: Filesystem detection library -Group: System/Filesystems +Group: System/Libraries %description -n libfdisk1 Library for filesystem detection. @@ -382,8 +383,12 @@ %package -n uuidd Summary: Helper daemon to guarantee uniqueness of time-based UUIDs Group: System/Filesystems +%if 0%{?suse_version} >= 1330 +Requires(pre): group(uuidd) +%else Requires(pre): /usr/sbin/groupadd Requires(pre): /usr/sbin/useradd +%endif # uuidd bash-completion moved to a correct package Conflicts: util-linux < 2.25 %systemd_requires @@ -398,13 +403,14 @@ %if %build_util_linux %package -n python-libmount Summary: %summary_pl +License: GPL-2.0+ Group: %group_pl %description -n python-libmount %else %description %endif -This package contains the python bindings for util-linux libmount +This package contains the Python bindings for util-linux libmount library. %endif @@ -415,7 +421,6 @@ # logical block size support in loop does not exist in Tumbleweed and upstream kernel yet %patch1 -p1 %endif -%patch2 -p1 # # setctsid cp -p %{S:22} %{S:23} . @@ -538,6 +543,8 @@ export SUID_CFLAGS="-fpie" export SUID_LDFLAGS="-pie" export LDFLAGS="-Wl,-z,relro,-z,now" +export CFLAGS="%{optflags} -D_GNU_SOURCE" +export CXXFLAGS="%{optflags} -D_GNU_SOURCE" # override default localstatedir to /run # only used for volatile data # @@ -549,8 +556,10 @@ --localstatedir=/run \ --docdir=%{_docdir}/%{_name} \ --with-audit \ + --with-btrfs \ --with-gnu-ld \ --with-ncursesw \ + --with-readline \ --with-selinux \ $uhead \ --with-bashcompletiondir=%{_datadir}/bash-completion/completions \ @@ -850,10 +859,15 @@ %postun -n util-linux-systemd %{service_del_postun fstrim.service fstrim.timer} -%pre -p /bin/bash -n uuidd -/usr/sbin/groupadd -r uuidd 2>/dev/null || : -/usr/sbin/useradd -r -g uuidd -c "User for uuidd" \ - -d /var/run/uuidd uuidd 2>/dev/null || : +%if 0%{?suse_version} >= 1330 +%pre -n uuidd +%else +%pre -n uuidd +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 +%endif %{service_add_pre uuidd.socket uuidd.service} %post -n uuidd ++++++ util-linux-systemd.spec ++++++ --- /var/tmp/diff_new_pack.47GxyF/_old 2017-09-28 12:32:51.976807202 +0200 +++ /var/tmp/diff_new_pack.47GxyF/_new 2017-09-28 12:32:51.984806078 +0200 @@ -42,7 +42,7 @@ %define summary_pl Python bindings for the libmount library %define group_ul System/Base %define group_uls System/Base -%define group_pl System/Filesystems +%define group_pl Development/Languages/Python %if "%{name}" == "python-libmount" %define build_util_linux 0 %define build_util_linux_systemd 0 @@ -116,7 +116,7 @@ %endif %endif #END SECOND STAGE DEPENDENCIES -Version: 2.30 +Version: 2.30.1 Release: 0 # util-linux is a base package and uuidd pre-requiring pwdutils pulls # that into the core build cycle. pwdutils also pulls in the whole @@ -157,12 +157,13 @@ Patch0: make-sure-sbin-resp-usr-sbin-are-in-PATH.diff # PATCH-FEATURE-SLE util-linux-losetup-Add-support-for-setting-logical-blocksize.patch bsc931634 FATE319010 [email protected] -- Add support for setting logical blocksizes. Patch1: util-linux-losetup-Add-support-for-setting-logical-blocksize.patch -# PATCH-BUG-FIX util-linux-lscpu-cleanup-DMI-detection-return-codes.patch bsc#1039360 [email protected] -- lscpu: cleanup DMI detection return codes -Patch2: util-linux-lscpu-cleanup-DMI-detection-return-codes.patch BuildRoot: %{_tmppath}/%{name}-%{version}-build # %if %build_util_linux Supplements: filesystem(minix) +%if 0%{?suse_version} >= 1330 +Requires(pre): group(tty) +%endif Provides: fsck-with-dev-lock = %{version} # bnc#651598: Provides: util-linux(fake+no-canonicalize) @@ -240,7 +241,7 @@ %package -n libblkid1 Summary: Filesystem detection library -Group: System/Filesystems +Group: System/Libraries %description -n libblkid1 Library for filesystem detection. @@ -265,13 +266,13 @@ %package -n libuuid1 Summary: Library to generate UUIDs -Group: System/Filesystems +Group: System/Libraries %description -n libuuid1 A library to generate universally unique IDs (UUIDs). %package -n libuuid-devel -Summary: Development files for libuuid1 +Summary: Development files for libuuid Group: Development/Libraries/C and C++ Requires: libuuid1 = %{version} @@ -280,7 +281,7 @@ unique IDs (UUIDs). %package -n libuuid-devel-static -Summary: Development files for libuuid1 +Summary: Development files for libuuid Group: Development/Libraries/C and C++ Requires: libuuid-devel = %{version} @@ -290,19 +291,19 @@ %package -n libmount1 Summary: Device mount library -Group: System/Filesystems +Group: System/Libraries %description -n libmount1 Library designed to be used in low-level utils like mount(8) and /usr/sbin/mount.<type> helpers. %package -n libmount-devel -Summary: Development files for libmount1 +Summary: Development files for libmount Group: Development/Libraries/C and C++ Requires: libmount1 = %{version} %package -n libmount-devel-static -Summary: Development files for libmount1 +Summary: Development files for libmount Group: Development/Libraries/C and C++ Requires: libmount-devel = %{version} @@ -320,7 +321,7 @@ Library to sort human readable column-based text output. %package -n libsmartcols-devel -Summary: Development files for libsmartcols1 +Summary: Development files for libsmartcols Group: Development/Libraries/C and C++ Requires: libsmartcols1 = %{version} @@ -328,7 +329,7 @@ Files to develop applications using the libsmartcols library. %package -n libsmartcols-devel-static -Summary: Development files for libsmartcols1 +Summary: Development files for libsmartcols Group: Development/Libraries/C and C++ Requires: libsmartcols-devel = %{version} @@ -337,7 +338,7 @@ %package -n libfdisk1 Summary: Filesystem detection library -Group: System/Filesystems +Group: System/Libraries %description -n libfdisk1 Library for filesystem detection. @@ -382,8 +383,12 @@ %package -n uuidd Summary: Helper daemon to guarantee uniqueness of time-based UUIDs Group: System/Filesystems +%if 0%{?suse_version} >= 1330 +Requires(pre): group(uuidd) +%else Requires(pre): /usr/sbin/groupadd Requires(pre): /usr/sbin/useradd +%endif # uuidd bash-completion moved to a correct package Conflicts: util-linux < 2.25 %systemd_requires @@ -404,7 +409,7 @@ %else %description %endif -This package contains the python bindings for util-linux libmount +This package contains the Python bindings for util-linux libmount library. %endif @@ -415,7 +420,6 @@ # logical block size support in loop does not exist in Tumbleweed and upstream kernel yet %patch1 -p1 %endif -%patch2 -p1 # # setctsid cp -p %{S:22} %{S:23} . @@ -538,6 +542,8 @@ export SUID_CFLAGS="-fpie" export SUID_LDFLAGS="-pie" export LDFLAGS="-Wl,-z,relro,-z,now" +export CFLAGS="%{optflags} -D_GNU_SOURCE" +export CXXFLAGS="%{optflags} -D_GNU_SOURCE" # override default localstatedir to /run # only used for volatile data # @@ -549,8 +555,10 @@ --localstatedir=/run \ --docdir=%{_docdir}/%{_name} \ --with-audit \ + --with-btrfs \ --with-gnu-ld \ --with-ncursesw \ + --with-readline \ --with-selinux \ $uhead \ --with-bashcompletiondir=%{_datadir}/bash-completion/completions \ @@ -850,10 +858,15 @@ %postun -n util-linux-systemd %{service_del_postun fstrim.service fstrim.timer} -%pre -p /bin/bash -n uuidd -/usr/sbin/groupadd -r uuidd 2>/dev/null || : -/usr/sbin/useradd -r -g uuidd -c "User for uuidd" \ - -d /var/run/uuidd uuidd 2>/dev/null || : +%if 0%{?suse_version} >= 1330 +%pre -n uuidd +%else +%pre -n uuidd +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 +%endif %{service_add_pre uuidd.socket uuidd.service} %post -n uuidd ++++++ util-linux.spec ++++++ --- /var/tmp/diff_new_pack.47GxyF/_old 2017-09-28 12:32:52.012802141 +0200 +++ /var/tmp/diff_new_pack.47GxyF/_new 2017-09-28 12:32:52.016801579 +0200 @@ -42,7 +42,7 @@ %define summary_pl Python bindings for the libmount library %define group_ul System/Base %define group_uls System/Base -%define group_pl System/Filesystems +%define group_pl Development/Languages/Python %if "%{name}" == "python-libmount" %define build_util_linux 0 %define build_util_linux_systemd 0 @@ -116,7 +116,7 @@ %endif %endif #END SECOND STAGE DEPENDENCIES -Version: 2.30 +Version: 2.30.1 Release: 0 # util-linux is a base package and uuidd pre-requiring pwdutils pulls # that into the core build cycle. pwdutils also pulls in the whole @@ -157,12 +157,13 @@ Patch0: make-sure-sbin-resp-usr-sbin-are-in-PATH.diff # PATCH-FEATURE-SLE util-linux-losetup-Add-support-for-setting-logical-blocksize.patch bsc931634 FATE319010 [email protected] -- Add support for setting logical blocksizes. Patch1: util-linux-losetup-Add-support-for-setting-logical-blocksize.patch -# PATCH-BUG-FIX util-linux-lscpu-cleanup-DMI-detection-return-codes.patch bsc#1039360 [email protected] -- lscpu: cleanup DMI detection return codes -Patch2: util-linux-lscpu-cleanup-DMI-detection-return-codes.patch BuildRoot: %{_tmppath}/%{name}-%{version}-build # %if %build_util_linux Supplements: filesystem(minix) +%if 0%{?suse_version} >= 1330 +Requires(pre): group(tty) +%endif Provides: fsck-with-dev-lock = %{version} # bnc#651598: Provides: util-linux(fake+no-canonicalize) @@ -240,7 +241,7 @@ %package -n libblkid1 Summary: Filesystem detection library -Group: System/Filesystems +Group: System/Libraries %description -n libblkid1 Library for filesystem detection. @@ -265,13 +266,13 @@ %package -n libuuid1 Summary: Library to generate UUIDs -Group: System/Filesystems +Group: System/Libraries %description -n libuuid1 A library to generate universally unique IDs (UUIDs). %package -n libuuid-devel -Summary: Development files for libuuid1 +Summary: Development files for libuuid Group: Development/Libraries/C and C++ Requires: libuuid1 = %{version} @@ -280,7 +281,7 @@ unique IDs (UUIDs). %package -n libuuid-devel-static -Summary: Development files for libuuid1 +Summary: Development files for libuuid Group: Development/Libraries/C and C++ Requires: libuuid-devel = %{version} @@ -290,19 +291,19 @@ %package -n libmount1 Summary: Device mount library -Group: System/Filesystems +Group: System/Libraries %description -n libmount1 Library designed to be used in low-level utils like mount(8) and /usr/sbin/mount.<type> helpers. %package -n libmount-devel -Summary: Development files for libmount1 +Summary: Development files for libmount Group: Development/Libraries/C and C++ Requires: libmount1 = %{version} %package -n libmount-devel-static -Summary: Development files for libmount1 +Summary: Development files for libmount Group: Development/Libraries/C and C++ Requires: libmount-devel = %{version} @@ -320,7 +321,7 @@ Library to sort human readable column-based text output. %package -n libsmartcols-devel -Summary: Development files for libsmartcols1 +Summary: Development files for libsmartcols Group: Development/Libraries/C and C++ Requires: libsmartcols1 = %{version} @@ -328,7 +329,7 @@ Files to develop applications using the libsmartcols library. %package -n libsmartcols-devel-static -Summary: Development files for libsmartcols1 +Summary: Development files for libsmartcols Group: Development/Libraries/C and C++ Requires: libsmartcols-devel = %{version} @@ -337,7 +338,7 @@ %package -n libfdisk1 Summary: Filesystem detection library -Group: System/Filesystems +Group: System/Libraries %description -n libfdisk1 Library for filesystem detection. @@ -382,8 +383,12 @@ %package -n uuidd Summary: Helper daemon to guarantee uniqueness of time-based UUIDs Group: System/Filesystems +%if 0%{?suse_version} >= 1330 +Requires(pre): group(uuidd) +%else Requires(pre): /usr/sbin/groupadd Requires(pre): /usr/sbin/useradd +%endif # uuidd bash-completion moved to a correct package Conflicts: util-linux < 2.25 %systemd_requires @@ -404,7 +409,7 @@ %else %description %endif -This package contains the python bindings for util-linux libmount +This package contains the Python bindings for util-linux libmount library. %endif @@ -415,7 +420,6 @@ # logical block size support in loop does not exist in Tumbleweed and upstream kernel yet %patch1 -p1 %endif -%patch2 -p1 # # setctsid cp -p %{S:22} %{S:23} . @@ -538,6 +542,8 @@ export SUID_CFLAGS="-fpie" export SUID_LDFLAGS="-pie" export LDFLAGS="-Wl,-z,relro,-z,now" +export CFLAGS="%{optflags} -D_GNU_SOURCE" +export CXXFLAGS="%{optflags} -D_GNU_SOURCE" # override default localstatedir to /run # only used for volatile data # @@ -549,8 +555,10 @@ --localstatedir=/run \ --docdir=%{_docdir}/%{_name} \ --with-audit \ + --with-btrfs \ --with-gnu-ld \ --with-ncursesw \ + --with-readline \ --with-selinux \ $uhead \ --with-bashcompletiondir=%{_datadir}/bash-completion/completions \ @@ -850,10 +858,15 @@ %postun -n util-linux-systemd %{service_del_postun fstrim.service fstrim.timer} -%pre -p /bin/bash -n uuidd -/usr/sbin/groupadd -r uuidd 2>/dev/null || : -/usr/sbin/useradd -r -g uuidd -c "User for uuidd" \ - -d /var/run/uuidd uuidd 2>/dev/null || : +%if 0%{?suse_version} >= 1330 +%pre -n uuidd +%else +%pre -n uuidd +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 +%endif %{service_add_pre uuidd.socket uuidd.service} %post -n uuidd ++++++ util-linux-2.30.tar.xz -> util-linux-2.30.1.tar.xz ++++++ ++++ 50244 lines of diff (skipped)
