solution for specfile not in upstream
See original GitHub issueSome projects do not want to have a spec file in the upstream project.
Now, we have the following solutions:
- Create a sourcegit with the one commit containing the spec file. (needs manual sync from upstream to sourcegit.)
- Generate or download the spec file in the
post-upstream-clone
hook.
What about:
- Adding a new option (
specfile_url
) to the config for this situation. - Adding support for URL to the
specfile_path
option.
Issue Analytics
- State:
- Created 4 years ago
- Reactions:3
- Comments:24 (24 by maintainers)
Top Results From Across the Web
FAQ - Packit
If you do not want to have the RPM spec file in your upstream repository, you can download it in actions ... The...
Read more >fatal: The current branch master has no upstream branch
Then the issue is that you have not configured git to always create new branches on the remote from local ones. The permanent...
Read more >Cannot build rpms from upstream spec file on rawhide #3779
a build will fail with empty manifest files. This is a reason why it's not possible to build rpms on rawhide. There are...
Read more >Packaging:Conflicts - Fedora Project Wiki
When renaming or putting files into subdirectories, it is a good idea to try to get upstream to rename their conflicting files (for...
Read more >Avoiding the Top 10 NGINX Configuration Mistakes
Errors include insufficient file descriptors per worker, disabling proxy buffering, and not using upstream groups and keepalive connections.
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
This is documented here https://packit.dev/faq/#how-can-i-download-rpm-spec-file-if-it-is-not-part-of-upstream-repository
Can we close the issue?
Well, I tested SPEC file not in upstream on
rebase-helper
package. I have slightly modifiedrebase-helper/.packit.yaml
file for this test.Row
rm -f rebase-helper.spec
was added for sure, that SPEC file is really missing in upstream repository. I In the next step, I run commandpackit -d srpm
And you can see, that
wget
orcurl
solution could be used for SPEC file not in upstream. What is missing now is to document it.