diff --git a/libnsl-1.1.0.tar.bz2 b/libnsl-1.1.0.tar.bz2 deleted file mode 100644 index f57496d..0000000 --- a/libnsl-1.1.0.tar.bz2 +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:9bf9b683f11b264ec271c07285c02ad8d39801bc640560760b4d2977434ff86d -size 354120 diff --git a/libnsl-1.2.0.tar.bz2 b/libnsl-1.2.0.tar.bz2 new file mode 100644 index 0000000..cf83769 --- /dev/null +++ b/libnsl-1.2.0.tar.bz2 @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:9c3d650d917bcd8cfc04b9f33b886e2f72c5052263482c7787c24f56f37fa474 +size 376211 diff --git a/libnsl.changes b/libnsl.changes index 2fd1abb..e01bc4f 100644 --- a/libnsl.changes +++ b/libnsl.changes @@ -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 diff --git a/libnsl.spec b/libnsl.spec index 4cdb9bc..48ddc17 100644 --- a/libnsl.spec +++ b/libnsl.spec @@ -16,23 +16,22 @@ # +%define debug_package_requires libnsl2 = %{version}-%{release} Name: libnsl -Version: 1.1.0 +Version: 1.2.0 Release: 0 Summary: Network Support Library (NIS/NIS+) License: LGPL-2.1 Group: System/Libraries -Url: http://github.com/thkukuk/libnsl +URL: http://github.com/thkukuk/libnsl Source: %{name}-%{version}.tar.bz2 Source1: baselibs.conf BuildRequires: autoconf BuildRequires: libtool BuildRequires: pkg-config -BuildRoot: %{_tmppath}/%{name}-%{version}-build %if 0%{?suse_version} >= 1310 BuildRequires: libtirpc-devel >= 1.0 %endif -%define debug_package_requires libnsl2 = %{version}-%{release} %description 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+) Group: Development/Libraries/C and C++ Requires: libnsl2 = %{version} +Requires: pkgconfig(libtirpc) >= 1.0.1 %description devel The Network Support Library for NIS/NIS+ was formerly part of glibc and @@ -72,7 +72,7 @@ make %{?_smp_mflags} %install # Don't strip .symtab to allow debugging export STRIP_KEEP_SYMTAB=libnsl*.so* -make %{?_smp_mflags} DESTDIR=%{buildroot} install +%make_install # Remove .la file rm %{buildroot}%{_libdir}/%{name}.la @@ -83,12 +83,10 @@ make %{?_smp_mflags} check %postun -n libnsl2 -p /sbin/ldconfig %files -n libnsl2 -%defattr(-,root,root) %doc COPYING %{_libdir}/libnsl.so.2* %files devel -%defattr(-,root,root) %{_libdir}/libnsl.so %{_includedir}/* %{_libdir}/pkgconfig/*