Bug 1527956 - %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: usbguard
Version: 27
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Daniel Kopeček
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2017-12-20 15:19 UTC by Kamil Dudka
Modified: 2018-03-22 16:59 UTC (History)
1 user (show)

Fixed In Version: usbguard-0.7.2-2.fc26 usbguard-0.7.2-2.fc27
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2018-03-22 16:47:57 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)

Description Kamil Dudka 2017-12-20 15:19:23 UTC
Description of problem:
usbguard.spec contains unescaped RPM macro in a change log entry, which is not allowed.


Version-Release number of selected component (if applicable):
usbguard-0.7.1-1.fc27


Steps to Reproduce:
1. rpmlint usbguard.spec


Actual results:
usbguard.spec:332: W: macro-in-%changelog %check
0 packages and 1 specfiles checked; 0 errors, 1 warnings.


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/usbguard.spec
+++ b/usbguard.spec
@@ -329,7 +329,7 @@ find %{buildroot} \( -name '*.la' -o -name '*.a' \) -exec rm -f {} ';'

 * Tue Apr 14 2015 Daniel Kopecek <dkopecek> 0.3p3-1
 - Update to version 0.3p3
-- added %check section
+- added %%check section
 - removed explicit -devel requires on systemd, libqb and
   libsodium devel files
 - added -devel requires on libstdc++-devel

Comment 1 Fedora Update System 2018-01-23 14:34:18 UTC
usbguard-0.7.2-2.fc26 has been submitted as an update to Fedora 26. https://bodhi.fedoraproject.org/updates/FEDORA-2018-6c17a7c43b

Comment 2 Fedora Update System 2018-01-23 14:34:32 UTC
usbguard-0.7.2-2.fc27 has been submitted as an update to Fedora 27. https://bodhi.fedoraproject.org/updates/FEDORA-2018-f71a44ae09

Comment 3 Fedora Update System 2018-01-23 22:51:00 UTC
usbguard-0.7.2-2.fc26 has been pushed to the Fedora 26 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-2018-6c17a7c43b

Comment 4 Fedora Update System 2018-01-23 23:42:59 UTC
usbguard-0.7.2-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-2018-f71a44ae09

Comment 5 Fedora Update System 2018-03-22 16:47:57 UTC
usbguard-0.7.2-2.fc26 has been pushed to the Fedora 26 stable repository. If problems still persist, please make note of it in this bug report.

Comment 6 Fedora Update System 2018-03-22 16:59:33 UTC
usbguard-0.7.2-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.