Details
-
Improvement
-
Resolution: Fixed
-
Minor
-
None
-
None
-
9223372036854775807
Description
RPM 4.16 removed support for bare words in expressions (eg a == b needs to be "a" == "b" now). More changes are in:
https://rpm.org/wiki/Releases/4.16.0
The following errors in lustre.spec and lustre-dkms.spec need to be resolved:
# rpm --version RPM version 4.16.1.3 # find . -name "*.spec" | xargs rpmlint ./lustre.spec:442: W: macro-in-comment %optflags ./lustre.spec:469: W: macro-in-comment %{name} ./lustre.spec:723: E: hardcoded-library-path in %{_prefix}/lib/ocf/resource.d/lustre/ ./lustre.spec:110: W: mixed-use-of-spaces-and-tabs (spaces: line 110, tab: line 59) ./lustre.spec: E: specfile-error error: bare words are no longer supported, please use "...": redhat=="redhat" || redhat=="fedora" ./lustre.spec: E: specfile-error error: ^ ./lustre.spec: E: specfile-error error: ./lustre.spec:133: bad %if condition: redhat=="redhat" || redhat=="fedora" ./lustre.spec: E: specfile-error error: query of specfile ./lustre.spec failed, can't parse ./lustre-dkms.spec:79: W: unversioned-explicit-provides lustre-dkms ./lustre-dkms.spec:80: W: unversioned-explicit-obsoletes lustre-dkms ./lustre-dkms.spec:107: W: unversioned-explicit-provides lustre-osd ./lustre-dkms.spec:109: W: unversioned-explicit-provides lustre-client ./lustre-dkms.spec:144: E: hardcoded-library-path in /usr/lib/dkms/common.postinst ./lustre-dkms.spec:40: W: mixed-use-of-spaces-and-tabs (spaces: line 40, tab: line 12) ./lustre-dkms.spec: E: specfile-error error: bare words are no longer supported, please use "...": redhat=="redhat" || redhat=="fedora" ./lustre-dkms.spec: E: specfile-error error: ^ ./lustre-dkms.spec: E: specfile-error error: ./lustre-dkms.spec:31: bad %if condition: redhat=="redhat" || redhat=="fedora" ./lustre-dkms.spec: E: specfile-error error: query of specfile ./lustre-dkms.spec failed, can't parse 0 packages and 2 specfiles checked; 10 errors, 8 warnings.