v1.3.1-19 - remove patch - build

This commit is contained in:
Mab 974 2023-02-08 19:09:19 +04:00
parent 74e66c864e
commit a0b2b0e9ed
63 changed files with 13 additions and 41 deletions

4
.gitignore vendored
View File

@ -34,4 +34,6 @@ inc/
/MANIFEST.bak /MANIFEST.bak
/pm_to_blib /pm_to_blib
/*.zip /*.zip
/*.xz
/*.rpm
/results/

View File

@ -1,5 +1,8 @@
# smeserver-xt_geoip # smeserver-xt_geoip
smeserver-xt_geoip
from cvs koozali.org ( T E S T ) from cvs koozali.org ( T E S T )
remove all about patches from smeserver-xt_geoip.spec file
rename directory source to package-version
change gitignore adding all work and built files
local git-mock to build

View File

@ -1,6 +1,6 @@
%define name smeserver-xt_geoip %define name smeserver-xt_geoip
%define version 1.3.1 %define version 1.3.1
%define release 18 %define release 19
Summary: smserver rpm to setup database, update and configuration for xt_geoip module with a panel. Summary: smserver rpm to setup database, update and configuration for xt_geoip module with a panel.
Name: %{name} Name: %{name}
@ -10,21 +10,6 @@ License: GNU GPL version 2
URL: http://wiki.contribs.org/Main_Page URL: http://wiki.contribs.org/Main_Page
Group: SMEserver/addon Group: SMEserver/addon
Source: %{name}-%{version}.tar.xz Source: %{name}-%{version}.tar.xz
Patch0: %{name}-%{version}-comp_e-smith-manager.patch
Patch1: %{name}-%{version}-update_base.patch
Patch2: smeserver-xt_geoip-1.3.1-update-event-oldManager.patch
Patch3: %{name}-%{version}-logfiles_changes.patch
Patch4: smeserver-xt_geoip-1.3.1-locale-2021-08-25.patch
Patch5: smeserver-xt_geoip-1.3.1-locale-2021-09-23.patch
Patch6: smeserver-xt_geoip-1.3.1-locale-2021-10-28.patch
Patch7: smeserver-xt_geoip-1.3.1-SME_11676.patch
Patch8: smeserver-xt_geoip-1.3.1-Add-class-to-div-for-AdminLTE.patch
Patch9: smeserver-xt_geoip-1.3.1-SME_11887.patch
Patch10: smeserver-xt_geoip-1.3.1-bz12029_backup-bz10863_bases.patch
Patch11: smeserver-xt_geoip-1.3.1-bz12097_fix_logs_date_test.patch
Patch12: smeserver-xt_geoip-1.3.1-bz12098_add_fail2ban_stats.patch
Patch13: smeserver-xt_geoip-1.3.1-locale-2022-11-11.patch
Patch14: smeserver-xt_geoip-1.3.1-bz12291_module_state.patch
BuildArchitectures: noarch BuildArchitectures: noarch
BuildRoot: /var/tmp/%{name}-%{version} BuildRoot: /var/tmp/%{name}-%{version}
@ -45,31 +30,10 @@ smserver rpm to setup database, update and configuration for xt_geoip module wit
%prep %prep
%setup %setup
%patch0 -p1
%patch1 -p1
%patch2 -p1
%patch3 -p1
%patch4 -p1
%patch5 -p1
%patch6 -p1
# tmp fix before new source archive
rm -rf root/etc/e-smith/events/bootstrap-console-save/templates2expand
rm -rf root/etc/e-smith/events/console-save/templates2expand
rm -rf root/etc/e-smith/events/xt_geoip-modify/templates2expand/usr
rm -rf root/etc/e-smith/events/xt_geoip-update/templates2expand/usr
%patch7 -p1
%patch8 -p1
%patch9 -p1
%patch10 -p1
%patch11 -p1
%patch12 -p1
%patch13 -p1
%patch14 -p1
%build %build
perl createlinks perl createlinks
%install %install
rm -rf $RPM_BUILD_ROOT rm -rf $RPM_BUILD_ROOT
@ -103,6 +67,9 @@ rm -rf %{name}-%{version}
%changelog %changelog
* Wed Feb 08 2023 Michel Begue <mab974@misouk.com> 1.3.1-19.sme
- no patch infos here in .spec ( F A K E ) [SME: ]
* Wed Jan 11 2023 Michel Begue <mab974@misouk.com> 1.3.1-18.sme * Wed Jan 11 2023 Michel Begue <mab974@misouk.com> 1.3.1-18.sme
- add a message if module xt_geoip is missing or not loaded [SME: 12291] - add a message if module xt_geoip is missing or not loaded [SME: 12291]
- add a message if chain XTGeoIP is missing (iptables) [SME: 12291] - add a message if chain XTGeoIP is missing (iptables) [SME: 12291]