Commit Graph

6 Commits

Author SHA1 Message Date
Przemo Firszt
9153079756 [COPR] Restore dist in Release
This is to fix:
WARNING: No disttag found in prebuilt packages
INFO: Use --define DISTTAG to set proper dist. e. g. --define DISTTAG fc21.
ERROR: 'No disttag in package and no DISTTAG flag. Use --define DISTTAG to set proper dist e. g., --define DISTTAG=fc21.' (logs in /var/lib/copr-rpmbuild/workspace/workdir-wgba9jrq/.cache/fedora-review.log)

Also adding option to git_commint_no suppressing new line prevents
breaking line in Release tag.

Signed-off-by: Przemo Firszt <przemo@firszt.eu>
2021-08-28 12:53:18 +01:00
Przemo Firszt
1966238d44 Update fedora spec as per sopwith
Signed-off-by: Przemo Firszt <przemo@firszt.eu>
2019-09-25 15:35:10 +02:00
Przemo Firszt
7ed7b7add0 Use github api to find the total number of commits
That approach is faster and doesn't require huge download to determine
the total number of commits.

Signed-off-by: Przemo Firszt <przemo@firszt.eu>
2018-11-10 17:03:20 +01:00
Przemo Firszt
c6c55cb6c3 Change method of counting commits
The count of commits in unshallowed copy should always match the actual
number of commits in the master repository, so the is no need for
workarounds.

Signed-off-by: Przemo Firszt <przemo@firszt.eu>
2018-07-28 15:25:35 +02:00
Przemo Firszt
1a71777f5f Fix base number of commits
Signed-off-by: Przemo Firszt <przemo@firszt.eu>
2018-05-28 16:51:53 +02:00
Przemo Firszt
db902b4622 Add fedora spec and support files
That will allow automatic fedora builds using COPR

Signed-off-by: Przemo Firszt <przemo@firszt.eu>
2018-05-27 18:46:58 +02:00