- specfiletests'de verify da çalıştır.
- Summary tag'ı zorunlu popt.pspec'e ekle
This commit is contained in:
@@ -15,6 +15,7 @@
|
||||
<License>As-Is</License>
|
||||
<IsA>library:util:optparser</IsA>
|
||||
<PartOf>rpm:archive</PartOf>
|
||||
<Summary>Popt command line option parser</Summary>
|
||||
<Description>Command line option parsing library.
|
||||
While it is similiar to getopt(3), it contains a number of enhancements, including:
|
||||
|
||||
|
||||
@@ -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())
|
||||
|
||||
Reference in New Issue
Block a user