Packit doesn't handle Source0 with symbol '-' after %{version}
See original GitHub issueI was updating our spec file to match Fedora guidelines. One of the things is to make sure your Source0 is actually pointing to the tarball.
I updated Source0 from
%{name}-%{version}.tar.gz
to
%{name}-%{version}-1.tar.gz
.
The -1
is created by tito
in our case because the tag ends up with -1
.
Everything was fine and I wanted to create a new build via packit.
I’ve got the following error:
packit.exceptions.PackitSRPMException: Preparing of the upstream to the SRPM build failed: The target archive doesn't use a common extension (.tar.gz, .tar.bz2, .tar.xz, .zip), git archive can't be used. Please provide your own script for archive creation.
I did some debug and I noticed that assumed extension is -1.tar.gz
Issue Analytics
- State:
- Created 4 years ago
- Comments:7 (6 by maintainers)
Top Results From Across the Web
Configuration - Packit
Configuration # Packit uses a configuration file in the upstream repository. The config file is ... PACKIT_PROJECT_VERSION - version from git describe ...
Read more >FAQ - PackIt
FREEZABLE PRODUCTS How long do PackIt Lunch Bags stay cold? Once they're frozen, PackIt bags can keep food cool for up to 8...
Read more >Interface and Hardware Component Command ... - Cisco
10.1 20.20.20.1. The bundle-hash command does not display all possible IP addresses in an entire series. It stops displaying addresses after all ...
Read more >RPM Guide
You can install a package more than once. The rpm command won't complain. The upgrade operation, though, will remove all other versions of...
Read more >Frequently Asked Questions — DeepStream 6.1.1 Release ...
This is a harmless warning indicating that the DeepStream's nvinferserver plugin cannot be used since “Triton Inference Server” is not installed ...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
So my PR should fix this:
interesting: it was literally a bug that rebase-helper did not commit the Source change to disk - so the old one was kept