summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRalf Baechle <ralf@linux-mips.org>2019-03-28 14:35:59 +0100
committerRalf Baechle <ralf@linux-mips.org>2019-03-28 22:29:07 +0100
commit9581925f61d3b087956949a950996c388542420c (patch)
tree450fc5eeb6bd79ff1f443958c20e88c79e8f1066
parent5b0b1ac69a4d2049d23a2cd7e47561094ab5c98a (diff)
RPM: Shuffle doc and license files to their proper locations.
Every subpackage gets a copy of LICENSE and the doc package a copy of all man pages and all other documentation files. Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
-rw-r--r--ax25-tools.spec.in11
1 files changed, 6 insertions, 5 deletions
diff --git a/ax25-tools.spec.in b/ax25-tools.spec.in
index c8631e1..d6664ca 100644
--- a/ax25-tools.spec.in
+++ b/ax25-tools.spec.in
@@ -98,7 +98,7 @@ rm -rf $RPM_BUILD_ROOT
%files
%defattr(-,root,root,-)
-%doc AUTHORS ChangeLog COPYING README
+%doc COPYING
%{_bindir}/axgetput
%{_bindir}/bget
%{_bindir}/bput
@@ -148,19 +148,20 @@ rm -rf $RPM_BUILD_ROOT
%config(noreplace) %{_sysconfdir}/ax25/rip98d.conf
%config(noreplace) %{_sysconfdir}/ax25/rxecho.conf
%config(noreplace) %{_sysconfdir}/ax25/ttylinkd.conf
-%attr(0755,root,root) %{_localstatedir}/ax25
-%attr(0755,root,root) %{_localstatedir}/ax25/mheard
+%dir %attr(0755,root,root) %{_localstatedir}/ax25
+%dir %attr(0755,root,root) %{_localstatedir}/ax25/mheard
%config(noreplace) %{_localstatedir}/ax25/mheard/mheard.dat
%files docs
%defattr(-,root,root,-)
-%doc AUTHORS ChangeLog COPYING
+%doc AUTHORS ChangeLog COPYING README
%doc yamdrv/README.yamdrv user_call/README.user_call tcpip/ttylinkd.README dmascc/README.dmascc
+%doc ax25/axgetput/TIPS.txt
%{_mandir}/man?/*
%files x
%defattr(-,root,root,-)
-%doc AUTHORS ChangeLog COPYING
+%doc COPYING
%{_bindir}/smdiag
%{_sbindir}/xfhdlcchpar
%{_sbindir}/xfhdlcst