diff mbox series

[ovs-dev] rhel: add missing man to ovs fedora spec file

Message ID d8bc1a5028391476d9766cf58a4b4e05632f6e4b.1527605335.git.lorenzo.bianconi@redhat.com
State Changes Requested
Headers show
Series [ovs-dev] rhel: add missing man to ovs fedora spec file | expand

Commit Message

Lorenzo Bianconi May 29, 2018, 2:53 p.m. UTC
Fix following compilation error running 'make rpm-fedora'

error: Installed (but unpackaged) file(s) found:
   /usr/share/man/man1/ovs-sim.1.gz

RPM build errors:
    Installed (but unpackaged) file(s) found:
   /usr/share/man/man1/ovs-sim.1.gz
make: *** [Makefile:7049: rpm-fedora] Error 1

Signed-off-by: Lorenzo Bianconi <lorenzo.bianconi@redhat.com>
---
 rhel/openvswitch-fedora.spec.in | 1 +
 1 file changed, 1 insertion(+)

Comments

Roi Dayan May 30, 2018, 8:33 a.m. UTC | #1
On Tue, May 29, 2018, 17:54 Lorenzo Bianconi <lorenzo.bianconi@redhat.com>
wrote:

> Fix following compilation error running 'make rpm-fedora'
>
> error: Installed (but unpackaged) file(s) found:
>    /usr/share/man/man1/ovs-sim.1.gz
>
> RPM build errors:
>     Installed (but unpackaged) file(s) found:
>    /usr/share/man/man1/ovs-sim.1.gz
> make: *** [Makefile:7049: rpm-fedora] Error 1
>
> Signed-off-by: Lorenzo Bianconi <lorenzo.bianconi@redhat.com>
> ---
>  rhel/openvswitch-fedora.spec.in | 1 +
>  1 file changed, 1 insertion(+)
>
> diff --git a/rhel/openvswitch-fedora.spec.in b/rhel/
> openvswitch-fedora.spec.in
> index 64a87a793..997ee662c 100644
> --- a/rhel/openvswitch-fedora.spec.in
> +++ b/rhel/openvswitch-fedora.spec.in
> @@ -567,6 +567,7 @@ fi
>  %{_mandir}/man1/ovsdb-client.1*
>  %{_mandir}/man1/ovsdb-server.1*
>  %{_mandir}/man1/ovsdb-tool.1*
> +%{_mandir}/man1/ovs-sim.1*
>  %{_mandir}/man5/ovsdb-server.5*
>  %{_mandir}/man5/ovs-vswitchd.conf.db.5*
>  %{_mandir}/man5/ovsdb.5*
> --
> 2.14.3
>
> _______________________________________________
> dev mailing list
> dev@openvswitch.org
> https://mail.openvswitch.org/mailman/listinfo/ovs-dev


The fix should be to ignore ovs-sim.1 from being installed to the temp
folder.
The ovs-sim utility is not part of the rpm package.



>
diff mbox series

Patch

diff --git a/rhel/openvswitch-fedora.spec.in b/rhel/openvswitch-fedora.spec.in
index 64a87a793..997ee662c 100644
--- a/rhel/openvswitch-fedora.spec.in
+++ b/rhel/openvswitch-fedora.spec.in
@@ -567,6 +567,7 @@  fi
 %{_mandir}/man1/ovsdb-client.1*
 %{_mandir}/man1/ovsdb-server.1*
 %{_mandir}/man1/ovsdb-tool.1*
+%{_mandir}/man1/ovs-sim.1*
 %{_mandir}/man5/ovsdb-server.5*
 %{_mandir}/man5/ovs-vswitchd.conf.db.5*
 %{_mandir}/man5/ovsdb.5*