Actually include the cmake files (needed for cura)

This commit is contained in:
Miro Hrončok 2017-05-03 15:10:20 +02:00
commit bd0e28dcfe

View file

@ -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 <mhroncok@redhat.com> - 2.5.0-2
- Actually include the cmake files (needed for cura)
* Wed Apr 26 2017 Miro Hrončok <mhroncok@redhat.com> - 2.5.0-1
- Initial package