From 33efbc6039bf3ac15e86624112d2ae297eda42ad6924a975c0b9e0a53b5f17d3 Mon Sep 17 00:00:00 2001 From: Matej Cepl Date: Wed, 12 Aug 2020 20:31:11 +0000 Subject: [PATCH] - Replace Source URL with the standard one OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-ordered-set?expand=0&rev=10 --- python-ordered-set.changes | 5 +++++ python-ordered-set.spec | 8 ++++---- 2 files changed, 9 insertions(+), 4 deletions(-) diff --git a/python-ordered-set.changes b/python-ordered-set.changes index c2401b7..e3aad53 100644 --- a/python-ordered-set.changes +++ b/python-ordered-set.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Wed Aug 12 20:31:01 UTC 2020 - Matej Cepl + +- Replace Source URL with the standard one + ------------------------------------------------------------------- Fri Jan 17 09:41:39 UTC 2020 - Tomáš Chvátal diff --git a/python-ordered-set.spec b/python-ordered-set.spec index f0e3bf8..6aae29c 100644 --- a/python-ordered-set.spec +++ b/python-ordered-set.spec @@ -17,7 +17,7 @@ # -%global short_name ordered-set +%global modname ordered-set %global dir_name ordered_set %{?!python_module:%define python_module() python-%{**} python3-%{**}} %global flavor @BUILD_FLAVOR@%{nil} @@ -28,13 +28,13 @@ %define psuffix %{nil} %bcond_with test %endif -Name: python-%{short_name}%{psuffix} +Name: python-%{modname}%{psuffix} Version: 3.1.1 Release: 0 Summary: Custom MutableSet that remembers its order License: MIT URL: https://github.com/LuminosoInsight/ordered-set -Source0: https://pypi.python.org/packages/source/o/%{short_name}/%{short_name}-%{version}.tar.gz +Source: https://files.pythonhosted.org/packages/source/o/%{modname}/%{modname}-%{version}.tar.gz # this package is build dependency of setuptools BuildRequires: %{python_module base} BuildRequires: fdupes @@ -51,7 +51,7 @@ An OrderedSet is a custom MutableSet that remembers its order, so that every entry has an index that can be looked up. %prep -%setup -q -n %{short_name}-%{version} +%setup -q -n %{modname}-%{version} # we are build dep of setuptools sed -i -e 's:from setuptools :from distutils.core :g' setup.py