Commit Graph

1 Commits

Author SHA1 Message Date
thisisshub c3954a5c89 Add test in test_speccheck, modified SpecCheck.py
This commit contains,
1. Refactored check in SpecCheck.py
2. Source-rpms in test/source
3. Tests in test_speccheck which are named with test_check_*
4. Specfile in test/spec listed as,
- %autopatch-not-in-prep.spec
- %autosetup-not-in-prep.spec
- broken-syntax-in-scriptlet-requires.spec
- buildarch-instead-of-exclusivearch-tag.spec
- buildprereq-use.spec
- comparison-operator-in-deptoken.spec
- configure-without-libdir-spec.spec
- deprecated-grep.spec
- depscript-without-disabling-depgen.spec
- forbidden-controlchar-found.spec
- hardcoded-library-path.spec
- hardcoded-packager-tag.spec
- hardcoded-path-in-buildroot-tag.spec
- hardcoded-prefix-tag.spec
- %ifarch-applied-patch.spec
- invalid-url.spec
- libdir-macro-in-noarch-package.spec
- lib-package-without-%mklibname.spec
- macro-in-changelog.spec
- macro-in-comment.spec
- make-check-outside-check-section.spec
- mixed-use-of-spaces-and-tabs.spec
- more-than-one-%changelog.spec
- no-buildroot-tag.spec
- non-break-space.spec
- non-standard-group.spec
- non-utf8-spec-file.spec
- no-%%%s-section.spec
- obsolete-tag.spec
- rpm-buildroot-usage.spec
- setup-not-in-prep.spec
- setup-not-quiet.spec
- SpecCheck2.spec
- SpecCheck3.spec
- SpecCheck4.spec
- SpecCheck.spec
- SpecCheckTemp.spec
- unversioned-explicit-obsoletes.spec
- unversioned-explicit-version.spec
- use-of-RPM-SOURCE-DIR.spec
2020-07-02 10:14:30 +02:00