%global srcname ... Name: python-mock # keep higher than the python-mock in Fedora # $ fedrq pkgs -s python-mock # python-mock-4.0.3-10.fc39.src Version: 5.0 Release: 1%{?dist} Summary: Stub of python-mock to flush out false positives License: MIT URL: https://pagure.io/michel-slm/python-mock-drawdown BuildArch: noarch BuildRequires: python3-devel %global _description %{expand: This is a stub package that provides all the same provides as the actual python-mock / python3-mock, but at a higher version. By building packages that depend on python-mock in COPR together with this package, we can flush out those that do not actually need this dependency.} %description %_description %package -n python3-mock Summary: %{summary} # $ fedrq pkgs -S python3-mock -F provides Provides: deprecated() Provides: python-mock = %{version}-%{release} Provides: python3-mock = %{version}-%{release} Provides: python%{python3_version}-mock = %{version}-%{release} Provides: python%{python3_version}dist(mock) = %{version} Provides: python3dist(mock) = %{version} %description -n python3-mock %{_description} %prep %build %install %check %files -n python3-mock %changelog * Fri Jan 12 2024 Michel Lind - 5.0-1 - Stub package