| |
@@ -39,7 +39,7 @@
|
| |
|
| |
def run_on_applicable(self):
|
| |
"""
|
| |
- Check that we don't have BR:perl-devel and do have the
|
| |
+ Check that we don't have BR:perl-devel and don't have the
|
| |
Requires: perl_compat thin.
|
| |
"""
|
| |
|
| |
@@ -55,8 +55,8 @@
|
| |
compat = rpm.expandMacro(perl_compat)
|
| |
for r in self.spec.get_requires():
|
| |
if r == compat:
|
| |
- break
|
| |
- else:
|
| |
- self.set_passed(self.PENDING, "Requires: " + perl_compat + " missing?")
|
| |
- return
|
| |
+ self.set_passed(
|
| |
+ self.FAIL, "Requires: " + perl_compat + " has to be removed"
|
| |
+ )
|
| |
+ return
|
| |
self.set_passed(self.PENDING)
|
| |
The update is related to proposed change
https://fedoraproject.org/wiki/Changes/Perl_replace_MODULE_COMPAT_by_generator
It is documented on Fedora Guidelines for Perl
https://docs.fedoraproject.org/en-US/packaging-guidelines/Perl/#_versioned_module_compat_requires_or_perl_libs