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
# packaged here imports from ruamel.yaml, which in turn uses the extension for
# performance.
BuildRequires: python3-ruamel-yaml
Requires: python3-ruamel-yaml
%description -n python3-ruamel-yaml-clib
@ -49,6 +50,9 @@ rmdir ruamel.yaml.clib
%install
%{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
%license LICENSE
%doc README.rst
@ -63,6 +67,7 @@ rmdir ruamel.yaml.clib
- Add a note about the circular dependency with ruamel.yaml
- Stop numbering sources and patches
- 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
- Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild