Re: old RPM code in my package - safe to remove this bit ?

2023-11-29 Thread Tom Hughes via devel
On 30/11/2023 00:28, Michal Schorm wrote: On Thu, Nov 30, 2023 at 1:19 AM Tom Hughes via devel wrote: It hasn't been needed for a long time. Good, thanks. Off it goes. :) It's just making %license an alias for %doc if your building for a release old enough that %license isn't supported, as

Re: old RPM code in my package - safe to remove this bit ?

2023-11-29 Thread Michal Schorm
On Thu, Nov 30, 2023 at 1:19 AM Tom Hughes via devel wrote: > It hasn't been needed for a long time. Good, thanks. Off it goes. :) > It's just making %license an alias for %doc if your building > for a release old enough that %license isn't supported, as > detected by checking if %licensedir is

Re: old RPM code in my package - safe to remove this bit ?

2023-11-29 Thread Tom Hughes via devel
On 30/11/2023 00:14, Michal Schorm wrote: I've stumbled upon this piece of code in my package: # Define license macro if not present %{!?_licensedir:%global license %doc} https://src.fedoraproject.org/rpms/mariadb/blob/rawhide/f/mariadb.spec#_322 Git blame points out 7 year old commit: h

old RPM code in my package - safe to remove this bit ?

2023-11-29 Thread Michal Schorm
Hi, I've stumbled upon this piece of code in my package: # Define license macro if not present %{!?_licensedir:%global license %doc} https://src.fedoraproject.org/rpms/mariadb/blob/rawhide/f/mariadb.spec#_322 Git blame points out 7 year old commit: https://src.fedoraproject.org/rpms/mariadb/