Benson Muite venit, vidit, dixit 2025-11-10 04:23:31:
> 
> 
> 
> On Mon, Nov 10, 2025, at 6:18 AM, Ian Pilcher wrote:
> > I've spent the last several hours beating my head against this, and I
> > just want to confirm that it's truly impossible before I give up.
> >
> > I have a GitHub repo that contains a couple of source files in its /src
> > directory, and I've trying to figure out how to do automatic builds in
> > COPR when I push a new tag, while automatically setting the RPM version
> > from the tag.  Everything that I've read says that rpkg is the way to do
> > this.
> >
> > But ... I want the SPEC file template to live in a subdirectory of the
> > repository, /rpm, not in its root directory.
> >
> > It seems like this is impossible, because rpkg only packages the stuff
> > under the /rpm directory into the source file that it generates.
> >
> > Do I have this right?  This truly is impossible?
> 
> It is possible. Try out Packit:
> https://packit.dev

copr/rpkg can do this just fine, see e.g.

https://github.com/xournalpp/xournalpp/blob/master/rpm/fedora/xournalpp.spec

and many others. It may take a bit to wrap your head around the various
variants of rpkg commands. Trying rpkg locally can help.

You don't need to employ an extra service such as packit (but you can,
of course).

Michael
-- 
_______________________________________________
devel mailing list -- [email protected]
To unsubscribe send an email to [email protected]
Fedora Code of Conduct: 
https://docs.fedoraproject.org/en-US/project/code-of-conduct/
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: 
https://lists.fedoraproject.org/archives/list/[email protected]
Do not reply to spam, report it: 
https://pagure.io/fedora-infrastructure/new_issue

Reply via email to