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 6 |
%define release 10 |
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} |
31 |
BuildRequires: e-smith-devtools |
BuildRequires: e-smith-devtools |
32 |
BuildRequires: iptables-devel |
BuildRequires: iptables-devel |
33 |
BuildRequires: %{_bindir}/kmodtool |
BuildRequires: %{_bindir}/kmodtool |
34 |
ExclusiveArch: i686 x86_6 |
ExclusiveArch: x86_64 |
35 |
|
Requires(post): /sbin/weak-modules |
36 |
|
Requires(postun): /sbin/weak-modules |
37 |
|
|
38 |
%{!?kernels:BuildRequires: buildsys-build-rpmfusion-kerneldevpkgs-%{?buildforkernels:%{buildforkernels}}%{!?buildforkernels:current}-%{_target_cpu} } |
%{!?kernels:BuildRequires: buildsys-build-rpmfusion-kerneldevpkgs-%{?buildforkernels:%{buildforkernels}}%{!?buildforkernels:current}-%{_target_cpu} } |
39 |
|
|
46 |
It is just a "kernel update" release. |
It is just a "kernel update" release. |
47 |
|
|
48 |
%changelog |
%changelog |
49 |
* Wed Feb 06 2019 Jean-Philipe Pialasse <tests@pialasse.com> 1.47.1-6.sme |
* Tue Feb 19 2019 Jean-Philipe Pialasse <tests@pialasse.com> 1.47.1-10.sme |
50 |
|
- add weak-modules as post and postun [SME: 10739] |
51 |
|
|
52 |
|
* Sun Feb 17 2019 Jean-Philipe Pialasse <tests@pialasse.com> 1.47.1-9.sme |
53 |
|
- fix Requires: xtables-addons-kmod-common [SME: 10734] |
54 |
|
- revert change from -8 for -9 |
55 |
|
|
56 |
|
* Wed Feb 06 2019 Jean-Philipe Pialasse <tests@pialasse.com> 1.47.1-7.sme |
57 |
- first import to SME buildsys [SME: 10734] |
- first import to SME buildsys [SME: 10734] |
58 |
- add buildrequires iptables-devel |
- add buildrequires iptables-devel |
59 |
- update spec files according to rpmfusion way, |
- update spec files according to rpmfusion way, |
60 |
add buildsys-build-rpmfusion-kerneldevpkgs requirement from rpmfusion |
add buildsys-build-rpmfusion-kerneldevpkgs requirement from rpmfusion |
61 |
- workaround for install dir lib while script send it to usr/lib |
- workaround for install dir lib while script send it to usr/lib |
62 |
- set current |
- set current |
63 |
- set archs i686 x86_6, as no i386 buildsys-build-rpmfusion-kerneldevpkgs available to build |
- set archs x86_6, as no i386 buildsys-build-rpmfusion-kerneldevpkgs available to build |
64 |
|
- TODO: try to build i386 using i686 buildsys-build-rpmfusion-kerneldevpkgs |
65 |
|
|
66 |
* Thu Mar 15 2018 Mab974 <mab974@gmail.com> |
* Thu Mar 15 2018 Mab974 <mab974@gmail.com> |
67 |
- compiled for kernel version 2.6.32-696.23.1.el6.x86_64 |
- compiled for kernel version 2.6.32-696.23.1.el6.x86_64 |
113 |
|
|
114 |
%pre |
%pre |
115 |
|
|
116 |
%post |
%post -n %{name} |
117 |
|
/sbin/weak-modules --add-kernel |
118 |
|
|
119 |
%preun |
%preun |
120 |
|
|
121 |
%postun |
%postun -n %{name} |
122 |
|
/sbin/weak-modules --add-kernel |
123 |
|
|
124 |
%files |
%files |
125 |
%defattr(-, root, root, 0755) |
%defattr(-, root, root, 0755) |