Add an import-only “smoke test”

This commit is contained in:
Benjamin A. Beasley 2023-05-03 12:42:09 -04:00
parent 0b72a589ca
commit 7e7f1248fb

View File

@ -26,6 +26,7 @@ BuildRequires: python3-Cython
# Unfortunately, the circular dependency is intentional; the clib extension # Unfortunately, the circular dependency is intentional; the clib extension
# packaged here imports from ruamel.yaml, which in turn uses the extension for # packaged here imports from ruamel.yaml, which in turn uses the extension for
# performance. # performance.
BuildRequires: python3-ruamel-yaml
Requires: python3-ruamel-yaml Requires: python3-ruamel-yaml
%description -n python3-ruamel-yaml-clib %description -n python3-ruamel-yaml-clib
@ -49,6 +50,9 @@ rmdir ruamel.yaml.clib
%install %install
%{python3} setup.py install --single-version-externally-managed --skip-build --root $RPM_BUILD_ROOT %{python3} setup.py install --single-version-externally-managed --skip-build --root $RPM_BUILD_ROOT
%check
%py3_check_import _ruamel_yaml
%files -n python3-ruamel-yaml-clib %files -n python3-ruamel-yaml-clib
%license LICENSE %license LICENSE
%doc README.rst %doc README.rst
@ -63,6 +67,7 @@ rmdir ruamel.yaml.clib
- Add a note about the circular dependency with ruamel.yaml - Add a note about the circular dependency with ruamel.yaml
- Stop numbering sources and patches - Stop numbering sources and patches
- Update URL (close RHBZ#1840610) - Update URL (close RHBZ#1840610)
- Add an import-only “smoke test”
* Fri Jan 20 2023 Fedora Release Engineering <releng@fedoraproject.org> - 0.2.6-4 * Fri Jan 20 2023 Fedora Release Engineering <releng@fedoraproject.org> - 0.2.6-4
- Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild - Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild