Update to 3.1.0 (#1523904)

This commit is contained in:
Miro Hrončok 2017-12-10 13:54:55 +01:00
commit 8f5b92c468
3 changed files with 13 additions and 11 deletions

1
.gitignore vendored
View file

@ -3,3 +3,4 @@
/Uranium-2.6.1.tar.gz
/Uranium-2.7.0.tar.gz
/Uranium-3.0.3.tar.gz
/Uranium-3.1.0.tar.gz

View file

@ -1,11 +1,14 @@
Name: python-uranium
Version: 3.0.3
Version: 3.1.0
Release: 1%{?dist}
Summary: A Python framework for building desktop applications
License: LGPLv3+
URL: https://github.com/Ultimaker/Uranium
Source0: %{url}/archive/%{version}.tar.gz#/Uranium-%{version}.tar.gz
# https://github.com/Ultimaker/Uranium/pull/320
Patch0: Uranium-issue-319.patch
BuildRequires: python3-devel
BuildRequires: /usr/bin/doxygen
BuildRequires: /usr/bin/msgmerge
@ -52,10 +55,6 @@ related applications.
%prep
%autosetup -n Uranium-%{version} -p1 -S git
# Upstream installs to lib/python3/dist-packages
# We want to install to %%{python3_sitelib}
sed -i 's|lib/python${PYTHON_VERSION_MAJOR}/dist-packages|%(echo %{python3_sitelib} | sed -e s@%{_prefix}/@@)|g' CMakeLists.txt
# empty file. appending to the end to make sure we are not overriding
# a non empty file in the future
echo '# empty' >> UM/Settings/ContainerRegistryInterface.py
@ -68,11 +67,7 @@ make doc
%check
pip3 freeze
# The failing tests are reported at:
# https://github.com/Ultimaker/Uranium/issues/225
# Skipping
%{__python3} -m pytest -v -k "not getMimeTypeForFile"
%{__python3} -m pytest -v
%install
@ -108,6 +103,12 @@ popd
%changelog
* Sun Dec 10 2017 Miro Hrončok <mhroncok@redhat.com> - 3.1.0-1
- Update to 3.1.0 (#1523904)
- No need to sed dist-packages out anymore
- getMimeTypeForFile fails no more
- but some others tests are, add a fix
* Fri Oct 20 2017 Charalampos Stratakis <cstratak@redhat.com> - 3.0.3-1
- Update to 3.0.3 (#1504439)

View file

@ -1 +1 @@
SHA512 (Uranium-3.0.3.tar.gz) = 6afc6f186b1ead6d71c9616abad487ac4d5894aa8ebd4b642680186eaac0ad5cce5aa3491b73c3f565acb2ec3faf2afc1d58ed096b2077d6094278b1d0ab0060
SHA512 (Uranium-3.1.0.tar.gz) = 842b83d0d7275c276588ff0ef9fc136abcf738187f07ef5965810903537c033e1331d658a0c93afa1804c24352f4c4a045d671a7b57c201d090f745994ca3cfa