From f9847a5f6e9007e82ad142bbb164f38b043184851363eee4212b104daa54568f Mon Sep 17 00:00:00 2001 From: Dirk Mueller Date: Thu, 13 Oct 2022 07:17:12 +0000 Subject: [PATCH] - use https for urls OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-cstruct?expand=0&rev=3 --- python-cstruct.changes | 5 +++++ python-cstruct.spec | 14 ++++++++------ 2 files changed, 13 insertions(+), 6 deletions(-) diff --git a/python-cstruct.changes b/python-cstruct.changes index c603408..f31efe0 100644 --- a/python-cstruct.changes +++ b/python-cstruct.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Thu Oct 13 07:17:06 UTC 2022 - Dirk Müller + +- use https for urls + ------------------------------------------------------------------- Thu Aug 13 20:29:38 UTC 2020 - Martin Hauke diff --git a/python-cstruct.spec b/python-cstruct.spec index a13c584..d444be4 100644 --- a/python-cstruct.spec +++ b/python-cstruct.spec @@ -1,6 +1,7 @@ # # spec file for package python-cstruct # +# Copyright (c) 2022 SUSE LLC # Copyright (c) 2020, Martin Hauke # # All modifications and additions to the file contributed by third parties @@ -12,23 +13,24 @@ # license that conforms to the Open Source Definition (Version 1.9) # published by the Open Source Initiative. -# Please submit bugfixes or comments via http://bugs.opensuse.org/ +# Please submit bugfixes or comments via https://bugs.opensuse.org/ +# %{?!python_module:%define python_module() python-%{**} python3-%{**}} Name: python-cstruct Version: 1.8 Release: 0 -License: MIT Summary: C-style structs for Python -Url: http://github.com/andreax79/python-cstruct +License: MIT Group: Development/Languages/Python +URL: https://github.com/andreax79/python-cstruct Source: https://github.com/andreax79/python-cstruct/archive/v%{version}.tar.gz#/%{name}-%{version}.tar.gz -BuildRequires: python-rpm-macros BuildRequires: %{python_module devel} -BuildRequires: %{python_module setuptools} BuildRequires: %{python_module pytest} +BuildRequires: %{python_module setuptools} BuildRequires: fdupes +BuildRequires: python-rpm-macros BuildArch: noarch %python_subpackages @@ -61,7 +63,7 @@ sed -i -e '/^#!\//, 1d' \ %pytest %files %{python_files} -%license LICENSE +%license LICENSE %doc changelog.txt README.md %{python_sitelib}/cstruct*