Skip to content

Commit

Permalink
chore: Do not rely on rpm changelog during build process (#116)
Browse files Browse the repository at this point in the history
Signed-off-by: Sergiy Kulanov <[email protected]>
  • Loading branch information
SergK committed Sep 5, 2024
1 parent 7a2cd5e commit 28d2c19
Showing 1 changed file with 5 additions and 4 deletions.
9 changes: 5 additions & 4 deletions build/templates/applications/rpm-package/java/spec.tmpl
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
%global source_date_epoch_from_changelog 0
%define debug_package %{nil}

%if 0%{?RELEASE_NUMBER:1} != 0
%define rel %{?RELEASE_NUMBER}
%else
Expand All @@ -13,7 +16,7 @@
Name: {{.Name}}
Version: %{ver}
Release: %{rel}
Summary: {{.Name}} Application
Summary: {{.Name}} application
ExclusiveArch: %{_arch}

License: Apache-2.0
Expand All @@ -26,10 +29,8 @@ Requires(post): systemd
Requires(preun): systemd
Requires(postun): systemd

%define debug_package %{nil}

%description
Hello World Application
{{.Name}} application

%prep
%setup -q
Expand Down

0 comments on commit 28d2c19

Please sign in to comment.