回退 'Pull Request !4 : update version to 1.2'

This commit is contained in:
yanan-rock 2020-07-29 20:04:18 +08:00 committed by Gitee
parent 498fb55e7c
commit 1cc8ad3027
3 changed files with 17 additions and 11 deletions

BIN
libnet-1.1.6.tar.gz Normal file

Binary file not shown.

Binary file not shown.

View File

@ -1,10 +1,10 @@
Name: libnet
Version: 1.2
Release: 1
Version: 1.1.6
Release: 17
Summary: A C library to help with construction and handling of network packets
License: BSD
URL: https://github.com/libnet/libnet/
Source: https://github.com/libnet/libnet/releases/download/v%{version}/%{name}-%{version}.tar.gz
URL: http://www.sourceforge.net/projects/libnet-dev/
Source: http://downloads.sourceforge.net/libnet-dev/%{name}-%{version}.tar.gz
BuildRequires: automake autoconf libtool
%description
@ -18,6 +18,13 @@ Requires: %{name}%{?_isa} = %{version}-%{release}
%description devel
This package contains libraries and header files.
%package help
Summary: help files are included in this package
Requires: %{name}%{?_isa} = %{version}-%{release}
%description help
This package contains help documents.
%prep
%autosetup -p1
autoreconf -if
@ -48,22 +55,21 @@ rm -f doc/html/Makefile*
%postun -p /sbin/ldconfig
%files
%doc doc/LICENSE
%doc doc/README.md
%doc doc/ChangeLog.md
%doc doc/COPYING
%{_libdir}/%{name}.so.*
%files devel
%doc __dist_sample/sample/
%{_libdir}/%{name}.so
%{_libdir}/pkgconfig/%{name}.pc
%{_bindir}/%{name}-config
%{_includedir}/%{name}/
%{_includedir}/libnet.h
%changelog
* Fri Jul 24 2020 fengtao <fengtao40@huawei.com> - 1.2-1
- update version to 1.2
%files help
%doc README doc/CHANGELOG doc/CONTRIB doc/DESIGN_NOTES doc/MIGRATION
%doc doc/PACKET_BUILDING doc/RAWSOCKET_NON_SEQUITUR doc/TODO doc/html/
%{_mandir}/man3/%{name}*.3*
%changelog
* Tue Sep 17 2019 Yiru Wang <wangyiru1@huawei.com> - 1.1.6-17
- Pakcage init