]> git.pld-linux.org Git - packages/util-linux.git/commitdiff
- rel 1; disable libmount for initrd (dietlibc doesn't support required modifiers) auto/th/util-linux-2_20_1-1
authorArkadiusz Miśkiewicz <arekm@maven.pl>
Sun, 27 Nov 2011 20:55:06 +0000 (20:55 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
Changed files:
    util-linux-build.patch -> 1.1
    util-linux.spec -> 1.330

util-linux-build.patch [new file with mode: 0644]
util-linux.spec

diff --git a/util-linux-build.patch b/util-linux-build.patch
new file mode 100644 (file)
index 0000000..85689d7
--- /dev/null
@@ -0,0 +1,11 @@
+--- util-linux-2.20.1/configure.ac~    2011-11-27 21:36:59.000000000 +0100
++++ util-linux-2.20.1/configure.ac     2011-11-27 21:44:54.089830949 +0100
+@@ -491,7 +491,7 @@
+   AC_DEFINE([HAVE_SCANF_AS_MODIFIER], [1], [scanf %as modifier]) ;;
+ *)
+   AC_MSG_RESULT([no])
+-  if "x$build_libmount" = xyes; then
++  if test "x$build_libmount" = xyes; then
+     AC_MSG_WARN([%as or %ms for sscanf() not found; do not build libmount])
+     build_libmount=no
+   fi
index d5b2ab0bcd873480a3c6429d1673b78ba687a213..425d47fa8c3f6bc071a6d864692d5ae210bb4331 100644 (file)
@@ -30,7 +30,7 @@ Summary(tr.UTF-8):    Temel sistem araçları
 Summary(uk.UTF-8):     Набір базових системних утиліт для Linux
 Name:          util-linux
 Version:       2.20.1
-Release:       0.1
+Release:       1
 License:       GPL
 Group:         Applications/System
 #Source0:      http://ftp.kernel.org/pub/linux/utils/util-linux/v2.20/%{name}-%{version}.tar.bz2
@@ -54,6 +54,7 @@ Patch8:               %{name}-procpartitions.patch
 Patch9:                %{name}-swaponsymlink.patch
 Patch10:       %{name}-diet.patch
 Patch11:       no-openat.patch
+Patch12:       %{name}-build.patch
 URL:           http://userweb.kernel.org/~kzak/util-linux/
 BuildRequires: audit-libs-devel >= 1.0.6
 BuildRequires: autoconf >= 2.60
@@ -635,6 +636,7 @@ etykietę lub UUID - statycznie skonsolidowane na potrzeby initrd.
 %if %{without partx}
 %patch11 -p1
 %endif
+%patch12 -p1
 
 %if "%{pld_release}" != "ac"
 sed -i -e 's/-lncursesw/-lncursesw -ltinfow/' configure.ac
@@ -665,6 +667,7 @@ export CPPFLAGS="%{rpmcppflags} -I/usr/include/ncurses -DHAVE_LSEEK64_PROTOTYPE
        --disable-shared \
        --enable-static \
        --disable-fsck \
+       --disable-libmount \
        --disable-login-utils \
        --disable-schedutils \
        --disable-silent-rules \
@@ -680,7 +683,7 @@ sed -i -e 's/#define HAVE_WIDECHAR 1//' config.h
 
 sed -i -e 's/ cal\$(EXEEXT) / /; s/ lsblk\$(EXEEXT)//' misc-utils/Makefile
 
-for dir in libblkid libmount libuuid disk-utils misc-utils fsck fdisk schedutils hwclock; do
+for dir in libblkid libuuid disk-utils misc-utils fsck fdisk schedutils hwclock; do
        %{__make} -C $dir \
        %if %{with uClibc}
                LDFLAGS="-Wl,-static"
@@ -1416,11 +1419,6 @@ fi
 %{_libdir}/libmount.a
 
 %if %{with initrd} && %{with dietlibc}
-%files -n libmount-dietlibc
-%defattr(644,root,root,755)
-%{dietlibdir}/libmount.a
-%endif
-
 %files -n fsck
 %defattr(644,root,root,755)
 %attr(755,root,root) /sbin/fsck
This page took 0.086422 seconds and 4 git commands to generate.