Commit Graph

6 Commits

Author SHA1 Message Date
Przemo Firszt
02769019bc [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
e7bf1947b8 Update fedora spec as per sopwith
Signed-off-by: Przemo Firszt <przemo@firszt.eu>
2019-09-25 15:35:10 +02:00
Przemo Firszt
aa85dbbf64 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
f9d643aac6 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
99c69efc34 Fix base number of commits
Signed-off-by: Przemo Firszt <przemo@firszt.eu>
2018-05-28 16:51:53 +02:00
Przemo Firszt
866872df3f 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