!2 update version to 1.3.0

Merge pull request !2 from 杨壮壮/master
This commit is contained in:
openeuler-ci-bot 2020-07-27 17:01:59 +08:00 committed by Gitee
commit c52f5d3102
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
Version: 1.2.0
Release: 4
Version: 1.3.0
Release: 1
Summary: Public client interface library for NIS(YP) and NIS+
License: BSD and LGPLv2+
URL: https://github.com/thkukuk/libnsl
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
%description
@ -29,9 +27,7 @@ The package contains lib and header files for developing application
that use %{name}
%prep
%setup -q -n libnsl-%{commit0}
%patch0 -p1 -b .include_stdint
%setup -q -n libnsl-%{version}
%build
@ -51,6 +47,7 @@ make install DESTDIR=%{buildroot}
rm -f %{buildroot}/%{_libdir}/libnsl.a || :
rm -f %{buildroot}/%{_libdir}/libnsl.la || :
cp -a %{_libdir}/libnsl.so.2.0.0 %{buildroot}/%{_libdir}/
%post
/sbin/ldconfig
@ -61,6 +58,7 @@ rm -f %{buildroot}/%{_libdir}/libnsl.la || :
%files
%{_exec_prefix}/%{_lib}/libnsl.so.2
%{_exec_prefix}/%{_lib}/libnsl.so.2.0.0
%{_exec_prefix}/%{_lib}/libnsl.so.2.0.1
%license COPYING
@ -70,5 +68,8 @@ rm -f %{buildroot}/%{_libdir}/libnsl.la || :
%{_prefix}/include/*
%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
- Package init