!37 修复非 abuild 系统编译问题
From: @jiachao2130 Reviewed-by: @caodongxia Signed-off-by: @caodongxia
This commit is contained in:
commit
724b52de25
@ -3,7 +3,7 @@
|
|||||||
|
|
||||||
Name: pki-core
|
Name: pki-core
|
||||||
Version: 11.0.0
|
Version: 11.0.0
|
||||||
Release: 5
|
Release: 6
|
||||||
Summary: The PKI Core Package
|
Summary: The PKI Core Package
|
||||||
License: GPLv2 and LGPLv2
|
License: GPLv2 and LGPLv2
|
||||||
URL: http://www.dogtagpki.org/
|
URL: http://www.dogtagpki.org/
|
||||||
@ -216,9 +216,9 @@ else
|
|||||||
app_server=tomcat-$tomcat_version
|
app_server=tomcat-$tomcat_version
|
||||||
fi
|
fi
|
||||||
# generate go-md2man
|
# generate go-md2man
|
||||||
mkdir -p /home/abuild/rpmbuild/bin/
|
mkdir -p ${HOME}/rpmbuild/bin/
|
||||||
cd go-md2man-*
|
cd go-md2man-*
|
||||||
go build -mod=vendor -o /home/abuild/rpmbuild/bin/
|
go build -mod=vendor -o ${HOME}/rpmbuild/bin/
|
||||||
cd -
|
cd -
|
||||||
mkdir -p build
|
mkdir -p build
|
||||||
cd build
|
cd build
|
||||||
@ -238,7 +238,7 @@ cd build
|
|||||||
..
|
..
|
||||||
|
|
||||||
%install
|
%install
|
||||||
export PATH=$PATH:/home/abuild/rpmbuild/bin/
|
export PATH=$PATH:${HOME}/rpmbuild/bin/
|
||||||
cd build
|
cd build
|
||||||
%make_build \
|
%make_build \
|
||||||
VERBOSE=%{?_verbose} CMAKE_NO_VERBOSE=1 \
|
VERBOSE=%{?_verbose} CMAKE_NO_VERBOSE=1 \
|
||||||
@ -455,6 +455,9 @@ fi
|
|||||||
%endif
|
%endif
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Tue Sep 19 2023 Jia Chao <jiac13@chinaunicom.cn> - 11.0.0-6
|
||||||
|
- Fix: use ${HOME} replace hard code '/home/abuild'.
|
||||||
|
|
||||||
* Thu Dec 01 2022 xu_ping <xuping33@h-partners.com> - 11.0.0-5
|
* Thu Dec 01 2022 xu_ping <xuping33@h-partners.com> - 11.0.0-5
|
||||||
- remove unuse buildrequires git packages
|
- remove unuse buildrequires git packages
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user