]> git.pld-linux.org Git - packages/util-linux.git/blame_incremental - util-linux.spec
- updated to 2.11w: translations updates, fixes for "right" endian, sparc,
[packages/util-linux.git] / util-linux.spec
... / ...
CommitLineData
1#
2# Conditional build:
3# _without_crypto - without kerneli cryptography
4# _with_pivot_root - build pivot_root utility (auto-selected if 2.4 kernel)
5# _without_dist_kernel - do nothing for now
6# _with_uClibc - don't build few utilities
7#
8# TODO:
9# - move raw to /sbin (potentially can be used before mount partitions)??
10
11%define _kernel_ver %(grep UTS_RELEASE %{_kernelsrcdir}/include/linux/version.h 2>/dev/null | cut -d'"' -f2)
12%define _kernel24 %(echo %{_kernel_ver} | grep -q '2\.[012]\.' ; echo $?)
13%if %{_kernel24}
14%define _kernel_series 2.4
15%define _with_pivot_root 1
16%else
17%define _kernel_series 2.2
18%endif
19
20Summary: Collection of basic system utilities for Linux
21