- 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:
John Paul Adrian Glaubitz 2017-10-04 11:49:37 +00:00 committed by Git OBS Bridge
parent ac48c3dc6e
commit 985deb8e0c

View File

@ -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