[opensuse-buildservice] Release number
Hi all!
Let's suppose i have imported package, .spec file contains "Release: 99{?dist}" entry. Prjconf contains "Release: %%{?upstream_relnum}%%{?dist}.
On Monday 2018-07-02 15:02, Mitya Ivanov wrote:
Hi all! Let's suppose i have imported package, .spec file contains "Release: 99{?dist}" entry. Prjconf contains "Release: %%{?upstream_relnum}%%{?dist}.
". How can i make so that will count from 0 and not from 99?
It's a checkin counter, it is never going to go backwards under normal circumstances. That would be as terrible as SVN revision 15 following revision 42 - kind of idiotic if you ask me. -- To unsubscribe, e-mail: opensuse-buildservice+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-buildservice+owner@opensuse.org
On Mon, Jul 2, 2018 at 9:49 AM Jan Engelhardt
On Monday 2018-07-02 15:02, Mitya Ivanov wrote:
Hi all! Let's suppose i have imported package, .spec file contains "Release: 99{?dist}" entry. Prjconf contains "Release: %%{?upstream_relnum}%%{?dist}.
". How can i make so that will count from 0 and not from 99? It's a checkin counter, it is never going to go backwards under normal circumstances. That would be as terrible as SVN revision 15 following revision 42 - kind of idiotic if you ask me.
For our internal build service instance, we always use the following
formula in prjconf:
Release:
I need to rework some packages from CentOS and save NVR compatibility with original one's. And i want to add
On Mon, Jul 2, 2018 at 9:49 AM Jan Engelhardt
wrote: On Monday 2018-07-02 15:02, Mitya Ivanov wrote:
>Hi all! >Let's suppose i have imported package, .spec file contains "Release: 99{?dist}" entry. Prjconf contains "Release: %%{?upstream_relnum}%%{?dist}.
". >How can i make so that will count from 0 and not from 99? It's a checkin counter, it is never going to go backwards under normal circumstances. That would be as terrible as SVN revision 15 following revision 42 - kind of idiotic if you ask me.
For our internal build service instance, we always use the following formula in prjconf:
Release:
. %%{?dist} I'd rather have this available as a system-wide setting that local overrides per project are possible, but that's not a thing, sadly.
-- 真実はいつも一つ!/ Always, there's only one truth! -- To unsubscribe, e-mail: opensuse-buildservice+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-buildservice+owner@opensuse.org
participants (3)
-
Jan Engelhardt
-
Mitya Ivanov
-
Neal Gompa