On Mon, Apr 29, 2024 at 01:44:05PM +0200, Fabio Valentini wrote:
On Mon, Apr 29, 2024 at 1:28 PM Richard W.M. Jones
<rjones(a)redhat.com> wrote:
>
> On Sat, Apr 27, 2024 at 10:41:59PM +0200, Julian Sikorski wrote:
> > Hello,
> >
> > I need to rebuild mame on F40 only for qt-6.7. On rawhide,
> > mame-0.265-1.fc41 is already built against it so I only need to
> > build mame-0.265-1.fc40.1. Can it be done using %autorelease?
>
> I don't think anyone answered your actual question which is ...
>
> Release: %autorelease -e 1
No, this will make a Release like 2.1.fc40 - which is not what's
needed (which would be 1.fc40.1).
So it doesn't work because -e adds a component *before* the dist-tag,
*and* because the main number is still incremented.
Interesting .. I've definitely seen this flag being used in an attempt
to fix the issue described, but I didn't realise that it didn't work.
It sounds like a bug in %autorelease.
Rich.
--
Richard Jones, Virtualization Group, Red Hat
http://people.redhat.com/~rjones
Read my programming and virtualization blog:
http://rwmj.wordpress.com
Fedora Windows cross-compiler. Compile Windows programs, test, and
build Windows installers. Over 100 libraries supported.
http://fedoraproject.org/wiki/MinGW