This commit is contained in:
Karel Zak 2015-12-10 10:12:25 +01:00
commit 9f9bfbd169

View file

@ -2,7 +2,7 @@
Summary: A collection of basic system utilities
Name: util-linux
Version: 2.26.2
Release: 3%{?dist}
Release: 4%{?dist}
License: GPLv2 and GPLv2+ and LGPLv2+ and BSD with advertising and Public Domain
Group: System Environment/Base
URL: http://en.wikipedia.org/wiki/Util-linux
@ -27,6 +27,12 @@ Buildrequires: libuser-devel
BuildRequires: libcap-ng-devel
BuildRequires: python3-devel
# due to patch to build-sys
BuildRequires: gettext-devel
BuildRequires: automake
BuildRequires: autoconf
BuildRequires: libtool
### Sources
Source0: ftp://ftp.kernel.org/pub/linux/utils/util-linux/v2.26/util-linux-%{upstream_version}.tar.xz
Source1: util-linux-login.pamd
@ -82,6 +88,8 @@ Patch0: 2.23-login-lastlog-create.patch
### Upstream patches
# 1248115 - sfdisk: you cannot change a partition into an extended one or vice versa
Patch1: 2.27-libfdisk-mbr-ext.patch
# 1223894 - util-linux FTBFS during stage1 bootstrap
Patch2: 2.27-buildsys-without.patch
%description
The util-linux package contains a large variety of low-level system
@ -250,6 +258,7 @@ mountinfo, etc) and mount filesystems.
%prep
%autosetup -p1 -n %{name}-%{upstream_version}
./autogen.sh
%build
unset LINGUAS || :
@ -884,6 +893,9 @@ exit 0
%{_libdir}/python*/site-packages/libmount/*
%changelog
* Thu Dec 10 2015 Karel Zak <kzak@redhat.com> 2.26.2-4
- fix #1223894 - util-linux FTBFS during stage1 bootstrap
* Thu Aug 13 2015 Karel Zak <kzak@redhat.com> 2.26.2-3
- fix #1248115 - sfdisk: you cannot change a partition into an extended one or vice versa
- fix dates in the spec file