public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
From: Filipe Rosset <filiperosset@fedoraproject.org>
To: git-commits@fedoraproject.org
Subject: [rpms/python-itemadapter] rawhide: Update to 0.12.0 plus spec cleanup fixes rhbz#2377814
Date: Sun, 21 Jun 2026 04:28:56 GMT	[thread overview]
Message-ID: <178201613693.1.5147303451475117964.rpms-python-itemadapter-149d40b346be@fedoraproject.org> (raw)

            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

                 reply	other threads:[~2026-06-21  4:28 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=178201613693.1.5147303451475117964.rpms-python-itemadapter-149d40b346be@fedoraproject.org \
    --to=filiperosset@fedoraproject.org \
    --cc=git-commits@fedoraproject.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox