# TODO:
# - make some README.PLD with system features description
#
+%bcond_with diet
+#
%define iana_etc_ver 2.30
Summary: Simple setup files
Summary(pt_BR.UTF-8): Vários arquivos básicos de configuração
Summary(tr.UTF-8): Basit kurulum dosyaları
Name: setup
-Version: 2.8.4
-Release: 2
+Version: 2.8.5
+Release: 1
License: Public Domain, partially BSD-like
Group: Base
Source0: %{name}-%{version}.tar.bz2
-# Source0-md5: 62f0ab5eaba651c291e1d76919530673
+# Source0-md5: 4f995facd983c8e887ff3b8c68a73b19
# http://sethwklein.net/iana-etc
Source1: http://sethwklein.net/projects/iana-etc/downloads/iana-etc-%{iana_etc_ver}.tar.bz2
# Source1-md5: 3ba3afb1d1b261383d247f46cb135ee8
# This is source of non-iana changes in services file
Patch1: %{name}-services.patch
Patch2: protocols-fmt.patch
+%if %{with diet}
BuildRequires: dietlibc-static
+%else
+BuildRequires: glibc-static
+%endif
BuildRequires: gawk
Requires: FHS >= 2.3-24.1
Provides: group(fuse)
%{__sed} -i -e 's,[ \t]\+$,,' iana-etc/{services,protocols}
%{__make} \
- CC="diet %{__cc}" \
+ CC="%{?with_diet:diet }%{__cc}" \
OPT_FLAGS="%{rpmcflags} -Os" \
LDFLAGS="%{rpmcflags} %{rpmldflags}"