https://bugzilla.redhat.com/show_bug.cgi?id=1991145
--- Comment #5 from Hirotaka Wakabayashi hiwkby@yahoo.com --- Sorry, I fixed an issue on the guidelines again because I read the old guidelines and made a mistake...orz
https://hiwkby.fedorapeople.org/python-oslo-service.spec https://hiwkby.fedorapeople.org/python-oslo-service-3.0.0-4.fc38.src.rpm Koji build(success!): https://koji.fedoraproject.org/koji/taskinfo?taskID=93962925
``` $ diff -c public_html/python-oslo-service.spec python-oslo-service.spec *** public_html/python-oslo-service.spec 2022-11-08 02:11:12.092810714 +0000 --- python-oslo-service.spec 2022-11-09 02:40:07.926307694 +0000 *************** *** 2,16 **** %global sources_gpg_sign 0xa63ea142678138d1bb15f2e303bdfd64dd164087 %{!?upstream_version: %global upstream_version %{version}%{?milestone}} %global pypi_name oslo.service ! %global pname oslo-service %global with_doc 1
%global common_desc \ Library for running OpenStack services
! Name: python-%{pname} Version: 3.0.0 ! Release: 3%{?dist} Summary: Oslo service library
License: ASL 2.0 --- 2,16 ---- %global sources_gpg_sign 0xa63ea142678138d1bb15f2e303bdfd64dd164087 %{!?upstream_version: %global upstream_version %{version}%{?milestone}} %global pypi_name oslo.service ! %global pkg_name oslo-service %global with_doc 1
%global common_desc \ Library for running OpenStack services
! Name: python-%{pkg_name} Version: 3.0.0 ! Release: 4%{?dist} Summary: Oslo service library
License: ASL 2.0 *************** *** 28,36 **** BuildRequires: /usr/bin/gpgv2 %endif
! %package -n python3-%{pname} Summary: Oslo service library ! %py_provides python3-pkg_resources
BuildRequires: python3-devel BuildRequires: python3-setuptools --- 28,36 ---- BuildRequires: /usr/bin/gpgv2 %endif
! %package -n python3-%{pkg_name} Summary: Oslo service library ! %py_provides python3-%{pkg_name}
BuildRequires: python3-devel BuildRequires: python3-setuptools *************** *** 70,83 **** Requires: python3-paste-deploy >= 1.5.0
! %description -n python3-%{pname} %{common_desc}
! %package -n python3-%{pname}-tests Summary: Oslo service tests ! %py_provides python3-pkg_resources
! Requires: python3-%{pname} = %{version}-%{release} Requires: procps-ng Requires: python3-fixtures Requires: python3-hacking --- 70,83 ---- Requires: python3-paste-deploy >= 1.5.0
! %description -n python3-%{pkg_name} %{common_desc}
! %package -n python3-%{pkg_name}-tests Summary: Oslo service tests ! %py_provides python3-%{pkg_name}
! Requires: python3-%{pkg_name} = %{version}-%{release} Requires: procps-ng Requires: python3-fixtures Requires: python3-hacking *************** *** 85,101 **** Requires: python3-routes Requires: python3-oslotest
! %description -n python3-%{pname}-tests Tests for oslo.service
%if 0%{?with_doc} ! %package -n python-%{pname}-doc Summary: Oslo service documentation
BuildRequires: python3-sphinx BuildRequires: python3-openstackdocstheme
! %description -n python-%{pname}-doc Documentation for oslo.service %endif
--- 85,101 ---- Requires: python3-routes Requires: python3-oslotest
! %description -n python3-%{pkg_name}-tests Tests for oslo.service Tests for oslo.service
%if 0%{?with_doc} ! %package -n python-%{pkg_name}-doc Summary: Oslo service documentation
BuildRequires: python3-sphinx BuildRequires: python3-openstackdocstheme
! %description -n python-%{pkg_name}-doc Documentation for oslo.service %endif
*************** *** 130,152 **** #python3 setup.py test || #rm -rf .testrepository
! %files -n python3-%{pname} %doc README.rst %license LICENSE %{python3_sitelib}/oslo_service %{python3_sitelib}/*.egg-info %exclude %{python3_sitelib}/oslo_service/tests
! %files -n python3-%{pname}-tests %{python3_sitelib}/oslo_service/tests
%if 0%{?with_doc} ! %files -n python-%{pname}-doc %doc doc/build/html %license LICENSE %endif
%changelog * Tue Nov 08 2022 Hirotaka Wakabayashi hiwkby@yahoo.com - 3.0.0-3 - Fixes issues on the packaging guidelines
--- 130,155 ---- #python3 setup.py test || #rm -rf .testrepository
! %files -n python3-%{pkg_name} %doc README.rst %license LICENSE %{python3_sitelib}/oslo_service %{python3_sitelib}/*.egg-info %exclude %{python3_sitelib}/oslo_service/tests
! %files -n python3-%{pkg_name}-tests %{python3_sitelib}/oslo_service/tests
%if 0%{?with_doc} ! %files -n python-%{pkg_name}-doc %doc doc/build/html %license LICENSE %endif
%changelog + * Wed Nov 09 2022 Hirotaka Wakabayashi hiwkby@yahoo.com - 3.0.0-4 + - Fixes issues on the packaging guidelines + * Tue Nov 08 2022 Hirotaka Wakabayashi hiwkby@yahoo.com - 3.0.0-3 - Fixes issues on the packaging guidelines
```
``` $ rpmspec -P python-oslo-service.spec | grep -B 3 Provides
%package -n python3-oslo-service Summary: Oslo service library Provides: python3-oslo-service = 3.0.0-4.fc38 Provides: python3.11-oslo-service = 3.0.0-4.fc38 Provides: python-oslo-service = 3.0.0-4.fc38 --
%package -n python3-oslo-service-tests Summary: Oslo service tests Provides: python3-oslo-service = 3.0.0-4.fc38 Provides: python3.11-oslo-service = 3.0.0-4.fc38 Provides: python-oslo-service = 3.0.0-4.fc38
$ sudo dnf install -y ~/dev/packages/RPMS/noarch/python3-oslo-service-3.0.0-4.fc38.noarch.rpm $ rpm -q --whatprovides python3-oslo-service python3-oslo-service-3.0.0-4.fc38.noarch ```