summaryrefslogtreecommitdiff
path: root/vtun.spec
diff options
context:
space:
mode:
authoreothane2004-02-15 15:10:51 (GMT)
committercvs2git2012-06-24 12:13:13 (GMT)
commitc2ef35e02ac13f24a3436bbaf5f7bc81e212f376 (patch)
tree33b008681dd389af55403ec103db3e8e25accf56 /vtun.spec
parent085cedc047d7e0bcff9f7711556a75603b9edbc5 (diff)
downloadvtun-c2ef35e02ac13f24a3436bbaf5f7bc81e212f376.zip
vtun-c2ef35e02ac13f24a3436bbaf5f7bc81e212f376.tar.gz
- bcond style, changelog cleanups
Changed files: vtun.spec -> 1.56
Diffstat (limited to 'vtun.spec')
-rw-r--r--vtun.spec13
1 files changed, 7 insertions, 6 deletions
diff --git a/vtun.spec b/vtun.spec
index 12ae80d..be5a1e7 100644
--- a/vtun.spec
+++ b/vtun.spec
@@ -1,6 +1,7 @@
+#
# Conditional build:
-# _without_ssl - build without encryption ability
-
+%bcond_without ssl # build without encryption ability
+#
Summary: Virtual tunnel over TCP/IP networks
Summary(pl): Wirtualne tunele poprzez sieci TCP/IP
Name: vtun
@@ -25,12 +26,12 @@ BuildRequires: automake
BuildRequires: bison
BuildRequires: flex
BuildRequires: lzo-devel
-%{!?_without_ssl:BuildRequires: openssl-devel >= 0.9.7c}
+%{?with_ssl:BuildRequires: openssl-devel >= 0.9.7c}
BuildRequires: zlib-devel
PreReq: rc-scripts
Requires(post,preun): /sbin/chkconfig
-BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
Obsoletes: vppp
+BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
%define _localstatedir /var
@@ -61,8 +62,8 @@ protokołów szeregowych.
%{__autoheader}
%{__autoconf}
%configure \
- %{!?_without_ssl:--with-crypto-headers=%{_includedir}/openssl} \
- %{?_without_ssl:--disable-ssl} \
+ %{?with_ssl:--with-crypto-headers=%{_includedir}/openssl} \
+ %{!?with_ssl:--disable-ssl} \
--enable-lzo
%{__make}