From 32ac262733f2bb4a3b5247444095832ae2b803f2 Mon Sep 17 00:00:00 2001 From: Travis Kendrick Date: Tue, 23 May 2017 15:01:46 -0500 Subject: [PATCH] add man pages --- brotli.spec | 12 ++++++++++-- 1 file changed, 10 insertions(+), 2 deletions(-) diff --git a/brotli.spec b/brotli.spec index b22f8af..aac7746 100644 --- a/brotli.spec +++ b/brotli.spec @@ -1,6 +1,6 @@ Name: brotli Version: 0.6.0 -Release: 3%{?dist} +Release: 4%{?dist} Summary: Lossless compression algorithm License: MIT @@ -85,6 +85,11 @@ cd .. # the unversioned executable is the python2 one. %py2_install %py3_install +%{__install} -dm755 "%{buildroot}%{_mandir}/man3" +cd docs +for i in *.3;do +%{__install} -m644 "$i" "%{buildroot}%{_mandir}/man3/${i}brotli" +done %post -p /sbin/ldconfig @@ -116,10 +121,13 @@ cd .. %{_includedir}/* %{_libdir}/*.so %{_libdir}/pkgconfig/* - +%{_mandir}/man3/* %changelog +* Tue May 23 2017 Travis Kendrick - 0.6.0-4 +- add man pages + * Sun May 14 2017 Travis Kendrick - 0.6.0-3 - wrong directory for ctest - LICENSE not needed in -devel