Bug 33078 - 2.0.7. gear-create-tag неправильно определяет имя
Summary: 2.0.7. gear-create-tag неправильно определяет имя
Status: CLOSED WONTFIX
Alias: None
Product: Sisyphus
Classification: Development
Component: gear (show other bugs)
Version: unstable
Hardware: all Linux
: P3 normal
Assignee: Dmitry V. Levin
QA Contact: qa-sisyphus
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2017-02-05 22:18 MSK by Sergey Y. Afonin
Modified: 2017-10-28 03:17 MSK (History)
4 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Sergey Y. Afonin 2017-02-05 22:18:35 MSK
$ gear-create-tag
gear-create-tag: Creating tag named "3.1.1-alt0.20151110.3" using ...

В srpm такой код:

===
%define snapshot    0

Name: mailutils

%define baseversion 3.1.1

%if %snapshot
%define snapshotdate 20151110
Version: %baseversion
Release: alt0.%snapshotdate.3
%define srcdir %name-%snapshotdate
%else
Version: %baseversion
Release: alt1
%define srcdir %name-%version
%endif
===
Comment 1 Dmitry V. Levin 2017-10-28 03:17:06 MSK
В gear принципиально простой парсер спеков, который не знает условных конструкций.