!11 升级到1.3版本

From: @lvgenggeng 
Reviewed-by: @zengwefeng 
Signed-off-by: @zengwefeng
This commit is contained in:
openeuler-ci-bot 2024-01-08 07:15:41 +00:00 committed by Gitee
commit d67c109ad7
No known key found for this signature in database
GPG Key ID: 173E9B9CA92EEF8F
3 changed files with 11 additions and 8 deletions

Binary file not shown.

BIN
libnet-1.3.tar.gz Normal file

Binary file not shown.

View File

@ -1,9 +1,9 @@
Name: libnet Name: libnet
Version: 1.2 Version: 1.3
Release: 2 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-2-Clause License: BSD-2-Clause and BSD-3-Clause
URL: https://github.com/libnet/libnet/ URL: https://github.com/libnet/libnet
Source: https://github.com/libnet/libnet/releases/download/v%{version}/%{name}-%{version}.tar.gz Source: https://github.com/libnet/libnet/releases/download/v%{version}/%{name}-%{version}.tar.gz
BuildRequires: automake autoconf libtool doxygen graphviz BuildRequires: automake autoconf libtool doxygen graphviz
@ -12,14 +12,14 @@ Libbet provides a fairly portable framework for network packet
construction an injuction. construction an injuction.
%package devel %package devel
Summary: development files are included in this package Summary: Development files for the libnet library
Requires: %{name}%{?_isa} = %{version}-%{release} 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 %package help
Summary: help files are included in this package Summary: Documentation files for the libnet library
Requires: %{name}%{?_isa} = %{version}-%{release} Requires: %{name}%{?_isa} = %{version}-%{release}
%description help %description help
@ -27,8 +27,6 @@ This package contains help documents.
%prep %prep
%autosetup -p1 %autosetup -p1
autoreconf -if
rm -rf __dist_sample rm -rf __dist_sample
mkdir __dist_sample mkdir __dist_sample
@ -55,6 +53,7 @@ rm -f doc/html/Makefile*
%postun -p /sbin/ldconfig %postun -p /sbin/ldconfig
%files %files
%license LICENSE
%{_libdir}/%{name}.so.* %{_libdir}/%{name}.so.*
%files devel %files devel
@ -69,9 +68,13 @@ rm -f doc/html/Makefile*
%doc README.md ChangeLog.md doc/MIGRATION.md doc/RAWSOCKET.md %doc README.md ChangeLog.md doc/MIGRATION.md doc/RAWSOCKET.md
%doc doc/html/ %doc doc/html/
%doc %{_docdir}/* %doc %{_docdir}/*
%{_mandir}/man1/%{name}*.1*
%{_mandir}/man3/%{name}*.3* %{_mandir}/man3/%{name}*.3*
%changelog %changelog
* Wed Dec 27 2023 lvgenggeng <lvgenggeng@uniontech.com> - 1.3-1
- Update to version 1.3
* Fri Aug 05 2022 liukuo <liukuo@kylinos.cn> - 1.2-2 * Fri Aug 05 2022 liukuo <liukuo@kylinos.cn> - 1.2-2
- License compliance rectification - License compliance rectification