- Add namespace packages to BuildRequires
- Explicitly specify Python files of the package in %files OBS-URL: https://build.opensuse.org/package/show/Cloud:Tools/azure-cli-command-modules-nspkg?expand=0&rev=2
This commit is contained in:
parent
ac48c3dc6e
commit
985deb8e0c
@ -27,6 +27,10 @@ Source1: LICENSE.txt
|
||||
BuildRequires: python3-devel
|
||||
BuildRequires: python3-setuptools
|
||||
BuildRequires: unzip
|
||||
BuildRequires: azure-cli-nspkg
|
||||
BuildRequires: python3-azure-nspkg
|
||||
Requires: azure-cli-nspkg
|
||||
Requires: python3-azure-nspkg
|
||||
Conflicts: azure-cli < 2.0.0
|
||||
|
||||
BuildArch: noarch
|
||||
@ -53,6 +57,6 @@ python3 setup.py install --root=%{buildroot} --prefix=%{_prefix} --install-lib=%
|
||||
%files
|
||||
%defattr(-,root,root,-)
|
||||
%doc LICENSE.txt README.rst
|
||||
%{python3_sitelib}/*
|
||||
|
||||
%{python3_sitelib}/azure/cli/command_modules
|
||||
%{python3_sitelib}/azure_cli_command_modules_nspkg-*.egg-info
|
||||
%changelog
|
||||
|
Loading…
Reference in New Issue
Block a user