|
|
@ -2,13 +2,14 @@
|
|
|
|
%global with_loop 0
|
|
|
|
%global with_loop 0
|
|
|
|
%global with_test 0
|
|
|
|
%global with_test 0
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
%global python3_wheelname %{srcname}-%{version}-py3-none-any.whl
|
|
|
|
|
|
|
|
|
|
|
|
%global srcname flit
|
|
|
|
%global srcname flit
|
|
|
|
%global sum Simplified packaging of Python modules
|
|
|
|
%global sum Simplified packaging of Python modules
|
|
|
|
|
|
|
|
|
|
|
|
Name: python-%{srcname}
|
|
|
|
Name: python-%{srcname}
|
|
|
|
Version: 0.9
|
|
|
|
Version: 0.9
|
|
|
|
Release: 4%{?dist}
|
|
|
|
Release: 5%{?dist}
|
|
|
|
Summary: %{sum}
|
|
|
|
Summary: %{sum}
|
|
|
|
|
|
|
|
|
|
|
|
# ./flit/logo.py under ASL 2.0 license
|
|
|
|
# ./flit/logo.py under ASL 2.0 license
|
|
|
@ -93,8 +94,7 @@ XDG_CACHE_HOME=$PWD/.cache %{__python3} -m flit wheel
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
%install
|
|
|
|
%install
|
|
|
|
pip3 install --root %{buildroot} --no-deps \
|
|
|
|
%py3_install_wheel %{python3_wheelname}
|
|
|
|
dist/%{srcname}-%{version}-py3-none-any.whl
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
# Fedora doesn't use this yet.
|
|
|
|
# Fedora doesn't use this yet.
|
|
|
|
rm -r %{buildroot}%{python3_sitelib}/%{srcname}-%{version}.dist-info/
|
|
|
|
rm -r %{buildroot}%{python3_sitelib}/%{srcname}-%{version}.dist-info/
|
|
|
@ -114,6 +114,9 @@ py.test-3
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
%changelog
|
|
|
|
%changelog
|
|
|
|
|
|
|
|
* Mon Jan 23 2017 Michal Cyprian <mcyprian@redhat.com> - 0.9-5
|
|
|
|
|
|
|
|
- Use python install wheel macro
|
|
|
|
|
|
|
|
|
|
|
|
* Mon Dec 19 2016 Miro Hrončok <mhroncok@redhat.com> - 0.9-4
|
|
|
|
* Mon Dec 19 2016 Miro Hrončok <mhroncok@redhat.com> - 0.9-4
|
|
|
|
- Rebuild for Python 3.6
|
|
|
|
- Rebuild for Python 3.6
|
|
|
|
|
|
|
|
|
|
|
|