Updating link to change in openSUSE:Factory/libnsl revision 4.0
OBS-URL: https://build.opensuse.org/package/show/network:NIS/libnsl?expand=0&rev=1f43625b1eba6b6e132608d67876a4a8
This commit is contained in:
parent
a0ebab6d6d
commit
6dc5b4c21c
@ -1,18 +1,3 @@
|
|||||||
-------------------------------------------------------------------
|
|
||||||
Tue Sep 12 12:43:01 CEST 2017 - kukuk@suse.de
|
|
||||||
|
|
||||||
- Install yppasswd.h again
|
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
|
||||||
Tue Sep 5 12:54:29 CEST 2017 - kukuk@suse.de
|
|
||||||
|
|
||||||
- Disable static library
|
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
|
||||||
Wed Aug 30 13:35:01 CEST 2017 - kukuk@suse.de
|
|
||||||
|
|
||||||
- Don't install into nsl subdirectories
|
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Fri Aug 18 19:53:51 UTC 2017 - kukuk@suse.com
|
Fri Aug 18 19:53:51 UTC 2017 - kukuk@suse.com
|
||||||
|
|
||||||
|
17
libnsl.spec
17
libnsl.spec
@ -66,15 +66,20 @@ The NIS+ API is deprecated and only there "as is".
|
|||||||
%setup -q
|
%setup -q
|
||||||
|
|
||||||
%build
|
%build
|
||||||
%configure --disable-static
|
%configure --libdir=/%{_libdir}/nsl --includedir=%{_includedir}/nsl
|
||||||
make %{?_smp_mflags}
|
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*
|
||||||
|
# NO_BRP_CHECK_ROOTFS is for SLES11 only, but does not harm for Factory
|
||||||
|
export NO_BRP_CHECK_ROOTFS=true
|
||||||
make %{?_smp_mflags} DESTDIR=%{buildroot} install
|
make %{?_smp_mflags} DESTDIR=%{buildroot} install
|
||||||
# Remove .la file
|
mv -v %{buildroot}/%{_libdir}/nsl/%{name}.so.2* %{buildroot}%{_libdir}/
|
||||||
rm %{buildroot}%{_libdir}/%{name}.la
|
# Adjust devel so link
|
||||||
|
rm -v %{buildroot}/%{_libdir}/nsl/%{name}.{a,la,so}
|
||||||
|
ln -s -v %{_libdir}/%{name}.so.2 %{buildroot}%{_libdir}/nsl/%{name}.so
|
||||||
|
mv -v %{buildroot}/%{_libdir}/nsl/pkgconfig %{buildroot}/%{_libdir}
|
||||||
|
|
||||||
%check
|
%check
|
||||||
make %{?_smp_mflags} check
|
make %{?_smp_mflags} check
|
||||||
@ -89,8 +94,10 @@ make %{?_smp_mflags} check
|
|||||||
|
|
||||||
%files devel
|
%files devel
|
||||||
%defattr(-,root,root)
|
%defattr(-,root,root)
|
||||||
%{_libdir}/libnsl.so
|
%dir %{_libdir}/nsl/
|
||||||
%{_includedir}/*
|
%{_libdir}/nsl/libnsl.so
|
||||||
|
%dir %{_includedir}/nsl/
|
||||||
|
%{_includedir}/nsl/*
|
||||||
%{_libdir}/pkgconfig/*
|
%{_libdir}/pkgconfig/*
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
Loading…
Reference in New Issue
Block a user