From e32febd6e143e281d9656f3d5e877897e64b89c3 Mon Sep 17 00:00:00 2001 From: Peter Bartfai Date: Tue, 28 Feb 2017 22:54:14 +0100 Subject: [PATCH] Mageia fix --- leocad.spec | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/leocad.spec b/leocad.spec index 67d97be5..8e1d83d4 100644 --- a/leocad.spec +++ b/leocad.spec @@ -108,6 +108,13 @@ Requires(post): desktop-file-utils %if 0%{?mageia} BuildRequires: libqt4-devel +%if 0%{?opensuse_bs} +%ifarch x86_64 +BuildRequires: lib64uuid-devel +%else +BuildRequires: libuuid-devel +%endif +%endif %endif %if 0%{?mdkversion} @@ -248,7 +255,11 @@ install -m 644 resources/leocad.svg \ %{_datadir}/applications/leocad.desktop %{_datadir}/icons/hicolor/scalable/mimetypes/application-vnd.leocad.svg %{_datadir}/icons/hicolor/scalable/apps/leocad.svg +%if 0%{?mdkversion} || 0%{?mageia} +%{_mandir}/man1/leocad.1.xz +%else %{_mandir}/man1/leocad.1.gz +%endif %clean rm -rf $RPM_BUILD_ROOT