[packages/apk-tools] package /etc/apk/{keys,protected_paths.d} dirs

glen glen at pld-linux.org
Sun May 26 14:50:12 CEST 2019


commit bde3a3641ddc5633b8087edaf39daa073c42eee5
Author: Elan Ruusamäe <glen at pld-linux.org>
Date:   Sun May 26 15:49:58 2019 +0300

    package /etc/apk/{keys,protected_paths.d} dirs

 apk-tools.spec | 7 ++++++-
 1 file changed, 6 insertions(+), 1 deletion(-)
---
diff --git a/apk-tools.spec b/apk-tools.spec
index 1294fd6..1081226 100644
--- a/apk-tools.spec
+++ b/apk-tools.spec
@@ -5,7 +5,7 @@
 Summary:	Alpine Package Keeper - package manager for alpine
 Name:		apk-tools
 Version:	2.10.3
-Release:	2
+Release:	3
 License:	GPL v2
 Group:		Base
 Source0:	https://dev.alpinelinux.org/archive/apk-tools/%{name}-%{version}.tar.xz
@@ -52,6 +52,8 @@ rm -rf $RPM_BUILD_ROOT
 %{__make} install \
 	DESTDIR=$RPM_BUILD_ROOT
 
+install -d $RPM_BUILD_ROOT%{_sysconfdir}/apk/{keys,protected_paths.d}
+
 # empty file
 %{__rm} $RPM_BUILD_ROOT%{_docdir}/apk/README
 
@@ -60,6 +62,9 @@ rm -rf $RPM_BUILD_ROOT
 
 %files
 %defattr(644,root,root,755)
+%dir %{_sysconfdir}/apk
+%dir %{_sysconfdir}/apk/keys
+%dir %{_sysconfdir}/apk/protected_paths.d
 %attr(755,root,root) %{_sbindir}/apk
 
 %if %{with lua}
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/apk-tools.git/commitdiff/bde3a3641ddc5633b8087edaf39daa073c42eee5



More information about the pld-cvs-commit mailing list