diff --git a/python-mmtf.spec b/python-mmtf.spec index 82d7bf3..0e06971 100644 --- a/python-mmtf.spec +++ b/python-mmtf.spec @@ -21,8 +21,9 @@ doi: 10.1145/2945292.2945324\ Name: python-mmtf -Version: 1.1.3 +Version: 1.1.2 Release: %autorelease +Epoch: 1 Summary: A decoding library for the macromolecular transmission format (MMTF) License: Apache-2.0 URL: https://github.com/rcsb/mmtf-python @@ -35,11 +36,13 @@ BuildArch: noarch %package -n python3-mmtf Summary: %{summary} BuildRequires: python3-devel +BuildRequires: python3-setuptools %if %{with check} BuildRequires: python3-msgpack BuildRequires: python3-pytest BuildRequires: python3-numpy %endif +%{?python_provide:%python_provide python3-mmtf} Requires: python3-msgpack %description -n python3-mmtf @@ -48,25 +51,22 @@ Requires: python3-msgpack %prep %setup -q -n %{pname}-%{version} -%generate_buildrequires -%pyproject_buildrequires - %build -%pyproject_wheel +%py3_build %install -%pyproject_install -%pyproject_save_files -l mmtf +%py3_install %if %{with check} %check -%pyproject_check_import - %pytest mmtf/tests/codec_tests.py %endif -%files -n python3-mmtf -f %{pyproject_files} +%files -n python3-mmtf +%license LICENSE.txt %doc CHANGELOG.md README.md +%{python3_sitelib}/mmtf_python-%{version}-py%{python3_version}.egg-info +%{python3_sitelib}/mmtf %changelog %autochangelog diff --git a/sources b/sources index 14839d7..3b4fcfc 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (mmtf-python-1.1.3.tar.gz) = 44558ea3e38e8eb6431e597253473e49d4a4e3835f790f375f923d3c3702b3c096d5ecaac090a8fabc1cd285d6cfa8dbd3f7d6186d765b92d718ca6d34ad063b +SHA512 (mmtf-python-1.1.2.tar.gz) = 92afcce48c2de186cbf9c2cb39c94c5df14ae0eb613862d41b674b7d2f338855ed81be23fb14d16d2dfc8d33415d3904537ef4a422e3a52b78d461b609e968ca