]> git.pld-linux.org Git - packages/barnyard2.git/commitdiff
- unified pgsql bcond name master
authorJakub Bogusz <qboosh@pld-linux.org>
Mon, 11 May 2020 16:44:07 +0000 (18:44 +0200)
committerJakub Bogusz <qboosh@pld-linux.org>
Mon, 11 May 2020 16:44:07 +0000 (18:44 +0200)
barnyard2.spec

index e4df4443e53680cd7fb6bcd17aec851026b6c368..9b18cb235a2b7ddcf8724f933ac46def37f12ad1 100644 (file)
@@ -1,7 +1,7 @@
-
+#
 # Conditional build:
-%bcond_without  mysql          # don't build support for MySQL
-%bcond_without postgresql      # don't build support for PostgreSQL
+%bcond_without  mysql  # MySQL support
+%bcond_without pgsql   # PostgreSQL support
 
 %define                subver  beta2
 %define                rel             1
@@ -19,8 +19,8 @@ URL:          https://github.com/firnsy/barnyard2
 BuildRequires: autoconf
 BuildRequires: automake
 BuildRequires: libtool
-%{?with_mysql:BuildRequires:           mysql-devel}
-%{?with_postgresql:BuildRequires:      postgresql-devel}
+%{?with_mysql:BuildRequires:   mysql-devel}
+%{?with_pgsql:BuildRequires:   postgresql-devel}
 BuildRoot:     %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
 
 %description
@@ -33,8 +33,8 @@ file (or waldo file in the snort world) to track where it is. In the
 event the barnyard process ends while a waldo file is in use, barnyard
 will resume processing at the last entry as listed in the waldo file.
 
-%{?with_mysql:barnyard2 binary compiled with mysql support.}
-%{?with_postgresql:barnyard2 binary compiled with postgresql support.}
+%{?with_mysql:barnyard2 binary compiled with MySQL support.}
+%{?with_pgsql:barnyard2 binary compiled with PostgreSQL support.}
 
 %prep
 %setup -qc
@@ -48,7 +48,7 @@ mv firnsy-%{name}-*/* .
 %{__automake} --force-missing
 %configure \
        --sysconfdir=%{_sysconfdir}/snort \
-       %{?with_postgresql:--with-postgresql} \
+       %{?with_pgsql:--with-postgresql} \
        %{?with_mysql:--with-mysql-libraries=%{_libdir}} \
 
 %{__make}
This page took 0.065625 seconds and 4 git commands to generate.