--- /dev/null
+--- util-linux-2.29.2/configure.ac.orig 2017-03-28 17:43:59.234397364 +0200
++++ util-linux-2.29.2/configure.ac 2017-03-28 17:44:12.451063880 +0200
+@@ -460,8 +460,8 @@
+
+ AC_CHECK_LIB([rtas], [rtas_get_sysparm], [
+ RTAS_LIBS="-lrtas"
+- AC_DEFINE_UNQUOTED([HAVE_LIBRTAS], [1], [Define if librtas exists]), [],
+-])
++ AC_DEFINE_UNQUOTED([HAVE_LIBRTAS], [1], [Define if librtas exists])]
++)
+ AC_SUBST([RTAS_LIBS])
+
+
---- util-linux-2.12p/disk-utils/fdformat.8.ide 2005-04-25 11:39:19.528340384 +0200
-+++ util-linux-2.12p/disk-utils/fdformat.8 2005-04-25 11:44:07.189609224 +0200
+--- util-linux-2.29.2/disk-utils/fdformat.8.orig 2017-02-22 11:16:55.235092833 +0100
++++ util-linux-2.29.2/disk-utils/fdformat.8 2017-03-28 16:45:00.661104437 +0200
@@ -43,6 +43,11 @@
autodetected earlier. In this case, use
.BR setfdprm (8)
+
.SH OPTIONS
.TP
- \fB\-n\fR, \fB\-\-no\-verify\fR
-@@ -54,6 +58,7 @@
+ \fB\-f\fR, \fB\-\-from\fR \fIN\fR
+@@ -65,6 +70,7 @@
+ .SH "SEE ALSO"
.BR fd (4),
- .BR setfdprm (8),
+ .BR emkfs (8),
++.BR floppy (8),
.BR mkfs (8),
--.BR emkfs (8)
-+.BR emkfs (8),
-+.BR floppy (8)
+ .BR setfdprm (8)
.SH AUTHOR
- Werner Almesberger (almesber@nessie.cs.id.ethz.ch)
Summary(tr.UTF-8): Temel sistem araçları
Summary(uk.UTF-8): Набір базових системних утиліт для Linux
Name: util-linux
-Version: 2.29
-Release: 2
+Version: 2.29.2
+Release: 1
License: GPL v2+
Group: Applications/System
# https://github.com/karelzak/util-linux (GitHub backup)
-Source0: https://www.kernel.org/pub/linux/utils/util-linux/v%{version}/%{name}-%{version}.tar.xz
-# Source0-md5: 07b6845f48a421ad5844aa9d58edb837
+Source0: https://www.kernel.org/pub/linux/utils/util-linux/v2.29/%{name}-%{version}.tar.xz
+# Source0-md5: 63c40c2068fcbb7e1d5c1d281115d973
Source1: http://www.mif.pg.gda.pl/homepages/ankry/man-PLD/%{name}-non-english-man-pages.tar.bz2
# Source1-md5: 3c940c7e7fe699eaa2ddb1bffb3de2fe
Source2: login.pamd
Patch2: %{name}-login-lastlog.patch
Patch3: %{name}-procpartitions.patch
Patch4: su-paths.patch
-Patch5: %{name}-diet.patch
+Patch5: %{name}-ac.patch
+Patch6: %{name}-diet.patch
URL: https://github.com/karelzak/util-linux
BuildRequires: audit-libs-devel >= 1.0.6
BuildRequires: autoconf >= 2.60
BuildRequires: gtk-doc >= 1.10
BuildRequires: gtk-doc-automake >= 1.10
BuildRequires: libcap-ng-devel
+%ifarch ppc ppc64
+# for lscpu
+BuildRequires: librtas-devel
+%endif
%{?with_selinux:BuildRequires: libselinux-devel >= 2.0}
%{?with_selinux:BuildRequires: libsepol-devel}
BuildRequires: libtool >= 2:2.2
%patch2 -p1
%patch3 -p1
%patch4 -p1
-%{?with_initrd:%patch5 -p1}
+%patch5 -p1
+%{?with_initrd:%patch6 -p1}
cp -p %{SOURCE10} nologin.c