Skip to content
Permalink
Browse files

Fix changelog date in rpm speci when build is 'stable'

  • Loading branch information
daniviga committed Oct 25, 2017
1 parent fac6543 commit 067774839e8a2ac38977cc81bf31c957f9ae5a6f
Showing with 7 additions and 1 deletion.
  1. +7 −1 rpm/qgis.spec.template
@@ -6,6 +6,12 @@
# - _relver
# - _timestamp (optional)

%if %{_timestamp} > 0
%define builddate %(date -d @%{_timestamp} '+%a %b %d %Y')
%else
%define builddate %(date '+%a %b %d %Y')
%endif

Name: qgis
Version: %{_version}
Release: %{_relver}%{?dist}
@@ -366,5 +372,5 @@ update-mime-database %{?fedora:-n} %{_datadir}/mime &> /dev/null || :


%changelog
* %(date -d @%{_timestamp} '+%a %b %d %Y') Daniele Viganò <daniele@vigano.me> %{_version}-%{_relver}
* %{builddate} Daniele Viganò <daniele@vigano.me> %{_version}-%{_relver}
- Automatic build

0 comments on commit 0677748

Please sign in to comment.
You can’t perform that action at this time.