#18 Don't remove egg-info, it contains version information, use setuptools_scm
Merged 2 years ago by radez. Opened 2 years ago by churchyard.
rpms/ churchyard/python-cheroot egg-version  into  rawhide

file modified
+6 -4
@@ -5,7 +5,7 @@ 

  

  Name:           python-%{pypi_name}

  Version:        8.6.0

- Release:        3%{?dist}

+ Release:        4%{?dist}

  Summary:        Highly-optimized, pure-python HTTP server

  

  License:        BSD
@@ -39,6 +39,7 @@ 

  BuildRequires:  python3dist(requests)

  BuildRequires:  python3dist(requests-unixsocket)

  BuildRequires:  python3dist(setuptools)

+ BuildRequires:  python3dist(setuptools-scm)

  BuildRequires:  python3dist(trustme)

  %{?python_provide:%python_provide python3-%{pypi_name}}

  
@@ -61,15 +62,12 @@ 

  

  %prep

  %autosetup -n %{pypi_name}-%{version}

- # Remove bundled egg-info

- rm -rf %{pypi_name}.egg-info

  # Remove pytest processes directive

  sed -i 's/ --numprocesses=auto//' pytest.ini

  # Remove optional pytest-cov dependency

  sed -i -e /--cov=/d -e '/--cov-report /d' pytest.ini

  # drop setuptools_scm_git_archive

  sed -i '/setuptools_scm_git_archive/d' setup.cfg

- sed -i '/setuptools_scm/d' setup.cfg

  

  # doctor a few tests because of unpackaged deps in fedora

  # pypytools
@@ -114,6 +112,10 @@ 

  %endif

  

  %changelog

+ * Fri Jan 28 2022 Miro Hrončok <mhroncok@redhat.com> - 8.6.0-4

+ - Provide python3dist(cheroot) = 8.6

+ - Provide python3.Xdist(cheroot) = 8.6

+ 

  * Wed Jan 19 2022 Dan Radez <dradez@redhat.com> - 8.6.0-2

  - BZ#2042509

  

no initial comment

rebased onto 51db9e7

2 years ago

Amended to fix a typo in %changelog.

Build failed. More information on how to proceed and troubleshoot errors available at https://fedoraproject.org/wiki/Zuul-based-ci

The rpm-linter failure is pre-existing, and the rpm-rpminspect failure is because this changes files on a non-rebase update -- which is expected.

Pull-Request has been merged by radez

2 years ago
Metadata