[20/20] SPECfile cleanup - Do not try to re-define the RPM %license Virtual File Attribute to a global macro
https://rpm-software-management.github.io/rpm/manual/spec.html This code was likely meant to deal %license tag on systems without RPM 4.11, which could happen when the maintainer wanted to keep close the content of Fedora SPECfile and RHEL SPECfile at a time. While in Fedora the RPM 4.11 was present for years before the commit that added this code, it might not be the case in an old, but still active, RHEL at that time.
This commit is contained in:
parent
bfbe4efc59
commit
dfc363eceb
@ -18,9 +18,6 @@
|
||||
%global __requires_exclude ^perl\\((hostnames|lib::mtr|lib::v1|mtr_|My::|wsrep)
|
||||
%global __provides_exclude_from ^(%{_datadir}/(mysql|mysql-test)/.*|%{_libdir}/%{pkg_name}/plugin/.*\\.so)$
|
||||
|
||||
# Define license macro if not present
|
||||
%{!?_licensedir:%global license %doc}
|
||||
|
||||
# Temporary workaround to fix the "internal compiler error" described in https://bugzilla.redhat.com/show_bug.cgi?id=2239498
|
||||
# TODO: Remove when the issue is resolved
|
||||
%ifarch i686
|
||||
|
Loading…
Reference in New Issue
Block a user