diff --git a/samples/popt/popt.pspec b/samples/popt/popt.pspec index 27405bae..1f9e06b7 100644 --- a/samples/popt/popt.pspec +++ b/samples/popt/popt.pspec @@ -15,6 +15,7 @@ As-Is library:util:optparser rpm:archive + Popt command line option parser Command line option parsing library. While it is similiar to getopt(3), it contains a number of enhancements, including: diff --git a/tests/specfiletests.py b/tests/specfiletests.py index 80fd198b..134316fd 100644 --- a/tests/specfiletests.py +++ b/tests/specfiletests.py @@ -58,7 +58,9 @@ class SpecFileTestCase(unittest.TestCase): if "rpm:archive" != pkg.partof: self.fail("Failed to match PartOf in Package") - + def testVerify(self): + if not self.spec.verify(): + self.fail("Failed to verify specfile") def testCopy(self): util.check_dir(config.tmp_dir())