On Tue, Dec 02, 2025 at 08:10:05AM +0100, Miroslav Suchý wrote:
> Dne 01. 12. 25 v 6:44 odp. Daniel P. Berrangé napsal(a):
> > You still have to provide a suitable SPDX license tag though, and there
> > isn't a good shortcut for that.  The nodejs-packaging-bundler package
> > provides a tool to create the bundle and that can extract and report
> > on license info. You still have to review its report and confert that
> > into a suitable SPDX expression though. The SPDX expressino will still
> > be relativey compact since there will be few distinct licenses to
> > report.
> 
> To make your life little bit easier you can utilize %shrink macro. See this 
> example
> 
> https://src.fedoraproject.org/rpms/tbtools/blob/rawhide/f/tbtools.spec#_33

FWIW, the extra macro isn't technically needed, as the %{shrink...} macro
can be used inline against the License tag. '%dnl' lines can also be used to
record comments if desired. I do it only for complex packages lots of bundled
code to remind myself where things come from eg

  
https://src.fedoraproject.org/rpms/linux-sgx/blob/rawhide/f/linux-sgx.spec#_162

With regards,
Daniel
-- 
|: https://berrange.com      -o-    https://www.flickr.com/photos/dberrange :|
|: https://libvirt.org         -o-            https://fstop138.berrange.com :|
|: https://entangle-photo.org    -o-    https://www.instagram.com/dberrange :|

-- 
_______________________________________________
devel mailing list -- [email protected]
To unsubscribe send an email to [email protected]
Fedora Code of Conduct: 
https://docs.fedoraproject.org/en-US/project/code-of-conduct/
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: 
https://lists.fedoraproject.org/archives/list/[email protected]
Do not reply to spam, report it: 
https://pagure.io/fedora-infrastructure/new_issue

Reply via email to