]> granicus.if.org Git - pdns/commitdiff
Create tinydns backend packages for CentOS 7
authorPieter Lexis <pieter.lexis@powerdns.com>
Tue, 19 Jul 2016 15:24:26 +0000 (17:24 +0200)
committerPieter Lexis <pieter.lexis@powerdns.com>
Wed, 20 Jul 2016 10:41:28 +0000 (12:41 +0200)
build-scripts/build-auth-rpm

index e3da467f49aa8a8646ef8396a8ff29bf8dcbaf9c..e6dc2785fa996171670b7e19c18f531c42c1aa48 100755 (executable)
@@ -639,6 +639,16 @@ BuildRequires: sqlite-devel
 %description backend-sqlite
 This package contains the SQLite backend for %{name}
 
+%package backend-tinydns
+Summary: TinyDNS backend for %{name}
+Group: System Environment/Daemons
+Requires: %{name}%{?_isa} = %{version}-%{release}
+BuildRequires: tinycdb-devel
+%global backends %{backends} tinydns
+
+%description backend-tinydns
+This package contains the TinyDNS backend for %{name}
+
 %prep
 %setup -q -n %{name}-${TARBALLVERSION}
 
@@ -791,6 +801,9 @@ exit 0
 %doc modules/gsqlite3backend/dnssec-3.x_to_3.4.0_schema.sqlite3.sql
 %doc modules/gsqlite3backend/nodnssec-3.x_to_3.4.0_schema.sqlite3.sql
 %{_libdir}/%{name}/libgsqlite3backend.so
+
+%files backend-tinydns
+%{_libdir}/%{name}/libtinydnsbackend.so
 EOF
       ;;
   SLES\ 12*)