aboutgitcodebugslistschat
path: root/contrib/fedora
diff options
context:
space:
mode:
Diffstat (limited to 'contrib/fedora')
-rw-r--r--contrib/fedora/passt.spec2
-rw-r--r--contrib/fedora/rpkg.macros6
2 files changed, 6 insertions, 2 deletions
diff --git a/contrib/fedora/passt.spec b/contrib/fedora/passt.spec
index 825cd76..7950fb9 100644
--- a/contrib/fedora/passt.spec
+++ b/contrib/fedora/passt.spec
@@ -14,7 +14,7 @@ Name: passt
Version: {{{ git_version }}}
Release: 1%{?dist}
Summary: User-mode networking daemons for virtual machines and namespaces
-License: GPLv2+ and BSD
+License: GPL-2.0-or-later AND BSD-3-Clause
Group: System Environment/Daemons
URL: https://passt.top/
Source: https://passt.top/passt/snapshot/passt-%{git_hash}.tar.xz
diff --git a/contrib/fedora/rpkg.macros b/contrib/fedora/rpkg.macros
index c226c84..c98b791 100644
--- a/contrib/fedora/rpkg.macros
+++ b/contrib/fedora/rpkg.macros
@@ -29,7 +29,11 @@ function passt_git_changelog_entry {
[ -z "${__from}" ] && __from="$(git rev-list --max-parents=0 HEAD)"
__date="$(git log --pretty="format:%cI" "${__to}" -1)"
- __author="$(git log -1 --pretty="format:%an <%ae>" ${__to} -- contrib/fedora)"
+ __author="Stefano Brivio <sbrivio@redhat.com>"
+ # Use:
+ # __author="$(git log -1 --pretty="format:%an <%ae>" ${__to} -- contrib/fedora)"
+ # if you want the author of changelog entries to match the latest
+ # author for contrib/fedora
printf "* %s %s - %s\n" "$(date "+%a %b %e %Y" -d "${__date}")" "${__author}" "$(git_version "${__to}")-1"