Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Make buildtime part of the version number in CI builds #326

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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