2.25-0.1: upgrade

This commit is contained in:
Karel Zak 2014-06-19 14:39:55 +02:00
parent 5c303e7460
commit b06e73cfce
3 changed files with 55 additions and 19 deletions

1
.gitignore vendored
View File

@ -31,3 +31,4 @@
/util-linux-2.24.tar.xz /util-linux-2.24.tar.xz
/util-linux-2.24.1.tar.xz /util-linux-2.24.1.tar.xz
/util-linux-2.24.2.tar.xz /util-linux-2.24.2.tar.xz
/util-linux-2.25-rc1.tar.xz

View File

@ -1 +1 @@
3f191727a0d28f7204b755cf1b6ea0aa util-linux-2.24.2.tar.xz fd0c219f2c2cc765a9c6a29cd96fb091 util-linux-2.25-rc1.tar.xz

View File

@ -1,16 +1,15 @@
### Header ### Header
Summary: A collection of basic system utilities Summary: A collection of basic system utilities
Name: util-linux Name: util-linux
Version: 2.24.2 Version: 2.25
Release: 6%{?dist} Release: 0.1%{?dist}
License: GPLv2 and GPLv2+ and LGPLv2+ and BSD with advertising and Public Domain License: GPLv2 and GPLv2+ and LGPLv2+ and BSD with advertising and Public Domain
Group: System Environment/Base Group: System Environment/Base
URL: http://en.wikipedia.org/wiki/Util-linux URL: http://en.wikipedia.org/wiki/Util-linux
%define upstream_version %{version} %define upstream_version %{version}-rc1
### Macros ### Macros
%define cytune_archs %{ix86} alpha %{arm}
%define compldir %{_datadir}/bash-completion/completions/ %define compldir %{_datadir}/bash-completion/completions/
### Dependencies ### Dependencies
@ -71,6 +70,7 @@ Requires: audit-libs >= 1.0.6
Requires: libuuid = %{version}-%{release} Requires: libuuid = %{version}-%{release}
Requires: libblkid = %{version}-%{release} Requires: libblkid = %{version}-%{release}
Requires: libmount = %{version}-%{release} Requires: libmount = %{version}-%{release}
Requires: libsmartcols = %{version}-%{release}
### Ready for upstream? ### Ready for upstream?
### ###
@ -84,6 +84,27 @@ others, Util-linux contains the fdisk configuration tool and the login
program. program.
%package -n libsmartcols
Summary: Formatting library for ls-like programs.
Group: Development/Libraries
License: LGPLv2+
%description -n libsmartcols
This is library for ls-like terminal programs, part of util-linux.
%package -n libsmartcols-devel
Summary: Formatting library for ls-like programs.
Group: Development/Libraries
License: LGPLv2+
Requires: libsmartcols = %{version}-%{release}
Requires: pkgconfig
%description -n libsmartcols-devel
This is development library and headers for ls-like terminal programs,
part of util-linux.
%package -n libmount %package -n libmount
Summary: Device mounting library Summary: Device mounting library
Group: Development/Libraries Group: Development/Libraries
@ -213,19 +234,16 @@ export SUID_LDFLAGS="-pie -Wl,-z,relro -Wl,-z,now"
--disable-silent-rules \ --disable-silent-rules \
--disable-bfs \ --disable-bfs \
--disable-pg \ --disable-pg \
--enable-socket-activation \
--enable-chfn-chsh \ --enable-chfn-chsh \
--enable-write \ --enable-write \
--enable-raw \ --enable-raw \
--with-python=3 \ --with-python=3 \
--with-systemd \
--with-udev \ --with-udev \
--with-selinux \ --with-selinux \
--with-audit \ --with-audit \
--with-utempter \ --with-utempter \
--disable-makeinstall-chown \ --disable-makeinstall-chown \
%ifnarch %cytune_archs
--disable-cytune \
%endif
%ifarch s390 s390x %ifarch s390 s390x
--disable-hwclock \ --disable-hwclock \
--disable-fdformat --disable-fdformat
@ -332,7 +350,7 @@ rmdir ${RPM_BUILD_ROOT}%{_datadir}/doc/util-linux/getopt
ln -sf /proc/mounts %{buildroot}/etc/mtab ln -sf /proc/mounts %{buildroot}/etc/mtab
# remove static libs # remove static libs
rm -f $RPM_BUILD_ROOT%{_libdir}/lib{uuid,blkid,mount}.a rm -f $RPM_BUILD_ROOT%{_libdir}/lib{uuid,blkid,mount,smartcols}.a
# find MO files # find MO files
%find_lang %name %find_lang %name
@ -342,11 +360,11 @@ mv %{name}.lang %{name}.files
# create list of setarch(8) symlinks # create list of setarch(8) symlinks
find $RPM_BUILD_ROOT%{_bindir}/ -regextype posix-egrep -type l \ find $RPM_BUILD_ROOT%{_bindir}/ -regextype posix-egrep -type l \
-regex ".*(linux32|linux64|s390|s390x|i386|ppc|ppc64|ppc32|sparc|sparc64|sparc32|sparc32bash|mips|mips64|mips32|ia64|x86_64)$" \ -regex ".*(linux32|linux64|s390|s390x|i386|ppc|ppc64|ppc32|sparc|sparc64|sparc32|sparc32bash|mips|mips64|mips32|ia64|x86_64|uname26)$" \
-printf "%{_bindir}/%f\n" >> %{name}.files -printf "%{_bindir}/%f\n" >> %{name}.files
find $RPM_BUILD_ROOT%{_mandir}/man8 -regextype posix-egrep \ find $RPM_BUILD_ROOT%{_mandir}/man8 -regextype posix-egrep \
-regex ".*(linux32|linux64|s390|s390x|i386|ppc|ppc64|ppc32|sparc|sparc64|sparc32|sparc32bash|mips|mips64|mips32|ia64|x86_64)\.8.*" \ -regex ".*(linux32|linux64|s390|s390x|i386|ppc|ppc64|ppc32|sparc|sparc64|sparc32|sparc32bash|mips|mips64|mips32|ia64|x86_64|uname26)\.8.*" \
-printf "%{_mandir}/man8/%f*\n" >> %{name}.files -printf "%{_mandir}/man8/%f*\n" >> %{name}.files
%post %post
@ -391,6 +409,9 @@ done
%post -n libmount -p /sbin/ldconfig %post -n libmount -p /sbin/ldconfig
%postun -n libmount -p /sbin/ldconfig %postun -n libmount -p /sbin/ldconfig
%post -n libsmartcols -p /sbin/ldconfig
%postun -n libsmartcols -p /sbin/ldconfig
%pre -n uuidd %pre -n uuidd
getent group uuidd >/dev/null || groupadd -r uuidd getent group uuidd >/dev/null || groupadd -r uuidd
getent passwd uuidd >/dev/null || \ getent passwd uuidd >/dev/null || \
@ -462,6 +483,7 @@ exit 0
%{_bindir}/lsblk %{_bindir}/lsblk
%{_bindir}/lscpu %{_bindir}/lscpu
%{_bindir}/lslocks %{_bindir}/lslocks
%{_bindir}/lslogins
%{_bindir}/mcookie %{_bindir}/mcookie
%{_bindir}/mesg %{_bindir}/mesg
%{_bindir}/more %{_bindir}/more
@ -513,6 +535,7 @@ exit 0
%{_mandir}/man1/login.1* %{_mandir}/man1/login.1*
%{_mandir}/man1/look.1* %{_mandir}/man1/look.1*
%{_mandir}/man1/lscpu.1* %{_mandir}/man1/lscpu.1*
%{_mandir}/man1/lslogins.1*
%{_mandir}/man1/mcookie.1* %{_mandir}/man1/mcookie.1*
%{_mandir}/man1/mesg.1* %{_mandir}/man1/mesg.1*
%{_mandir}/man1/more.1* %{_mandir}/man1/more.1*
@ -540,6 +563,7 @@ exit 0
%{_mandir}/man1/whereis.1* %{_mandir}/man1/whereis.1*
%{_mandir}/man1/write.1* %{_mandir}/man1/write.1*
%{_mandir}/man5/fstab.5* %{_mandir}/man5/fstab.5*
%{_mandir}/man5/terminal-colors.d.5*
%{_mandir}/man8/addpart.8* %{_mandir}/man8/addpart.8*
%{_mandir}/man8/agetty.8* %{_mandir}/man8/agetty.8*
%{_mandir}/man8/blkdiscard.8* %{_mandir}/man8/blkdiscard.8*
@ -650,6 +674,7 @@ exit 0
%{compldir}/ipcrm %{compldir}/ipcrm
%{compldir}/ipcs %{compldir}/ipcs
%{compldir}/isosize %{compldir}/isosize
%{compldir}/last
%{compldir}/ldattach %{compldir}/ldattach
%{compldir}/logger %{compldir}/logger
%{compldir}/look %{compldir}/look
@ -724,13 +749,6 @@ exit 0
%{_bindir}/sunhostid %{_bindir}/sunhostid
%endif %endif
%ifarch %cytune_archs
%{_bindir}/cytune
%{_mandir}/man8/cytune.8*
%{compldir}/cytune
%endif
%files -n uuidd %files -n uuidd
%defattr(-,root,root) %defattr(-,root,root)
%doc Documentation/licenses/COPYING.GPLv2 %doc Documentation/licenses/COPYING.GPLv2
@ -742,6 +760,19 @@ exit 0
%{compldir}/uuidd %{compldir}/uuidd
%files -n libsmartcols
%defattr(-,root,root)
%doc libsmartcols/COPYING
%{_libdir}/libsmartcols.so.*
%files -n libsmartcols-devel
%defattr(-,root,root)
%doc libsmartcols/COPYING
%{_libdir}/libsmartcols.so
%{_includedir}/libsmartcols
%{_libdir}/pkgconfig/smartcols.pc
%files -n libmount %files -n libmount
%defattr(-,root,root) %defattr(-,root,root)
%doc libmount/COPYING %doc libmount/COPYING
@ -799,6 +830,10 @@ exit 0
%{_libdir}/python*/site-packages/libmount/* %{_libdir}/python*/site-packages/libmount/*
%changelog %changelog
* Thu Jun 19 2014 Karel Zak <kzak@redhat.com> 2.25-0.1
- upgrade to release 2.25-rc1
ftp://ftp.kernel.org/pub/linux/utils/util-linux/v2.25/v2.25-ReleaseNotes
* Sun Jun 08 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.24.2-6 * Sun Jun 08 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.24.2-6
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild - Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild