!4 update version to 1.2

Merge pull request !4 from t.feng/master
This commit is contained in:
openeuler-ci-bot 2020-07-29 14:35:42 +08:00 committed by Gitee
commit 498fb55e7c
3 changed files with 11 additions and 17 deletions

Binary file not shown.

BIN
libnet-1.2.tar.gz Normal file

Binary file not shown.

View File

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