Use the GitHub tarball instead of the PyPI tarball; switch URL to HTTPS

This commit is contained in:
Benjamin A. Beasley 2021-02-19 09:34:55 -05:00
parent e6ab4720b2
commit 2637febcc3
3 changed files with 10 additions and 6 deletions

1
.gitignore vendored
View File

@ -13,3 +13,4 @@
/pyrsistent-0.15.7.tar.gz /pyrsistent-0.15.7.tar.gz
/pyrsistent-0.16.0.tar.gz /pyrsistent-0.16.0.tar.gz
/pyrsistent-0.17.3.tar.gz /pyrsistent-0.17.3.tar.gz
/v0.17.3.tar.gz

View File

@ -12,12 +12,12 @@ original structure is left untouched.}
Name: python-%{srcname} Name: python-%{srcname}
Summary: Persistent/Functional/Immutable data structures Summary: Persistent/Functional/Immutable data structures
Version: 0.17.3 Version: 0.17.3
Release: 3%{?dist} Release: 4%{?dist}
# The entire source is MIT, except pyrsistent/_toolz.py which is BSD. # The entire source is MIT, except pyrsistent/_toolz.py which is BSD.
License: MIT and BSD License: MIT and BSD
URL: http://github.com/tobgu/pyrsistent/ URL: https://github.com/tobgu/pyrsistent/
Source0: %{pypi_source} Source0: %{url}/archive/v%{version}.tar.gz
# Relax dependencies specified in setup.py (allow newer pytest/hypothesis) # Relax dependencies specified in setup.py (allow newer pytest/hypothesis)
Patch0: 00-relax-dependencies.patch Patch0: 00-relax-dependencies.patch
@ -38,13 +38,12 @@ BuildRequires: python3dist(hypothesis)
# ---------------------------------------------------------------------------- # ----------------------------------------------------------------------------
# memory-profiler==0.57.0 # memory-profiler==0.57.0
# psutil==5.7.0 # psutil==5.7.0
# pyperform
# ---------------------------------------------------------------------------- # ----------------------------------------------------------------------------
# We do not need this, since we are not running the benchmarks from # We do not need this, since we are not running the benchmarks from
# performance_suites/. # performance_suites/.
# ---------------------------------------------------------------------------- # ----------------------------------------------------------------------------
# BuildRequires: python3dist(pyperform) # pyperform
# pytest # pytest
BuildRequires: python3dist(pytest) BuildRequires: python3dist(pytest)
@ -129,6 +128,10 @@ env PYTHONHASHSEED=0 %pytest --doctest-modules %{srcname}
%changelog %changelog
* Fri Feb 19 2021 Benjamin A. Beasley <code@musicinmybrain.net> - 0.17.3-4
- Use the GitHub tarball instead of the PyPI tarball
- Switch URL to HTTPS
* Thu Feb 18 2021 Benjamin A. Beasley <code@musicinmybrain.net> - 0.17.3-3 * Thu Feb 18 2021 Benjamin A. Beasley <code@musicinmybrain.net> - 0.17.3-3
- Replace pypi_name macro with srcname - Replace pypi_name macro with srcname
- Update BRs - Update BRs

View File

@ -1 +1 @@
SHA512 (pyrsistent-0.17.3.tar.gz) = 6e6129666801dd872938ed02b043e7b3447f400e261906dedf474872145c603a20ea6fada72eba320ab016064098032a62a9918db49d7f344d52f158b5914f47 SHA512 (v0.17.3.tar.gz) = 6e6129666801dd872938ed02b043e7b3447f400e261906dedf474872145c603a20ea6fada72eba320ab016064098032a62a9918db49d7f344d52f158b5914f47