From 8f5b92c4689f367d18161f3051715e6229b9c1cd Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Miro=20Hron=C4=8Dok?= Date: Sun, 10 Dec 2017 13:54:55 +0100 Subject: [PATCH] Update to 3.1.0 (#1523904) --- .gitignore | 1 + python-uranium.spec | 21 +++++++++++---------- sources | 2 +- 3 files changed, 13 insertions(+), 11 deletions(-) diff --git a/.gitignore b/.gitignore index fd7e45d..01387b2 100644 --- a/.gitignore +++ b/.gitignore @@ -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 diff --git a/python-uranium.spec b/python-uranium.spec index 70a8189..ddca5d2 100644 --- a/python-uranium.spec +++ b/python-uranium.spec @@ -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 - 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 - 3.0.3-1 - Update to 3.0.3 (#1504439) diff --git a/sources b/sources index 225e256..97acf4b 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (Uranium-3.0.3.tar.gz) = 6afc6f186b1ead6d71c9616abad487ac4d5894aa8ebd4b642680186eaac0ad5cce5aa3491b73c3f565acb2ec3faf2afc1d58ed096b2077d6094278b1d0ab0060 +SHA512 (Uranium-3.1.0.tar.gz) = 842b83d0d7275c276588ff0ef9fc136abcf738187f07ef5965810903537c033e1331d658a0c93afa1804c24352f4c4a045d671a7b57c201d090f745994ca3cfa