diff --git a/.gitignore b/.gitignore index 4312d6e..3a19c17 100644 --- a/.gitignore +++ b/.gitignore @@ -8,3 +8,4 @@ /flit-1.0.tar.gz /flit-1.1.tar.gz /flit-1.3.tar.gz +/flit-2.1.0.tar.gz diff --git a/python-flit.spec b/python-flit.spec index 565b688..610eb88 100644 --- a/python-flit.spec +++ b/python-flit.spec @@ -1,5 +1,8 @@ # These require packages that are built using this package itself. %global with_loop 0 + +# cannot enable tests at the moment. +# Need to package requestes_download %global with_test 0 %global python3_wheelname %{srcname}-%{version}-py3-none-any.whl @@ -7,8 +10,8 @@ %global srcname flit Name: python-%{srcname} -Version: 1.3 -Release: 4%{?dist} +Version: 2.1.0 +Release: 1%{?dist} Summary: Simplified packaging of Python modules # ./flit/logo.py under ASL 2.0 license @@ -30,6 +33,7 @@ BuildRequires: python3-pytoml BuildRequires: python3-pytest BuildRequires: python3-responses + # Requires flit to build: BuildRequires: python3-testpath %endif @@ -85,11 +89,11 @@ so long as they can be imported on Python 3. %build export FLIT_NO_NETWORK=1 -XDG_CACHE_HOME=$PWD/.cache %{__python3} -m flit build --format wheel +%py3_build %install -%py3_install_wheel %{python3_wheelname} +%py3_install %if 0%{?with_test} @@ -101,12 +105,14 @@ py.test-3 %files -n python3-%{srcname} %license LICENSE %doc README.rst -%{python3_sitelib}/%{srcname}-*.dist-info/ +%{python3_sitelib}/%{srcname}*egg-info %{python3_sitelib}/%{srcname}/ -%{_bindir}/flit %changelog +* Tue Dec 03 2019 Mukundan Ragavan - 2.1.0-1 +- Update to 2.1.0 + * Thu Oct 03 2019 Miro HronĨok - 1.3-4 - Rebuilt for Python 3.8.0rc1 (#1748018) diff --git a/sources b/sources index b45f5a3..9e56b6a 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (flit-1.3.tar.gz) = 8354b935187bcb15c236e42476c9e178388f3f74762cab980d6a9a674c94ebf717adcc8d5dee3a2b9248906655c869f2c0aac6ac34d1d442baff7db9bf91051f +SHA512 (flit-2.1.0.tar.gz) = 0fcbfaa1e5e83216a5c98cc87b0a8f2aa17e2c184ec3f09c7dd0dd5e695311be62344ac4f101cb71f87390513496f8c1152a2cd8d7363202f7696ee002f07a55