From 3164faa3d6fdd83c1002b2dfc9e092d38527ea04 Mon Sep 17 00:00:00 2001 From: Todd Zullinger Date: Sat, 17 Dec 2016 02:13:40 -0500 Subject: [PATCH] Use %{_mandir} in git/git-core file list filters The escaped forward slashes in '\/man\/' stood out as unnecessary. Replace the string with the %{_mandir} macro for a stricter match. --- git.spec | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/git.spec b/git.spec index a5e3b05..626ec05 100644 --- a/git.spec +++ b/git.spec @@ -598,8 +598,8 @@ find contrib -type f | xargs chmod -x # Split core files not_core_re="git-(add--interactive|am|credential-(gnome-keyring|libsecret|netrc)|difftool|instaweb|relink|request-pull|send-mail|submodule)|gitweb|prepare-commit-msg|pre-rebase" -grep -vE "$not_core_re|\/man\/" bin-man-doc-files > bin-files-core -grep -vE "$not_core_re" bin-man-doc-files | grep "\/man\/" > man-doc-files-core +grep -vE "$not_core_re|%{_mandir}" bin-man-doc-files > bin-files-core +grep -vE "$not_core_re" bin-man-doc-files | grep "%{_mandir}" > man-doc-files-core grep -E "$not_core_re" bin-man-doc-files > bin-man-doc-git-files %check @@ -756,6 +756,7 @@ rm -rf %{buildroot} - Move gnome-keyring credential helper from git-core to git - Enable libsecret credential helper - Run git test suite +- Use %%{_mandir} in git/git-core file list filters * Fri Feb 10 2017 Fedora Release Engineering - 2.11.1-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild