packages: util-linux-ng/util-linux-ng.spec - added fallocate bcond
qboosh
qboosh at pld-linux.org
Fri Apr 16 07:43:12 CEST 2010
Author: qboosh Date: Fri Apr 16 05:43:12 2010 GMT
Module: packages Tag: HEAD
---- Log message:
- added fallocate bcond
---- Files affected:
packages/util-linux-ng:
util-linux-ng.spec (1.61 -> 1.62)
---- Diffs:
================================================================
Index: packages/util-linux-ng/util-linux-ng.spec
diff -u packages/util-linux-ng/util-linux-ng.spec:1.61 packages/util-linux-ng/util-linux-ng.spec:1.62
--- packages/util-linux-ng/util-linux-ng.spec:1.61 Mon Mar 22 19:22:42 2010
+++ packages/util-linux-ng/util-linux-ng.spec Fri Apr 16 07:43:06 2010
@@ -4,7 +4,8 @@
%bcond_without initrd # don't build initrd version
%bcond_with uClibc # link initrd version with static glibc instead of uClibc
%bcond_without dietlibc # link initrd version with dietlibc instead of uClibc
-%bcond_without selinux # build without SELinux support
+%bcond_without selinux # SELinux support
+%bcond_without fallocate # fallocate utility (needs glibc 2.11 to compile)
#
Summary: Collection of basic system utilities for Linux
Summary(de.UTF-8): Sammlung von grundlegenden Systemdienstprogrammen für Linux
@@ -35,6 +36,7 @@
BuildRequires: autoconf
BuildRequires: automake
BuildRequires: gettext-devel
+%{?with_fallocate:BuildRequires: glibc-devel >= 6:2.11}
BuildRequires: intltool
%{?with_selinux:BuildRequires: libselinux-devel}
%{?with_selinux:BuildRequires: libsepol-devel}
@@ -533,15 +535,16 @@
%{?with_dietlibc:CC="diet %{__cc}"} \
--disable-shared \
--enable-static \
- --disable-use-tty-group \
+ --disable-fsck \
--disable-login-utils \
--disable-schedutils \
+ --disable-silent-rules \
+ --disable-use-tty-group \
--disable-wall \
- --disable-fsck \
- --without-pam \
- --without-selinux \
--without-audit \
- --without-ncurses
+ --without-ncurses \
+ --without-pam \
+ --without-selinux
for lib in shlibs/blkid shlibs/uuid; do
%{__make} -C $lib \
@@ -576,8 +579,8 @@
%configure \
--bindir=/bin \
--sbindir=/sbin \
- --with-pam \
- --with%{!?with_selinux:out}-selinux \
+ %{!?with_fallocate:--disable-fallocate} \
+ --disable-silent-rules \
--disable-use-tty-group \
--disable-wall \
--enable-kill \
@@ -586,7 +589,9 @@
--enable-partx \
--enable-rdev \
--enable-write \
- --with-audit
+ --with-audit \
+ --with-pam \
+ --with%{!?with_selinux:out}-selinux
%{__make}
@@ -745,7 +750,7 @@
%attr(755,root,root) %{_bindir}/column
%attr(755,root,root) %{_bindir}/ddate
%attr(755,root,root) %{_bindir}/flock
-%attr(755,root,root) %{_bindir}/fallocate
+%{?with_fallocate:%attr(755,root,root) %{_bindir}/fallocate}
%attr(755,root,root) %{_bindir}/getopt
%attr(755,root,root) %{_bindir}/hexdump
%attr(755,root,root) %{_bindir}/ionice
@@ -816,7 +821,7 @@
%{_mandir}/man1/column.1*
%{_mandir}/man1/ddate.1*
%{_mandir}/man1/dmesg.1*
-%{_mandir}/man1/fallocate.1*
+%{?with_fallocate:%{_mandir}/man1/fallocate.1*}
%{_mandir}/man1/flock.1*
%{_mandir}/man1/getopt.1*
%{_mandir}/man1/hexdump.1*
@@ -1341,6 +1346,9 @@
All persons listed below can be reached at <cvs_login>@pld-linux.org
$Log$
+Revision 1.62 2010/04/16 05:43:06 qboosh
+- added fallocate bcond
+
Revision 1.61 2010/03/22 18:22:42 arekm
- up to 2.17.2
================================================================
---- CVS-web:
http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/packages/util-linux-ng/util-linux-ng.spec?r1=1.61&r2=1.62&f=u
More information about the pld-cvs-commit
mailing list