From 8bd13037d2feb17beb9abb1308a492883e55b9d3 Mon Sep 17 00:00:00 2001 From: Silvan Calarco Date: Fri, 5 Jan 2024 17:21:39 +0100 Subject: [PATCH] update to 20210810git /etc/profile.d/vmcs.sh: fix for PATH variable not previously escaped [release 20210810git-1mamba;Tue Aug 10 2021] --- raspberrypi-userland.spec | 17 ++++++++++++++--- 1 file changed, 14 insertions(+), 3 deletions(-) diff --git a/raspberrypi-userland.spec b/raspberrypi-userland.spec index 01d5cf6..695c9d3 100644 --- a/raspberrypi-userland.spec +++ b/raspberrypi-userland.spec @@ -1,6 +1,6 @@ Name: raspberrypi-userland -Version: 20210423git -Release: 2mamba +Version: 20210810git +Release: 1mamba Summary: Libraries for interfacing to Raspberry Pi GPU Group: System/Libraries Vendor: openmamba @@ -101,7 +101,7 @@ install -m0755 %{S:4} %{buildroot}/opt/vc/bin/tvservice-ison # add /opt/vc/bin to systemd PATH install -d %{buildroot}%{_sysconfdir}/profile.d/ cat > %{buildroot}%{_sysconfdir}/profile.d/vmcs.sh << _EOF -PATH=$PATH:/opt/vc/bin +PATH=\$PATH:/opt/vc/bin _EOF # udev rules @@ -121,6 +121,11 @@ rm -f %{buildroot}/etc/init.d/vcfiled install -d -m0755 %{buildroot}%{_libdir} mv %{buildroot}/opt/vc/lib/pkgconfig %{buildroot}%{_libdir}/ +# move man pages to system dir +install -d -m0755 %{buildroot}%{_mandir} +mv %{buildroot}/opt/vc/man/man* %{buildroot}%{_mandir}/ +rmdir %{buildroot}/opt/vc/man + %clean [ "%{buildroot}" != / ] && rm -rf "%{buildroot}" @@ -132,6 +137,8 @@ mv %{buildroot}/opt/vc/lib/pkgconfig %{buildroot}%{_libdir}/ %{_sysconfdir}/profile.d/vmcs.sh #/opt/vc/bin/raspicam /opt/vc/bin/* +%{_mandir}/man1/*.1* +%{_mandir}/man7/*.7* %doc LICENCE %files -n libraspberrypi @@ -163,6 +170,10 @@ mv %{buildroot}/opt/vc/lib/pkgconfig %{buildroot}%{_libdir}/ %{_libdir}/pkgconfig/*.pc %changelog +* Tue Aug 10 2021 Silvan Calarco 20210810git-1mamba +- update to 20210810git +- /etc/profile.d/vmcs.sh: fix for PATH variable not previously escaped + * Mon Apr 26 2021 Silvan Calarco 20210423git-2mamba - raspberrypi-utils: require rpi-eeprom