de-dupe LICENSE.LGPL2.1 in licenses

The LICENSE.LGPL2.1 file is installed into the same systemd license
directory for both the base systemd and -libs. Because the base
systemd requires the -libs sub package it's a duplicate and will
always be there, it shouldn't cause an issue but it seems in some
cases the duplication into the same directory causes issues with
ostree so remove it from the base systemd package as it will always
be there due to the hard dep on the -libs subpackage.
This commit is contained in:
Peter Robinson 2023-11-23 20:19:16 +00:00
parent f071684b2e
commit f216cc8c79

View File

@ -1119,7 +1119,7 @@ fi
%doc %{_pkgdocdir} %doc %{_pkgdocdir}
%exclude %{_pkgdocdir}/LICENSE* %exclude %{_pkgdocdir}/LICENSE*
# Only the licenses texts for the licenses in License line are included. # Only the licenses texts for the licenses in License line are included.
%license LICENSE.GPL2 LICENSE.LGPL2.1 %license LICENSE.GPL2
%license LICENSES/MIT.txt %license LICENSES/MIT.txt
%ghost %dir %attr(0755,-,-) /etc/systemd/system/basic.target.wants %ghost %dir %attr(0755,-,-) /etc/systemd/system/basic.target.wants
%ghost %dir %attr(0755,-,-) /etc/systemd/system/bluetooth.target.wants %ghost %dir %attr(0755,-,-) /etc/systemd/system/bluetooth.target.wants