Fix Require dependency in spec file 99/61199/3 accepted/tizen/common/20160311.203922 accepted/tizen/ivi/20160311.150408 accepted/tizen/mobile/20160311.143403 accepted/tizen/tv/20160311.144933 accepted/tizen/wearable/20160311.145750 submit/tizen/20160311.095507
authorKazimierz Krosman <k.krosman@samsung.com>
Fri, 4 Mar 2016 14:29:51 +0000 (15:29 +0100)
committerKazimierz Krosman <k.krosman@samsung.com>
Mon, 7 Mar 2016 15:16:13 +0000 (16:16 +0100)
Added devel package for libdbuspolicy

Change-Id: I60690ded104f1c766866bb1e11fd9c73cd11e0e5

packaging/libdbuspolicy.spec

index 3dc99c3..2d3bb0c 100644 (file)
@@ -9,10 +9,20 @@ Source1001:     %{name}.manifest
 BuildRequires:  boost-devel
 BuildRequires:  pkgconfig(cynara-client)
 
+
+%package devel
+Summary:        Helper library for fine-grained userspace policy handling-development package
+Requires:       %{name} = %{version}
+
 %description
 libdbuspolicy is a helper library for fine-grained userspace
 policy handling (with SMACK support)
 
+%description devel
+libdbuspolicy is a helper library for fine-grained userspace
+policy handling (with SMACK support). This package contains
+development files.
+
 %prep
 %setup -q
 cp %{SOURCE1001} .
@@ -27,18 +37,22 @@ make
 
 %install
 make DESTDIR=%{buildroot} install-strip
+rm %{buildroot}%{_libdir}/libdbuspolicy1.la
 
 %post -p /sbin/ldconfig
 %postun -p /sbin/ldconfig
 
 %files
+%defattr(-,root,root)
+%{_libdir}/libdbuspolicy1.so.*
 %manifest %{name}.manifest
+
+%files devel
 %defattr(-,root,root)
 %{_includedir}/*
 
 %{_libdir}/pkgconfig/*
-%{_libdir}/libdbuspolicy1.so.*
-%{_libdir}/libdbuspolicy1.la
 %{_libdir}/libdbuspolicy1.so
+%manifest %{name}.manifest
 
 %changelog