--- datadome-varnish-3.4.1~27.orig/debian/changelog
+++ datadome-varnish-3.4.1~27/debian/changelog
@@ -1,3 +1,14 @@
+datadome-varnish (3.4.1~27-1) unstable; urgency=medium
+
+  * version number update by debtransform
+
+ -- debtransform <build@opensuse.org>  Tue, 28 Mar 2023 14:49:19 +0000
+
+datadome-varnish (3.4.1~27) unstable; urgency=medium
+
+  * Initial release.
+
+ -- Kirill A. Korinsky <kirill@korins.ky>  Tue, 13 Oct 2015 14:34:53 +0400
 libvmod-data-dome-shield (0.1) unstable; urgency=medium
 
   * Initial release.
--- datadome-varnish-3.4.1~27.orig/debian/changelog.in
+++ datadome-varnish-3.4.1~27/debian/changelog.in
@@ -0,0 +1,5 @@
+datadome-varnish (@@VERSION@@~@@REVISION@@) unstable; urgency=medium
+
+  * Initial release.
+
+ -- Kirill A. Korinsky <kirill@korins.ky>  Tue, 13 Oct 2015 14:34:53 +0400
--- datadome-varnish-3.4.1~27.orig/debian/compat
+++ datadome-varnish-3.4.1~27/debian/compat
@@ -1 +1,2 @@
 7
+7
--- datadome-varnish-3.4.1~27.orig/debian/control
+++ datadome-varnish-3.4.1~27/debian/control
@@ -1,3 +1,21 @@
+Source: datadome-varnish
+Section: web
+Priority: extra
+Maintainer: Kirill A. Korinsky <kirill@korins.ky>
+Build-Depends: debhelper (>= 7),
+ build-essential,
+ pkg-config,
+ python3-docutils | python-docutils,
+ autotools-dev,
+ varnish,
+ libvarnishapi-dev,
+Standards-Version: 3.8.1
+Vcs-Git: https://github.com/DataDome/VarnishDome
+
+Package: datadome-varnish
+Architecture: any
+Depends: varnish (>= 4.0.0), ${shlibs:Depends}, ${misc:Depends}, ${Varnish:ABI}
+Description: DataDome integration for Varnish
 Source: libvmod-data-dome-shield
 Section: web
 Priority: extra
--- datadome-varnish-3.4.1~27.orig/debian/dirs
+++ datadome-varnish-3.4.1~27/debian/dirs
@@ -1 +1,2 @@
 usr/share/doc/libvmod-data_dome_shield
+usr/share/doc/libvmod-data_dome_shield
--- datadome-varnish-3.4.1~27.orig/debian/docs
+++ datadome-varnish-3.4.1~27/debian/docs
@@ -1,2 +1,4 @@
 README.rst
 LICENSE
+README.rst
+LICENSE
--- datadome-varnish-3.4.1~27.orig/debian/rules
+++ datadome-varnish-3.4.1~27/debian/rules
@@ -1,6 +1,26 @@
 #!/usr/bin/make -f
 export DH_VERBOSE=1
 
+build:
+	./autogen.sh
+	dh $@  --with autotools-dev
+
+binary-arch:
+	./autogen.sh
+	dh $@  --with autotools-dev
+
+override_dh_gencontrol:
+	if [ -n "$$DEBIAN_OVERRIDE_BINARY_VERSION" ]; then \
+		dh_gencontrol -- -v$$DEBIAN_OVERRIDE_BINARY_VERSION; \
+	else \
+		dh_gencontrol ; \
+	fi
+
+%:
+	dh $@ --with autotools-dev
+#!/usr/bin/make -f
+export DH_VERBOSE=1
+
 VARNISHSRC = $(DEBIAN_VARNISH_SRC)
 VMODDIR = $(shell PKG_CONFIG_PATH="$(VARNISHSRC)" pkg-config --variable=vmoddir varnishapi)
 VMOD_ABI = $(shell printf '\#include "vmod_abi.h"\nVMOD_ABI_Version' | cpp - -I$(DEBIAN_VARNISH_SRC)/include | sed '/^\#/D;s/"//g;s/\([A-Z]\)/\L\1/g;s/[^a-z0-9.]/-/g;s/varnish/varnishabi/')
