upgrade 0.0.5

This commit is contained in:
Shinwell Hu 2020-06-02 06:02:54 +00:00
parent 4c214d6c64
commit 6a9f189266
3 changed files with 8 additions and 5 deletions

BIN
arptables-0.0.5.tar.gz Normal file

Binary file not shown.

Binary file not shown.

View File

@ -1,11 +1,11 @@
Name: arptables Name: arptables
Version: 0.0.4 Version: 0.0.5
Release: 16 Release: 0
Summary: Administration tool for arp packet filtering Summary: Administration tool for arp packet filtering
License: GPLv2+ License: GPLv2+
URL: https://git.netfilter.org/arptables/ URL: https://git.netfilter.org/arptables/
Source0: ftp.netfilter.org/pub/arptables/%{name}-v%{version}.tar.gz Source0: ftp://ftp.netfilter.org/pub/arptables/%{name}-%{version}.tar.gz
# Source1 and Source2 from fedora 29 are used for # Source1 and Source2 from fedora 29 are used for
# automates a packet filtering firewall with arptables # automates a packet filtering firewall with arptables
Source1: arptables-helper Source1: arptables-helper
@ -29,7 +29,7 @@ chains and may also contain user-defined chains.
%package_help %package_help
%prep %prep
%autosetup -n %{name}-v%{version} -p1 %autosetup -n %{name}-%{version} -p1
cp %{SOURCE3} COPYING cp %{SOURCE3} COPYING
%build %build
@ -40,7 +40,7 @@ make install DESTDIR=$RPM_BUILD_ROOT BINDIR=%{_sbindir} MANDIR=%{_mandir}
mkdir $RPM_BUILD_ROOT%{_libexecdir}/ mkdir $RPM_BUILD_ROOT%{_libexecdir}/
install -p -D -m 755 %{SOURCE1} $RPM_BUILD_ROOT%{_libexecdir}/ install -p -D -m 755 %{SOURCE1} $RPM_BUILD_ROOT%{_libexecdir}/
install -p -D -m 644 %{SOURCE2} $RPM_BUILD_ROOT%{_unitdir}/arptables.service install -p -D -m 644 %{SOURCE2} $RPM_BUILD_ROOT%{_unitdir}/arptables.service
mkdir $RPM_BUILD_ROOT%{_sysconfdir}/sysconfig mkdir -p $RPM_BUILD_ROOT%{_sysconfdir}/sysconfig
echo '# Configure prior to use' > $RPM_BUILD_ROOT%{_sysconfdir}/sysconfig/%{name} echo '# Configure prior to use' > $RPM_BUILD_ROOT%{_sysconfdir}/sysconfig/%{name}
%post %post
@ -64,6 +64,9 @@ echo '# Configure prior to use' > $RPM_BUILD_ROOT%{_sysconfdir}/sysconfig/%{name
%{_mandir}/man8/*.gz %{_mandir}/man8/*.gz
%changelog %changelog
* Tue Jun 02 2020 SimpleUpdate Robot <tc@openeuler.org>
- Update to version 0.0.5
* Sat Oct 19 2019 openEuler Buildteam <buildteam@openeuler.org> - 0.0.4-16 * Sat Oct 19 2019 openEuler Buildteam <buildteam@openeuler.org> - 0.0.4-16
- Type:bugfix - Type:bugfix
- Id:NA - Id:NA