Update package murano-pkg-check of version 0.3.0

This commit is contained in:
sean-lau 2021-11-08 10:15:12 +08:00
parent a8ca7aa144
commit 486a6bc045

View File

@ -1,8 +1,4 @@
%global _empty_manifest_terminate_build 0 %global _empty_manifest_terminate_build 0
%global common_desc \
Team and repository tags .. Change things from this point on murano-pkg-check \
Murano package validator toolAfter checking out tool from repository easiest \
method to run tool
Name: python-murano-pkg-check Name: python-murano-pkg-check
Version: 0.3.0 Version: 0.3.0
Release: 1 Release: 1
@ -12,7 +8,9 @@ URL: http://docs.openstack.org/developer/murano/
Source0: https://files.pythonhosted.org/packages/a4/ef/efe83ae0d1d3fc339184cd4912841a11f589ddcf1996fcb5ed067ec57fa6/murano-pkg-check-0.3.0.tar.gz Source0: https://files.pythonhosted.org/packages/a4/ef/efe83ae0d1d3fc339184cd4912841a11f589ddcf1996fcb5ed067ec57fa6/murano-pkg-check-0.3.0.tar.gz
BuildArch: noarch BuildArch: noarch
%description %description
%{common_desc} Team and repository tags .. Change things from this point on murano-pkg-check
Murano package validator toolAfter checking out tool from repository easiest
method to run tool
%package -n python3-murano-pkg-check %package -n python3-murano-pkg-check
Summary: Murano package validator tool Summary: Murano package validator tool
@ -30,7 +28,6 @@ BuildRequires: python3-semantic_version
BuildRequires: python3-six BuildRequires: python3-six
BuildRequires: python3-stevedore BuildRequires: python3-stevedore
BuildRequires: python3-yaql BuildRequires: python3-yaql
BuildRequires: python3-babel
# General requires # General requires
Requires: python3-pyyaml Requires: python3-pyyaml
Requires: python3-oslo-i18n Requires: python3-oslo-i18n
@ -40,23 +37,27 @@ Requires: python3-six
Requires: python3-stevedore Requires: python3-stevedore
Requires: python3-yaql Requires: python3-yaql
%description -n python3-murano-pkg-check %description -n python3-murano-pkg-check
%{common_desc} Team and repository tags .. Change things from this point on murano-pkg-check
Murano package validator toolAfter checking out tool from repository easiest
method to run tool
%package help %package help
Summary: Murano package validator tool Summary: Murano package validator tool
Provides: python3-murano-pkg-check-doc Provides: python3-murano-pkg-check-doc
%description help %description help
%{common_desc} Team and repository tags .. Change things from this point on murano-pkg-check
Murano package validator toolAfter checking out tool from repository easiest
method to run tool
%prep %prep
%autosetup -n murano-pkg-check-0.3.0 %autosetup -n murano-pkg-check-%{version}
%build %build
%py3_build %py3_build
%install %install
%py3_install %py3_install
install -d -m755 %{buildroot}/%{_pkgdocdir} install -d -m755 %{buildroot}/%{_pkgdocdir}
if [ -d doc ]; then cp -arf doc %{buildroot}/%{_pkgdocdir}; fi if [ -d doc ]; then cp -arf doc %{buildroot}/%{_pkgdocdir}; fi
if [ -d docs ]; then cp -arf docs %{buildroot}/%{_pkgdocdir}; fi if [ -d docs ]; then cp -arf docs %{buildroot}/%{_pkgdocdir}; fi
@ -83,16 +84,16 @@ popd
mv %{buildroot}/filelist.lst . mv %{buildroot}/filelist.lst .
mv %{buildroot}/doclist.lst . mv %{buildroot}/doclist.lst .
%check
# %{__python3} setup.py test
%files -n python3-murano-pkg-check -f filelist.lst %files -n python3-murano-pkg-check -f filelist.lst
%dir %{python3_sitelib}/* %dir %{python3_sitelib}/*
%files help -f doclist.lst %files help -f doclist.lst
%{_docdir}/* %{_docdir}/*
%changelog %changelog
* Mon Nov 08 2021 OpenStack_SIG <openstack@openeuler.org> - 0.3.0-1
- Downgrade package python3-murano-pkg-check to version 0.3.0
* Tue Jul 20 2021 OpenStack_SIG <openstack@openeuler.org> - 0.3.0-1 * Tue Jul 20 2021 OpenStack_SIG <openstack@openeuler.org> - 0.3.0-1
- Package Spec generate - Package Spec generate