public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
* [rpms/python-itemadapter] rawhide: Update to 0.12.0 plus spec cleanup fixes rhbz#2377814
@ 2026-06-21 4:28 Filipe Rosset
0 siblings, 0 replies; only message in thread
From: Filipe Rosset @ 2026-06-21 4:28 UTC (permalink / raw)
To: git-commits
A new commit has been pushed.
Repo : rpms/python-itemadapter
Branch : rawhide
Commit : 149d40b346be7deee1ef7cf0718143566df3aa5c
Author : Filipe Rosset <filiperosset@fedoraproject.org>
Date : 2026-06-21T01:08:50-03:00
Stats : +20/-15 in 3 file(s)
URL : https://src.fedoraproject.org/rpms/python-itemadapter/c/149d40b346be7deee1ef7cf0718143566df3aa5c?branch=rawhide
Log:
Update to 0.12.0 plus spec cleanup fixes rhbz#2377814
Signed-off-by: Filipe Rosset <filiperosset@fedoraproject.org>
---
diff --git a/.gitignore b/.gitignore
index 54dbd82..382109d 100644
--- a/.gitignore
+++ b/.gitignore
@@ -2,3 +2,4 @@
/itemadapter-0.4.0.tar.gz
/itemadapter-0.9.0.tar.gz
/itemadapter-0.10.0.tar.gz
+/itemadapter-0.12.0.tar.gz
diff --git a/python-itemadapter.spec b/python-itemadapter.spec
index 1a96ab6..9484386 100644
--- a/python-itemadapter.spec
+++ b/python-itemadapter.spec
@@ -4,12 +4,11 @@ The ItemAdapter class is a wrapper for data container objects,
providing a common interface to handle objects of different
types in an uniform manner, regardless of their underlying implementation.}
Name: python-itemadapter
-Version: 0.10.0
-Release: 8%{?dist}
+Version: 0.12.0
+Release: 1%{?dist}
Summary: The ItemAdapter class is a wrapper for data container object
-# Automatically converted from old format: BSD - review is highly recommended.
-License: LicenseRef-Callaway-BSD
+License: BSD-3-Clause
URL: https://github.com/scrapy/itemadapter
Source0: %{pypi_source %pkg_name}
@@ -23,32 +22,37 @@ BuildArch: noarch
Summary: %{summary}
BuildRequires: python3-devel
-BuildRequires: python3-setuptools
-Requires: python3-attrs
-
-%py_provides python3-%{pkg_name}
%description -n python3-%{pkg_name}
%{desc}
+
%prep
%autosetup -n %{pkg_name}-%{version}
+%generate_buildrequires
+%pyproject_buildrequires -t -x attrs,pydantic,scrapy
+
%build
-%py3_build
+%pyproject_wheel
%install
-%py3_install
+%pyproject_install
+%pyproject_save_files -l itemadapter
-%files -n python3-%{pkg_name}
-%license LICENSE
+%check
+%pyproject_check_import
+%pytest
+
+%files -n python3-%{pkg_name} -f %{pyproject_files}
%doc README.md
-%{python3_sitelib}/itemadapter
-%{python3_sitelib}/itemadapter-*.egg-info
%changelog
+* Sun Jun 21 2026 Filipe Rosset <filiperosset@fedoraproject.org> - 0.12.0-1
+- Update to 0.12.0 plus spec cleanup fixes rhbz#2377814
+
* Wed Jun 03 2026 Python Maint <python-maint@redhat.com> - 0.10.0-8
- Rebuilt for Python 3.15
diff --git a/sources b/sources
index bd8b1cc..3bd33ae 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-SHA512 (itemadapter-0.10.0.tar.gz) = ee344758d0a99aa4ecdaedf7bf4be02a7362c860ba093199becd1acf4ed59a8474761628e9f4d0a6bd8d2a8f497805703f7540331aa70a972f7d0c66f8092a9b
+SHA512 (itemadapter-0.12.0.tar.gz) = 39404f100e9654f4325d87bfbee34b30f76ad72c64b561df74361d2476149c202bad6fb7bdb951e12994d1ff8e0bfef9c6d74aa36cb9d3056d85fef619d56f9e
^ permalink raw reply related [flat|nested] only message in thread
only message in thread, other threads:[~2026-06-21 4:28 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-06-21 4:28 [rpms/python-itemadapter] rawhide: Update to 0.12.0 plus spec cleanup fixes rhbz#2377814 Filipe Rosset
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox