update to 20210810git

/etc/profile.d/vmcs.sh: fix for PATH variable not previously escaped [release 20210810git-1mamba;Tue Aug 10 2021]
This commit is contained in:
Silvan Calarco 2024-01-05 17:21:39 +01:00
parent 3b4acce8b8
commit 8bd13037d2

View File

@ -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 <silvan.calarco@mambasoft.it> 20210810git-1mamba
- update to 20210810git
- /etc/profile.d/vmcs.sh: fix for PATH variable not previously escaped
* Mon Apr 26 2021 Silvan Calarco <silvan.calarco@mambasoft.it> 20210423git-2mamba
- raspberrypi-utils: require rpi-eeprom