From de07968cb546347ae06c43a58e72588bd4c2f569 Mon Sep 17 00:00:00 2001 From: Scott Moser Date: Thu, 17 Nov 2016 09:52:45 -0500 Subject: packages/redhat: fix rpm spec file. Adjust the redhat spec file to fix errors found during a ./tools/brpm on centos 6: RPM build errors: File listed twice: /usr/libexec/cloud-init/uncloud-init File listed twice: /usr/libexec/cloud-init/write-ssh-key-fingerprints Installed (but unpackaged) file(s) found: /etc/NetworkManager/dispatcher.d/hook-network-manager /etc/dhcp/dhclient-exit-hooks.d/hook-dhclient --- packages/redhat/cloud-init.spec.in | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'packages/redhat') diff --git a/packages/redhat/cloud-init.spec.in b/packages/redhat/cloud-init.spec.in index d0ae048f..79f45947 100644 --- a/packages/redhat/cloud-init.spec.in +++ b/packages/redhat/cloud-init.spec.in @@ -171,10 +171,11 @@ fi %{_unitdir}/cloud-* #end if +%{_sysconfdir}/NetworkManager/dispatcher.d/hook-network-manager +%{_sysconfdir}/dhcp/dhclient-exit-hooks.d/hook-dhclient + # Program binaries %{_bindir}/cloud-init* -%{_libexecdir}/%{name}/uncloud-init -%{_libexecdir}/%{name}/write-ssh-key-fingerprints # Docs %doc LICENSE ChangeLog TODO.rst requirements.txt -- cgit v1.2.3