diff --git a/libnet-1.1.6.tar.gz b/libnet-1.1.6.tar.gz deleted file mode 100644 index 5ce5ab90430755b2ef9ebf9492954c1cbd929134..0000000000000000000000000000000000000000 Binary files a/libnet-1.1.6.tar.gz and /dev/null differ diff --git a/libnet-1.2.tar.gz b/libnet-1.2.tar.gz new file mode 100644 index 0000000000000000000000000000000000000000..4b5075beda7d2c1bf2bd39b274d5aa1c0f900cfa Binary files /dev/null and b/libnet-1.2.tar.gz differ diff --git a/libnet.spec b/libnet.spec index 267bb50dcb39333c098fd05439568332d5b47561..9f253a2c860c0c906a5ccd917fe2ea8ec0d5b94a 100644 --- a/libnet.spec +++ b/libnet.spec @@ -1,10 +1,10 @@ Name: libnet -Version: 1.1.6 -Release: 17 +Version: 1.2 +Release: 1 Summary: A C library to help with construction and handling of network packets License: BSD -URL: http://www.sourceforge.net/projects/libnet-dev/ -Source: http://downloads.sourceforge.net/libnet-dev/%{name}-%{version}.tar.gz +URL: https://github.com/libnet/libnet/ +Source: https://github.com/libnet/libnet/releases/download/v%{version}/%{name}-%{version}.tar.gz BuildRequires: automake autoconf libtool %description @@ -18,13 +18,6 @@ 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 @@ -55,21 +48,22 @@ rm -f doc/html/Makefile* %postun -p /sbin/ldconfig %files -%doc doc/COPYING +%doc doc/LICENSE +%doc doc/README.md +%doc doc/ChangeLog.md %{_libdir}/%{name}.so.* %files devel %doc __dist_sample/sample/ %{_libdir}/%{name}.so +%{_libdir}/pkgconfig/%{name}.pc %{_bindir}/%{name}-config %{_includedir}/%{name}/ %{_includedir}/libnet.h -%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 +* Fri Jul 24 2020 fengtao - 1.2-1 +- update version to 1.2 + * Tue Sep 17 2019 Yiru Wang - 1.1.6-17 - Pakcage init