!2 Fix building error
From: @sean-lau Reviewed-by: @xiyuanwang Signed-off-by: @xiyuanwang
This commit is contained in:
commit
c9b3abe230
@ -4,11 +4,11 @@
|
||||
|
||||
Name: openstack-%{service}
|
||||
Version: 9.0.1
|
||||
Release: 1
|
||||
Release: 2
|
||||
Summary: OpenStack Telemetry Alarming
|
||||
License: ASL 2.0
|
||||
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
|
||||
Source2: %{service}.logrotate
|
||||
@ -219,7 +219,7 @@ This package contains the %{service} test files.
|
||||
|
||||
|
||||
%prep
|
||||
%setup -q -n %{service}-%{upstream_version}
|
||||
%setup -q -n %{service}-%{version}
|
||||
|
||||
find . \( -name .gitignore -o -name .placeholder \) -delete
|
||||
|
||||
@ -235,7 +235,7 @@ sed -i '/^\"PO-Revision-Date: \\n\"/d' %{service}/locale/*/LC_MESSAGES/*.po
|
||||
|
||||
%build
|
||||
# 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}
|
||||
# Generate i18n files
|
||||
@ -377,6 +377,9 @@ exit 0
|
||||
|
||||
|
||||
%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
|
||||
- Add openstack-aodh package of version 9.0.1
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user