Fix RHEL build
The RHEL rust macros do not currently support automatic license detection. While work is underway to bring them in sync, librsvg2 needs to be buildable in the meantime.
This commit is contained in:
parent
3a7c013feb
commit
22512cbd61
@ -133,8 +133,10 @@ export CARGO="%__cargo"
|
||||
--enable-vala
|
||||
%make_build
|
||||
|
||||
%if %{undefined rhel}
|
||||
%cargo_license_summary
|
||||
%{cargo_license} > LICENSE.dependencies
|
||||
%endif
|
||||
|
||||
%install
|
||||
%make_install
|
||||
@ -157,7 +159,9 @@ rm -f %{buildroot}%{_pkgdocdir}/COMPILING.md
|
||||
%files
|
||||
%doc code-of-conduct.md NEWS README.md
|
||||
%license COPYING.LIB
|
||||
%if %{undefined rhel}
|
||||
%license LICENSE.dependencies
|
||||
%endif
|
||||
%{_libdir}/librsvg-2.so.*
|
||||
%dir %{_libdir}/girepository-1.0
|
||||
%{_libdir}/girepository-1.0/Rsvg-2.0.typelib
|
||||
|
Loading…
Reference in New Issue
Block a user