From e171aa4c46aa04e3f0a0e8892128bd82dd10c2c4 Mon Sep 17 00:00:00 2001
From: jengelh <>
Date: Jun 11 2025 15:23:19 +0000
Subject: Update nginx-module-brotli to version 1.0.0~rc+git9 / rev 2 via SR 1284816


https://build.opensuse.org/request/show/1284816
by user jengelh + anag_factory
- Update to snapshot 1.0.0~rc+git9 (a71f931)
  * check if Accept-Encoding is non-empty
- Provide a module autoloading config fragment

---

diff --git a/.files b/.files
index 8b6078b..cc4dc53 100644
Binary files a/.files and b/.files differ
diff --git a/.rev b/.rev
index 7fabd90..1dd65aa 100644
--- a/.rev
+++ b/.rev
@@ -7,4 +7,14 @@
     <comment></comment>
     <requestid>998112</requestid>
   </revision>
+  <revision rev="2" vrev="1">
+    <srcmd5>35e266cf233448759d2465164b2bdb96</srcmd5>
+    <version>1.0.0~rc+git9</version>
+    <time>1749652091</time>
+    <user>anag_factory</user>
+    <comment>- Update to snapshot 1.0.0~rc+git9 (a71f931)
+  * check if Accept-Encoding is non-empty
+- Provide a module autoloading config fragment</comment>
+    <requestid>1284816</requestid>
+  </revision>
 </revisionlist>
diff --git a/.servicemark b/.servicemark
deleted file mode 100644
index 4585bdd..0000000
--- a/.servicemark
+++ /dev/null
@@ -1 +0,0 @@
-09b4d51973bf152c7879f7713f9dba62
diff --git a/_scmsync.obsinfo b/_scmsync.obsinfo
new file mode 100644
index 0000000..ca07a83
--- /dev/null
+++ b/_scmsync.obsinfo
@@ -0,0 +1,4 @@
+mtime: 1747390916
+commit: 07cf01ba374056e191a71b225370fe88ced003f6201206b997d38cc6b90c982f
+url: https://src.opensuse.org/jengelh/nginx-module-brotli
+revision: master
diff --git a/_service b/_service
index 9b50042..f4d9fc2 100644
--- a/_service
+++ b/_service
@@ -1,17 +1,17 @@
 <services>
-	<service name="tar_scm" mode="disabled">
+	<service name="tar_scm" mode="manual">
 		<param name="filename">nginx-module-brotli</param>
 		<param name="scm">git</param>
 		<param name="url">https://github.com/google/ngx_brotli</param>
 		<param name="revision">master</param>
 		<param name="parent-tag">v1.0.0rc</param>
-		<param name="versionformat">@PARENT_TAG@+g@TAG_OFFSET@</param>
+		<param name="versionformat">1.0.0~rc+git@TAG_OFFSET@</param>
 		<param name="versionrewrite-pattern">v(.*)</param>
 		<param name="exclude">deps</param>
 	</service>
-	<service name="recompress" mode="disabled">
+	<service name="recompress" mode="manual">
 		<param name="file">*.tar</param>
 		<param name="compression">xz</param>
 	</service>
-	<service name="set_version" mode="disabled"/>
+	<service name="set_version" mode="manual"/>
 </services>
diff --git a/nginx-module-brotli-1.0.0rc+g1.tar.xz b/nginx-module-brotli-1.0.0rc+g1.tar.xz
deleted file mode 120000
index 5eb1428..0000000
--- a/nginx-module-brotli-1.0.0rc+g1.tar.xz
+++ /dev/null
@@ -1 +0,0 @@
-/ipfs/bafkreiemcdehlq5eiqhe7nchk56eu2yfyxexyhos2e24ihkcc6ubspzcym
\ No newline at end of file
diff --git a/nginx-module-brotli-1.0.0~rc+git9.tar.xz b/nginx-module-brotli-1.0.0~rc+git9.tar.xz
new file mode 120000
index 0000000..6f28ef6
--- /dev/null
+++ b/nginx-module-brotli-1.0.0~rc+git9.tar.xz
@@ -0,0 +1 @@
+/ipfs/bafkreiesrmimbe7stoe23fkk6x6peetmvikkecpsyfomouru2t6axmjc3q
\ No newline at end of file
diff --git a/nginx-module-brotli.changes b/nginx-module-brotli.changes
index 9851148..bafed1d 100644
--- a/nginx-module-brotli.changes
+++ b/nginx-module-brotli.changes
@@ -1,4 +1,11 @@
 -------------------------------------------------------------------
+Thu May 15 06:27:15 UTC 2025 - Jan Engelhardt <jengelh@inai.de>
+
+- Update to snapshot 1.0.0~rc+git9 (a71f931)
+  * check if Accept-Encoding is non-empty
+- Provide a module autoloading config fragment
+
+-------------------------------------------------------------------
 Tue Jan  4 15:31:26 UTC 2022 - Jan Engelhardt <jengelh@inai.de>
 
 - Update to 1.0.0rc+g1 (9aec15e)
diff --git a/nginx-module-brotli.spec b/nginx-module-brotli.spec
index 584e392..286e90c 100644
--- a/nginx-module-brotli.spec
+++ b/nginx-module-brotli.spec
@@ -1,7 +1,7 @@
 #
 # spec file for package nginx-module-brotli
 #
-# Copyright (c) 2022 SUSE LLC
+# Copyright (c) 2025 SUSE LLC
 #
 # All modifications and additions to the file contributed by third parties
 # remain the property of their copyright owners, unless otherwise agreed
@@ -17,48 +17,54 @@
 
 
 Name:           nginx-module-brotli
-Version:        1.0.0rc+g1
+Version:        1.0.0~rc+git9
 Release:        0
 Summary:        NGINX module for Brotli compression
 License:        BSD-2-Clause
 Group:          Productivity/Networking/Web/Proxy
 URL:            https://github.com/google/ngx_brotli
-Source:         %{name}-%{version}.tar.xz
+Source:         %name-%version.tar.xz
 BuildRequires:  libbrotli-devel
 BuildRequires:  nginx-source
-%{ngx_conditionals}
-%{ngx_requires}
+%ngx_conditionals
+%ngx_requires
 
 %description
 ngx_brotli is a set of two nginx modules:
 
-ngx_brotli filter module - used to compress responses on-the-fly,
-ngx_brotli static module - used to serve pre-compressed files.
+* ngx_brotli filter module - used to compress responses on-the-fly,
+* ngx_brotli static module - used to serve pre-compressed files.
 
 Brotli is a generic-purpose lossless compression algorithm that
 compresses data using a combination of a modern variant of the LZ77
-algorithm, Huffman coding and 2nd order context modeling, with a
-compression ratio comparable to the best currently available
-general-purpose compression methods. It is similar in speed with
-deflate but offers more dense compression.
+algorithm, Huffman coding and 2nd order context modeling.
 
 %prep
 %autosetup -p1
-cp -r %{_prefix}/src/nginx .
+cp -r %_prefix/src/nginx .
 
 %build
+mkdir -p deps/brotli/c/include
+ln -s /usr/include/brotli deps/brotli/c/include/
+
 cd nginx
-%{ngx_configure} --add-dynamic-module=..
+%ngx_configure --add-dynamic-module=..
 %make_build modules
 
 %install
-mkdir -p %{buildroot}%{ngx_module_dir}
-install -Dpm0755 nginx/objs/ngx_http_brotli*_module.so %{buildroot}%{ngx_module_dir}
+b="%buildroot"
+mkdir -p "$b/%ngx_module_dir" "$b/%_datadir/nginx/modules"
+install -Dpm0755 nginx/objs/ngx_http_brotli*_module.so "$b/%ngx_module_dir/"
+cat >"$b/%_datadir/nginx/modules/mod-brotli.conf" <<-EOF
+	load_module %ngx_module_dir/ngx_http_brotli_filter_module.so;
+	load_module %ngx_module_dir/ngx_http_brotli_static_module.so;
+EOF
 
 %files
 %license LICENSE
 %doc *.md
-%{ngx_module_dir}/ngx_http_brotli_filter_module.so
-%{ngx_module_dir}/ngx_http_brotli_static_module.so
+%ngx_module_dir/ngx_http_brotli_filter_module.so
+%ngx_module_dir/ngx_http_brotli_static_module.so
+%_datadir/nginx/
 
 %changelog