diff --git a/PKGBUILD b/PKGBUILD
index 1d0d995..839767c 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -1,12 +1,12 @@
pkgname=obs-service-recompress
-pkgver=0.3.1+git20170704.59bf231
+pkgver=0.4.0+git20200123.696d003
pkgrel=0
pkgdesc="An OBS source service: Recompress files"
arch=('i686' 'x86_64')
url="https://www.github.com/openSUSE/obs-service-recompress"
license=('GPL-2.0+' 'GPL-2.0')
groups=('base-devel')
-depends=('python')
+depends=('gzip', 'bzip2', 'xz', 'zstd')
source=(obs-service-recompress-${pkgver}.tar.gz)
md5sums=('SKIP')
diff --git a/_service b/_service
index 309adfd..b5c276f 100644
--- a/_service
+++ b/_service
@@ -2,7 +2,6 @@
git@github.com:openSUSE/obs-service-recompress.git
git
- .git
git-master
@PARENT_TAG@+git%cd.%h
master
diff --git a/_servicedata b/_servicedata
index efd6fe3..389178b 100644
--- a/_servicedata
+++ b/_servicedata
@@ -1,4 +1,4 @@
git@github.com:openSUSE/obs-service-recompress.git
- e79e48c8d95b85a2d1fbd47d365b3a287441cfc8
\ No newline at end of file
+ 696d003be1c1ac48e4a77dedb4e594c794a301fe
\ No newline at end of file
diff --git a/debian.dsc b/debian.dsc
index 7da9c5c..e6ef287 100644
--- a/debian.dsc
+++ b/debian.dsc
@@ -1,6 +1,6 @@
Format: 1.0
Source: obs-service-recompress
-Version: 0.3.1+git20170704.59bf231-0
+Version: 0.4.0+git20200123.696d003-0
Binary: obs-service-recompress
Maintainer: Adrian Schroeter
Architecture: all
diff --git a/obs-service-recompress-0.3.1+git20170704.59bf231.tar.gz b/obs-service-recompress-0.3.1+git20170704.59bf231.tar.gz
deleted file mode 100644
index 1a14bb7..0000000
--- a/obs-service-recompress-0.3.1+git20170704.59bf231.tar.gz
+++ /dev/null
@@ -1,3 +0,0 @@
-version https://git-lfs.github.com/spec/v1
-oid sha256:97dce1a64ad263b118fac385832d40e837af070af94230295ff12f1ff5d37a23
-size 4666
diff --git a/obs-service-recompress-0.4.0+git20200123.696d003.tar.gz b/obs-service-recompress-0.4.0+git20200123.696d003.tar.gz
new file mode 100644
index 0000000..42a3323
--- /dev/null
+++ b/obs-service-recompress-0.4.0+git20200123.696d003.tar.gz
@@ -0,0 +1,3 @@
+version https://git-lfs.github.com/spec/v1
+oid sha256:e8e55234b46f9a83dcdfc03c3be53856436caf66d446aebb8607625b4c25a252
+size 4708
diff --git a/obs-service-recompress.changes b/obs-service-recompress.changes
index 8d644d1..ccd1903 100644
--- a/obs-service-recompress.changes
+++ b/obs-service-recompress.changes
@@ -1,3 +1,15 @@
+-------------------------------------------------------------------
+Thu Jan 23 08:44:27 UTC 2020 - adrian@suse.de
+
+- Update to version 0.4.0+git20200123.696d003:
+ * run test suite during build
+
+-------------------------------------------------------------------
+Thu Jan 23 08:34:09 UTC 2020 - adrian@suse.de
+
+- Update to version 0.4.0+git20200123.946b23f:
+ * add zstd compression support
+
-------------------------------------------------------------------
Fri Sep 01 11:11:35 UTC 2017 - adrian@suse.de
diff --git a/obs-service-recompress.spec b/obs-service-recompress.spec
index ef666a9..f9514d2 100644
--- a/obs-service-recompress.spec
+++ b/obs-service-recompress.spec
@@ -1,7 +1,7 @@
#
# spec file for package obs-service-recompress
#
-# Copyright (c) 2017 SUSE LINUX GmbH, Nuernberg, Germany.
+# Copyright (c) 2020 SUSE LINUX GmbH, Nuernberg, Germany.
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
@@ -12,24 +12,28 @@
# license that conforms to the Open Source Definition (Version 1.9)
# published by the Open Source Initiative.
-# Please submit bugfixes or comments via http://bugs.opensuse.org/
+# Please submit bugfixes or comments via https://bugs.opensuse.org/
#
%define service recompress
Name: obs-service-%{service}
-Version: 0.3.1+git20170704.59bf231
+Version: 0.4.0+git20200123.696d003
Release: 0
Summary: An OBS source service: Recompress files
-License: GPL-2.0+
+License: GPL-2.0-or-later
Group: Development/Tools/Building
Url: https://github.com/openSUSE/obs-service-%{service}
Source: %{name}-%{version}.tar.gz
+BuildRequires: bzip2
+BuildRequires: gzip
+BuildRequires: xz
+BuildRequires: zstd
Requires: bzip2
Requires: gzip
Requires: xz
-BuildRoot: %{_tmppath}/%{name}-%{version}-build
+Requires: zstd
BuildArch: noarch
%description
@@ -41,6 +45,8 @@ It supports to compress, uncompress or recompress files from or to
gz : Gzip Compression
bz2 : Bzip2 Compression
xz : XZ Compression
+ zstd : Zstd Compression
+
%prep
%setup -q
@@ -50,6 +56,9 @@ It supports to compress, uncompress or recompress files from or to
%install
%makeinstall
+%check
+make test
+
%files
%defattr(-,root,root)
%dir %{_prefix}/lib/obs