From bd0e28dcfedb6b9215f9ef93f00068fe1309f629 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Miro=20Hron=C4=8Dok?= Date: Wed, 3 May 2017 15:10:20 +0200 Subject: [PATCH] Actually include the cmake files (needed for cura) --- python-uranium.spec | 11 ++++++++--- 1 file changed, 8 insertions(+), 3 deletions(-) diff --git a/python-uranium.spec b/python-uranium.spec index 204f6f0..dbcd8cd 100644 --- a/python-uranium.spec +++ b/python-uranium.spec @@ -1,6 +1,6 @@ Name: python-uranium Version: 2.5.0 -Release: 1%{?dist} +Release: 2%{?dist} Summary: A Python framework for building desktop applications License: AGPLv3+ URL: https://github.com/Ultimaker/Uranium @@ -79,8 +79,8 @@ make doc %install make install DESTDIR=%{buildroot} -# We don't really need those -rm -rf %{buildroot}%{_datadir}/cmake* +# Move the cmake files +mv %{buildroot}%{_datadir}/cmake* %{buildroot}%{_datadir}/cmake # Sanitize the location of locale files pushd %{buildroot}%{_datadir} @@ -98,6 +98,8 @@ popd %doc README.md %{python3_sitelib}/UM %{_datadir}/uranium +# Own the dir not to depend on cmake: +%{_datadir}/cmake %{_prefix}/lib/uranium @@ -107,6 +109,9 @@ popd %changelog +* Wed May 03 2017 Miro Hrončok - 2.5.0-2 +- Actually include the cmake files (needed for cura) + * Wed Apr 26 2017 Miro Hrončok - 2.5.0-1 - Initial package