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-psycopg2] rawhide: Update to 2.9.12 fixes rhbz#2414801 and rhbz#2459947
Date: Sat, 13 Jun 2026 02:31:14 GMT	[thread overview]
Message-ID: <178131787415.1.173707981990955066.rpms-python-psycopg2-eabf3e2552b9@fedoraproject.org> (raw)

            A new commit has been pushed.

            Repo   : rpms/python-psycopg2
            Branch : rawhide
            Commit : eabf3e2552b9971630afb27fa3b9a7e929ab683c
            Author : Filipe Rosset <filiperosset@fedoraproject.org>
            Date   : 2026-06-12T23:30:43-03:00
            Stats  : +23/-20 in 2 file(s)
            URL    : https://src.fedoraproject.org/rpms/python-psycopg2/c/eabf3e2552b9971630afb27fa3b9a7e929ab683c?branch=rawhide

            Log:
            Update to 2.9.12 fixes rhbz#2414801 and rhbz#2459947
Spec cleanup and modernization per Fedora guidelines
Fix rpmlint spelling, non-executable scripts, and hidden files warnings

Signed-off-by: Filipe Rosset <filiperosset@fedoraproject.org>

---
diff --git a/python-psycopg2.spec b/python-psycopg2.spec
index 693ed5c..3a2e1ec 100644
--- a/python-psycopg2.spec
+++ b/python-psycopg2.spec
@@ -10,8 +10,8 @@ features offered by PostgreSQL.
 
 Summary:	%{sum}
 Name:		python-%{srcname}
-Version:	2.9.11
-Release:	3%{?dist}
+Version:	2.9.12
+Release:	1%{?dist}
 # The exceptions allow linking to OpenSSL and PostgreSQL's libpq
 License:	LGPL-3.0-or-later WITH openvpn-openssl-exception
 Url:		https://www.psycopg.org/
@@ -38,19 +38,19 @@ Patch: test_types_extras-2.9.3-test_from_tables.patch
 
 
 %package -n python3-psycopg2
-Summary: %{sum} 3
+Summary:	%{sum}
 
 %description  -n python3-psycopg2
 %{desc}
 
 
 %package -n python3-%{srcname}-tests
-Summary: A testsuite for %{sum} 3
+Summary: A test suite for %{sum} 3
 Requires: python3-%{srcname}%{?_isa} = %{version}-%{release}
 
 %description -n python3-%{srcname}-tests
-%desc
-This sub-package delivers set of tests for the adapter.
+%{desc}
+This package contains the test suite for psycopg2.
 
 
 %package doc
@@ -71,6 +71,9 @@ database adapter.
 %patch -P 0 -p0
 %endif
 
+# Remove shebangs from test files
+find tests -type f -name "*.py" -exec sed -i -e '/^#!\//d' {} +
+
 
 %generate_buildrequires
 %pyproject_buildrequires
@@ -79,23 +82,19 @@ database adapter.
 %build
 %pyproject_wheel
 
-# Fix for wrong-file-end-of-line-encoding problem; upstream also must fix this.
-for i in `find doc -iname "*.html"`; do sed -i 's/\r//' $i; done
-for i in `find doc -iname "*.css"`; do sed -i 's/\r//' $i; done
-
-# Get rid of a "hidden" file that rpmlint complains about
-rm -f doc/html/.buildinfo
-
-# We can not build docs now:
-# https://www.postgresql.org/message-id/2741387.dvL6Cb0VMB@nb.usersys.redhat.com
-# as the bug was sorted, we can build the documentation again
-
 # Remove design formatting package
 sed -i '/better_theme_path/d' doc/src/conf.py
 sed -i "/html_theme = 'better'/d" doc/src/conf.py
 
 make html -C doc/src
 
+# Fix for wrong-file-end-of-line-encoding problem; upstream also must fix this.
+find doc/src/_build/html -iname "*.html" -exec sed -i 's/\r//' {} +
+find doc/src/_build/html -iname "*.css" -exec sed -i 's/\r//' {} +
+
+# Get rid of a "hidden" file that rpmlint complains about
+rm -f doc/src/_build/html/.buildinfo
+
 
 %check
 %pyproject_check_import
@@ -128,6 +127,8 @@ cp -r tests/ %{buildroot}%{python3_sitearch}/%{srcname}/tests/
 
 
 %files -n python3-%{srcname}-tests
+%license LICENSE
+%doc README.rst
 %{python3_sitearch}/psycopg2/tests
 
 
@@ -137,8 +138,10 @@ cp -r tests/ %{buildroot}%{python3_sitearch}/%{srcname}/tests/
 
 
 %changelog
-* Sat Jun 13 2026 Filipe Rosset <filiperosset@fedoraproject.org> - 2.9.11-3
-- spec cleanup and modernization
+* Sat Jun 13 2026 Filipe Rosset <filiperosset@fedoraproject.org> - 2.9.12-1
+- Update to 2.9.12 fixes rhbz#2414801 and rhbz#2459947
+- Spec cleanup and modernization per Fedora guidelines
+- Fix rpmlint spelling, non-executable scripts, and hidden files warnings
 
 * Wed Jun 03 2026 Python Maint <python-maint@redhat.com> - 2.9.11-2
 - Rebuilt for Python 3.15

diff --git a/sources b/sources
index 03004a3..29bedc8 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-SHA512 (psycopg2-2.9.11.tar.gz) = b02702ad95a63665b9ab28fd9a5e840848cc07a75a95ccce1153f624ffa26d51070c6c832e8a99546cfac797c2758611bc3f5d8d9776631aa94d182018b79731
+SHA512 (psycopg2-2.9.12.tar.gz) = a29e435a90eac07261ab9ab29e118664e3211d8f0199eefd10fdfb42e6d27c0b10cf690a5657261c93000aa7eb3401a1f0bb1d1f77ed2ec193bca5ded8a0b819

                 reply	other threads:[~2026-06-13  2:31 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=178131787415.1.173707981990955066.rpms-python-psycopg2-eabf3e2552b9@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