Compare commits
No commits in common. "9a8b85c3bbd12f92b2f60bce78e90e0704fc7921" and "fbc866688b6aff4af8bb270ccf1cf335907ffc8e" have entirely different histories.
9a8b85c3bb
...
fbc866688b
BIN
libnsl-fbad7b36acaa89a54023930af70805649f962999.tar.gz
Normal file
BIN
libnsl-fbad7b36acaa89a54023930af70805649f962999.tar.gz
Normal file
Binary file not shown.
63
libnsl2.spec
63
libnsl2.spec
@ -1,24 +1,14 @@
|
|||||||
# Uncomment on initial build for soname bump.
|
%global commit0 fbad7b36acaa89a54023930af70805649f962999
|
||||||
%global bump_soname 0
|
|
||||||
%global sover 3
|
|
||||||
|
|
||||||
%if 0%{?bump_soname}
|
|
||||||
%global relsuffix ~sonamebump
|
|
||||||
%global old_sover %(echo $((%{sover}-1)))
|
|
||||||
%endif
|
|
||||||
|
|
||||||
Name: libnsl2
|
Name: libnsl2
|
||||||
Version: 2.0.1
|
Version: 1.3.0
|
||||||
Release: 1
|
Release: 2
|
||||||
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/v%{version}.tar.gz
|
Source0: https://github.com/thkukuk/libnsl/archive/%{commit0}.tar.gz#/libnsl-%{commit0}.tar.gz
|
||||||
|
|
||||||
BuildRequires: automake, autoconf, libtirpc-devel, gettext-devel, libtool
|
BuildRequires: automake, autoconf, libtirpc-devel, gettext-devel, libtool
|
||||||
%if 0%{?bump_soname}
|
|
||||||
BuildRequires: libnsl2
|
|
||||||
%endif
|
|
||||||
|
|
||||||
%description
|
%description
|
||||||
This package contains the libnsl library. This library contains
|
This package contains the libnsl library. This library contains
|
||||||
@ -40,28 +30,35 @@ that use %{name}
|
|||||||
%setup -q -n libnsl-%{version}
|
%setup -q -n libnsl-%{version}
|
||||||
|
|
||||||
%build
|
%build
|
||||||
|
|
||||||
|
export CFLAGS="%{optflags}"
|
||||||
|
|
||||||
autoreconf -fiv
|
autoreconf -fiv
|
||||||
|
|
||||||
%configure\
|
%configure\
|
||||||
--libdir=%{_exec_prefix}/%{_lib}\
|
--libdir=%{_exec_prefix}/%{_lib}\
|
||||||
--includedir=%{_prefix}/include
|
--includedir=%{_prefix}/include
|
||||||
|
|
||||||
%make_build
|
make %{?_smp_mflags}
|
||||||
|
|
||||||
%install
|
%install
|
||||||
%make_install
|
|
||||||
rm %{buildroot}/%{_libdir}/libnsl.{a,la}
|
|
||||||
|
|
||||||
%if 0%{?bump_soname}
|
make install DESTDIR=%{buildroot}
|
||||||
cp -p %{_libdir}/libnsl.so.%{old_sover}* %{buildroot}/%{_libdir}
|
|
||||||
%endif
|
rm -f %{buildroot}/%{_libdir}/libnsl.a || :
|
||||||
|
rm -f %{buildroot}/%{_libdir}/libnsl.la || :
|
||||||
|
|
||||||
|
%post
|
||||||
|
/sbin/ldconfig
|
||||||
|
|
||||||
|
%postun
|
||||||
|
/sbin/ldconfig
|
||||||
|
|
||||||
%files
|
%files
|
||||||
|
%{_exec_prefix}/%{_lib}/libnsl.so.2
|
||||||
|
%{_exec_prefix}/%{_lib}/libnsl.so.2.0.1
|
||||||
|
|
||||||
%license COPYING
|
%license COPYING
|
||||||
%{_libdir}/libnsl.so.%{sover}*
|
|
||||||
%if 0%{?bump_soname}
|
|
||||||
%{_libdir}/libnsl.so.%{old_sover}*
|
|
||||||
%endif
|
|
||||||
|
|
||||||
%files devel
|
%files devel
|
||||||
%{_exec_prefix}/%{_lib}/libnsl.so
|
%{_exec_prefix}/%{_lib}/libnsl.so
|
||||||
@ -69,24 +66,6 @@ cp -p %{_libdir}/libnsl.so.%{old_sover}* %{buildroot}/%{_libdir}
|
|||||||
%{_prefix}/include/*
|
%{_prefix}/include/*
|
||||||
|
|
||||||
%changelog
|
%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
|
* Fri Apr 23 2021 yang_zhuang_zhuang<yangzhuangzhuang1@huawei.com> - 1.3.0-2
|
||||||
- Delete so file of the old version
|
- Delete so file of the old version
|
||||||
|
|
||||||
|
|||||||
BIN
v2.0.1.tar.gz
BIN
v2.0.1.tar.gz
Binary file not shown.
Loading…
x
Reference in New Issue
Block a user