Remove rpath

This commit is contained in:
lyn1001 2023-10-10 14:21:41 +08:00
parent e8c947d692
commit b586e8b134

View File

@ -1,12 +1,12 @@
Name: babl Name: babl
Version: 0.1.56 Version: 0.1.56
Release: 3 Release: 4
Summary: Pixel encoding and color space conversion engine in C Summary: Pixel encoding and color space conversion engine in C
License: LGPLv3+ and GPLv3+ License: LGPLv3+ and GPLv3+
URL: http://www.gegl.org/babl/ URL: http://www.gegl.org/babl/
Source0: https://download.gimp.org/pub/babl/0.1/%{name}-%{version}.tar.bz2 Source0: https://download.gimp.org/pub/babl/0.1/%{name}-%{version}.tar.bz2
BuildRequires: librsvg2, automake, autoconf BuildRequires: librsvg2, automake, autoconf, chrpath
%description %description
babl is pixel encoding and color space conversion engine in C. It allows converting between babl is pixel encoding and color space conversion engine in C. It allows converting between
@ -42,6 +42,8 @@ cp -pr docs/graphics docs/*.html docs/babl.css "$RPM_BUILD_ROOT/%{_docdir}/%{nam
rm -rf "$RPM_BUILD_ROOT/%{_docdir}/%{name}-devel/html"/graphics/Makefile* rm -rf "$RPM_BUILD_ROOT/%{_docdir}/%{name}-devel/html"/graphics/Makefile*
%delete_la %delete_la
chrpath -d %{buildroot}/%{_libdir}/%{name}-0.1/*.so
%check %check
cd tests cd tests
for problematic in %nil; do for problematic in %nil; do
@ -71,5 +73,8 @@ make check
%doc %{_docdir}/%{name}-devel/html %doc %{_docdir}/%{name}-devel/html
%changelog %changelog
* Tue Oct 10 2023 liyanan <thistleslyn@163.com> - 0.1.56-4
- Remove rpath
* Fri Dec 13 2019 openEuler Buildteam <buildteam@openeuler.org> - 0.1.56-3 * Fri Dec 13 2019 openEuler Buildteam <buildteam@openeuler.org> - 0.1.56-3
- Package init - Package init