Skip to content

Commit

Permalink
Make buildtime part of the rpm release in CI builds
Browse files Browse the repository at this point in the history
  • Loading branch information
bzeller committed Jul 9, 2021
1 parent 6f69027 commit cd30431
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions libzypp.spec.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -27,11 +27,18 @@
%bcond_with zstd
%endif

# flag to signal if we are running in CI or not
%bcond_with cimode

%bcond_without mediabackend_tests

Name: libzypp
Version: @VERSION@
%if %{with cimode}
Release: 0%{lua: print(os.time(os.date("!*t")))}.<RELEASE>
%else
Release: 0
%endif
License: GPL-2.0+
Url: https://github.com/openSUSE/libzypp
Summary: Library for package, patch, pattern and product management
Expand Down

0 comments on commit cd30431

Please sign in to comment.