[packages/vapoursynth] - keep include dir linked to python dir for python packages depending on vapoursynth
baggins
baggins at pld-linux.org
Wed Oct 28 23:38:52 CET 2026
commit 8130040401780da4771dc3fa8e02761412c9586d
Author: Jan Rękorajski <baggins at pld-linux.org>
Date: Wed Oct 28 23:38:00 2026 +0100
- keep include dir linked to python dir for python packages depending on vapoursynth
vapoursynth.spec | 6 ++++--
1 file changed, 4 insertions(+), 2 deletions(-)
---
diff --git a/vapoursynth.spec b/vapoursynth.spec
index 573d260..0779088 100644
--- a/vapoursynth.spec
+++ b/vapoursynth.spec
@@ -9,7 +9,7 @@ Name: vapoursynth
# versions >= 73 removes VSScript v3 API, used by ffmpeg 6.1.x
# versions >= 77 (or lower) removes system-wide library, moving all to python plugin tree
Version: 81
-Release: 0.1
+Release: 0.2
License: LGPL v2.1+
Group: Libraries
#Source0Download: https://github.com/vapoursynth/vapoursynth/releases
@@ -120,8 +120,9 @@ ln -sr $RPM_BUILD_ROOT%{py3_sitedir}/vapoursynth/libvapoursynth.so.4 $RPM_BUILD_
ln -sr $RPM_BUILD_ROOT%{py3_sitedir}/vapoursynth/libvsscript.so $RPM_BUILD_ROOT%{_libdir}
%{__mv} $RPM_BUILD_ROOT%{py3_sitedir}/vapoursynth/include/* $RPM_BUILD_ROOT%{_includedir}/vapoursynth
-
%{__rm} -r $RPM_BUILD_ROOT%{py3_sitedir}/vapoursynth/include
+%{__ln} -sr $RPM_BUILD_ROOT%{_includedir}/vapoursynth $RPM_BUILD_ROOT%{py3_sitedir}/vapoursynth/include
+
%{__rm} -r $RPM_BUILD_ROOT%{py3_sitedir}/vapoursynth/pkgconfig
# Installed pkgconfig is completely useless, wrong directories and no libs
@@ -156,6 +157,7 @@ rm -rf $RPM_BUILD_ROOT
%files devel
%defattr(644,root,root,755)
+%{py3_sitedir}/vapoursynth/include
%{_libdir}/libvapoursynth.so
%{_includedir}/vapoursynth
%{_pkgconfigdir}/vapoursynth.pc
================================================================
---- gitweb:
http://git.pld-linux.org/gitweb.cgi/packages/vapoursynth.git/commitdiff/8130040401780da4771dc3fa8e02761412c9586d
More information about the pld-cvs-commit
mailing list