ca-certs resource path and format changed
[platform/upstream/ca-certificates.git] / packaging / ca-certificates.spec
index 679f43f..83e46b1 100644 (file)
@@ -13,8 +13,11 @@ Source0:        update-ca-certificates
 Source1:        update-ca-certificates.8
 Source2:        GPL-2.0.txt
 Source3:        certbundle.run
+Source1001:    ca-certificates.manifest
 Url:            http://gitorious.org/opensuse/ca-certificates
 Requires:       openssl
+Requires:       smack
+Requires:       coreutils
 Requires(post): /usr/bin/rm
 Requires(post): openssl-misc
 Recommends:     ca-certificates-mozilla
@@ -26,6 +29,7 @@ Utilities for system wide CA certificate installation
 
 %prep
 %setup -qcT
+cp %{SOURCE1001} .
 install -m 755 %{SOURCE0} .
 install -m 644 %{SOURCE1} .
 install -m 644 %{SOURCE2} COPYING
@@ -59,8 +63,13 @@ fi
 # as openssl changed the hash format between 0.9.8 and 1.0
 update-ca-certificates -f || true
 
+chown root:system %{etccadir}
+chmod 775 %{etccadir}
+chsmack -a "System::Shared" %{etccadir}
+chsmack -t %{etccadir}
 
 %files
+%manifest %{name}.manifest
 %defattr(-, root, root)
 %dir %{usrcadir}
 %dir %{etccadir}