diff --git a/_service b/_service
index 1a50d79..0491e59 100644
--- a/_service
+++ b/_service
@@ -9,5 +9,4 @@
*.tar
xz
-
diff --git a/fix_version.sh b/fix_version.sh
new file mode 100644
index 0000000..8852264
--- /dev/null
+++ b/fix_version.sh
@@ -0,0 +1,6 @@
+#!/bin/sh
+
+version=`date '+%Y%m%d'`
+
+echo "setting version to ${version}"
+sed -E -i -e "s/^%define VERSION [0-9]+/%define VERSION ${version}/" permissions.spec
diff --git a/permissions.changes b/permissions.changes
index 585e2d5..7eb8fcc 100644
--- a/permissions.changes
+++ b/permissions.changes
@@ -1,3 +1,11 @@
+-------------------------------------------------------------------
+Thu May 2 09:46:05 UTC 2019 - jsegitz@suse.com
+
+- Fixed versions. Removed set_version from _service file, doesn't
+ work with the new packaging. Call fix_version.sh to set current
+ date as version instead
+- Fixed requires for -config and -zypp-plugin
+
-------------------------------------------------------------------
Tue Apr 30 08:57:37 UTC 2019 - opensuse-packaging@opensuse.org
diff --git a/permissions.spec b/permissions.spec
index a3a93e7..674ab83 100644
--- a/permissions.spec
+++ b/permissions.spec
@@ -57,7 +57,7 @@ This package does not contain files, it just requires the necessary packages.
%package doc
Summary: SUSE Linux Default Permissions documentation
Group: Documentation/Man
-Version: 20190429%{suse_version}_%{VERSION}
+Version: %{suse_version}_%{VERSION}
Release: 0
%description doc
@@ -69,8 +69,9 @@ Documentation for the permission files /etc/permissions*.
%package config
Summary: SUSE Linux Default Permissions config files
Group: Productivity/Security
-Version: 20190429%{suse_version}_%{VERSION}
+Version: %{suse_version}_%{VERSION}
Release: 0
+Requires(post): chkstat
%description config
The actual permissions configuration files, /etc/permission.*.
@@ -91,7 +92,7 @@ The actual permissions configuration files, /etc/permission.*.
%package -n chkstat
Summary: SUSE Linux Default Permissions tool
Group: Productivity/Security
-Version: 20190429%{suse_version}_%{VERSION}
+Version: %{suse_version}_%{VERSION}
Release: 0
%description -n chkstat
@@ -103,7 +104,7 @@ Tool to check and set file permissions.
%package -n permissions-zypp-plugin
BuildArch: noarch
-Requires: permissions = %version
+Requires: permissions = %{VERSION}
Requires: python3-zypp-plugin
Requires: libzypp(plugin:commit) = 1
Summary: A zypper commit plugin for calling chkstat