public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
* [rpms/bpfilter] epel10: Update to 0.8.0 upstream release
@ 2026-11-03 15:37 Quentin Deslandes
  0 siblings, 0 replies; only message in thread
From: Quentin Deslandes @ 2026-11-03 15:37 UTC (permalink / raw)
  To: git-commits

            A new commit has been pushed.

            Repo   : rpms/bpfilter
            Branch : epel10
            Commit : b4194b9bee06e41c167a043533ceb55c5a22eb87
            Author : Quentin Deslandes <qde@naccy.de>
            Date   : 2026-11-03T10:00:59+01:00
            Stats  : +45/-23 in 5 file(s)
            URL    : https://src.fedoraproject.org/rpms/bpfilter/c/b4194b9bee06e41c167a043533ceb55c5a22eb87?branch=epel10

            Log:
            Update to 0.8.0 upstream release

- Resolves: rhbz#2539386

Upstream tag: v0.8.0
Upstream commit: 797851e8

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..2574038
--- /dev/null
+++ b/.packit.yaml
@@ -0,0 +1,32 @@
+# Release Monitoring triggers these jobs from Fedora's default dist-git branch.
+# Packit copies this file from each release tag. See doc/developers/release.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
+
+jobs:
+  - job: pull_from_upstream
+    trigger: release
+    dist_git_branches:
+      - fedora-all
+      - epel-9
+      - epel-10-all
+
+  - job: koji_build
+    trigger: commit
+    dist_git_branches:
+      - fedora-all
+      - epel-9
+      - epel-10-all
+    allowed_pr_authors:
+      - packit
+      - naccyde
+
+  - job: bodhi_update
+    trigger: commit
+    dist_git_branches:
+      - fedora-branched
+      - epel-9
+      - epel-10-all

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 1e4cee6..d775f53 100644
--- a/bpfilter.spec
+++ b/bpfilter.spec
@@ -1,30 +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
+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: make
-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
@@ -46,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 -- bpfilter libbpfilter bfcli
+%cmake -DWITH_DOCS=OFF -DWITH_TESTS=OFF -DWITH_TESTS_UNIT=ON
+%cmake_build
 
 %check
-make -C %__cmake_builddir 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..41cbf70 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-SHA512 (bpfilter-0.6.0.tar.gz) = d270ea1b328d82052294133597ef3fd253ff6f6488e896515165250e4d7772fa1a83a36cea4d5bacc0cbbb74f842e850b18f3dadbe0bd300b21e7ce2e7be777a
+SHA512 (bpfilter-0.8.0.tar.gz) = 65d351d7fb07dec705dabba3dd37e2e899205357c2dbe054ef5638b8af287c319a707e0d67408f31a752eb21b4df17c68da995626913d1bb973da8d8f0f3b8f7

^ permalink raw reply related	[flat|nested] only message in thread

only message in thread, other threads:[~2026-11-03 15:37 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-11-03 15:37 [rpms/bpfilter] epel10: Update to 0.8.0 upstream release Quentin Deslandes

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox