Compare commits

...

2 Commits

Author SHA1 Message Date
openeuler-ci-bot 617b553e80 !133 remove rpath for tcl binding
From: @fundawang 
Reviewed-by: @dillon_chen 
Signed-off-by: @dillon_chen
2025-03-10 08:57:55 +00:00
Funda Wang 2dbe5ae354 remove rpath for tcl binding 2025-03-10 15:43:20 +08:00
+7 -1
View File
@@ -3,7 +3,7 @@
Name: sqlite
Version: 3.48.0
%global extver %(echo %{version} |awk -F. '{printf "%d%02d%02d00", $1,$2,$3}')
Release: 2
Release: 3
Summary: Embeded SQL database
License: Public Domain
URL: https://www.sqlite.org/
@@ -15,6 +15,7 @@ Patch0: sqlite-3.48.0-buildtclext.patch
BuildRequires: gcc tcl tcl-devel
BuildRequires: ncurses-devel readline-devel glibc-devel
BuildRequires: chrpath
BuildRequires: rpm_macro(tcl_sitearch)
Provides: %{name}-libs = %{version}-%{release}
@@ -86,6 +87,8 @@ install -D -m 644 tool/lempar.c %{buildroot}%{_datadir}/lemon/lempar.c
install -D -m 644 sqlite3.1 %{buildroot}%{_mandir}/man1/sqlite3.1
install -D -m 755 sqlite3_analyzer %{buildroot}%{_bindir}/sqlite3_analyzer
chrpath --delete $RPM_BUILD_ROOT/%{tcl_sitearch}/sqlite3/*.so
%if %{with check}
%check
export LD_LIBRARY_PATH=`pwd`/.libs
@@ -120,6 +123,9 @@ rm -rf test/thread2.test
%{_mandir}/man*/*
%changelog
* Mon Mar 10 2025 Funda Wang <fundawang@yeah.net> - 3.48.0-3
- remove rpath for tcl binding
* Sun Jan 19 2025 Funda Wang <fundawang@yeah.net> - 3.48.0-2
- set legacy soname, otherwise it changes too much
(see `./configure --help`)