mirror of
https://gitlab.freedesktop.org/NetworkManager/NetworkManager.git
synced 2026-02-04 02:30:24 +01:00
contrib/rpm: force POSIX changelog date locale
Ensure the date in the generated changelog entry is in the POSIX locale format. Otherwise rpmbuild might fail with "bad date in %changelog" due to it not liking localised date formats. https://mail.gnome.org/archives/networkmanager-list/2014-May/msg00034.html Signed-off-by: Thomas Haller <thaller@redhat.com>
This commit is contained in:
parent
950d9fff26
commit
c2e99b181f
1 changed files with 1 additions and 1 deletions
|
|
@ -110,7 +110,7 @@ fi
|
|||
|
||||
if [[ "x$CHANGELOG" == x ]]; then
|
||||
cat <<EOF > "$TEMP/SOURCES/CHANGELOG"
|
||||
* $(LOCALE= date '+%a %b %d %Y') $USERNAME - %{version}-%{release_version}%{snapshot}.%{git_sha}
|
||||
* $(LC_TIME=C date '+%a %b %d %Y') $USERNAME - %{version}-%{release_version}%{snapshot}.%{git_sha}
|
||||
- Test build of NetworkManager ($DATE, $UUID)
|
||||
$(git log -n20 --date=local --format='- %h %s [%an] (%ci)')
|
||||
- ...
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue