]> git.pld-linux.org Git - packages/dar.git/commitdiff
- add bcond_without ea
authortwittner <twittner@pld-linux.org>
Thu, 5 Aug 2004 16:34:12 +0000 (16:34 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
Changed files:
    dar.spec -> 1.35

dar.spec

index 21c78f0599684ce8b3f572c567f877c06e4db51a..a4adae09f2c8ade40895816b96c5cb1048f2a987 100644 (file)
--- a/dar.spec
+++ b/dar.spec
@@ -1,5 +1,6 @@
 #
 # Conditional build:
+%bcond_without ea              # build without support for linux extented attributes
 %bcond_without static  # build without dar_static
 #
 Summary:       dar makes backup of a directory tree and files
@@ -13,7 +14,7 @@ Source0:      http://dl.sourceforge.net/%{name}/%{name}-%{version}.tar.gz
 # Source0-md5: 032306021f6a66ef060260acd39da3dd
 Patch0:                %{name}-opt.patch
 URL:           http://dar.linux.free.fr/
-BuildRequires: attr-devel >= 2.4.16-3
+%{?with_ea:BuildRequires:      attr-devel >= 2.4.16-3}
 BuildRequires: autoconf >= 2.59
 BuildRequires: automake
 BuildRequires: bzip2-devel
@@ -25,7 +26,7 @@ BuildRequires:        libstdc++-devel
 BuildRequires: libtool >= 2:1.4d
 BuildRequires: zlib-devel
 %if %{with static}
-BuildRequires: attr-static
+%{?with_ea:BuildRequires:      attr-static}
 BuildRequires: bzip2-static
 BuildRequires: glibc-static
 BuildRequires: libstdc++-static
@@ -225,8 +226,8 @@ Statyczna wersja biblioteki dar.
 %{__autoheader}
 %{__automake}
 %configure \
-       --enable-ea-support \
-%{!?with_static:--disable-dar-static} \
+       %{?with_ea:--enable-ea-support} \
+       %{!?with_static:--disable-dar-static} \
        --disable-upx
 %{__make}
 
This page took 0.105395 seconds and 4 git commands to generate.