Commit Graph
28 Commits
Author SHA1 Message Date
Karolina Surma f53ef4ee7f Provide modules as list, there may be more of them 2021-09-13 08:33:49 +02:00
Karolina Surma 5a67bce75e Runtime BR's are implicitly required 2021-09-13 08:20:12 +02:00
Karolina Surma dbca600ac1 Improve template formatting 2021-09-09 12:16:52 +02:00
Karolina Surma a56993c468 Improve template - %doc nad %license are optional 2021-09-09 12:16:17 +02:00
Karolina Surma 2069fa03ad Improve validation - don't try to be omnipotent 2021-09-09 11:22:22 +02:00
Karolina Surma 615df7d5df Make it possible to set custom output for the spec file 2021-09-06 10:24:29 +02:00
Karolina Surma 293ae7427f Implement config file validation 2021-09-02 13:12:34 +02:00
Karolina Surma 57ac75a838 Clean up after test execution 2021-09-02 13:10:36 +02:00
Karolina Surma 8f3ff493ac Rename expected files so they match the generated ones 2021-09-02 13:09:48 +02:00
Karolina Surma c42bf66529 Add python-aioflo config and specfile to tests 2021-09-01 19:13:29 +02:00
Karolina Surma 74d8f70bf6 Add python-boutdata test config and expected spec file 2021-09-01 17:44:02 +02:00
Karolina Surma cf392c25a0 Improve formatting of BuildRequires 2021-09-01 17:32:39 +02:00
Karolina Surma ec886bd215 Rename directory with expected spec files
This way it indicates explicitly the purpose of its contents.
2021-09-01 17:32:39 +02:00
Karolina Surma 0c8b2dbc1d Refactor generating %check section 2021-09-01 17:32:39 +02:00
Karolina Surma ad56d7193b Refactor generating extra BR's to avoid space hell 2021-09-01 12:07:08 +02:00
Karolina Surma 1052ac25f8 Flatten the config file structure 2021-09-01 10:51:44 +02:00
Karolina Surma 5043bc63d5 Make the specs actually buildable 2021-08-25 09:29:36 +02:00
Karolina Surma d388433065 Introduce archive name as another key 2021-08-24 13:39:07 +02:00
Karolina Surma 8a94dbf001 Use file_regression to generate the files to compare
This shall make the maintenance of data files a little easier in the
future.
2021-08-24 13:24:41 +02:00
Karolina Surma 5de54f32ea Generate %{_bindir}/ if the package provides binary_files 2021-08-24 13:17:18 +02:00
Karolina Surma 05c2758b4f Handle situations where no extra BR's are required
Generating extra BR's is optional.
2021-08-24 13:17:18 +02:00
Karolina Surma 0e2ad98e0a Add unwanted tests to %check section 2021-08-24 13:17:18 +02:00
Karolina Surma 15398f1198 Generate correct extra BRs 2021-08-24 13:17:05 +02:00
Karolina Surma ac777c6625 autosetup shall require module name instead of just name 2021-08-23 17:49:00 +02:00
Karolina Surma 6f125fe344 Add test package with extra BR and unwanted tests in %check
- Change extra_build_requires to list as it's possible to define more than
1.
2021-08-23 17:46:13 +02:00
Karolina Surma cca01faed1 License the project
Code is under MIT.
template.spec and files generated by the project
(spec files & config files) are under CC0 1.0 Universal.
2021-08-19 09:13:17 +02:00
Karolina Surma b75f2bbc3e Set up CI - run tests on GH Actions 2021-08-16 13:44:16 +02:00
Karolina Surma 65bb4bee40 Initial commit 2021-08-16 12:41:58 +02:00