]> git.pld-linux.org Git - packages/util-linux.git/blame - util-linux.spec
- fix for hwclock on ppc,
[packages/util-linux.git] / util-linux.spec
CommitLineData
58818f3f 1#
679c47c6 2# Conditional build:
2df4e7a0 3# _without_crypto - without kerneli cryptography
5c9c59ca
JB
4# _with_pivot_root - build pivot_root utility (auto-selected if 2.4 kernel)
5# _without_dist_kernel - do nothing for now
ca49ce52 6# _with_uClibc - don't build few utilities
58818f3f 7#
52449440 8# TODO:
11815f0a 9# - move raw to /sbin (potentially can be used before mount partitions)??
55b97da8 10
ad185413 11%define _kernel_ver %(grep UTS_RELEASE %{_kernelsrcdir}/include/linux/version.h 2>/dev/null | cut -d'"' -f2)
eebdeb03 12%define _kernel24 %(echo %{_kernel_ver} | grep -q '2\.[012]\.' ; echo $?)
ad185413 13%if %{_kernel24}
14%define _kernel_series 2.4
5c9c59ca 15%define _with_pivot_root 1
ad185413 16%else
17%define _kernel_series 2.2
18%endif
4fa03ed3 19%define _release 4
ad185413 20
47bc4ed8 21Summary: Collection of basic system utilities for Linux
22