From 2637febcc398da1cdea0a406911d3b4e2e1ac7f0 Mon Sep 17 00:00:00 2001 From: "Benjamin A. Beasley" Date: Fri, 19 Feb 2021 09:34:55 -0500 Subject: [PATCH] Use the GitHub tarball instead of the PyPI tarball; switch URL to HTTPS --- .gitignore | 1 + python-pyrsistent.spec | 13 ++++++++----- sources | 2 +- 3 files changed, 10 insertions(+), 6 deletions(-) diff --git a/.gitignore b/.gitignore index 7b67449..5bb8fbd 100644 --- a/.gitignore +++ b/.gitignore @@ -13,3 +13,4 @@ /pyrsistent-0.15.7.tar.gz /pyrsistent-0.16.0.tar.gz /pyrsistent-0.17.3.tar.gz +/v0.17.3.tar.gz diff --git a/python-pyrsistent.spec b/python-pyrsistent.spec index 2177ffd..443bf94 100644 --- a/python-pyrsistent.spec +++ b/python-pyrsistent.spec @@ -12,12 +12,12 @@ original structure is left untouched.} Name: python-%{srcname} Summary: Persistent/Functional/Immutable data structures Version: 0.17.3 -Release: 3%{?dist} +Release: 4%{?dist} # The entire source is MIT, except pyrsistent/_toolz.py which is BSD. License: MIT and BSD -URL: http://github.com/tobgu/pyrsistent/ -Source0: %{pypi_source} +URL: https://github.com/tobgu/pyrsistent/ +Source0: %{url}/archive/v%{version}.tar.gz # Relax dependencies specified in setup.py (allow newer pytest/hypothesis) Patch0: 00-relax-dependencies.patch @@ -38,13 +38,12 @@ BuildRequires: python3dist(hypothesis) # ---------------------------------------------------------------------------- # memory-profiler==0.57.0 # psutil==5.7.0 -# pyperform # ---------------------------------------------------------------------------- # We do not need this, since we are not running the benchmarks from # performance_suites/. # ---------------------------------------------------------------------------- -# BuildRequires: python3dist(pyperform) +# pyperform # pytest BuildRequires: python3dist(pytest) @@ -129,6 +128,10 @@ env PYTHONHASHSEED=0 %pytest --doctest-modules %{srcname} %changelog +* Fri Feb 19 2021 Benjamin A. Beasley - 0.17.3-4 +- Use the GitHub tarball instead of the PyPI tarball +- Switch URL to HTTPS + * Thu Feb 18 2021 Benjamin A. Beasley - 0.17.3-3 - Replace pypi_name macro with srcname - Update BR’s diff --git a/sources b/sources index 5626bdd..5b8c088 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (pyrsistent-0.17.3.tar.gz) = 6e6129666801dd872938ed02b043e7b3447f400e261906dedf474872145c603a20ea6fada72eba320ab016064098032a62a9918db49d7f344d52f158b5914f47 +SHA512 (v0.17.3.tar.gz) = 6e6129666801dd872938ed02b043e7b3447f400e261906dedf474872145c603a20ea6fada72eba320ab016064098032a62a9918db49d7f344d52f158b5914f47