1
0

Compare commits

4 Commits

4 changed files with 24 additions and 10 deletions

View File

@@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:87610c8a8fcf7a57e96b262f726a4cae51ca1e018f8f14ffa6f987a0c6e054c5
size 239272

3
distroinfo-0.6.3.tar.gz Normal file
View File

@@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:0c26340b5f4c0f7f51c2ea713995609c68c12fa3373cc5c303a4e74f20cd1fbd
size 242041

View File

@@ -1,3 +1,15 @@
-------------------------------------------------------------------
Thu Jun 5 06:01:37 UTC 2025 - Steve Kowalik <steven.kowalik@suse.com>
- Switch to pyproject macros.
-------------------------------------------------------------------
Tue Jan 14 13:31:23 UTC 2025 - pgajdos@suse.com
- version update to 0.6.3
* Update setuptools and tox configuration
* Close the opened file
-------------------------------------------------------------------
Tue Mar 14 22:38:10 UTC 2023 - Dirk Müller <dmueller@suse.com>

View File

@@ -1,7 +1,7 @@
#
# spec file for package python-distroinfo
#
# Copyright (c) 2023 SUSE LLC
# Copyright (c) 2025 SUSE LLC
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
@@ -16,9 +16,8 @@
#
%{?!python_module:%define python_module() python-%{**} python3-%{**}}
Name: python-distroinfo
Version: 0.6.2
Version: 0.6.3
Release: 0
Summary: Parsing, validation and query functions for packaging metadata
License: Apache-2.0
@@ -26,7 +25,9 @@ Group: Development/Languages/Python
URL: https://github.com/softwarefactory-project/distroinfo
Source: https://files.pythonhosted.org/packages/source/d/distroinfo/distroinfo-%{version}.tar.gz
BuildRequires: %{python_module pbr >= 0.5.6}
BuildRequires: %{python_module pip}
BuildRequires: %{python_module setuptools}
BuildRequires: %{python_module wheel}
BuildRequires: fdupes
BuildRequires: python-rpm-macros
Requires: python-PyYAML
@@ -50,18 +51,19 @@ metadata stored in human readable and reviewable text/YAML files.
%setup -q -n distroinfo-%{version}
%build
%python_build
%pyproject_wheel
%install
%python_install
%pyproject_install
%python_expand %fdupes %{buildroot}%{$python_sitelib}
%check
%python_exec -m pytest
%pytest -k 'not integration'
%files %{python_files}
%doc AUTHORS ChangeLog README.rst
%license LICENSE
%{python_sitelib}/*
%{python_sitelib}/distroinfo
%{python_sitelib}/distroinfo-%{version}.dist-info
%changelog