]> git.pld-linux.org Git - packages/enca.git/blobdiff - enca.spec
- unified bcond header
[packages/enca.git] / enca.spec
index 542d101490a77991a64ac90ab714eae388e24493..e13d10752c4655aef79daa705d14cc78be70e789 100644 (file)
--- a/enca.spec
+++ b/enca.spec
@@ -1,3 +1,7 @@
+#
+# Conditional build:
+%bcond_without recode  # build without recode support
+#
 Summary:       Extremely Naive Charset Analyser
 Summary(pl):   Skrajnie naiwny analizator zestawów znaków
 Name:          enca
@@ -9,7 +13,7 @@ Source0:       http://trific.ath.cx/Ftp/enca/%{name}-%{version}.tar.bz2
 # Source0-md5: 01dd5dbd4154c85cbf4a42d3580c517f
 URL:           http://trific.ath.cx/software/enca/
 BuildRequires: automake
-BuildRequires: recode-devel
+%{?with_recode:BuildRequires:  recode-devel}
 Requires:      /bin/mktemp
 BuildRoot:     %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
 
This page took 0.063944 seconds and 4 git commands to generate.