ralph pushed to python-ansi2html (f20). "Fix manpage location."

notifications at fedoraproject.org notifications at fedoraproject.org
Mon Mar 30 19:15:12 UTC 2015


>From f04af64dd934ff65944e9569740be68fb2c14545 Mon Sep 17 00:00:00 2001
From: Ralph Bean <rbean at redhat.com>
Date: Mon, 30 Mar 2015 14:33:33 -0400
Subject: Fix manpage location.


diff --git a/python-ansi2html.spec b/python-ansi2html.spec
index 512c228..1cd9a3c 100644
--- a/python-ansi2html.spec
+++ b/python-ansi2html.spec
@@ -99,13 +99,14 @@ popd
 pushd %{py3dir}
 %{__python3} setup.py install --skip-build --root=%{buildroot}
 mv %{buildroot}/%{_bindir}/ansi2html %{buildroot}/%{_bindir}/python3-ansi2html
-mv %{buildroot}/%{_mandir}/man1/ansi2html.1 %{buildroot}/%{_mandir}/man1/python3-ansi2html.1
+mv man/ansi2html.1 %{buildroot}/%{_mandir}/man1/python3-ansi2html.1
 popd
 %endif
 
 # Note that this have to come after the py3 block so that the
 # _bindir/python3-ansi2html switch-a-roo can work.
 %{__python2} setup.py install --skip-build --root=%{buildroot}
+mv man/ansi2html.1 %{buildroot}/%{_mandir}/man1/ansi2html.1
 
 
 %files
-- 
cgit v0.10.2


	http://pkgs.fedoraproject.org/cgit/python-ansi2html.git/commit/?h=f20&id=f04af64dd934ff65944e9569740be68fb2c14545


More information about the scm-commits mailing list