Hello community,

here is the log from the commit of package util-linux for openSUSE:Factory 
checked in at 2015-03-05 17:04:31
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/util-linux (Old)
 and      /work/SRC/openSUSE:Factory/.util-linux.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "util-linux"

Changes:
--------
--- /work/SRC/openSUSE:Factory/util-linux/python-libmount.changes       
2015-02-16 17:48:59.000000000 +0100
+++ /work/SRC/openSUSE:Factory/.util-linux.new/python-libmount.changes  
2015-03-05 18:17:51.000000000 +0100
@@ -1,0 +2,57 @@
+Wed Feb 25 20:43:28 CET 2015 - [email protected]
+
+- Update to util-linux-2.26:
+  * based on the git master branch of util-linux, remove backported
+    patches (util-linux-libblkid-unsafe-chars.patch,
+    util-linux-libblkid-overflow.patch)
+  * zramctl(8): this NEW COMMAND allows to control /dev/zramN
+    devices
+  * agetty(8): supports new option --reload to force already
+    running agetty processes to reprint the /etc/issue file
+  * cfdisk(8), sfdisk(8) and fdisk(8): support sfdisk-compatible
+    scripts; it's possible to save your partitioning layout to text
+    files and (re)use it in all fdisks
+  * fdisk(8), sfdisk(8): support new command-line option "--output
+    <list>" to specify output columns for --list or print commands
+  * nsenter(1): has been updated to work with the latest kernel
+    changes in user namespaces supports new command-line option
+    --preserve-credentials
+  * unshare(1): has been updated to work with the latest kernel
+    changes in user namespaces supports new command-line option
+    "--setgroups=<deny|allow>"
+  * swapon(8): supports new command-line option "-o <list>" with
+    the same semantics as -o for mount(8); it's now possible to
+    specify swap options on the command line by the same string as
+    in fstab
+  * fdformat(8): supports new command-line options --from and --to
+    to specify tracks and --repair for broken floppies
+  * getopt(1): has been updated to the latest version (originally
+    maintained outside of util-linux) and refactored
+  * ldattach(8): has been improved to support GSM0710 and intro
+    modem commands
+  * logger(1): supports new command-line option --id= to specify
+    PID (or another ID) allows to specify --rfc3164 or --rfc5424
+    syslog protocols
+  * libfdisk: the library is distributed as a shared library with a
+    stable API and a standard header file
+  * libmount: provides a new simple API to monitor mount-table
+    changes (including changes in userspace mount options)
+- Fix lack of I18N support in util-linux-systemd (mis-compilation).
+
+-------------------------------------------------------------------
+Sun Feb 22 17:15:41 UTC 2015 - [email protected]
+
+- Build with FULL RELRO. 
+
+-------------------------------------------------------------------
+Tue Feb 10 15:26:55 UTC 2015 - [email protected]
+
+- define upstream source for klogconsole to remove patches
+  * klogconsole-quiet.patch
+  * klogconsole.diff
+- remove openSUSE 13.1 specific eject permissions, did not worked
+  anyway since eject-fpie.patch was removed
+- always call autoreconf, not only for splitted packages, skip
+  autopoint (gettext)
+
+-------------------------------------------------------------------
util-linux-systemd.changes: same change
util-linux.changes: same change

Old:
----
  klogconsole-quiet.patch
  klogconsole.diff
  klogconsole.tar.bz2
  util-linux-2.25.2.tar.sign
  util-linux-2.25.2.tar.xz
  util-linux-libblkid-overflow.patch
  util-linux-libblkid-unsafe-chars.patch

New:
----
  klogconsole.tar.xz
  util-linux-2.26.tar.sign
  util-linux-2.26.tar.xz

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Other differences:
------------------
++++++ python-libmount.spec ++++++
--- /var/tmp/diff_new_pack.X5VLMY/_old  2015-03-05 18:17:53.000000000 +0100
+++ /var/tmp/diff_new_pack.X5VLMY/_new  2015-03-05 18:17:53.000000000 +0100
@@ -76,7 +76,7 @@
 %endif
 Summary:        %main_summary
 License:        GPL-2.0+
-Group:          %group_pl
+Group:          %main_group
 BuildRequires:  audit-devel
 BuildRequires:  bc
 BuildRequires:  binutils-devel
@@ -120,7 +120,7 @@
 %endif
 %endif
 #END SECOND STAGE DEPENDENCIES
-Version:        2.25.2
+Version:        2.26
 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
@@ -129,7 +129,7 @@
 # these tools as well
 #!BuildIgnore:  pwdutils
 Url:            https://www.kernel.org/pub/linux/utils/util-linux/
-Source:         
ftp://ftp.kernel.org/pub/linux/utils/util-linux/v2.25/%{_name}-%{version}.tar.xz
+Source:         
ftp://ftp.kernel.org/pub/linux/utils/util-linux/v2.26/%{_name}-%{version}.tar.xz
 Source1:        util-linux-rpmlintrc
 Source4:        raw.init
 Source5:        etc.raw
@@ -139,11 +139,12 @@
 Source9:        remote.pamd
 Source10:       su.pamd
 Source11:       su.default
-Source12:       
ftp://ftp.kernel.org/pub/linux/utils/util-linux/v2.25/%{_name}-%{version}.tar.sign
+Source12:       
ftp://ftp.kernel.org/pub/linux/utils/util-linux/v2.26/%{_name}-%{version}.tar.sign
 Source13:       %{_name}.keyring
 Source14:       runuser.pamd
+# klogconsole, http://opensuse.github.com/kiwi, 7.02.25, git 859dc050
 # TODO: split to separate package
-Source40:       klogconsole.tar.bz2
+Source40:       klogconsole.tar.xz
 # XXX: Run a program in a new session and with controlling tty
 Source22:       setctsid.c
 Source23:       setctsid.8
@@ -160,15 +161,6 @@
 Patch4:         make-sure-sbin-resp-usr-sbin-are-in-PATH.diff
 # PATCH-FEATURE-SUSE -- Report about disabled encryption to stderr.
 Patch12:        util-linux-noenc-suse.patch
-# PATCH-FIX-SECURITY util-linux-libblkid-unsafe-chars.patch bsc907434 
CVE-2014-9114 [email protected] -- libblkid: care about unsafe chars in cache
-Patch13:        util-linux-libblkid-unsafe-chars.patch
-# PATCH-FIX-SECURITY util-linux-libblkid-overflow.patch bsc907434 
CVE-2014-9114 [email protected] -- libblkid: fix possible buffer overflow
-Patch14:        util-linux-libblkid-overflow.patch
-##
-## klogconsole
-##
-Patch55:        klogconsole-quiet.patch
-Patch56:        klogconsole.diff
 BuildRoot:      %{_tmppath}/%{name}-%{version}-build
 #
 %if %build_util_linux
@@ -332,6 +324,31 @@
 %description -n libsmartcols-devel-static
 Files to develop applications using the libsmartcols library.
 
+%package -n libfdisk1
+Summary:        Filesystem detection library
+Group:          System/Filesystems
+
+%description -n libfdisk1
+Library for filesystem detection.
+
+%package -n libfdisk-devel
+Summary:        Development files for the filesystem detection library
+Group:          Development/Libraries/C and C++
+Requires:       libfdisk1 = %{version}
+
+%description -n libfdisk-devel
+Files needed to develop applications using the library for filesystem
+detection.
+
+%package -n libfdisk-devel-static
+Summary:        Development files for the filesystem detection library
+Group:          Development/Libraries/C and C++
+Requires:       libfdisk-devel = %{version}
+
+%description -n libfdisk-devel-static
+Files needed to develop applications using the library for filesystem
+detection.
+
 %lang_package
 %endif
 %if %build_util_linux_systemd
@@ -370,7 +387,6 @@
 %if %build_util_linux
 %package -n python-libmount
 Summary:        %summary_pl
-License:        GPL-2.0+
 Group:          %group_pl
 
 %description -n python-libmount
@@ -388,17 +404,10 @@
 %setup -q -n %{_name}-%{version} -b 40
 %patch4 -p1
 %patch12 -p1
-%patch13 -p1
-%patch14 -p1
 #
 # setctsid
 cp -p %{S:22} %{S:23} .
 
-pushd ../klogconsole
-%patch55 -p1
-%patch56 -p1
-popd
-
 %build
 #BEGIN CONFIG ALTER
 %if !%build_util_linux_systemd
@@ -437,7 +446,6 @@
 sed -i 's/BUILD_LSLOGINS/FALSE/
        s/BUILD_LOGGER/FALSE/
        ' misc-utils/Makemodule.am login-utils/Makemodule.am 
bash-completion/Makemodule.am
-autoreconf -f -i
 %endif
 #END FIRST STAGE MODIFICATIONS
 %else
@@ -509,14 +517,12 @@
        ' libmount/python/Makemodule.am misc-utils/Makemodule.am 
login-utils/Makemodule.am
 # Ignore dependencies on optional (and not built in second stage) libraries
 sed -i '
-       /AM_GNU_GETTEXT/d
        s/UL_REQUIRES_BUILD(\[.*\], \[libuuid\])/dnl &/
        s/UL_REQUIRES_BUILD(\[.*\], \[libsmartcols\])/dnl &/
        ' configure.ac
 sed -i '
        /SUBDIRS =/s/ po//
        ' Makefile.am
-autoreconf -f -i
 #END SECOND STAGE MODIFICATIONS
 %endif
 #
@@ -533,11 +539,13 @@
 fi
 export SUID_CFLAGS="-fpie"
 export SUID_LDFLAGS="-pie"
+export LDFLAGS="-Wl,-z,relro,-z,now"
 # override default localstatedir to /run
 # only used for volatile data
 #
 # SUSE now supports only systemd based system. We do not build
 # sysvinit-only versions of UTIL_LINUX_SYSTEMD_SOURCES utilities.
+AUTOPOINT=true autoreconf -vfi
 %configure \
   --localstatedir=/run \
   --docdir=%{_docdir}/%{_name} \
@@ -601,10 +609,8 @@
 export TS_OPT_misc_setarch_known_fail="yes"
 %endif
 #
-%if 0%{?suse_version} > 1310
 # glibc requires kernel >= 3.0, thus setarch --uname-2.6 fails on platforms 
without VDSO
 export TS_OPT_misc_setarch_known_fail="yes"
-%endif
 #
 %ifarch armv6l armv6hl aarch64
 export TS_OPT_fdisk_gpt_known_fail="yes"
@@ -851,6 +857,10 @@
 
 %postun -n libuuid1 -p /sbin/ldconfig
 
+%post -n libfdisk1 -p /sbin/ldconfig
+
+%postun -n libfdisk1 -p /sbin/ldconfig
+
 %files lang -f %{name}.lang
 %endif
 
@@ -964,12 +974,8 @@
 %{_bindir}/su
 %endif
 %if %{with enable_eject}
-%if 0%{?suse_version} <= 1310
-%verify(not mode) %attr(4750,root,audio) %{_bindir}/eject
-%else
 %{_bindir}/eject
 %endif
-%endif
 %{_bindir}/cal
 %{_bindir}/chrt
 %{_bindir}/col
@@ -1068,6 +1074,7 @@
 %verify(not mode) %attr(0755,root,tty) %{_bindir}/wall
 %{_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
@@ -1169,6 +1176,7 @@
 %{_mandir}/man8/uname26.8.gz
 %{_mandir}/man8/setctsid.8.gz
 %{_mandir}/man8/wipefs.8.gz
+%{_mandir}/man8/zramctl.8.gz
 %{_mandir}/man8/fstrim.8.gz
 %{_mandir}/man8/lsblk.8.gz
 %{_mandir}/man8/resizepart.8.gz
@@ -1287,6 +1295,23 @@
 %files -n libuuid-devel-static
 %defattr(-, root, root)
 %{_libdir}/libuuid.*a
+
+%files -n libfdisk1
+%defattr(-, root, root)
+%{_libdir}/libfdisk.so.1
+%{_libdir}/libfdisk.so.1.*
+
+%files -n libfdisk-devel
+%defattr(-, root, root)
+%{_libdir}/libfdisk.so
+%dir %{_includedir}/libfdisk
+%{_includedir}/libfdisk/libfdisk.h
+%{_libdir}/pkgconfig/fdisk.pc
+
+%files -n libfdisk-devel-static
+%defattr(-, root, root)
+%{_libdir}/libfdisk.*a
+
 %endif
 
 %if %build_util_linux_systemd

++++++ util-linux-systemd.spec ++++++
--- /var/tmp/diff_new_pack.X5VLMY/_old  2015-03-05 18:17:53.000000000 +0100
+++ /var/tmp/diff_new_pack.X5VLMY/_new  2015-03-05 18:17:53.000000000 +0100
@@ -120,7 +120,7 @@
 %endif
 %endif
 #END SECOND STAGE DEPENDENCIES
-Version:        2.25.2
+Version:        2.26
 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
@@ -129,7 +129,7 @@
 # these tools as well
 #!BuildIgnore:  pwdutils
 Url:            https://www.kernel.org/pub/linux/utils/util-linux/
-Source:         
ftp://ftp.kernel.org/pub/linux/utils/util-linux/v2.25/%{_name}-%{version}.tar.xz
+Source:         
ftp://ftp.kernel.org/pub/linux/utils/util-linux/v2.26/%{_name}-%{version}.tar.xz
 Source1:        util-linux-rpmlintrc
 Source4:        raw.init
 Source5:        etc.raw
@@ -139,11 +139,12 @@
 Source9:        remote.pamd
 Source10:       su.pamd
 Source11:       su.default
-Source12:       
ftp://ftp.kernel.org/pub/linux/utils/util-linux/v2.25/%{_name}-%{version}.tar.sign
+Source12:       
ftp://ftp.kernel.org/pub/linux/utils/util-linux/v2.26/%{_name}-%{version}.tar.sign
 Source13:       %{_name}.keyring
 Source14:       runuser.pamd
+# klogconsole, http://opensuse.github.com/kiwi, 7.02.25, git 859dc050
 # TODO: split to separate package
-Source40:       klogconsole.tar.bz2
+Source40:       klogconsole.tar.xz
 # XXX: Run a program in a new session and with controlling tty
 Source22:       setctsid.c
 Source23:       setctsid.8
@@ -160,15 +161,6 @@
 Patch4:         make-sure-sbin-resp-usr-sbin-are-in-PATH.diff
 # PATCH-FEATURE-SUSE -- Report about disabled encryption to stderr.
 Patch12:        util-linux-noenc-suse.patch
-# PATCH-FIX-SECURITY util-linux-libblkid-unsafe-chars.patch bsc907434 
CVE-2014-9114 [email protected] -- libblkid: care about unsafe chars in cache
-Patch13:        util-linux-libblkid-unsafe-chars.patch
-# PATCH-FIX-SECURITY util-linux-libblkid-overflow.patch bsc907434 
CVE-2014-9114 [email protected] -- libblkid: fix possible buffer overflow
-Patch14:        util-linux-libblkid-overflow.patch
-##
-## klogconsole
-##
-Patch55:        klogconsole-quiet.patch
-Patch56:        klogconsole.diff
 BuildRoot:      %{_tmppath}/%{name}-%{version}-build
 #
 %if %build_util_linux
@@ -332,6 +324,31 @@
 %description -n libsmartcols-devel-static
 Files to develop applications using the libsmartcols library.
 
+%package -n libfdisk1
+Summary:        Filesystem detection library
+Group:          System/Filesystems
+
+%description -n libfdisk1
+Library for filesystem detection.
+
+%package -n libfdisk-devel
+Summary:        Development files for the filesystem detection library
+Group:          Development/Libraries/C and C++
+Requires:       libfdisk1 = %{version}
+
+%description -n libfdisk-devel
+Files needed to develop applications using the library for filesystem
+detection.
+
+%package -n libfdisk-devel-static
+Summary:        Development files for the filesystem detection library
+Group:          Development/Libraries/C and C++
+Requires:       libfdisk-devel = %{version}
+
+%description -n libfdisk-devel-static
+Files needed to develop applications using the library for filesystem
+detection.
+
 %lang_package
 %endif
 %if %build_util_linux_systemd
@@ -387,17 +404,10 @@
 %setup -q -n %{_name}-%{version} -b 40
 %patch4 -p1
 %patch12 -p1
-%patch13 -p1
-%patch14 -p1
 #
 # setctsid
 cp -p %{S:22} %{S:23} .
 
-pushd ../klogconsole
-%patch55 -p1
-%patch56 -p1
-popd
-
 %build
 #BEGIN CONFIG ALTER
 %if !%build_util_linux_systemd
@@ -436,7 +446,6 @@
 sed -i 's/BUILD_LSLOGINS/FALSE/
        s/BUILD_LOGGER/FALSE/
        ' misc-utils/Makemodule.am login-utils/Makemodule.am 
bash-completion/Makemodule.am
-autoreconf -f -i
 %endif
 #END FIRST STAGE MODIFICATIONS
 %else
@@ -508,14 +517,12 @@
        ' libmount/python/Makemodule.am misc-utils/Makemodule.am 
login-utils/Makemodule.am
 # Ignore dependencies on optional (and not built in second stage) libraries
 sed -i '
-       /AM_GNU_GETTEXT/d
        s/UL_REQUIRES_BUILD(\[.*\], \[libuuid\])/dnl &/
        s/UL_REQUIRES_BUILD(\[.*\], \[libsmartcols\])/dnl &/
        ' configure.ac
 sed -i '
        /SUBDIRS =/s/ po//
        ' Makefile.am
-autoreconf -f -i
 #END SECOND STAGE MODIFICATIONS
 %endif
 #
@@ -532,11 +539,13 @@
 fi
 export SUID_CFLAGS="-fpie"
 export SUID_LDFLAGS="-pie"
+export LDFLAGS="-Wl,-z,relro,-z,now"
 # override default localstatedir to /run
 # only used for volatile data
 #
 # SUSE now supports only systemd based system. We do not build
 # sysvinit-only versions of UTIL_LINUX_SYSTEMD_SOURCES utilities.
+AUTOPOINT=true autoreconf -vfi
 %configure \
   --localstatedir=/run \
   --docdir=%{_docdir}/%{_name} \
@@ -600,10 +609,8 @@
 export TS_OPT_misc_setarch_known_fail="yes"
 %endif
 #
-%if 0%{?suse_version} > 1310
 # glibc requires kernel >= 3.0, thus setarch --uname-2.6 fails on platforms 
without VDSO
 export TS_OPT_misc_setarch_known_fail="yes"
-%endif
 #
 %ifarch armv6l armv6hl aarch64
 export TS_OPT_fdisk_gpt_known_fail="yes"
@@ -850,6 +857,10 @@
 
 %postun -n libuuid1 -p /sbin/ldconfig
 
+%post -n libfdisk1 -p /sbin/ldconfig
+
+%postun -n libfdisk1 -p /sbin/ldconfig
+
 %files lang -f %{name}.lang
 %endif
 
@@ -963,12 +974,8 @@
 %{_bindir}/su
 %endif
 %if %{with enable_eject}
-%if 0%{?suse_version} <= 1310
-%verify(not mode) %attr(4750,root,audio) %{_bindir}/eject
-%else
 %{_bindir}/eject
 %endif
-%endif
 %{_bindir}/cal
 %{_bindir}/chrt
 %{_bindir}/col
@@ -1067,6 +1074,7 @@
 %verify(not mode) %attr(0755,root,tty) %{_bindir}/wall
 %{_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
@@ -1168,6 +1176,7 @@
 %{_mandir}/man8/uname26.8.gz
 %{_mandir}/man8/setctsid.8.gz
 %{_mandir}/man8/wipefs.8.gz
+%{_mandir}/man8/zramctl.8.gz
 %{_mandir}/man8/fstrim.8.gz
 %{_mandir}/man8/lsblk.8.gz
 %{_mandir}/man8/resizepart.8.gz
@@ -1286,6 +1295,23 @@
 %files -n libuuid-devel-static
 %defattr(-, root, root)
 %{_libdir}/libuuid.*a
+
+%files -n libfdisk1
+%defattr(-, root, root)
+%{_libdir}/libfdisk.so.1
+%{_libdir}/libfdisk.so.1.*
+
+%files -n libfdisk-devel
+%defattr(-, root, root)
+%{_libdir}/libfdisk.so
+%dir %{_includedir}/libfdisk
+%{_includedir}/libfdisk/libfdisk.h
+%{_libdir}/pkgconfig/fdisk.pc
+
+%files -n libfdisk-devel-static
+%defattr(-, root, root)
+%{_libdir}/libfdisk.*a
+
 %endif
 
 %if %build_util_linux_systemd

++++++ util-linux.spec ++++++
--- /var/tmp/diff_new_pack.X5VLMY/_old  2015-03-05 18:17:53.000000000 +0100
+++ /var/tmp/diff_new_pack.X5VLMY/_new  2015-03-05 18:17:53.000000000 +0100
@@ -120,7 +120,7 @@
 %endif
 %endif
 #END SECOND STAGE DEPENDENCIES
-Version:        2.25.2
+Version:        2.26
 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
@@ -129,7 +129,7 @@
 # these tools as well
 #!BuildIgnore:  pwdutils
 Url:            https://www.kernel.org/pub/linux/utils/util-linux/
-Source:         
ftp://ftp.kernel.org/pub/linux/utils/util-linux/v2.25/%{_name}-%{version}.tar.xz
+Source:         
ftp://ftp.kernel.org/pub/linux/utils/util-linux/v2.26/%{_name}-%{version}.tar.xz
 Source1:        util-linux-rpmlintrc
 Source4:        raw.init
 Source5:        etc.raw
@@ -139,11 +139,12 @@
 Source9:        remote.pamd
 Source10:       su.pamd
 Source11:       su.default
-Source12:       
ftp://ftp.kernel.org/pub/linux/utils/util-linux/v2.25/%{_name}-%{version}.tar.sign
+Source12:       
ftp://ftp.kernel.org/pub/linux/utils/util-linux/v2.26/%{_name}-%{version}.tar.sign
 Source13:       %{_name}.keyring
 Source14:       runuser.pamd
+# klogconsole, http://opensuse.github.com/kiwi, 7.02.25, git 859dc050
 # TODO: split to separate package
-Source40:       klogconsole.tar.bz2
+Source40:       klogconsole.tar.xz
 # XXX: Run a program in a new session and with controlling tty
 Source22:       setctsid.c
 Source23:       setctsid.8
@@ -160,15 +161,6 @@
 Patch4:         make-sure-sbin-resp-usr-sbin-are-in-PATH.diff
 # PATCH-FEATURE-SUSE -- Report about disabled encryption to stderr.
 Patch12:        util-linux-noenc-suse.patch
-# PATCH-FIX-SECURITY util-linux-libblkid-unsafe-chars.patch bsc907434 
CVE-2014-9114 [email protected] -- libblkid: care about unsafe chars in cache
-Patch13:        util-linux-libblkid-unsafe-chars.patch
-# PATCH-FIX-SECURITY util-linux-libblkid-overflow.patch bsc907434 
CVE-2014-9114 [email protected] -- libblkid: fix possible buffer overflow
-Patch14:        util-linux-libblkid-overflow.patch
-##
-## klogconsole
-##
-Patch55:        klogconsole-quiet.patch
-Patch56:        klogconsole.diff
 BuildRoot:      %{_tmppath}/%{name}-%{version}-build
 #
 %if %build_util_linux
@@ -332,6 +324,31 @@
 %description -n libsmartcols-devel-static
 Files to develop applications using the libsmartcols library.
 
+%package -n libfdisk1
+Summary:        Filesystem detection library
+Group:          System/Filesystems
+
+%description -n libfdisk1
+Library for filesystem detection.
+
+%package -n libfdisk-devel
+Summary:        Development files for the filesystem detection library
+Group:          Development/Libraries/C and C++
+Requires:       libfdisk1 = %{version}
+
+%description -n libfdisk-devel
+Files needed to develop applications using the library for filesystem
+detection.
+
+%package -n libfdisk-devel-static
+Summary:        Development files for the filesystem detection library
+Group:          Development/Libraries/C and C++
+Requires:       libfdisk-devel = %{version}
+
+%description -n libfdisk-devel-static
+Files needed to develop applications using the library for filesystem
+detection.
+
 %lang_package
 %endif
 %if %build_util_linux_systemd
@@ -387,17 +404,10 @@
 %setup -q -n %{_name}-%{version} -b 40
 %patch4 -p1
 %patch12 -p1
-%patch13 -p1
-%patch14 -p1
 #
 # setctsid
 cp -p %{S:22} %{S:23} .
 
-pushd ../klogconsole
-%patch55 -p1
-%patch56 -p1
-popd
-
 %build
 #BEGIN CONFIG ALTER
 %if !%build_util_linux_systemd
@@ -436,7 +446,6 @@
 sed -i 's/BUILD_LSLOGINS/FALSE/
        s/BUILD_LOGGER/FALSE/
        ' misc-utils/Makemodule.am login-utils/Makemodule.am 
bash-completion/Makemodule.am
-autoreconf -f -i
 %endif
 #END FIRST STAGE MODIFICATIONS
 %else
@@ -508,14 +517,12 @@
        ' libmount/python/Makemodule.am misc-utils/Makemodule.am 
login-utils/Makemodule.am
 # Ignore dependencies on optional (and not built in second stage) libraries
 sed -i '
-       /AM_GNU_GETTEXT/d
        s/UL_REQUIRES_BUILD(\[.*\], \[libuuid\])/dnl &/
        s/UL_REQUIRES_BUILD(\[.*\], \[libsmartcols\])/dnl &/
        ' configure.ac
 sed -i '
        /SUBDIRS =/s/ po//
        ' Makefile.am
-autoreconf -f -i
 #END SECOND STAGE MODIFICATIONS
 %endif
 #
@@ -532,11 +539,13 @@
 fi
 export SUID_CFLAGS="-fpie"
 export SUID_LDFLAGS="-pie"
+export LDFLAGS="-Wl,-z,relro,-z,now"
 # override default localstatedir to /run
 # only used for volatile data
 #
 # SUSE now supports only systemd based system. We do not build
 # sysvinit-only versions of UTIL_LINUX_SYSTEMD_SOURCES utilities.
+AUTOPOINT=true autoreconf -vfi
 %configure \
   --localstatedir=/run \
   --docdir=%{_docdir}/%{_name} \
@@ -600,10 +609,8 @@
 export TS_OPT_misc_setarch_known_fail="yes"
 %endif
 #
-%if 0%{?suse_version} > 1310
 # glibc requires kernel >= 3.0, thus setarch --uname-2.6 fails on platforms 
without VDSO
 export TS_OPT_misc_setarch_known_fail="yes"
-%endif
 #
 %ifarch armv6l armv6hl aarch64
 export TS_OPT_fdisk_gpt_known_fail="yes"
@@ -850,6 +857,10 @@
 
 %postun -n libuuid1 -p /sbin/ldconfig
 
+%post -n libfdisk1 -p /sbin/ldconfig
+
+%postun -n libfdisk1 -p /sbin/ldconfig
+
 %files lang -f %{name}.lang
 %endif
 
@@ -963,12 +974,8 @@
 %{_bindir}/su
 %endif
 %if %{with enable_eject}
-%if 0%{?suse_version} <= 1310
-%verify(not mode) %attr(4750,root,audio) %{_bindir}/eject
-%else
 %{_bindir}/eject
 %endif
-%endif
 %{_bindir}/cal
 %{_bindir}/chrt
 %{_bindir}/col
@@ -1067,6 +1074,7 @@
 %verify(not mode) %attr(0755,root,tty) %{_bindir}/wall
 %{_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
@@ -1168,6 +1176,7 @@
 %{_mandir}/man8/uname26.8.gz
 %{_mandir}/man8/setctsid.8.gz
 %{_mandir}/man8/wipefs.8.gz
+%{_mandir}/man8/zramctl.8.gz
 %{_mandir}/man8/fstrim.8.gz
 %{_mandir}/man8/lsblk.8.gz
 %{_mandir}/man8/resizepart.8.gz
@@ -1286,6 +1295,23 @@
 %files -n libuuid-devel-static
 %defattr(-, root, root)
 %{_libdir}/libuuid.*a
+
+%files -n libfdisk1
+%defattr(-, root, root)
+%{_libdir}/libfdisk.so.1
+%{_libdir}/libfdisk.so.1.*
+
+%files -n libfdisk-devel
+%defattr(-, root, root)
+%{_libdir}/libfdisk.so
+%dir %{_includedir}/libfdisk
+%{_includedir}/libfdisk/libfdisk.h
+%{_libdir}/pkgconfig/fdisk.pc
+
+%files -n libfdisk-devel-static
+%defattr(-, root, root)
+%{_libdir}/libfdisk.*a
+
 %endif
 
 %if %build_util_linux_systemd

++++++ util-linux-2.25.2.tar.xz -> util-linux-2.26.tar.xz ++++++
++++ 629596 lines of diff (skipped)

-- 
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to