Accepting request 541198 from network:NIS
- Update to version 1.2.0 - make code more portable - fix pkgconfig requires - libnsl-devel: require libtirpc-devel OBS-URL: https://build.opensuse.org/request/show/541198 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/libnsl?expand=0&rev=6
This commit is contained in:
commit
02e83b5507
@ -1,3 +0,0 @@
|
|||||||
version https://git-lfs.github.com/spec/v1
|
|
||||||
oid sha256:9bf9b683f11b264ec271c07285c02ad8d39801bc640560760b4d2977434ff86d
|
|
||||||
size 354120
|
|
3
libnsl-1.2.0.tar.bz2
Normal file
3
libnsl-1.2.0.tar.bz2
Normal file
@ -0,0 +1,3 @@
|
|||||||
|
version https://git-lfs.github.com/spec/v1
|
||||||
|
oid sha256:9c3d650d917bcd8cfc04b9f33b886e2f72c5052263482c7787c24f56f37fa474
|
||||||
|
size 376211
|
@ -1,3 +1,15 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Sat Nov 11 08:14:38 CET 2017 - kukuk@suse.de
|
||||||
|
|
||||||
|
- Update to version 1.2.0
|
||||||
|
- make code more portable
|
||||||
|
- fix pkgconfig requires
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Sat Nov 11 07:54:07 CET 2017 - kukuk@suse.de
|
||||||
|
|
||||||
|
- libnsl-devel: require libtirpc-devel
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Tue Sep 12 12:43:01 CEST 2017 - kukuk@suse.de
|
Tue Sep 12 12:43:01 CEST 2017 - kukuk@suse.de
|
||||||
|
|
||||||
|
12
libnsl.spec
12
libnsl.spec
@ -16,23 +16,22 @@
|
|||||||
#
|
#
|
||||||
|
|
||||||
|
|
||||||
|
%define debug_package_requires libnsl2 = %{version}-%{release}
|
||||||
Name: libnsl
|
Name: libnsl
|
||||||
Version: 1.1.0
|
Version: 1.2.0
|
||||||
Release: 0
|
Release: 0
|
||||||
Summary: Network Support Library (NIS/NIS+)
|
Summary: Network Support Library (NIS/NIS+)
|
||||||
License: LGPL-2.1
|
License: LGPL-2.1
|
||||||
Group: System/Libraries
|
Group: System/Libraries
|
||||||
Url: http://github.com/thkukuk/libnsl
|
URL: http://github.com/thkukuk/libnsl
|
||||||
Source: %{name}-%{version}.tar.bz2
|
Source: %{name}-%{version}.tar.bz2
|
||||||
Source1: baselibs.conf
|
Source1: baselibs.conf
|
||||||
BuildRequires: autoconf
|
BuildRequires: autoconf
|
||||||
BuildRequires: libtool
|
BuildRequires: libtool
|
||||||
BuildRequires: pkg-config
|
BuildRequires: pkg-config
|
||||||
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
|
||||||
%if 0%{?suse_version} >= 1310
|
%if 0%{?suse_version} >= 1310
|
||||||
BuildRequires: libtirpc-devel >= 1.0
|
BuildRequires: libtirpc-devel >= 1.0
|
||||||
%endif
|
%endif
|
||||||
%define debug_package_requires libnsl2 = %{version}-%{release}
|
|
||||||
|
|
||||||
%description
|
%description
|
||||||
The Network Support Library for NIS/NIS+ was formerly part of glibc and
|
The Network Support Library for NIS/NIS+ was formerly part of glibc and
|
||||||
@ -54,6 +53,7 @@ The NIS+ code is deprecated and only there "as is".
|
|||||||
Summary: Development package for Network Support Library (NIS/NIS+)
|
Summary: Development package for Network Support Library (NIS/NIS+)
|
||||||
Group: Development/Libraries/C and C++
|
Group: Development/Libraries/C and C++
|
||||||
Requires: libnsl2 = %{version}
|
Requires: libnsl2 = %{version}
|
||||||
|
Requires: pkgconfig(libtirpc) >= 1.0.1
|
||||||
|
|
||||||
%description devel
|
%description devel
|
||||||
The Network Support Library for NIS/NIS+ was formerly part of glibc and
|
The Network Support Library for NIS/NIS+ was formerly part of glibc and
|
||||||
@ -72,7 +72,7 @@ make %{?_smp_mflags}
|
|||||||
%install
|
%install
|
||||||
# Don't strip .symtab to allow debugging
|
# Don't strip .symtab to allow debugging
|
||||||
export STRIP_KEEP_SYMTAB=libnsl*.so*
|
export STRIP_KEEP_SYMTAB=libnsl*.so*
|
||||||
make %{?_smp_mflags} DESTDIR=%{buildroot} install
|
%make_install
|
||||||
# Remove .la file
|
# Remove .la file
|
||||||
rm %{buildroot}%{_libdir}/%{name}.la
|
rm %{buildroot}%{_libdir}/%{name}.la
|
||||||
|
|
||||||
@ -83,12 +83,10 @@ make %{?_smp_mflags} check
|
|||||||
%postun -n libnsl2 -p /sbin/ldconfig
|
%postun -n libnsl2 -p /sbin/ldconfig
|
||||||
|
|
||||||
%files -n libnsl2
|
%files -n libnsl2
|
||||||
%defattr(-,root,root)
|
|
||||||
%doc COPYING
|
%doc COPYING
|
||||||
%{_libdir}/libnsl.so.2*
|
%{_libdir}/libnsl.so.2*
|
||||||
|
|
||||||
%files devel
|
%files devel
|
||||||
%defattr(-,root,root)
|
|
||||||
%{_libdir}/libnsl.so
|
%{_libdir}/libnsl.so
|
||||||
%{_includedir}/*
|
%{_includedir}/*
|
||||||
%{_libdir}/pkgconfig/*
|
%{_libdir}/pkgconfig/*
|
||||||
|
Loading…
x
Reference in New Issue
Block a user