[packaging] [Bug 5217] New: Kolab Development: built packages have wrong release number

Kolab Bugzilla noreply at kolab.org
Fri Sep 4 08:14:09 CEST 2015


https://issues.kolab.org/show_bug.cgi?id=5217

            Bug ID: 5217
           Summary: Kolab Development: built packages have wrong release
                    number
    Classification: Kolab Server
           Product: Kolab Server
           Version: unspecified
          Hardware: PC
                OS: Linux
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: packaging
          Assignee: packaging-bugs at lists.kolabsys.com
          Reporter: tp at tbits.net
       Ticket Type: ---

in the spec file
https://obs.kolabsys.com/package/view_file/Kolab:Development/libcalendaring/libcalendaring.spec?expand=1

the version number is defined like this:
Version: 4.9.2
Release: 0.20150623.git7895d30%{?dist}

But OBS creates this rpm file:
Wrote:
/home/abuild/rpmbuild/RPMS/x86_64/libcalendaring-4.9.2-1.2.el7.kolab_3.5.x86_64.rpm
according to
https://obs.kolabsys.com/package/live_build_log/Kolab:Development/libcalendaring/CentOS_7/x86_64

Same for kolab-utils, and probably other packages as well.

I compared it with my nightly packages, and realised that I have this line at
the top, which seems to make a difference:

%define release_prefix dev%(date +%%Y%%m%%d)
Version: 4.9.2
Release:        99.dev%(date +%%Y%%m%%d)%{?dist}
that creates files like: libcalendaring-4.9.2-99.dev20150904.396.1.x86_64.rpm

-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.kolabsys.com/pipermail/packaging-bugs/attachments/20150904/aa766c67/attachment.htm>


More information about the packaging-bugs mailing list