Compare commits

..

No commits in common. 'c9' and 'c8' have entirely different histories.
c9 ... c8

2
.gitignore vendored

@ -1 +1 @@
SOURCES/v2.0.0.tar.gz SOURCES/libnsl-4a062cf4180d99371198951e4ea5b4550efd58a3.tar.gz

@ -1 +1 @@
f727e4e0bbf233a2367465bcbaed546ab4875744 SOURCES/v2.0.0.tar.gz cab137801ef69007c38c8ab033d57b8f95eb6cb6 SOURCES/libnsl-4a062cf4180d99371198951e4ea5b4550efd58a3.tar.gz

@ -0,0 +1,10 @@
--- 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"

@ -1,37 +1,32 @@
# Uncomment on initial build for soname bump. %global commit0 4a062cf4180d99371198951e4ea5b4550efd58a3
#global bump_soname 1 %global shortcommit0 %(c=%{commit0}; echo ${c:0:7})
%global sover 3
%if 0%{?bump_soname}
%global relsuffix ~sonamebump
%global old_sover %(echo $((%{sover}-1)))
%endif
Name: libnsl2 Name: libnsl2
Version: 2.0.0 Version: 1.2.0
Release: 1%{?relsuffix}%{?dist} Release: 2.20180605git%{shortcommit0}%{?dist}
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+
Group: System Environment/Libraries
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
Patch0: libnsl2-1.0.5-include_stdint.patch
BuildRequires: autoconf, automake, gettext-devel, libtool, libtirpc-devel BuildRequires: autoconf, automake, gettext-devel, libtool, libtirpc-devel
BuildRequires: make
BuildRequires: gcc
%if 0%{?bump_soname}
BuildRequires: libnsl2 < %{version}
%endif
%description %description
This package contains the libnsl library. This library contains This package contains the libnsl library. This library contains
the public client interface for NIS(YP). the public client interface for NIS(YP) and NIS+.
This code was formerly part of glibc, but is now standalone to This code was formerly part of glibc, but is now standalone to
be able to link against TI-RPC for IPv6 support. be able to link against TI-RPC for IPv6 support.
%package devel %package devel
Summary: Development files for libnsl Summary: Development files for libnsl
Group: Development/Libraries
Requires: %{name}%{?_isa} = %{version}-%{release} Requires: %{name}%{?_isa} = %{version}-%{release}
Conflicts: glibc-devel < 2.26.9000-40 Conflicts: glibc-devel < 2.26.9000-40
@ -40,9 +35,14 @@ Development files for libnsl2
%prep %prep
%setup -q -n libnsl-%{version} %setup -q -n libnsl-%{commit0}
%patch0 -p1 -b .include_stdint
%build %build
export CFLAGS="%{optflags}"
autoreconf -fiv autoreconf -fiv
%configure\ %configure\
@ -53,20 +53,22 @@ autoreconf -fiv
%install %install
%make_install %make_install
rm %{buildroot}%{_libdir}/libnsl.{a,la} rm %{buildroot}/%{_libdir}/libnsl.a
rm %{buildroot}/%{_libdir}/libnsl.la
%post -p /sbin/ldconfig
%postun -p /sbin/ldconfig
%if 0%{?bump_soname}
cp -p %{_libdir}/libnsl.so.%{old_sover}* %{buildroot}%{_libdir}
%endif
%files %files
%{_libdir}/libnsl.so.2
%{_libdir}/libnsl.so.2.0.0
%license COPYING %license COPYING
%{_libdir}/libnsl.so.%{sover}*
%if 0%{?bump_soname}
%{_libdir}/libnsl.so.%{old_sover}*
%endif
%files devel %files devel
%{_libdir}/libnsl.so %{_libdir}/libnsl.so
@ -74,45 +76,6 @@ cp -p %{_libdir}/libnsl.so.%{old_sover}* %{buildroot}%{_libdir}
%{_libdir}/pkgconfig/libnsl.pc %{_libdir}/pkgconfig/libnsl.pc
%changelog %changelog
* Thu Jan 20 2022 Alexander Bokovoy <abokovoy@redhat.com> - 2.0.0-1
- Rebase to upstream 2.0.0 release
- Resolves: rhbz#2039220
* Mon Aug 09 2021 Mohan Boddu <mboddu@redhat.com> - 1.3.0-4
- Rebuilt for IMA sigs, glibc 2.34, aarch64 flags
Related: rhbz#1991688
* Fri Apr 16 2021 Mohan Boddu <mboddu@redhat.com> - 1.3.0-3
- Rebuilt for RHEL 9 BETA on Apr 15th 2021. Related: rhbz#1947937
* Tue Jan 26 2021 Fedora Release Engineering <releng@fedoraproject.org> - 1.3.0-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild
* Fri Sep 18 2020 Filip Janus <fjanus@redhat.com> - 1.3.0-1
- Upstreal released new version 1.3.0
* 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
* 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
* 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
* 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
* 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
* Mon Oct 29 2018 James Antill <james.antill@redhat.com>
- Remove ldconfig scriptlet, now done via. transfiletrigger in glibc (#1644073).
* 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
* Tue Jun 05 2018 Matej Mužila <mmuzila@redhat.com> - 1.2.0-2.20181605git4a062cf * Tue Jun 05 2018 Matej Mužila <mmuzila@redhat.com> - 1.2.0-2.20181605git4a062cf
- Update to 1.2.0-2.20181605git4a062cf - Update to 1.2.0-2.20181605git4a062cf
Resolves: rhbz#1573895 Resolves: rhbz#1573895

Loading…
Cancel
Save