[packages/qutebrowser] move userscripts to subpackage
atler
atler at pld-linux.org
Sun May 3 17:42:08 CEST 2020
commit 2b91ed1bcb5520a1ac4918e7d4cabb917fc337be
Author: Jan Palus <atler at pld-linux.org>
Date: Sun May 3 17:37:29 2020 +0200
move userscripts to subpackage
qutebrowser.spec | 11 +++++++++++
1 file changed, 11 insertions(+)
---
diff --git a/qutebrowser.spec b/qutebrowser.spec
index 81b6a2a..7379b2f 100644
--- a/qutebrowser.spec
+++ b/qutebrowser.spec
@@ -36,6 +36,14 @@ based on Python, PyQt5 and QtWebEngine and free software, licensed
under the GPL. It was inspired by other browsers/addons like dwb and
Vimperator/Pentadactyl.
+%package userscripts
+Summary: User scripts for qutebrowser
+Group: X11/Applications/Networking
+Requires: %{name} = %{version}-%{release}
+
+%description userscripts
+User scripts for qutebrowser.
+
%prep
%setup -q
@@ -82,5 +90,8 @@ rm -rf $RPM_BUILD_ROOT
%{_datadir}/qutebrowser/scripts/*.js
%attr(755,root,root) %{_datadir}/qutebrowser/scripts/*.py
%attr(755,root,root) %{_datadir}/qutebrowser/scripts/*.sh
+
+%files userscripts
+%defattr(644,root,root,755)
%dir %{_datadir}/qutebrowser/userscripts
%attr(755,root,root) %{_datadir}/qutebrowser/userscripts/*
================================================================
---- gitweb:
http://git.pld-linux.org/gitweb.cgi/packages/qutebrowser.git/commitdiff/66633249552bfebdc20a53c0cdfa7ae6d8595ed3
More information about the pld-cvs-commit
mailing list