Add number and cleanup upgrade scripts
[platform/core/security/cert-svc.git] / packaging / cert-svc.spec
index b4e58b0..d35f2a3 100644 (file)
@@ -2,10 +2,10 @@
 
 Name:    cert-svc
 Summary: Certification service
-Version: 2.1.5
+Version: 2.1.6
 Release: 0
 Group:   Security/Certificate Management
-License: Apache-2.0
+License: Apache-2.0 and OpenSSL
 Source0: %{name}-%{version}.tar.gz
 BuildRequires: cmake
 BuildRequires: coreutils
@@ -164,6 +164,7 @@ fi
 %files
 %manifest %name.manifest
 %license LICENSE
+%license LICENSE.OpenSSL
 %_unitdir/cert-server.service
 %_unitdir/cert-server.socket
 %_unitdir/sockets.target.wants/cert-server.socket
@@ -177,8 +178,8 @@ fi
 %attr(-, %{user_name}, %{group_name}) %cert_svc_db_path/certs-meta.db-journal
 %attr(-, %{user_name}, %{group_name}) %cert_svc_ro_path
 
-%attr(755, root, root) %upgrade_script_path/cert-svc-db-upgrade.sh
-%attr(755, root, root) %upgrade_script_path/cert-svc-disabled-certs-upgrade.sh
+%attr(755, root, root) %upgrade_script_path/202.cert-svc-db-upgrade.sh
+%attr(755, root, root) %upgrade_script_path/203.cert-svc-disabled-certs-upgrade.sh
 %upgrade_data_path/certs-meta.db
 
 %files devel