Remove duplicate %files /etc/virt-builder.
authorRichard W.M. Jones <rjones@redhat.com>
Wed, 24 Mar 2021 12:34:48 +0000 (12:34 +0000)
committerRichard W.M. Jones <rjones@redhat.com>
Wed, 24 Mar 2021 12:34:48 +0000 (12:34 +0000)
Use %config(noreplace).
Fix version in %changelog entry.

guestfs-tools/guestfs-tools.spec

index 47a5812..73d275e 100644 (file)
@@ -312,10 +312,9 @@ gzip --best installed-docs/*.xml
 %license COPYING
 %doc README
 %doc installed-docs/*
-%{_sysconfdir}/virt-builder
 %dir %{_sysconfdir}/virt-builder
 %dir %{_sysconfdir}/virt-builder/repos.d
-%config %{_sysconfdir}/virt-builder/repos.d/*
+%config(noreplace) %{_sysconfdir}/virt-builder/repos.d/*
 %{_bindir}/virt-alignment-scan
 %{_bindir}/virt-builder
 %{_bindir}/virt-builder-repository
@@ -375,6 +374,7 @@ gzip --best installed-docs/*.xml
 
 
 %files bash-completion
+%license COPYING
 %dir %{_datadir}/bash-completion/completions
 %{_datadir}/bash-completion/completions/virt-*
 
@@ -388,5 +388,5 @@ gzip --best installed-docs/*.xml
 
 
 %changelog
-* Tue Mar 23 2021 Richard W.M. Jones <rjones@redhat.com> - 1:1.45.2-1
+* Tue Mar 23 2021 Richard W.M. Jones <rjones@redhat.com> - 1.45.2-1
 - New guestfs-tools package, split off from libguestfs.