From 2b91ed1bcb5520a1ac4918e7d4cabb917fc337be Mon Sep 17 00:00:00 2001 From: Jan Palus Date: Sun, 3 May 2020 17:37:29 +0200 Subject: [PATCH] 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/* -- 2.43.0