Fix building error
This commit is contained in:
parent
06efc44b5f
commit
c9a2b06c54
@ -4,11 +4,11 @@
|
|||||||
|
|
||||||
Name: openstack-%{service}
|
Name: openstack-%{service}
|
||||||
Version: 9.0.1
|
Version: 9.0.1
|
||||||
Release: 1
|
Release: 2
|
||||||
Summary: OpenStack Telemetry Alarming
|
Summary: OpenStack Telemetry Alarming
|
||||||
License: ASL 2.0
|
License: ASL 2.0
|
||||||
URL: https://github.com/openstack/%{service}.git
|
URL: https://github.com/openstack/%{service}.git
|
||||||
Source0: https://tarballs.openstack.org/%{service}/%{service}-%{upstream_version}.tar.gz
|
Source0: https://tarballs.openstack.org/%{service}/%{service}-%{version}.tar.gz
|
||||||
|
|
||||||
Source1: %{service}-dist.conf
|
Source1: %{service}-dist.conf
|
||||||
Source2: %{service}.logrotate
|
Source2: %{service}.logrotate
|
||||||
@ -219,7 +219,7 @@ This package contains the %{service} test files.
|
|||||||
|
|
||||||
|
|
||||||
%prep
|
%prep
|
||||||
%setup -q -n %{service}-%{upstream_version}
|
%setup -q -n %{service}-%{version}
|
||||||
|
|
||||||
find . \( -name .gitignore -o -name .placeholder \) -delete
|
find . \( -name .gitignore -o -name .placeholder \) -delete
|
||||||
|
|
||||||
@ -235,7 +235,7 @@ sed -i '/^\"PO-Revision-Date: \\n\"/d' %{service}/locale/*/LC_MESSAGES/*.po
|
|||||||
|
|
||||||
%build
|
%build
|
||||||
# Generate config file
|
# Generate config file
|
||||||
PYTHONPATH=. oslo-config-generator-3 --config-file=%{service}/cmd/%{service}-config-generator.conf --output-file=%{service}/%{service}.conf
|
PYTHONPATH=. oslo-config-generator --config-file=%{service}/cmd/%{service}-config-generator.conf --output-file=%{service}/%{service}.conf
|
||||||
|
|
||||||
%{py3_build}
|
%{py3_build}
|
||||||
# Generate i18n files
|
# Generate i18n files
|
||||||
@ -377,6 +377,9 @@ exit 0
|
|||||||
|
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Fri Nov 12 2021 liusheng <liusheng2048@gmail.com> - 9.0.1-2
|
||||||
|
- Fix build error
|
||||||
|
|
||||||
* Fri Nov 05 2021 liusheng <liusheng2048@gmail.com> - 9.0.1-1
|
* Fri Nov 05 2021 liusheng <liusheng2048@gmail.com> - 9.0.1-1
|
||||||
- Add openstack-aodh package of version 9.0.1
|
- Add openstack-aodh package of version 9.0.1
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user