!35 Remove rpath
From: @wang--ge Reviewed-by: @lyn1001 Signed-off-by: @lyn1001
This commit is contained in:
commit
22783a7953
@ -16,7 +16,7 @@
|
|||||||
|
|
||||||
Name: graphviz
|
Name: graphviz
|
||||||
Version: 2.44.0
|
Version: 2.44.0
|
||||||
Release: 3
|
Release: 4
|
||||||
Summary: Graph Visualization Tools
|
Summary: Graph Visualization Tools
|
||||||
License: EPL
|
License: EPL
|
||||||
URL: http://www.graphviz.org/
|
URL: http://www.graphviz.org/
|
||||||
@ -28,7 +28,7 @@ Patch6000: backport-CVE-2020-18032.patch
|
|||||||
BuildRequires: ksh bison m4 flex ruby automake perl-Carp autoconf libtool qpdf ocaml urw-base35-fonts, perl-ExtUtils-Embed, perl-generators, librsvg2-devel swig >= 1.3.33
|
BuildRequires: ksh bison m4 flex ruby automake perl-Carp autoconf libtool qpdf ocaml urw-base35-fonts, perl-ExtUtils-Embed, perl-generators, librsvg2-devel swig >= 1.3.33
|
||||||
BuildRequires: zlib-devel libpng-devel libjpeg-devel expat-devel tk-devel fontconfig-devel libtool-ltdl-devel ruby-devel guile-devel freetype-devel >= 2 tcl-devel >= 8.3
|
BuildRequires: zlib-devel libpng-devel libjpeg-devel expat-devel tk-devel fontconfig-devel libtool-ltdl-devel ruby-devel guile-devel freetype-devel >= 2 tcl-devel >= 8.3
|
||||||
BuildRequires: python3-devel libXaw-devel libSM-devel libXext-devel java-devel pango-devel gmp-devel lua-devel gtk2-devel cairo-devel >= 1.1.10
|
BuildRequires: python3-devel libXaw-devel libSM-devel libXext-devel java-devel pango-devel gmp-devel lua-devel gtk2-devel cairo-devel >= 1.1.10
|
||||||
BuildRequires: ghostscript libgs-devel gd-devel perl-devel
|
BuildRequires: ghostscript libgs-devel gd-devel perl-devel chrpath
|
||||||
|
|
||||||
%if %{with python2}
|
%if %{with python2}
|
||||||
BuildRequires: python2-devel
|
BuildRequires: python2-devel
|
||||||
@ -217,6 +217,10 @@ rm -rf $RPM_BUILD_ROOT%{_libdir}/graphviz/python
|
|||||||
|
|
||||||
touch $RPM_BUILD_ROOT%{_libdir}/graphviz/config%{pluginsver}
|
touch $RPM_BUILD_ROOT%{_libdir}/graphviz/config%{pluginsver}
|
||||||
|
|
||||||
|
chrpath -d $RPM_BUILD_ROOT%{_bindir}/gvpack
|
||||||
|
mkdir -p $RPM_BUILD_ROOT/etc/ld.so.conf.d
|
||||||
|
echo "%{_libdir}/%{name}" > $RPM_BUILD_ROOT/etc/ld.so.conf.d/%{name}-%{_arch}.conf
|
||||||
|
|
||||||
%check
|
%check
|
||||||
%if %{with php}
|
%if %{with php}
|
||||||
LD_LIBRARY_PATH=$RPM_BUILD_ROOT%{_libdir} \
|
LD_LIBRARY_PATH=$RPM_BUILD_ROOT%{_libdir} \
|
||||||
@ -250,6 +254,7 @@ php --no-php-ini --define extension_dir=$RPM_BUILD_ROOT%{_libdir}/graphviz/php/
|
|||||||
%{_datadir}/graphviz/
|
%{_datadir}/graphviz/
|
||||||
%ghost %{_libdir}/graphviz/config%{pluginsver}
|
%ghost %{_libdir}/graphviz/config%{pluginsver}
|
||||||
|
|
||||||
|
%config(noreplace) /etc/ld.so.conf.d/*
|
||||||
%exclude %{_bindir}/dot_builtins
|
%exclude %{_bindir}/dot_builtins
|
||||||
|
|
||||||
%if %{with php}
|
%if %{with php}
|
||||||
@ -312,6 +317,12 @@ php --no-php-ini --define extension_dir=$RPM_BUILD_ROOT%{_libdir}/graphviz/php/
|
|||||||
|
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Wed Nov 08 2023 Ge Wang <wang__ge@126.com> - 2.44.0-4
|
||||||
|
- Type:bugfix
|
||||||
|
ID:NA
|
||||||
|
SUG:NA
|
||||||
|
DESC:Remove rpath
|
||||||
|
|
||||||
* Mon Jun 14 2021 zhangtao <zhangtao221@huawei.com> - 2.44.0-3
|
* Mon Jun 14 2021 zhangtao <zhangtao221@huawei.com> - 2.44.0-3
|
||||||
- Type:rpmbuild
|
- Type:rpmbuild
|
||||||
- ID:NA
|
- ID:NA
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user