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

            A new commit has been pushed.

            Repo   : rpms/bpfilter
            Branch : rawhide
            Commit : 5cfafa09ea3087f082d264955ad14a91cfeb7ff5
            Author : Quentin Deslandes <qde@naccy.de>
            Date   : 2026-11-03T10:02:36+01:00
            Stats  : +0/-1 in 1 file(s)
            URL    : https://src.fedoraproject.org/rpms/bpfilter/c/5cfafa09ea3087f082d264955ad14a91cfeb7ff5?branch=rawhide

            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/.packit.yaml b/.packit.yaml
index 51a2c72..2574038 100644
--- a/.packit.yaml
+++ b/.packit.yaml
@@ -30,4 +30,3 @@ jobs:
       - fedora-branched
       - epel-9
       - epel-10-all
-

^ permalink raw reply related	[flat|nested] 2+ messages in thread

* [rpms/bpfilter] rawhide: Update to 0.8.0 upstream release
@ 2026-11-02 19:53 Quentin Deslandes
  0 siblings, 0 replies; 2+ messages in thread
From: Quentin Deslandes @ 2026-11-02 19:53 UTC (permalink / raw)
  To: git-commits

            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

^ permalink raw reply related	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2026-11-04 15:03 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-11-04 15:03 [rpms/bpfilter] rawhide: Update to 0.8.0 upstream release Quentin Deslandes
  -- strict thread matches above, loose matches on Subject: below --
2026-11-02 19:53 Quentin Deslandes

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