public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
From: Quentin Deslandes <qde@naccy.de>
To: git-commits@fedoraproject.org
Subject: [rpms/bpfilter] rawhide: Update to 0.8.0 upstream release
Date: Mon, 02 Nov 2026 19:53:56 GMT	[thread overview]
Message-ID: <179364923612.1.15631621492128288525.rpms-bpfilter-4e618cad456a@fedoraproject.org> (raw)

            A new commit has been pushed.

            Repo   : rpms/bpfilter
            Branch : rawhide
            Commit : 4e618cad456a1ab792faec58fe70bcdb60ce66ab
            Author : Quentin Deslandes <qde@naccy.de>
            Date   : 2026-11-02T20:52:49+01:00
            Stats  : +20/-24 in 5 file(s)
            URL    : https://src.fedoraproject.org/rpms/bpfilter/c/4e618cad456a1ab792faec58fe70bcdb60ce66ab?branch=rawhide

            Log:
            Update to 0.8.0 upstream release

Upstream tag: v0.8.0
Upstream commit: 846df761

Commit authored by Packit automation (https://packit.dev/)

---
diff --git a/.gitignore b/.gitignore
index 26c79be..714783d 100644
--- a/.gitignore
+++ b/.gitignore
@@ -3,3 +3,4 @@
 /bpfilter-0.4.0.tar.gz
 /bpfilter-0.5.2.tar.gz
 /bpfilter-0.6.0.tar.gz
+/bpfilter-0.8.0.tar.gz

diff --git a/.packit.yaml b/.packit.yaml
new file mode 100644
index 0000000..c85c66b
--- /dev/null
+++ b/.packit.yaml
@@ -0,0 +1,7 @@
+# Packit copies tools/rpm/bpfilter.spec to Fedora's dist-git when releasing, and
+# sets its version from the release's tag. See doc/developers/build.rst.
+upstream_project_url: https://github.com/meta/bpfilter
+upstream_package_name: bpfilter
+downstream_package_name: bpfilter
+upstream_tag_template: v{version}
+specfile_path: tools/rpm/bpfilter.spec

diff --git a/README.packit b/README.packit
new file mode 100644
index 0000000..41ba8b3
--- /dev/null
+++ b/README.packit
@@ -0,0 +1,3 @@
+This repository is maintained by packit.
+https://packit.dev/
+The file was generated using packit 1.16.3.

diff --git a/bpfilter.spec b/bpfilter.spec
index c6f5626..d775f53 100644
--- a/bpfilter.spec
+++ b/bpfilter.spec
@@ -1,31 +1,26 @@
 Name:       bpfilter
-Version:    0.6.0
+# Placeholder: tools/rpm/mock-build and Packit set the version from the latest tag.
+Version:    0.8.0
 Release:    %autorelease
 Summary:    BPF-based packet filtering framework
 
 License:    GPL-2.0-only
 URL:        https://bpfilter.io
-Source:     https://github.com/facebook/bpfilter/archive/refs/tags/v%{version}.tar.gz#/bpfilter-%{version}.tar.gz
-# _will_return (which is a private function) now takes another argument
-Patch:      bpfilter-fix-for-cmocka2.diff
+Source:     https://github.com/meta/bpfilter/archive/refs/tags/v%{version}.tar.gz#/bpfilter-%{version}.tar.gz
 
 BuildRequires: bison
 BuildRequires: clang
 BuildRequires: cmake
 BuildRequires: flex
 BuildRequires: gcc
-BuildRequires: git-core
 BuildRequires: libbpf-devel
 BuildRequires: libcmocka-devel
-BuildRequires: libnl3-devel
-BuildRequires: systemd
-BuildRequires: systemd-rpm-macros
-BuildRequires: vim-common
+BuildRequires: /usr/bin/xxd
 
 # Only those two architectures are supported by bpfilter.
 ExclusiveArch: %{x86_64} %{arm64}
 
-%global soname_version %%(echo %%{version}} | cut -d. -f1)
+%global soname_version %%(echo %%{version} | cut -d. -f1)
 
 %global _description %{expand:
 BPF-based packet filtering framework to convert text-format filtering rules
@@ -47,31 +42,21 @@ developing applications that use %{name}.
 %autosetup -p1
 
 %build
-%cmake -DNO_DOCS=1 -DNO_BENCHMARKS=1 -DNO_CHECKS=1 -DDEFAULT_PROJECT_VERSION=%{version}
-%cmake_build -t bpfilter libbpfilter bfcli
+%cmake -DWITH_DOCS=OFF -DWITH_TESTS=OFF -DWITH_TESTS_UNIT=ON
+%cmake_build
 
 %check
-%cmake_build -t unit
+%ctest
 
 %install
 %cmake_install
 
-%post
-%systemd_post bpfilter.service
-
-%preun
-%systemd_preun bpfilter.service
-
-%postun
-%systemd_postun_with_restart bpfilter.service
 
 %files
 %license COPYING
 %{_sbindir}/bfcli
-%{_sbindir}/bpfilter
 %{_libdir}/libbpfilter.so.%{soname_version}
 %{_libdir}/libbpfilter.so.%{version}
-%{_unitdir}/bpfilter.service
 
 %files devel
 %{_includedir}/bpfilter/

diff --git a/sources b/sources
index 474f188..fc49822 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-SHA512 (bpfilter-0.6.0.tar.gz) = d270ea1b328d82052294133597ef3fd253ff6f6488e896515165250e4d7772fa1a83a36cea4d5bacc0cbbb74f842e850b18f3dadbe0bd300b21e7ce2e7be777a
+SHA512 (bpfilter-0.8.0.tar.gz) = bc65981e7e01f1d85d2590e545640e60dc5de57d49e14ee05fdceaf3f353273064a1e1b7cf6387d804c2b88ebb460aefa0e08abd029526219b24caf11d152ece

             reply	other threads:[~2026-11-02 19:53 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2026-11-02 19:53 Quentin Deslandes [this message]
2026-11-04 15:03 [rpms/bpfilter] rawhide: Update to 0.8.0 upstream release Quentin Deslandes

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=179364923612.1.15631621492128288525.rpms-bpfilter-4e618cad456a@fedoraproject.org \
    --to=qde@naccy.de \
    --cc=git-commits@fedoraproject.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox