update version to 1.3.0

This commit is contained in:
yang_zhuang_zhuang 2020-07-27 11:15:11 +08:00
parent cf3e5e0305
commit e782af7f10
4 changed files with 9 additions and 18 deletions

Binary file not shown.

View File

@ -1,10 +0,0 @@
--- libnsl-libnsl-1.0.5/src/nisplus/nis_call.c.include_stdint 2017-06-12 16:05:36.864341686 +0200
+++ libnsl-libnsl-1.0.5/src/nisplus/nis_call.c 2017-06-12 16:05:56.745337017 +0200
@@ -31,6 +31,7 @@
#include <unistd.h>
#include <netinet/in.h>
#include <arpa/inet.h>
+#include <stdint.h>
#include "libc-lock.h"
#include "nis_intern.h"

View File

@ -1,15 +1,13 @@
%global commit0 4a062cf4180d99371198951e4ea5b4550efd58a3 %global commit0 fbad7b36acaa89a54023930af70805649f962999
Name: libnsl2 Name: libnsl2
Version: 1.2.0 Version: 1.3.0
Release: 4 Release: 1
Summary: Public client interface library for NIS(YP) and NIS+ Summary: Public client interface library for NIS(YP) and NIS+
License: BSD and LGPLv2+ License: BSD and LGPLv2+
URL: https://github.com/thkukuk/libnsl URL: https://github.com/thkukuk/libnsl
Source0: https://github.com/thkukuk/libnsl/archive/%{commit0}.tar.gz#/libnsl-%{commit0}.tar.gz Source0: https://github.com/thkukuk/libnsl/archive/%{commit0}.tar.gz#/libnsl-%{commit0}.tar.gz
Patch0: libnsl2-1.0.5-include_stdint.patch
BuildRequires: automake, autoconf, libtirpc-devel, gettext-devel, libtool BuildRequires: automake, autoconf, libtirpc-devel, gettext-devel, libtool
%description %description
@ -29,9 +27,7 @@ The package contains lib and header files for developing application
that use %{name} that use %{name}
%prep %prep
%setup -q -n libnsl-%{commit0} %setup -q -n libnsl-%{version}
%patch0 -p1 -b .include_stdint
%build %build
@ -51,6 +47,7 @@ make install DESTDIR=%{buildroot}
rm -f %{buildroot}/%{_libdir}/libnsl.a || : rm -f %{buildroot}/%{_libdir}/libnsl.a || :
rm -f %{buildroot}/%{_libdir}/libnsl.la || : rm -f %{buildroot}/%{_libdir}/libnsl.la || :
cp -a %{_libdir}/libnsl.so.2.0.0 %{buildroot}/%{_libdir}/
%post %post
/sbin/ldconfig /sbin/ldconfig
@ -61,6 +58,7 @@ rm -f %{buildroot}/%{_libdir}/libnsl.la || :
%files %files
%{_exec_prefix}/%{_lib}/libnsl.so.2 %{_exec_prefix}/%{_lib}/libnsl.so.2
%{_exec_prefix}/%{_lib}/libnsl.so.2.0.0 %{_exec_prefix}/%{_lib}/libnsl.so.2.0.0
%{_exec_prefix}/%{_lib}/libnsl.so.2.0.1
%license COPYING %license COPYING
@ -70,5 +68,8 @@ rm -f %{buildroot}/%{_libdir}/libnsl.la || :
%{_prefix}/include/* %{_prefix}/include/*
%changelog %changelog
* Mon Jul 27 2020 yang_zhuang_zhuang<yangzhuangzhuang1@huawei.com> - 1.3.0-1
- update version to 1.3.0
* Thu Sep 5 2019 caomeng<caomeng5@huawei.com> - 2.10.0-4 * Thu Sep 5 2019 caomeng<caomeng5@huawei.com> - 2.10.0-4
- Package init - Package init