diff --git a/_service b/_service
index ff11008..641735a 100644
--- a/_service
+++ b/_service
@@ -4,8 +4,9 @@
git
dnsname
.git
- 1.3.0
- v1.3.0
+ @PARENT_TAG@
+ v1.3.1
+ v(.*)
enable
diff --git a/_servicedata b/_servicedata
index e0ae9a2..8dd9114 100644
--- a/_servicedata
+++ b/_servicedata
@@ -1,4 +1,6 @@
-
- https://github.com/containers/dnsname.git
- dc59f285546a0b0d8b8f20033e1637ea82587840
\ No newline at end of file
+
+ https://github.com/containers/dnsname.git
+ 18822f9a4fb35d1349eb256f4cd2bfd372474d84
+
+
diff --git a/cni-plugin-dnsname.changes b/cni-plugin-dnsname.changes
index c5feaec..3277fac 100644
--- a/cni-plugin-dnsname.changes
+++ b/cni-plugin-dnsname.changes
@@ -1,3 +1,10 @@
+-------------------------------------------------------------------
+Fri Mar 25 08:27:36 UTC 2022 - Enrico Belleri
+
+- Update to version 1.3.1:
+ * Don't use LDFLAGS: made `dnsname` unable to build in some
+ packaging systems (not ours).
+
-------------------------------------------------------------------
Fri Nov 19 18:28:08 UTC 2021 - ralf@h4kamp.de
diff --git a/cni-plugin-dnsname.spec b/cni-plugin-dnsname.spec
index 210c4d1..378469e 100644
--- a/cni-plugin-dnsname.spec
+++ b/cni-plugin-dnsname.spec
@@ -1,7 +1,7 @@
#
# spec file for package cni-plugin-dnsname
#
-# Copyright (c) 2021 SUSE LLC
+# Copyright (c) 2022 SUSE LLC
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
@@ -17,7 +17,7 @@
Name: cni-plugin-dnsname
-Version: 1.3.0
+Version: 1.3.1
Release: 0
Summary: CNI plugin to provide name resolution for containers
License: Apache-2.0
@@ -26,6 +26,7 @@ Source: dnsname-%{version}.tar.xz
BuildRequires: golang-packaging
BuildRequires: golang(API) >= 1.13
Requires: cni
+Requires: dnsmasq
%description
This CNI plugin sets up the use of dnsmasq on a given CNI network so that Pods
@@ -43,11 +44,11 @@ The dnsname plugin was specifically designed for the Podman container engine.
%make_build GO_BUILD="GO111MODULE=on go build -mod=vendor -buildmode=pie" binaries
%install
-PREFIX=/usr LIBEXECDIR=%{_libexecdir}/cni %make_install
+LIBEXECDIR=%{_libexecdir}/cni %make_install
%files
%license LICENSE
-%doc README.md README_PODMAN.md
+%doc README.md README_PODMAN.md RELEASE_NOTES.md
%dir %{_libexecdir}/cni
%{_libexecdir}/cni/dnsname
diff --git a/dnsname-1.3.0.obscpio b/dnsname-1.3.0.obscpio
deleted file mode 100644
index 0679ef2..0000000
--- a/dnsname-1.3.0.obscpio
+++ /dev/null
@@ -1,3 +0,0 @@
-version https://git-lfs.github.com/spec/v1
-oid sha256:0d8177aa47b17d54418ef77e475271aa1605e8278a4c531914e65cb0588dd01b
-size 13438989
diff --git a/dnsname-1.3.1.obscpio b/dnsname-1.3.1.obscpio
new file mode 100644
index 0000000..945817c
--- /dev/null
+++ b/dnsname-1.3.1.obscpio
@@ -0,0 +1,3 @@
+version https://git-lfs.github.com/spec/v1
+oid sha256:4d596b1c27d2b02ae6989422e717ea5dd24bcf34b53113cef89d4cfb3af04ace
+size 13438989
diff --git a/dnsname.obsinfo b/dnsname.obsinfo
index a2f6697..81ade37 100644
--- a/dnsname.obsinfo
+++ b/dnsname.obsinfo
@@ -1,5 +1,4 @@
name: dnsname
-version: 1.3.0
-mtime: 1628708758
-commit: dc59f285546a0b0d8b8f20033e1637ea82587840
-
+version: 1.3.1
+mtime: 1629230735
+commit: 18822f9a4fb35d1349eb256f4cd2bfd372474d84