2021-11-12 20:58:40 +00:00
|
|
|
# Uncomment on initial build for soname bump.
|
2021-11-12 21:07:50 +00:00
|
|
|
#global bump_soname 1
|
2021-11-12 20:58:40 +00:00
|
|
|
%global sover 3
|
2018-06-05 14:36:51 +00:00
|
|
|
|
2021-11-12 20:58:40 +00:00
|
|
|
%if 0%{?bump_soname}
|
|
|
|
%global relsuffix ~sonamebump
|
|
|
|
%global old_sover %(echo $((%{sover}-1)))
|
|
|
|
%endif
|
2018-06-05 14:36:51 +00:00
|
|
|
|
2017-04-10 13:14:13 +00:00
|
|
|
Name: libnsl2
|
2021-11-11 14:26:46 +00:00
|
|
|
Version: 2.0.0
|
2024-01-21 04:50:18 +00:00
|
|
|
Release: 7%{?relsuffix}%{?dist}
|
2017-04-10 13:14:13 +00:00
|
|
|
Summary: Public client interface library for NIS(YP) and NIS+
|
|
|
|
|
|
|
|
License: BSD and LGPLv2+
|
|
|
|
URL: https://github.com/thkukuk/libnsl
|
|
|
|
|
2020-09-18 08:31:06 +00:00
|
|
|
Source0: https://github.com/thkukuk/libnsl/archive/v%{version}.tar.gz
|
2017-04-10 13:14:13 +00:00
|
|
|
|
|
|
|
BuildRequires: autoconf, automake, gettext-devel, libtool, libtirpc-devel
|
2021-01-05 02:22:40 +00:00
|
|
|
BuildRequires: make
|
2021-05-20 05:27:46 +00:00
|
|
|
BuildRequires: gcc
|
2021-11-12 20:58:40 +00:00
|
|
|
%if 0%{?bump_soname}
|
2021-11-12 21:14:41 +00:00
|
|
|
BuildRequires: libnsl2 < %{version}
|
2021-11-12 20:58:40 +00:00
|
|
|
%endif
|
2017-04-10 13:14:13 +00:00
|
|
|
|
|
|
|
%description
|
|
|
|
This package contains the libnsl library. This library contains
|
|
|
|
the public client interface for NIS(YP) and NIS+.
|
|
|
|
This code was formerly part of glibc, but is now standalone to
|
|
|
|
be able to link against TI-RPC for IPv6 support.
|
|
|
|
|
|
|
|
%package devel
|
|
|
|
Summary: Development files for libnsl
|
|
|
|
Requires: %{name}%{?_isa} = %{version}-%{release}
|
2018-02-09 14:57:48 +00:00
|
|
|
Conflicts: glibc-devel < 2.26.9000-40
|
2017-04-10 13:14:13 +00:00
|
|
|
|
|
|
|
%description devel
|
|
|
|
Development files for libnsl2
|
|
|
|
|
|
|
|
|
|
|
|
%prep
|
2020-09-18 08:31:06 +00:00
|
|
|
%setup -q -n libnsl-%{version}
|
2017-04-10 13:14:13 +00:00
|
|
|
|
|
|
|
%build
|
|
|
|
autoreconf -fiv
|
|
|
|
|
2021-11-12 20:58:40 +00:00
|
|
|
%configure \
|
|
|
|
--libdir=%{_libdir} \
|
2018-02-09 14:57:48 +00:00
|
|
|
--includedir=%{_includedir}
|
2017-04-10 13:14:13 +00:00
|
|
|
|
|
|
|
%make_build
|
|
|
|
|
|
|
|
|
|
|
|
%install
|
|
|
|
%make_install
|
|
|
|
|
2021-11-12 20:58:40 +00:00
|
|
|
rm %{buildroot}%{_libdir}/libnsl.{a,la}
|
2017-04-10 13:14:13 +00:00
|
|
|
|
2021-11-12 20:58:40 +00:00
|
|
|
%if 0%{?bump_soname}
|
|
|
|
cp -p %{_libdir}/libnsl.so.%{old_sover}* %{buildroot}%{_libdir}
|
|
|
|
%endif
|
2017-04-10 13:14:13 +00:00
|
|
|
|
2021-11-12 20:58:40 +00:00
|
|
|
%files
|
2017-04-10 13:14:13 +00:00
|
|
|
%license COPYING
|
2021-11-12 20:58:40 +00:00
|
|
|
%{_libdir}/libnsl.so.%{sover}*
|
|
|
|
%if 0%{?bump_soname}
|
|
|
|
%{_libdir}/libnsl.so.%{old_sover}*
|
|
|
|
%endif
|
2017-04-10 13:14:13 +00:00
|
|
|
|
|
|
|
%files devel
|
2018-02-09 14:57:48 +00:00
|
|
|
%{_libdir}/libnsl.so
|
|
|
|
%{_includedir}/*
|
2017-04-10 13:14:13 +00:00
|
|
|
%{_libdir}/pkgconfig/libnsl.pc
|
|
|
|
|
|
|
|
%changelog
|
2024-01-21 04:50:18 +00:00
|
|
|
* Sun Jan 21 2024 Fedora Release Engineering <releng@fedoraproject.org> - 2.0.0-7
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild
|
|
|
|
|
2023-07-20 11:36:28 +00:00
|
|
|
* Thu Jul 20 2023 Fedora Release Engineering <releng@fedoraproject.org> - 2.0.0-6
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_39_Mass_Rebuild
|
|
|
|
|
2023-01-19 17:01:07 +00:00
|
|
|
* Thu Jan 19 2023 Fedora Release Engineering <releng@fedoraproject.org> - 2.0.0-5
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild
|
|
|
|
|
2022-07-21 18:31:38 +00:00
|
|
|
* Thu Jul 21 2022 Fedora Release Engineering <releng@fedoraproject.org> - 2.0.0-4
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild
|
|
|
|
|
2022-01-20 16:50:23 +00:00
|
|
|
* Thu Jan 20 2022 Fedora Release Engineering <releng@fedoraproject.org> - 2.0.0-3
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild
|
|
|
|
|
2021-11-13 09:44:10 +00:00
|
|
|
* Sat Nov 13 2021 Björn Esser <besser82@fedoraproject.org> - 2.0.0-2
|
2021-11-12 20:58:40 +00:00
|
|
|
- Add logic for closing the loop hole on soname bumps
|
|
|
|
- Explicitly force manual intervention for soname bumps
|
|
|
|
|
2021-11-11 14:26:46 +00:00
|
|
|
* Thu Nov 11 2021 Matej Mužila <mmuzila@redhat.com> - 2.0.0-1
|
|
|
|
- Rebase to new upstream version
|
|
|
|
|
2021-07-22 11:58:47 +00:00
|
|
|
* Thu Jul 22 2021 Fedora Release Engineering <releng@fedoraproject.org> - 1.3.0-4
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild
|
|
|
|
|
2021-05-20 05:27:46 +00:00
|
|
|
* Thu May 20 2021 Timm Bäder <tbaeder@redhat.com> - 1.3.0-3
|
|
|
|
- Add gcc buildrequires
|
|
|
|
- Remove explicit setting of CFLAGS
|
|
|
|
|
2021-01-26 17:38:43 +00:00
|
|
|
* Tue Jan 26 2021 Fedora Release Engineering <releng@fedoraproject.org> - 1.3.0-2
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild
|
|
|
|
|
2020-09-18 08:31:06 +00:00
|
|
|
* Fri Sep 18 2020 Filip Janus <fjanus@redhat.com> - 1.3.0-1
|
|
|
|
- Upstreal released new version 1.3.0
|
|
|
|
|
2020-08-01 04:04:07 +00:00
|
|
|
* Sat Aug 01 2020 Fedora Release Engineering <releng@fedoraproject.org> - 1.2.0-8.20180605git4a062cf
|
|
|
|
- Second attempt - Rebuilt for
|
|
|
|
https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
|
|
|
|
|
2020-07-28 05:13:39 +00:00
|
|
|
* Tue Jul 28 2020 Fedora Release Engineering <releng@fedoraproject.org> - 1.2.0-7.20180605git4a062cf
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
|
|
|
|
|
2020-01-29 09:54:14 +00:00
|
|
|
* Wed Jan 29 2020 Fedora Release Engineering <releng@fedoraproject.org> - 1.2.0-6.20180605git4a062cf
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild
|
|
|
|
|
2019-07-25 13:56:44 +00:00
|
|
|
* Thu Jul 25 2019 Fedora Release Engineering <releng@fedoraproject.org> - 1.2.0-5.20180605git4a062cf
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild
|
|
|
|
|
2019-02-01 07:47:08 +00:00
|
|
|
* Fri Feb 01 2019 Fedora Release Engineering <releng@fedoraproject.org> - 1.2.0-4.20180605git4a062cf
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild
|
|
|
|
|
2018-10-30 11:33:37 +00:00
|
|
|
* Mon Oct 29 2018 James Antill <james.antill@redhat.com>
|
|
|
|
- Remove ldconfig scriptlet, now done via. transfiletrigger in glibc (#1644073).
|
|
|
|
|
2018-07-13 08:32:08 +00:00
|
|
|
* Fri Jul 13 2018 Fedora Release Engineering <releng@fedoraproject.org> - 1.2.0-3.20180605git4a062cf
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild
|
|
|
|
|
2018-06-05 14:36:51 +00:00
|
|
|
* Tue Jun 05 2018 Matej Mužila <mmuzila@redhat.com> - 1.2.0-2.20181605git4a062cf
|
|
|
|
- Update to 1.2.0-2.20181605git4a062cf
|
|
|
|
Resolves: rhbz#1573895
|
|
|
|
|
2018-02-09 14:57:48 +00:00
|
|
|
* Fri Feb 09 2018 Matej Mužila <mmuzila@reedhat.com> - 1.2.0-1
|
|
|
|
- Update to version 1.2.0
|
|
|
|
- Change libdir and includedir
|
|
|
|
|
2018-02-07 22:51:05 +00:00
|
|
|
* Wed Feb 07 2018 Fedora Release Engineering <releng@fedoraproject.org> - 1.1.0-2
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
|
|
|
|
|
2017-10-04 13:45:23 +00:00
|
|
|
* Wed Oct 04 2017 Matej Mužila <mmuzila@redhat.com> 1.1.0-1
|
|
|
|
- Update to version 1.1.0
|
|
|
|
|
2017-08-03 01:57:12 +00:00
|
|
|
* Thu Aug 03 2017 Fedora Release Engineering <releng@fedoraproject.org> - 1.0.5-3
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Binutils_Mass_Rebuild
|
|
|
|
|
2017-07-26 19:22:28 +00:00
|
|
|
* Wed Jul 26 2017 Fedora Release Engineering <releng@fedoraproject.org> - 1.0.5-2
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild
|
|
|
|
|
2017-06-12 14:19:55 +00:00
|
|
|
* Mon Jun 12 2017 Matej Mužila <mmuzila@redhat.com> 1.0.5-1
|
|
|
|
- Update to version 1.0.5
|
|
|
|
- Fix missing stdint.h
|
|
|
|
|
2017-04-10 13:14:13 +00:00
|
|
|
* Mon Apr 10 2017 Matej Mužila <mmuzila@redhat.com> 1.0.4-4
|
|
|
|
- Initial version for 1.0.4
|