Ship libtest-types.a for dependent package tests

epel9
Orion Poplawski 10 years ago
parent ff62a3090c
commit ac50be28fb

@ -1,7 +1,7 @@
Name: libdap Name: libdap
Summary: The C++ DAP2 library from OPeNDAP Summary: The C++ DAP2 library from OPeNDAP
Version: 3.14.0 Version: 3.14.0
Release: 1%{?dist} Release: 2%{?dist}
License: LGPLv2+ License: LGPLv2+
Group: Development/Libraries Group: Development/Libraries
@ -92,7 +92,8 @@ make docs
%install %install
make install DESTDIR=$RPM_BUILD_ROOT INSTALL="%{__install} -p" make install DESTDIR=$RPM_BUILD_ROOT INSTALL="%{__install} -p"
rm $RPM_BUILD_ROOT%{_libdir}/libtest-types.a mkdir -p $RPM_BUILD_ROOT%{_libdir}/libdap
mv $RPM_BUILD_ROOT%{_libdir}/libtest-types.a $RPM_BUILD_ROOT%{_libdir}/libdap/
rm $RPM_BUILD_ROOT%{_libdir}/*.la rm $RPM_BUILD_ROOT%{_libdir}/*.la
mv $RPM_BUILD_ROOT%{_bindir}/dap-config-pkgconfig $RPM_BUILD_ROOT%{_bindir}/dap-config mv $RPM_BUILD_ROOT%{_bindir}/dap-config-pkgconfig $RPM_BUILD_ROOT%{_bindir}/dap-config
@ -129,6 +130,7 @@ make check
%{_libdir}/libdap.so %{_libdir}/libdap.so
%{_libdir}/libdapclient.so %{_libdir}/libdapclient.so
%{_libdir}/libdapserver.so %{_libdir}/libdapserver.so
%{_libdir}/libdap/
%{_libdir}/pkgconfig/libdap*.pc %{_libdir}/pkgconfig/libdap*.pc
%{_bindir}/dap-config %{_bindir}/dap-config
%{_includedir}/libdap/ %{_includedir}/libdap/
@ -141,6 +143,9 @@ make check
%changelog %changelog
* Fri Apr 17 2015 Orion Poplawski <orion@cora.nwra.com> - 3.14.0-2
- Ship libtest-types.a for dependent package tests
* Thu Apr 16 2015 Orion Poplawski <orion@cora.nwra.com> - 3.14.0-1 * Thu Apr 16 2015 Orion Poplawski <orion@cora.nwra.com> - 3.14.0-1
- Update to 3.14.0 - Update to 3.14.0
- Add patch to fix flex compilation - Add patch to fix flex compilation

Loading…
Cancel
Save