Do not pack pkgconfig for libwebsockets 91/267291/2
authorcheoleun moon <chleun.moon@samsung.com>
Wed, 1 Dec 2021 04:48:48 +0000 (13:48 +0900)
committercheoleun moon <chleun.moon@samsung.com>
Fri, 3 Dec 2021 01:46:28 +0000 (01:46 +0000)
Change-Id: I9d596614b6c1a9531211b885522efe63f4ed7a04
Signed-off-by: cheoleun moon <chleun.moon@samsung.com>
packaging/capi-network-vine.spec

index 258452e2c5f5cb39673dcbc7fa2d152eb0db7a76..64ee1240c9ce31cb3e35536cf30f386345f77e82 100755 (executable)
@@ -159,13 +159,15 @@ rm -rf %{buildroot}%{_libdir}/cmake/libwebsockets
 
 %files devel
 %defattr(-,root,root,-)
-%{_libdir}/pkgconfig/*.pc
+%{_libdir}/pkgconfig/vine.pc
 %{_includedir}/*.h
 %if %{with lws_static} && %{without lws_static_prebuilt}
 %{_includedir}/libwebsockets/*.h
 %{_includedir}/libwebsockets/abstract/*.h
 %{_includedir}/libwebsockets/abstract/protocols/*.h
 %{_includedir}/libwebsockets/abstract/transports/*.h
+%exclude %{_libdir}/pkgconfig/libwebsockets.pc
+%exclude %{_libdir}/pkgconfig/libwebsockets_static.pc
 %endif
 %{_libdir}/*.so