/[smecontribs]/rpms/xtables-addons-kmod/contribs9/xtables-addons-kmod.spec
ViewVC logotype

Diff of /rpms/xtables-addons-kmod/contribs9/xtables-addons-kmod.spec

Parent Directory Parent Directory | Revision Log Revision Log | View Revision Graph Revision Graph | View Patch Patch

Revision 1.7 by jpp, Sun Feb 17 08:05:48 2019 UTC Revision 1.12 by jpp, Thu Mar 7 03:33:41 2019 UTC
# Line 11  Line 11 
11  %define name xtables-addons-kmod  %define name xtables-addons-kmod
12  %define name_src xtables-addons  %define name_src xtables-addons
13  %define version 1.47.1  %define version 1.47.1
14  %define release 7  %define release 11
15  Summary: %{name} is a set of additional extensions for the Xtables packet filter (modules kmod ONLY).  Summary: %{name} is a set of additional extensions for the Xtables packet filter (modules kmod ONLY).
16  Name: %{name}  Name: %{name}
17  Version: %{version}  Version: %{version}
# Line 23  Source: %{name_src}-%{version}.tar.xz Line 23  Source: %{name_src}-%{version}.tar.xz
23  #Source: xtables-addons-%{version}.tar.xz  #Source: xtables-addons-%{version}.tar.xz
24  URL: http://xtables-addons.sourceforge.net  URL: http://xtables-addons.sourceforge.net
25  Patch0: xtables-addons-1.47.1-v6.patch  Patch0: xtables-addons-1.47.1-v6.patch
26    Patch1: xtables-addons-1.47.1-10749-maxcountries.patch
27  Packager: Michel Begue <mab974@gmail.com>  Packager: Michel Begue <mab974@gmail.com>
28  #Requires: smeserver-release >= 9.0  #Requires: smeserver-release >= 9.0
29  Requires: xtables-addons >= 1.47.1-4  Requires: xtables-addons >= 1.47.1-4
# Line 32  BuildRequires: e-smith-devtools Line 33  BuildRequires: e-smith-devtools
33  BuildRequires: iptables-devel  BuildRequires: iptables-devel
34  BuildRequires:  %{_bindir}/kmodtool  BuildRequires:  %{_bindir}/kmodtool
35  ExclusiveArch:  x86_64  ExclusiveArch:  x86_64
36    Requires(post):   /sbin/weak-modules
37    Requires(postun): /sbin/weak-modules
38    
39  %{!?kernels:BuildRequires: buildsys-build-rpmfusion-kerneldevpkgs-%{?buildforkernels:%{buildforkernels}}%{!?buildforkernels:current}-%{_target_cpu} }  %{!?kernels:BuildRequires: buildsys-build-rpmfusion-kerneldevpkgs-%{?buildforkernels:%{buildforkernels}}%{!?buildforkernels:current}-%{_target_cpu} }
40    
# Line 44  ExclusiveArch:  x86_64 Line 47  ExclusiveArch:  x86_64
47  It is just a "kernel update" release.  It is just a "kernel update" release.
48    
49  %changelog  %changelog
50    * Wed Mar 06 2019 Jean-Philipe Pialasse <tests@pialasse.com> 1.47.1-11.sme
51    - set XT_GEOIP_MAX from 15 to 50 [SME: 10749]
52    
53    * Tue Feb 19 2019 Jean-Philipe Pialasse <tests@pialasse.com> 1.47.1-10.sme
54    - add weak-modules as post and postun [SME: 10739]
55    
56    * Sun Feb 17 2019 Jean-Philipe Pialasse <tests@pialasse.com> 1.47.1-9.sme
57    - fix Requires: xtables-addons-kmod-common [SME: 10734]
58    - revert change from -8 for -9
59    
60  * Wed Feb 06 2019 Jean-Philipe Pialasse <tests@pialasse.com> 1.47.1-7.sme  * Wed Feb 06 2019 Jean-Philipe Pialasse <tests@pialasse.com> 1.47.1-7.sme
61  - first import to SME buildsys [SME: 10734]  - first import to SME buildsys [SME: 10734]
62  - add buildrequires iptables-devel  - add buildrequires iptables-devel
# Line 73  kmodtool  --target %{_target_cpu} --repo Line 86  kmodtool  --target %{_target_cpu} --repo
86    
87  %setup -q -c -T -a 0  %setup -q -c -T -a 0
88  %patch0  %patch0
89    %patch1
90    
91  for kernel_version in %{?kernel_versions} ; do  for kernel_version in %{?kernel_versions} ; do
92          cp -a xtables-addons-%{version} _kmod_build_${kernel_version%%___*}          cp -a xtables-addons-%{version} _kmod_build_${kernel_version%%___*}
93  done  done
# Line 104  done Line 119  done
119    
120  %pre  %pre
121    
122  %post  %post -n %{name}
123    /sbin/weak-modules  --add-kernel
124    
125  %preun  %preun
126    
127  %postun  %postun -n %{name}
128    /sbin/weak-modules  --add-kernel
129    
130  %files  %files
131  %defattr(-, root, root, 0755)  %defattr(-, root, root, 0755)


Legend:
Removed lines/characters  
Changed lines/characters
  Added lines/characters

admin@koozali.org
ViewVC Help
Powered by ViewVC 1.2.1 RSS 2.0 feed