Cleanup spec files 07/236507/4
authorDariusz Michaluk <d.michaluk@samsung.com>
Wed, 17 Jun 2020 13:23:27 +0000 (15:23 +0200)
committerDariusz Michaluk <d.michaluk@samsung.com>
Tue, 30 Jun 2020 11:23:52 +0000 (13:23 +0200)
Change-Id: If0702d38a65b3d1dc4156e5bfc761db6d1f954dc

packaging/device-certificate-manager-backend-dummy.spec
packaging/device-certificate-manager-backend-kse.spec

index 735e6087bece2148d83c96b8fbe31d87a56886e1..920f2fbf1d9de53122b930963220436b550ee663 100644 (file)
@@ -9,9 +9,7 @@ Source1001: device-certificate-manager-backend.manifest
 BuildRequires: cmake
 BuildRequires: pkgconfig(dlog)
 BuildRequires: pkgconfig(iotivity)
-BuildRequires: pkgconfig(protobuf)
 BuildRequires: pkgconfig(device-certificate-manager-backend)
-BuildRequires: boost-devel
 BuildRequires: openssl1.1
 Requires(post): /sbin/ldconfig
 Requires(postun): /sbin/ldconfig
@@ -26,9 +24,7 @@ Device Certificate Manager dummy (based on the OpenSSL) backend library
 cp -a %{SOURCE1001} .
 
 %build
-
-%cmake . -DVERSION=%{version} \
-       -DCMAKE_BUILD_TYPE=%{?build_type:%build_type}%{!?build_type:Release} \
+%cmake . -DCMAKE_BUILD_TYPE=%{?build_type:%build_type}%{!?build_type:Release} \
        -DDCM_BACKEND_API=%{dcm_backend_api} \
        -DDCM_BACKEND_TYPE=dummy
 
index c76336ab207aea334db5102eb412d44e0404a01a..fa64d2c396bb513611a52eb9a09445530a88ae55 100644 (file)
@@ -9,7 +9,6 @@ Source1001: device-certificate-manager-backend.manifest
 BuildRequires: cmake
 BuildRequires: pkgconfig(dlog)
 BuildRequires: pkgconfig(iotivity)
-BuildRequires: pkgconfig(protobuf)
 BuildRequires: pkgconfig(device-certificate-manager-backend)
 BuildRequires: boost-devel
 Requires(post): /sbin/ldconfig
@@ -20,12 +19,10 @@ Conflicts:device-certificate-manager-backend-dummy
 %description
 Device Certificate Manager KONAISE backend library
 
-%package -n device-certificate-manager-backend-kse-tests
+%package tests
 Summary:       Internal tool for testing the DCM KONAISE backend
 Group:         Security/Testing
 Requires:      device-certificate-manager-backend-kse
-Requires(post): /sbin/ldconfig
-Requires(postun): /sbin/ldconfig
 
 %description tests
 Internal tool for testing the DCM KONAISE backend
@@ -35,9 +32,7 @@ Internal tool for testing the DCM KONAISE backend
 cp -a %{SOURCE1001} .
 
 %build
-
-%cmake . -DVERSION=%{version} \
-       -DCMAKE_BUILD_TYPE=%{?build_type:%build_type}%{!?build_type:Release} \
+%cmake . -DCMAKE_BUILD_TYPE=%{?build_type:%build_type}%{!?build_type:Release} \
        -DDCM_BACKEND_API=%{dcm_backend_api} \
        -DDCM_BACKEND_TYPE=kse