2 Komitmen dafd251e66 ... 4ea1acf985

Pembuat SHA1 Pesan Tanggal
  Mike L 4ea1acf985 Commit-Tarball verwenden 9 bulan lalu
  Mike L dafd251e66 Commit-Tarball verwenden 9 bulan lalu
1 mengubah file dengan 6 tambahan dan 5 penghapusan
  1. 6 5
      nginx-module-brotli.spec

+ 6 - 5
nginx-module-brotli.spec

@@ -53,22 +53,22 @@ BuildRequires: gcc
 BuildRequires: git
 BuildRequires: cmake
 
-%define ngx_version 1.25.3
-%define base_version 1.0.0rc+git9.g%{commit0}
+%define mod_version 1.0.0rc+git9.g%{commit0}
+%define base_version 1.25.3
 %define base_release 1%{?dist}.ngx
 
 %define bdir %{_builddir}/%{name}-%{base_version}
 
 Summary: nginx Brotli dynamic modules
 Name: nginx-module-brotli
-Version: %{base_version}
+Version: %{mod_version}
 Release: %{base_release}
 Vendor: Eugene Wu <kuretru@gmail.com>
 URL: https://github.com/kuretru/nginx-module-brotli
 Group: %{_group}
 
 #!RemoteAsset: sha256:64c5b975ca287939e828303fa857d22f142b251f17808dfe41733512d9cded86
-Source0: https://nginx.org/download/nginx-%{ngx_version}.tar.gz
+Source0: https://nginx.org/download/nginx-%{base_version}.tar.gz
 Source1: COPYRIGHT
 #!RemoteAsset: sha256:1d21be34f3b7b6d05a8142945e59b3a47665edcdfe0f3ee3d3dbef121f90c08c
 Source2: https://github.com/google/ngx_brotli/archive/%{commit0}.tar.gz
@@ -80,7 +80,8 @@ License: 2-clause BSD-like license
 BuildRoot: %{_tmppath}/%{name}-%{base_version}-%{base_release}-root
 BuildRequires: zlib-devel
 BuildRequires: pcre2-devel
-Requires: nginx-r%{ngx_version}
+BuildRequires: nginx-r%{base_version}
+Requires: nginx-r%{base_version}
 Provides: %{name}-r%{base_version}
 
 %description