Compare commits

...

10 Commits

Author SHA1 Message Date
openeuler-ci-bot
9a8b85c3bb
!26 update version to 2.0.1
From: @fly_fzc 
Reviewed-by: @dillon_chen 
Signed-off-by: @dillon_chen
2023-12-20 04:11:57 +00:00
fly_fzc
6e4050327d update version to 2.0.1 2023-12-15 16:36:50 +08:00
openeuler-ci-bot
2e6627e1f1
!25 【Mainline】fix source url
From: @yixiangzhike 
Reviewed-by: @xiezhipeng1 
Signed-off-by: @xiezhipeng1
2022-11-17 03:03:44 +00:00
yixiangzhike
fa110a788a fix source url
Signed-off-by: yixiangzhike <yixiangzhike007@163.com>
2022-11-17 10:00:17 +08:00
openeuler-ci-bot
845362f606
!19 Bump release in order to upgrade from openEuler 22.03
From: @fly_fzc 
Reviewed-by: @lvying6 
Signed-off-by: @lvying6
2022-07-29 02:11:26 +00:00
fly_fzc
7ea443a67a Bump release in order to upgrade from openEuler 22.03 2022-07-29 09:54:31 +08:00
openeuler-ci-bot
b4a51be189
!13 master: delete old so files
From: @hugel 
Reviewed-by: @xiezhipeng1 
Signed-off-by: @xiezhipeng1
2022-04-15 09:27:46 +00:00
Hugel
e0781b2ec9 delete old so files 2022-04-15 15:50:51 +08:00
openeuler-ci-bot
c3f019f8ec
!12 update version to 2.0.0
Merge pull request !12 from 付安安/master
2022-01-11 07:22:31 +00:00
fuanan
84e0ec1c63 update version to 2.0.0 2021-12-28 18:46:57 +08:00
3 changed files with 42 additions and 21 deletions

View File

@ -1,14 +1,24 @@
%global commit0 fbad7b36acaa89a54023930af70805649f962999
# Uncomment on initial build for soname bump.
%global bump_soname 0
%global sover 3
%if 0%{?bump_soname}
%global relsuffix ~sonamebump
%global old_sover %(echo $((%{sover}-1)))
%endif
Name: libnsl2
Version: 1.3.0
Release: 2
Version: 2.0.1
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
Source0: https://github.com/thkukuk/libnsl/archive/v%{version}.tar.gz
BuildRequires: automake, autoconf, libtirpc-devel, gettext-devel, libtool
%if 0%{?bump_soname}
BuildRequires: libnsl2
%endif
%description
This package contains the libnsl library. This library contains
@ -30,35 +40,28 @@ that use %{name}
%setup -q -n libnsl-%{version}
%build
export CFLAGS="%{optflags}"
autoreconf -fiv
%configure\
--libdir=%{_exec_prefix}/%{_lib}\
--includedir=%{_prefix}/include
make %{?_smp_mflags}
%make_build
%install
%make_install
rm %{buildroot}/%{_libdir}/libnsl.{a,la}
make install DESTDIR=%{buildroot}
rm -f %{buildroot}/%{_libdir}/libnsl.a || :
rm -f %{buildroot}/%{_libdir}/libnsl.la || :
%post
/sbin/ldconfig
%postun
/sbin/ldconfig
%if 0%{?bump_soname}
cp -p %{_libdir}/libnsl.so.%{old_sover}* %{buildroot}/%{_libdir}
%endif
%files
%{_exec_prefix}/%{_lib}/libnsl.so.2
%{_exec_prefix}/%{_lib}/libnsl.so.2.0.1
%license COPYING
%{_libdir}/libnsl.so.%{sover}*
%if 0%{?bump_soname}
%{_libdir}/libnsl.so.%{old_sover}*
%endif
%files devel
%{_exec_prefix}/%{_lib}/libnsl.so
@ -66,6 +69,24 @@ rm -f %{buildroot}/%{_libdir}/libnsl.la || :
%{_prefix}/include/*
%changelog
* Fri Dec 15 2023 fuanan <fuanan3@h-partners.com> - 2.0.1-1
- update version to 2.0.1
* Thu Nov 17 2022 yixiangzhike<yixiangzhike007@163.com> - 2.0.0-5
- fix source url
* Thu Jul 28 2022 fuanan <fuanan3@h-partners.com> - 2.0.0-4
- Type:requirements
- ID:NA
- SUG:NA
- DESC:Bump release in order to upgrade from openEuler 22.03
* Fri Apr 15 2022 Hugel<gengqihu1@h-partners.com> - 2.0.0-2
- delete old so files
* Tue Dec 28 2021 fuanan <fuanan3@huawei.com> - 2.0.0-1
- update version to 2.0.0
* Fri Apr 23 2021 yang_zhuang_zhuang<yangzhuangzhuang1@huawei.com> - 1.3.0-2
- Delete so file of the old version

BIN
v2.0.1.tar.gz Normal file

Binary file not shown.