Fix provides issue from BZ 2048083
This commit is contained in:
parent
2d56847f4f
commit
f6d11aeb29
1 changed files with 10 additions and 3 deletions
|
|
@ -7,7 +7,7 @@
|
|||
|
||||
Name: python-%{srcname}
|
||||
Version: %{short_version}~git.2.%{shortcommit}
|
||||
Release: 3%{?dist}
|
||||
Release: 4%{?dist}
|
||||
Summary: Specific tools for Azure SDK for Python testing
|
||||
License: MIT and ASL 2.0
|
||||
URL: https://github.com/Azure/azure-sdk-for-python/
|
||||
|
|
@ -61,17 +61,24 @@ rm -f devtools_testutils/setup.py
|
|||
|
||||
%install
|
||||
%pyproject_install
|
||||
%pyproject_save_files devtools_testutils testutils
|
||||
|
||||
# BZ 2048083: The package metadata causes a provides for version 0.0.0.
|
||||
rm -rf %{buildroot}%{python3_sitelib}/azure_sdk_tools-0.0.0.dist-info
|
||||
|
||||
# Some provided executables are only used internally in Azure SDK's CI.
|
||||
rm -f %{buildroot}/%{_bindir}/{auto_codegen,auto_package,generate_package,generate_sdk}
|
||||
|
||||
|
||||
%files -n python3-%{srcname} -f %{pyproject_files}
|
||||
%files -n python3-%{srcname}
|
||||
%doc changelog_generics.md
|
||||
%license LICENSE.txt
|
||||
%{python3_sitelib}/devtools_testutils
|
||||
%{python3_sitelib}/testutils
|
||||
|
||||
%changelog
|
||||
* Fri Feb 04 2022 Major Hayden <major@mhtx.net> - 0.0.0~git.2.a5a4ef4-4
|
||||
- Fixing bogus provides from BZ 2048083.
|
||||
|
||||
* Fri Jan 21 2022 Fedora Release Engineering <releng@fedoraproject.org> - 0.0.0~git.2.a5a4ef4-3
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue