fix(ipu6-camera-bins): Sed command (#4228) (#4254)

* fix(ipu6-camera-bins): Sed command

Signed-off-by: Gilver <rockgrub@disroot.org>

* Bump release

Signed-off-by: Gilver <rockgrub@disroot.org>

* Backslash not needed there

Signed-off-by: Gilver <rockgrub@disroot.org>

* Literally JUST did this locally what

Signed-off-by: Gilver <rockgrub@disroot.org>

* While I'm here

Signed-off-by: Gilver <rockgrub@disroot.org>

---------

Signed-off-by: Gilver <rockgrub@disroot.org>
(cherry picked from commit 3fa0ee8dae)

Co-authored-by: Gilver <rockgrub@disroot.org>
This commit is contained in:
Raboneko
2025-04-04 21:28:43 -07:00
committed by GitHub
parent 00c19e3194
commit efdb575fdb
@@ -7,17 +7,17 @@
Name: ipu6-camera-bins
Summary: Libraries for Intel IPU6
Version: %{ver}^%{commit_date}git.%{shortcommit}
Release: 1%?dist
Release: 2%?dist
License: Proprietary
URL: https://github.com/intel/ipu6-camera-bins
Source0: %{url}/archive/%{commit}/%{name}-%{shortcommit}.tar.gz
BuildRequires: systemd-rpm-macros
BuildRequires: chrpath
BuildRequires: sed
BuildRequires: systemd-rpm-macros
Requires: gstreamer1-plugin-icamerasrc
Requires: v4l2-relayd
Requires: intel-ipu6-kmod
Requires: intel-vsc-firmware >= 20240513
Requires: v4l2-relayd
Obsoletes: ipu6-camera-bins-firmware < 0.0-11
# < 6.10 is falling out of third party and official support on Fedora
%if 0%{?fedora}
@@ -66,7 +66,7 @@ pushd %{buildroot}%{_libdir}
ln -s $i `echo $i | sed -e "s|\.so\.0|\.so|"`
done
for i in pkgconfig/*.pc; do
sed -i -e "s|libdir=\${prefix}/lib|libdir=%{_libdir}|g" "$i"
sed -i -e "s|libdir=\${exec_prefix}/lib|libdir=%{_libdir}|g" "$i"
done
popd