public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
* [rpms/python-ast-monitor] rawhide: spec cleanup and modernization, move to forge macros
@ 2026-08-06 11:57 Filipe Rosset
  0 siblings, 0 replies; only message in thread
From: Filipe Rosset @ 2026-08-06 11:57 UTC (permalink / raw)
  To: git-commits

            A new commit has been pushed.

            Repo   : rpms/python-ast-monitor
            Branch : rawhide
            Commit : bf57f9d3d2b27659bbf2521fe0a9ed544bb9a705
            Author : Filipe Rosset <rosset.filipe@gmail.com>
            Date   : 2026-08-06T08:56:18-03:00
            Stats  : +9/-10 in 1 file(s)
            URL    : https://src.fedoraproject.org/rpms/python-ast-monitor/c/bf57f9d3d2b27659bbf2521fe0a9ed544bb9a705?branch=rawhide

            Log:
            spec cleanup and modernization, move to forge macros

Resolves: rhbz#2485760 - F45FailsToInstall: python3-ast-monitor
Resolves: rhbz#2504441 - python-ast-monitor: FTBFS in Fedora rawhide/f45

---
diff --git a/python-ast-monitor.spec b/python-ast-monitor.spec
index 1e7e162..d587662 100644
--- a/python-ast-monitor.spec
+++ b/python-ast-monitor.spec
@@ -1,24 +1,22 @@
-%global pypi_name ast-monitor
+%bcond_without tests
 
-%bcond tests 1
+%global pypi_name ast-monitor
+%global forgeurl https://github.com/firefly-cpp/AST-Monitor
+Version:        0.5.6
+%forgemeta
 
 Name:           python-%{pypi_name}
-Version:        0.5.6
 Release:        %autorelease
 Summary:        AST-Monitor is a wearable Raspberry Pi computer for cyclists
 
-%global forgeurl https://github.com/firefly-cpp/AST-Monitor
-%global tag %{version}
-%forgemeta
-
 License:        MIT
-URL:            %forgeurl
-Source:         %forgesource
+URL:            %{forgeurl}
+Source:         %{forgesource}
 
 BuildArch:      noarch
 # https://docs.fedoraproject.org/en-US/packaging-guidelines/#_noarch_with_unported_dependencies
 # This package requires python3dist(pyqtwebengine).
-ExclusiveArch: %{qt6_qtwebengine_arches} noarch
+ExclusiveArch:  %{qt6_qtwebengine_arches} noarch
 
 BuildRequires:  python3-devel
 # For qt6_qtwebengine_arches macro:
@@ -40,6 +38,7 @@ system.}
 %package -n python3-%{pypi_name}
 Summary:        %{summary}
 Obsoletes:      python-ast-monitor-doc < 0.5.2-2
+Provides:       python-ast-monitor-doc = %{version}-%{release}
 
 %description -n python3-%{pypi_name} %_description
 

^ permalink raw reply related	[flat|nested] only message in thread

only message in thread, other threads:[~2026-08-06 11:57 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-08-06 11:57 [rpms/python-ast-monitor] rawhide: spec cleanup and modernization, move to forge macros Filipe Rosset

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox