build: move mgcp/*.h to noinst_HEADERS, drop RPM libosmo-mgcp-devel

We only install the mgcp_client/ headers.

Related: OS#6300
Change-Id: Ie0f79222bd1702097c12193dcf7a0462805cfc4a
This commit is contained in:
Neels Hofmeyr 2023-12-11 05:35:45 +01:00
parent 43eed63b09
commit 4993452561
2 changed files with 3 additions and 15 deletions

View File

@ -60,16 +60,6 @@ Osmocom's Media Gateway Control Protocol client librarary.
This subpackage contains libraries and header files for developing This subpackage contains libraries and header files for developing
applications that want to make use of libosmo-mgcp-client. applications that want to make use of libosmo-mgcp-client.
%package -n libosmo-mgcp-devel
Summary: Development files for Osmocom's Media Gateway server library
Group: Development/Libraries/C and C++
%description -n libosmo-mgcp-devel
Osmocom's Media Gateway Control Protocol server library.
This subpackage contains libraries and header files for developing
applications that want to make use of libosmo-mgcp.
%prep %prep
%setup -q %setup -q
@ -129,9 +119,4 @@ make %{?_smp_mflags} check || (find . -name testsuite.log -exec cat {} +)
%dir %{_includedir}/osmocom/mgcp_client %dir %{_includedir}/osmocom/mgcp_client
%{_includedir}/osmocom/mgcp_client/*.h %{_includedir}/osmocom/mgcp_client/*.h
%files -n libosmo-mgcp-devel
%dir %{_includedir}/osmocom
%dir %{_includedir}/osmocom/mgcp
%{_includedir}/osmocom/mgcp/*.h
%changelog %changelog

View File

@ -8,6 +8,9 @@ nobase_include_HEADERS = \
osmocom/mgcp_client/mgcp_client_endpoint_fsm.h \ osmocom/mgcp_client/mgcp_client_endpoint_fsm.h \
osmocom/mgcp_client/mgcp_client_fsm.h \ osmocom/mgcp_client/mgcp_client_fsm.h \
osmocom/mgcp_client/mgcp_client_pool.h \ osmocom/mgcp_client/mgcp_client_pool.h \
$(NULL)
noinst_HEADERS = \
osmocom/mgcp/mgcp.h \ osmocom/mgcp/mgcp.h \
osmocom/mgcp/mgcp_common.h \ osmocom/mgcp/mgcp_common.h \
osmocom/mgcp/osmux.h \ osmocom/mgcp/osmux.h \