barman fails to build on Fedora 31 (rawhide). See https://koji.fedoraproject.org/koji/taskinfo?taskID=36632129 Processing files: python3-barman-2.8-5.fc31.noarch BUILDSTDERR: error: File must begin with "/": Provides: BUILDSTDERR: error: File must begin with "/": python-%{srcname} BUILDSTDERR: error: File must begin with "/": = BUILDSTDERR: error: File must begin with "/": 2.8-5.fc31 BUILDSTDERR: error: File must begin with "/": Obsoletes: BUILDSTDERR: error: File must begin with "/": python-%{srcname} BUILDSTDERR: error: File must begin with "/": < BUILDSTDERR: error: File must begin with "/": 2.8-5.fc31 The error is here: %files -n python3-barman %{?python_provide:%python_provide python3-%{srcname}} The %python_provide macro cannot be used in %files. See the example Python spec file: https://docs.fedoraproject.org/en-US/packaging-guidelines/Python/#_example_python_spec_file This also fails with Python 3.8 and blocks the Python 3.8 rebuild: For the build logs, see: https://copr-be.cloud.fedoraproject.org/results/@python/python3.8/fedora-rawhide-x86_64/00978157-barman/ For all our attempts to build barman with Python 3.8, see: https://copr.fedorainfracloud.org/coprs/g/python/python3.8/package/barman/ Testing and mass rebuild of packages is happening in copr. You can follow these instructions to test locally in mock if your package builds with Python 3.8: https://copr.fedorainfracloud.org/coprs/g/python/python3.8/ Let us know here if you have any questions.
Built successfully in rawhide.