diff options
author | Stefano Brivio <sbrivio@redhat.com> | 2022-06-07 17:44:30 +0200 |
---|---|---|
committer | Stefano Brivio <sbrivio@redhat.com> | 2022-06-08 09:43:48 +0200 |
commit | fb59cfc9093b2c68d5fa65bb6eb4d4042dab0593 (patch) | |
tree | 94db0c9c3ff55e584e1d5c860ef1dbee8a2317c1 /contrib/fedora/passt.spec | |
parent | bb8a7b8a2a461f56d7c5e819996cd2470b0c1566 (diff) | |
download | passt-fb59cfc9093b2c68d5fa65bb6eb4d4042dab0593.tar passt-fb59cfc9093b2c68d5fa65bb6eb4d4042dab0593.tar.gz passt-fb59cfc9093b2c68d5fa65bb6eb4d4042dab0593.tar.bz2 passt-fb59cfc9093b2c68d5fa65bb6eb4d4042dab0593.tar.lz passt-fb59cfc9093b2c68d5fa65bb6eb4d4042dab0593.tar.xz passt-fb59cfc9093b2c68d5fa65bb6eb4d4042dab0593.tar.zst passt-fb59cfc9093b2c68d5fa65bb6eb4d4042dab0593.zip |
contrib/fedora: Use pre-processing macros in spec file
...they seem to be supported by COPR now and make things simpler.
Signed-off-by: Stefano Brivio <sbrivio@redhat.com>
Diffstat (limited to 'contrib/fedora/passt.spec')
-rw-r--r-- | contrib/fedora/passt.spec | 13 |
1 files changed, 7 insertions, 6 deletions
diff --git a/contrib/fedora/passt.spec b/contrib/fedora/passt.spec index 4411271..ed5c4f6 100644 --- a/contrib/fedora/passt.spec +++ b/contrib/fedora/passt.spec @@ -12,12 +12,14 @@ # Author: Stefano Brivio <sbrivio@redhat.com> Name: passt -Version: 0.git.202206071425.67103ea -Release: 0 +Version: {{{ git_version }}} +Release: 0%{?dist} Summary: User-mode networking daemons for virtual machines and namespaces License: AGPLv3+ and BSD +Group: System Environment/Daemons URL: https://passt.top/ -Source: https://passt.top/passt/snapshot/passt-67103ea556da00106da900f20aac286511171ea2.tar.xz +VCS: git://passt.top/passt +Source: https://passt.top/passt/snapshot/passt-HEAD.tar.xz BuildRequires: gcc, make, checkpolicy, selinux-policy-devel @@ -42,7 +44,7 @@ Requires(preun): policycoreutils, %{name} This package adds SELinux enforcement to passt(1) and pasta(1). %prep -%setup -q +%setup -q -n passt-HEAD %build export CFLAGS="%{optflags}" @@ -91,5 +93,4 @@ semodule -r pasta 2>/dev/null || : %{_datadir}/selinux/packages/%{name}/pasta.pp %changelog -* Tue Jun 07 2022 Stefano Brivio <sbrivio@redhat.com> 0.git.202206071425.67103ea -- Pro forma: example +{{{ git_dir_changelog }}} |