Переглянути джерело

allow one to enable largefile support

Ralf S. Engelschall 17 роки тому
батько
коміт
5e71bc4312
1 змінених файлів з 8 додано та 1 видалено
  1. 8 1
      findutils/findutils.spec

+ 8 - 1
findutils/findutils.spec

@@ -32,7 +32,10 @@ Class:        BASE
 Group:        ShellUtils
 License:      GPL
 Version:      4.2.33
-Release:      20080214
+Release:      20080221
+
+#   package options
+%option       with_largefile  no
 
 #   list of sources
 Source0:      ftp://ftp.gnu.org/gnu/findutils/findutils-%{version}.tar.gz
@@ -72,7 +75,11 @@ AutoReqProv:  no
         --libexecdir=%{l_prefix}/libexec/findutils \
         --datarootdir=%{l_prefix} \
         --localstatedir=%{l_prefix}/var/findutils \
+%if "%{with_largefile}" == "yes"
+        --enable-largefile \
+%else
         --disable-largefile \
+%endif
         --disable-nls
     %{l_make} %{l_mflags}