public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
From: Filipe Rosset <rosset.filipe@gmail.com>
To: git-commits@fedoraproject.org
Subject: [rpms/python-memray] rawhide: Update to 1.20.0 + spec cleanup and modernization + silent rpmlint
Date: Sun, 16 Aug 2026 04:24:18 GMT	[thread overview]
Message-ID: <178685425825.1.3796387605568118100.rpms-python-memray-7d0a3d762dd7@fedoraproject.org> (raw)

            A new commit has been pushed.

            Repo   : rpms/python-memray
            Branch : rawhide
            Commit : 7d0a3d762dd7f95e69832aef8211e0d9e8d2701c
            Author : Filipe Rosset <rosset.filipe@gmail.com>
            Date   : 2026-08-07T22:51:44-03:00
            Stats  : +17/-14 in 3 file(s)
            URL    : https://src.fedoraproject.org/rpms/python-memray/c/7d0a3d762dd7f95e69832aef8211e0d9e8d2701c?branch=rawhide

            Log:
            Update to 1.20.0 + spec cleanup and modernization + silent rpmlint

Resolves: rhbz#2310953

---
diff --git a/.gitignore b/.gitignore
index 571f83e..bf22cb2 100644
--- a/.gitignore
+++ b/.gitignore
@@ -1,3 +1,4 @@
 /memray-1.11.0.tar.gz
 /memray-1.12.0.tar.gz
 /memray-1.13.4.tar.gz
+/memray-1.20.0.tar.gz

diff --git a/python-memray.spec b/python-memray.spec
index b505041..dd57a63 100644
--- a/python-memray.spec
+++ b/python-memray.spec
@@ -1,28 +1,28 @@
 %global srcname memray
 %global forgeurl https://github.com/bloomberg/%{srcname}
+Version:        1.20.0
+%forgemeta
 
 # The tests attempt to perform tracing and are generally flaky in mock/koji
 %bcond_with tests
 
 Name:           python-%{srcname}
-Version:        1.13.4
 Release:        %autorelease
 Summary:        Memory profiler for Python applications
 
 # memray is Apache-2.0, the vendored libbacktrace is BSD-3-Clause
 License:        Apache-2.0 AND BSD-3-Clause
 URL:            https://bloomberg.github.io/memray/
-# PyPI tarball doesn't include tests
-Source:         %{forgeurl}/archive/v%{version}/%{srcname}-%{version}.tar.gz
-
-BuildRequires:  gcc-c++
-BuildRequires:  python3-docs
-BuildRequires:  sed
+Source:         %{forgesource}
 
 BuildRequires:  elfutils-debuginfod-client-devel
+BuildRequires:  fdupes
+BuildRequires:  gcc-c++
 BuildRequires:  libunwind-devel
 BuildRequires:  lz4-devel
 BuildRequires:  python3-devel
+BuildRequires:  python3-docs
+BuildRequires:  sed
 %if %{with tests}
 BuildRequires:  python3-pytest
 %endif
@@ -81,17 +81,19 @@ sed -r \
 %build
 %pyproject_wheel
 
-# Build the docs
-PYTHONPATH="build/lib.%{python3_platform}-cpython-%{python3_version_nodots}" \
-  sphinx-build-3 docs html
-rm -r html/{.buildinfo,.doctrees,.nojekyll}
-
 %install
 %pyproject_install
 %pyproject_save_files %{srcname}
 
+# Build the docs
+PYTHONPATH="%{buildroot}%{python3_sitearch}" \
+  sphinx-build-3 docs html
+rm -r html/{.buildinfo,.doctrees,.nojekyll}
+
 # Remove duplicate binary
-rm %{buildroot}%{_bindir}/%{srcname}%{python3_version}
+rm -f %{buildroot}%{_bindir}/%{srcname}%{python3_version}
+
+%fdupes %{buildroot}%{_docdir}
 
 %check
 %if %{with tests}

diff --git a/sources b/sources
index 8d6a0ed..5b7168c 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-SHA512 (memray-1.13.4.tar.gz) = d989c7a1b5263c25bd6932a9f3594ce6597241fe5495d2006cb3be470b8c6b483b08b13113f66290ebba6304c003ec7de6ef363d31ffc62f3fdf63d70f93ecad
+SHA512 (memray-1.20.0.tar.gz) = 6b37c89e79162da0c00d24382ba78248885996872f4d31df4081bba2c8ac26b844963ca8179ee491ed5bb90ec9f383e0ad83144ec2d9fdc5b95318bbc463f125

                 reply	other threads:[~2026-08-16  4:24 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=178685425825.1.3796387605568118100.rpms-python-memray-7d0a3d762dd7@fedoraproject.org \
    --to=rosset.filipe@gmail.com \
    --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