spec: Changed not to create libgbm-devel. 87/209987/1 submit/tizen/20190715.062210
authorJoonbum Ko <joonbum.ko@samsung.com>
Mon, 15 Jul 2019 02:54:24 +0000 (11:54 +0900)
committerJoonbum Ko <joonbum.ko@samsung.com>
Mon, 15 Jul 2019 02:59:38 +0000 (11:59 +0900)
 - This package will no longer be used,
 and the gbm.h provided by mesa will be used for the build.

Change-Id: Ie7ca176ae155a7828e5a63dd870bb0c8a6fc6d37
Signed-off-by: Joonbum Ko <joonbum.ko@samsung.com>
packaging/libgbm.spec

index 1b5d749..0b7c816 100644 (file)
@@ -1,3 +1,5 @@
+%define _unpackaged_files_terminate_build 0
+
 %define MAJOR_VER      1
 %define MINOR_VER      0
 
@@ -18,14 +20,6 @@ BuildRequires: pkgconfig(wayland-tbm-server)
 %description
 Wayland Generic Buffer Management for TIZEN
 
-%package devel
-Summary:    Development header files for use with GBM
-Group:      System/Libraries
-Requires:   %{name}
-
-%description devel
-Development header files for use with Wayland GBM
-
 %prep
 %setup -q -n %{name}
 
@@ -39,7 +33,6 @@ make libdir=%{_libdir} major_ver=%{MAJOR_VER} minor_ver=%{MINOR_VER}
 rm -f %{buildroot}/%{_libdir}/*.la
 
 ln -sf libgbm.so.%{MAJOR_VER}.%{MINOR_VER}.0   %{buildroot}%{_libdir}/libgbm.so.%{MAJOR_VER}
-ln -sf libgbm.so.%{MAJOR_VER}                  %{buildroot}%{_libdir}/libgbm.so
 
 %post -p /sbin/ldconfig
 
@@ -51,11 +44,3 @@ ln -sf libgbm.so.%{MAJOR_VER}                        %{buildroot}%{_libdir}/libgbm.so
 %defattr(-,root,root,-)
 %{_libdir}/libgbm.so.%{MAJOR_VER}
 %{_libdir}/libgbm.so.%{MAJOR_VER}.%{MINOR_VER}.0
-
-%files devel
-%defattr(-,root,root,-)
-%{_includedir}/gbm.h
-%{_includedir}/gbmint.h
-%{_includedir}/gbm/*
-%{_libdir}/pkgconfig/gbm.pc
-%{_libdir}/libgbm.so