From 65a97aafe2739dbc87280272b0bc9d0aa85df79c Mon Sep 17 00:00:00 2001 From: Elliott Sales de Andrade Date: Thu, 3 Sep 2020 20:02:10 -0400 Subject: [PATCH] Remove duplicate docs/man directory. --- git-lfs.spec | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/git-lfs.spec b/git-lfs.spec index 89909c0..05e3850 100644 --- a/git-lfs.spec +++ b/git-lfs.spec @@ -85,14 +85,17 @@ for cmd in t/cmd/*.go; do done %gobuild -o "%{gobuilddir}/bin/git-lfs-test-server-api" t/git-lfs-test-server-api/*.go +# Move man pages out of docs so they don't get installed twice. +mv docs/man . + %install %gopkginstall install -Dpm0755 %{gobuilddir}/bin/git-lfs %{buildroot}%{_bindir}/%{name} install -d -p %{buildroot}%{_mandir}/man1/ -install -Dpm0644 docs/man/*.1 %{buildroot}%{_mandir}/man1/ +install -Dpm0644 man/*.1 %{buildroot}%{_mandir}/man1/ install -d -p %{buildroot}%{_mandir}/man5/ -install -Dpm0644 docs/man/*.5 %{buildroot}%{_mandir}/man5/ +install -Dpm0644 man/*.5 %{buildroot}%{_mandir}/man5/ %post @@ -126,6 +129,7 @@ PATH=%{buildroot}%{_bindir}:%{gobuilddir}/bin:$PATH \ %changelog * Thu Sep 03 2020 Elliott Sales de Andrade - 2.12.0-1 - Update to latest version (#1874604) +- Remove duplicate docs/man directory (#1852765) * Sat Aug 01 2020 Fedora Release Engineering - 2.11.0-3 - Second attempt - Rebuilt for