remove lsmod symlink from /usr/bin [release 30-2mamba;Sun Jul 30 2023]
This commit is contained in:
parent
a7d145e809
commit
402df21fe2
18
kmod.spec
18
kmod.spec
@ -1,5 +1,5 @@
|
|||||||
Name: kmod
|
Name: kmod
|
||||||
Version: 29
|
Version: 30
|
||||||
Release: 2mamba
|
Release: 2mamba
|
||||||
Summary: Utilities for Linux kernel module handling
|
Summary: Utilities for Linux kernel module handling
|
||||||
Group: System/Kernel and Hardware
|
Group: System/Kernel and Hardware
|
||||||
@ -86,11 +86,8 @@ for tool in depmod insmod lsmod rmmod modinfo modprobe; do
|
|||||||
ln -s kmod %{buildroot}%{_sbindir}/${tool}
|
ln -s kmod %{buildroot}%{_sbindir}/${tool}
|
||||||
done
|
done
|
||||||
|
|
||||||
# legacy symlink for systemd-kmod service
|
## legacy symlink for systemd-kmod service
|
||||||
ln -s ../sbin/kmod %{buildroot}%{_bindir}/lsmod
|
#ln -s ../sbin/kmod %{buildroot}%{_bindir}/lsmod
|
||||||
|
|
||||||
# we have a .pc file for people to use
|
|
||||||
rm -f %{buildroot}%{_libdir}/libkmod.la
|
|
||||||
|
|
||||||
%clean
|
%clean
|
||||||
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
|
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
|
||||||
@ -114,7 +111,6 @@ rm -f %{buildroot}%{_libdir}/libkmod.la
|
|||||||
%defattr(-,root,root)
|
%defattr(-,root,root)
|
||||||
%dir %{_sysconfdir}/depmod.d
|
%dir %{_sysconfdir}/depmod.d
|
||||||
%dir %{_sysconfdir}/modprobe.d
|
%dir %{_sysconfdir}/modprobe.d
|
||||||
%{_bindir}/lsmod
|
|
||||||
%{_sbindir}/kmod
|
%{_sbindir}/kmod
|
||||||
%{_sbindir}/depmod
|
%{_sbindir}/depmod
|
||||||
%{_sbindir}/insmod
|
%{_sbindir}/insmod
|
||||||
@ -146,9 +142,15 @@ rm -f %{buildroot}%{_libdir}/libkmod.la
|
|||||||
%{_includedir}/libkmod.h
|
%{_includedir}/libkmod.h
|
||||||
%{_libdir}/libkmod.so
|
%{_libdir}/libkmod.so
|
||||||
%{_libdir}/pkgconfig/libkmod.pc
|
%{_libdir}/pkgconfig/libkmod.pc
|
||||||
%doc NEWS README TODO README.libkmod
|
%doc NEWS TODO README.libkmod
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Sun Jul 30 2023 Silvan Calarco <silvan.calarco@mambasoft.it> 30-2mamba
|
||||||
|
- remove lsmod symlink from /usr/bin
|
||||||
|
|
||||||
|
* Thu Jul 07 2022 Automatic Build System <autodist@mambasoft.it> 30-1mamba
|
||||||
|
- automatic version update by autodist
|
||||||
|
|
||||||
* Sat Dec 25 2021 Silvan Calarco <silvan.calarco@mambasoft.it> 29-2mamba
|
* Sat Dec 25 2021 Silvan Calarco <silvan.calarco@mambasoft.it> 29-2mamba
|
||||||
- rebuilt with openssl 3.0.1
|
- rebuilt with openssl 3.0.1
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user