From d6bf7da714b3ef060d95ed2e41db9f37340df666 Mon Sep 17 00:00:00 2001 From: Jens Petersen Date: Thu, 23 Jun 2016 11:25:47 +0900 Subject: [PATCH] install manpage and ANNOUNCE is now CHANGELOG.md --- alex.spec | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/alex.spec b/alex.spec index a55d54f..cae4db1 100644 --- a/alex.spec +++ b/alex.spec @@ -89,6 +89,8 @@ install dist/build/%{name}/%{name}.static %{buildroot}%{_bindir} touch %{buildroot}%{_bindir}/%{name} %endif +install -D -m 0644 doc/alex.1 %{buildroot}%{_mandir}/man1/alex.1 + rm %{buildroot}%{ghc_pkgdocdir}/LICENSE @@ -146,17 +148,19 @@ fi %{_bindir}/%{name}.dynamic %else %license LICENSE -%doc ANNOUNCE README TODO doc/alex examples +%doc CHANGELOG.md README TODO doc/alex examples %{_bindir}/%{name} %{_datadir}/%{name}-%{version} +%{_mandir}/man1/alex.1* %endif %if %{with static} %files common %license LICENSE -%doc ANNOUNCE README TODO doc/alex examples +%doc CHANGELOG.md README TODO doc/alex examples %{_datadir}/%{name}-%{version} +%{_mandir}/man1/alex.1* %files static @@ -168,6 +172,7 @@ fi %changelog * Thu Jun 23 2016 Jens Petersen - 3.1.7-1 - update to 3.1.7 +- install manpage * Mon Jun 6 2016 Jens Petersen - 3.1.4-5 - rebuild