[packages/fish] move docs to noarch subpackage
atler
atler at pld-linux.org
Sat Oct 25 16:04:51 CEST 2025
commit 862cde660b534e5c6ee6a25d3eac26cde4d9515a
Author: Jan Palus <atler at pld-linux.org>
Date: Sat Oct 25 14:40:50 2025 +0200
move docs to noarch subpackage
fish.spec | 18 +++++++++++++++++-
1 file changed, 17 insertions(+), 1 deletion(-)
---
diff --git a/fish.spec b/fish.spec
index b814564..e845366 100644
--- a/fish.spec
+++ b/fish.spec
@@ -54,6 +54,18 @@ Development files for fish.
%description devel -l pl.UTF-8
Pliki programistyczne dla fish.
+%package doc
+Summary: Documentation for fish
+Summary(pl.UTF-8): Dokumentacja dla fish
+Group: Documentation
+BuildArch: noarch
+
+%description doc
+Documentation for fish.
+
+%description doc -l pl.UTF-8
+Dokumentacja dla fish.
+
%prep
%setup -q -a1
%patch -P0 -p1
@@ -93,7 +105,7 @@ end
%files -f %{name}.lang
%defattr(644,root,root,755)
-%doc CHANGELOG.rst CONTRIBUTING.rst README.rst user_doc/html/{*.html,*.js,cmds,_static}
+%doc CHANGELOG.rst CONTRIBUTING.rst README.rst
%dir %{_sysconfdir}/fish
%config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/fish/config.fish
%attr(755,root,root) %{_bindir}/fish
@@ -142,3 +154,7 @@ end
%files devel
%defattr(644,root,root,755)
%{_npkgconfigdir}/fish.pc
+
+%files doc
+%defattr(644,root,root,755)
+%doc build/user_doc/html/{*.html,*.js,cmds,_static}
================================================================
---- gitweb:
http://git.pld-linux.org/gitweb.cgi/packages/fish.git/commitdiff/62df96473e8e3d7fbb53be4caac06cd73b8c1d91
More information about the pld-cvs-commit
mailing list