fix: use /Users/chao, not abuild's home path
Signed-off-by: Jia Chao <jiac13@chinaunicom.cn>
This commit is contained in:
parent
540357dda2
commit
c558ae9e91
@ -3,7 +3,7 @@
|
||||
|
||||
Name: pki-core
|
||||
Version: 11.0.0
|
||||
Release: 5
|
||||
Release: 6
|
||||
Summary: The PKI Core Package
|
||||
License: GPLv2 and LGPLv2
|
||||
URL: http://www.dogtagpki.org/
|
||||
@ -216,9 +216,9 @@ else
|
||||
app_server=tomcat-$tomcat_version
|
||||
fi
|
||||
# generate go-md2man
|
||||
mkdir -p /home/abuild/rpmbuild/bin/
|
||||
mkdir -p ${HOME}/rpmbuild/bin/
|
||||
cd go-md2man-*
|
||||
go build -mod=vendor -o /home/abuild/rpmbuild/bin/
|
||||
go build -mod=vendor -o ${HOME}/rpmbuild/bin/
|
||||
cd -
|
||||
mkdir -p build
|
||||
cd build
|
||||
@ -238,7 +238,7 @@ cd build
|
||||
..
|
||||
|
||||
%install
|
||||
export PATH=$PATH:/home/abuild/rpmbuild/bin/
|
||||
export PATH=$PATH:${HOME}/rpmbuild/bin/
|
||||
cd build
|
||||
%make_build \
|
||||
VERBOSE=%{?_verbose} CMAKE_NO_VERBOSE=1 \
|
||||
@ -455,6 +455,9 @@ fi
|
||||
%endif
|
||||
|
||||
%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
|
||||
- remove unuse buildrequires git packages
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user