Bug 1523643 - %check RPM macro used in %changelog needs to be escaped
Summary: %check RPM macro used in %changelog needs to be escaped
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Fedora
Classification: Fedora
Component: libtiff
Version: 27
Hardware: Unspecified
OS: Unspecified
high
high
Target Milestone: ---
Assignee: Nikola Forró
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2017-12-08 13:34 UTC by Kamil Dudka
Modified: 2017-12-19 19:48 UTC (History)
3 users (show)

Fixed In Version: libtiff-4.0.9-2.fc27
Clone Of:
Environment:
Last Closed: 2017-12-19 19:48:44 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)

Description Kamil Dudka 2017-12-08 13:34:10 UTC
Description of problem:
The following change log entry contains unescaped RPM macro, which is not allowed:
* Wed Oct 16 2013 Petr Hracek <phracek> - 4.0.3-12
- make check moved to %check section (#1017070)


Version-Release number of selected component (if applicable):
libtiff-4.0.8-3.fc27


How reproducible:
Easily.


Steps to Reproduce:
1. rpmlint libtiff.spec


Actual results:
libtiff.spec:240: W: macro-in-%changelog %check


Additional info:
This causes problems to csmock (a tool for fully automatic static analysis of RPM packages).

Please consider applying the following trivial patch:
--- a/libtiff.spec
+++ b/libtiff.spec
@@ -237,7 +237,7 @@ find html -name 'Makefile*' | xargs rm
 - Fix #510240 Correct tiff2ps man option -W

 * Wed Oct 16 2013 Petr Hracek <phracek> - 4.0.3-12
-- make check moved to %check section (#1017070)
+- make check moved to %%check section (#1017070)

 * Tue Oct 08 2013 Petr Hracek <phracek> - 4.0.3-11
 - Resolves: #510258, #510240 - man page corrections

Comment 3 Fedora Update System 2017-12-11 15:20:08 UTC
libtiff-4.0.9-2.fc27 has been submitted as an update to Fedora 27. https://bodhi.fedoraproject.org/updates/FEDORA-2017-15ff678c5b

Comment 4 Fedora Update System 2017-12-12 15:59:17 UTC
libtiff-4.0.9-2.fc27 has been pushed to the Fedora 27 testing repository. If problems still persist, please make note of it in this bug report.
See https://fedoraproject.org/wiki/QA:Updates_Testing for
instructions on how to install test updates.
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2017-15ff678c5b

Comment 5 Fedora Update System 2017-12-19 19:48:44 UTC
libtiff-4.0.9-2.fc27 has been pushed to the Fedora 27 stable repository. If problems still persist, please make note of it in this bug report.


Note You need to log in before you can comment on or make changes to this bug.