From e9c2ed32e7f6050fc00f9b93014b622f10ceedf449dde1a9ca65b5ed1423a732 Mon Sep 17 00:00:00 2001 From: Reinhard Max Date: Thu, 17 Sep 2020 15:03:05 +0000 Subject: [PATCH] - Don't create dhclient.leases in %post. It affects transactional updates and the files don't need to pre-exist (boo#1129951). OBS-URL: https://build.opensuse.org/package/show/network:dhcp/dhcp?expand=0&rev=216 --- dhcp.changes | 6 ++++++ dhcp.spec | 6 ------ 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/dhcp.changes b/dhcp.changes index c12a426..4d41ed4 100644 --- a/dhcp.changes +++ b/dhcp.changes @@ -1,3 +1,9 @@ +------------------------------------------------------------------- +Thu Sep 17 14:55:25 UTC 2020 - Reinhard Max + +- Don't create dhclient.leases in %post. It affects transactional + updates and the files don't need to pre-exist (boo#1129951). + ------------------------------------------------------------------- Thu Sep 3 13:52:57 UTC 2020 - Franck Bui diff --git a/dhcp.spec b/dhcp.spec index 78fe03a..30291ad 100644 --- a/dhcp.spec +++ b/dhcp.spec @@ -459,12 +459,6 @@ fi %service_del_postun dhcrelay.service %service_del_postun dhcrelay6.service -%post client -test -e %{_localstatedir}/lib/dhcp/dhclient.leases || \ - echo -n > %{_localstatedir}/lib/dhcp/dhclient.leases -test -e %{_localstatedir}/lib/dhcp6/dhclient6.leases || \ - echo -n > %{_localstatedir}/lib/dhcp6/dhclient6.leases - %files %license LICENSE %{_bindir}/omshell