!24 [sync] PR-22: Remove rpath and enable debuginfo
From: @openeuler-sync-bot Reviewed-by: @caodongxia Signed-off-by: @caodongxia
This commit is contained in:
commit
cb2351063a
@ -1,5 +1,4 @@
|
|||||||
%define package_option() %bcond_with %1
|
%define package_option() %bcond_with %1
|
||||||
%define debug_package %{nil}
|
|
||||||
%define _unpackaged_files_terminate_build 0
|
%define _unpackaged_files_terminate_build 0
|
||||||
|
|
||||||
%define java_devel java-18-openjdk-devel
|
%define java_devel java-18-openjdk-devel
|
||||||
@ -8,7 +7,7 @@
|
|||||||
|
|
||||||
Name: pki-core
|
Name: pki-core
|
||||||
Version: 11.0.0
|
Version: 11.0.0
|
||||||
Release: 1
|
Release: 2
|
||||||
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/
|
||||||
@ -29,7 +28,7 @@ BuildRequires: python3 python3-devel python3-cryptography python3-lxml pyt
|
|||||||
BuildRequires: python3-nss python3-requests >= 2.6.0 systemd-units tomcat >= 1:9.0.7
|
BuildRequires: python3-nss python3-requests >= 2.6.0 systemd-units tomcat >= 1:9.0.7
|
||||||
BuildRequires: junit jpackage-utils >= 0:1.7.5-10 jss >= 4.6.0 tomcatjss >= 7.4.1
|
BuildRequires: junit jpackage-utils >= 0:1.7.5-10 jss >= 4.6.0 tomcatjss >= 7.4.1
|
||||||
BuildRequires: apr-devel apr-util-devel cyrus-sasl-devel httpd-devel >= 2.4.2 pcre-devel
|
BuildRequires: apr-devel apr-util-devel cyrus-sasl-devel httpd-devel >= 2.4.2 pcre-devel
|
||||||
BuildRequires: systemd zlib zlib-devel nss-tools openssl golang
|
BuildRequires: systemd zlib zlib-devel nss-tools openssl golang chrpath
|
||||||
%description
|
%description
|
||||||
Dogtag PKI is a designed enterprise software system
|
Dogtag PKI is a designed enterprise software system
|
||||||
manage enterprise Public Key Infrastructure deployments.
|
manage enterprise Public Key Infrastructure deployments.
|
||||||
@ -254,6 +253,12 @@ cd build
|
|||||||
ln -sf /usr/share/java/jboss-annotations-1.2-api/jboss-annotations-api_1.2_spec.jar\
|
ln -sf /usr/share/java/jboss-annotations-1.2-api/jboss-annotations-api_1.2_spec.jar\
|
||||||
%{buildroot}%{_datadir}/pki/server/common/lib/jboss-annotations-api_1.2_spec.jar
|
%{buildroot}%{_datadir}/pki/server/common/lib/jboss-annotations-api_1.2_spec.jar
|
||||||
|
|
||||||
|
chrpath -d %{buildroot}/%{_bindir}/tpsclient
|
||||||
|
chrpath -d %{buildroot}/%{_libdir}/tps/libtokendb.so
|
||||||
|
chrpath -d %{buildroot}/%{_libdir}/tps/libtps.so
|
||||||
|
mkdir -p %{buildroot}/etc/ld.so.conf.d
|
||||||
|
echo "%{_libdir}/tps" > %{buildroot}/etc/ld.so.conf.d/%{name}-%{_arch}.conf
|
||||||
|
|
||||||
%pretrans -n pki-base -p <lua>
|
%pretrans -n pki-base -p <lua>
|
||||||
function test(a)
|
function test(a)
|
||||||
if posix.stat(a) then
|
if posix.stat(a) then
|
||||||
@ -314,6 +319,12 @@ then
|
|||||||
systemctl daemon-reload
|
systemctl daemon-reload
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
%post -n pki-tps
|
||||||
|
/sbin/ldconfig
|
||||||
|
|
||||||
|
%postun -n pki-tps
|
||||||
|
/sbin/ldconfig
|
||||||
|
|
||||||
%files -n pki-symkey
|
%files -n pki-symkey
|
||||||
%doc base/symkey/LICENSE
|
%doc base/symkey/LICENSE
|
||||||
%{_jnidir}/symkey.jar
|
%{_jnidir}/symkey.jar
|
||||||
@ -426,6 +437,7 @@ fi
|
|||||||
%{_datadir}/pki/tps/{applets/,conf/,setup/,webapps/}
|
%{_datadir}/pki/tps/{applets/,conf/,setup/,webapps/}
|
||||||
%{_bindir}/tpsclient
|
%{_bindir}/tpsclient
|
||||||
%{_libdir}/tps/{libtps.so,libtokendb.so}
|
%{_libdir}/tps/{libtps.so,libtokendb.so}
|
||||||
|
%config(noreplace) /etc/ld.so.conf.d/*
|
||||||
|
|
||||||
%files -n pki-help
|
%files -n pki-help
|
||||||
%{_javadocdir}/pki/
|
%{_javadocdir}/pki/
|
||||||
@ -441,6 +453,9 @@ fi
|
|||||||
%endif
|
%endif
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Wed Aug 24 2022 wangkai <wangkai385@h-partners.com> - 11.0.0-2
|
||||||
|
- Remove rpath and enable debuginfo
|
||||||
|
|
||||||
* Thu Jun 16 2022 liyanan <liyanan32@h-partners.com> - 11.0.0-1
|
* Thu Jun 16 2022 liyanan <liyanan32@h-partners.com> - 11.0.0-1
|
||||||
- Update to 11.0.0
|
- Update to 11.0.0
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user