diff --git a/.gitignore b/.gitignore index 9a4ee9f..3414804 100644 --- a/.gitignore +++ b/.gitignore @@ -1,2 +1,3 @@ /scidash-1df0411.tar.gz /sciunit-0.2.2.tar.gz +/sciunit-1df0411.tar.gz diff --git a/python-sciunit.spec b/python-sciunit.spec index eb7fdea..56babde 100644 --- a/python-sciunit.spec +++ b/python-sciunit.spec @@ -7,21 +7,29 @@ %global pypi_name sciunit +# For scidash %global scidash_commit 1df0411e74ce35e5b6e748f81cf0159acedab201 %global scidash_shortcommit %(c=%{scidash_commit}; echo ${c:0:7}) +# for sciunit +%global commit f49d2fb5a108c4d86aee42dd840af7a8e17b382f +%global shortcommit %(c=%{scidash_commit}; echo ${c:0:7}) + %global _description %{expand: A framework for validating scientific models by creating experimental-data-driven unit tests.} Name: python-%{pypi_name} -Version: 0.2.2 +Version: 0.2.2.2 Release: 1%{?dist} Summary: Framework for test-driven validation of scientific models License: MIT URL: https://pypi.org/pypi/%{pypi_name} -Source0: https://github.com/scidash/%{pypi_name}/archive/%{version}/%{pypi_name}-%{version}.tar.gz + +# For tagged releases on Github: pypi does not include docs etc. +# Source0: https://github.com/scidash/%%{pypi_name}/archive/%%{version}/%%{pypi_name}-%%{version}.tar.gz +Source0: https://github.com/scidash/%{pypi_name}/archive/%{commit}/%{pypi_name}-%{shortcommit}.tar.gz # Required for tests # https://github.com/scidash/sciunit/blob/0.2.2/test.sh#L3 @@ -61,7 +69,7 @@ Summary: Documentation for %{name} %description doc %_description %prep -%autosetup -n %{pypi_name}-%{version} +%autosetup -n %{pypi_name}-%{commit} rm -rf %{pypi_name}.egg-info # Update requirements, our package does not provide bs4 @@ -106,6 +114,11 @@ PYTHONPATH=%{buildroot}/%{python3_sitelib} %{__python3} -m sciunit.unit_test buf %doc html %changelog +* Fri May 22 2020 Ankur Sinha - 0.2.2.2-1 +- Update to new release +- Includes fix for py3.9 +- https://bugzilla.redhat.com/show_bug.cgi?id=1838486 + * Thu May 07 2020 Ankur Sinha - 0.2.2-1 - Update as per review comments #1827957 - Remove extra provides diff --git a/sources b/sources index 888d797..ead8478 100644 --- a/sources +++ b/sources @@ -1,2 +1 @@ -SHA512 (scidash-1df0411.tar.gz) = 62f2b5676402dfe92ff102c8adea63f01280dc7a0ae38eb55853d92a6df884de1b46b38797f3cb8b8718a242b11e67967ee20221840513f71e6d23880ab0f4e6 -SHA512 (sciunit-0.2.2.tar.gz) = dafa66f76bb4ec28c6b278ade419a880a813916be2ebe66f0af33c984724eab1c9ec8f0a9ea5e4cc12500041229bf6c0dbf43e1456764aaebe414b9a8089a57d +SHA512 (sciunit-1df0411.tar.gz) = 716a9235fee59ca40144a5efbab7297d15dac22dca7be76f81f7a9f54dfb2ff9c1446949fc68d4628d3d085a0ec3de842c3e68fc3b97d4cad780160056df3886