From ed1aafe3bba49715d2975bd51c4e0a4c29e0694f Mon Sep 17 00:00:00 2001 From: CentOS Sources Date: Tue, 30 Mar 2021 10:01:51 -0400 Subject: [PATCH] import git-lfs-2.11.0-2.el8 --- .git-lfs.metadata | 2 +- SPECS/git-lfs.spec | 15 +++++++++++++-- 2 files changed, 14 insertions(+), 3 deletions(-) diff --git a/.git-lfs.metadata b/.git-lfs.metadata index fb41d6e..ec93190 100644 --- a/.git-lfs.metadata +++ b/.git-lfs.metadata @@ -1,2 +1,2 @@ 48fcb41914f2b6c59c3c7b6d7bd3ab9b19575f2b SOURCES/git-lfs-v2.11.0.tar.gz -b5130773f7fd073eadb302d7c76a59387d575c84 SOURCES/manpages.tgz +5713f72cac18baa476c5b4176df3b0f030f018ea SOURCES/manpages.tgz diff --git a/SPECS/git-lfs.spec b/SPECS/git-lfs.spec index 562dbf6..4ddf429 100644 --- a/SPECS/git-lfs.spec +++ b/SPECS/git-lfs.spec @@ -15,7 +15,7 @@ Version: 2.11.0 %global gobuilddir %{_builddir}/%{name}-%{version}/_build Name: git-lfs -Release: 1%{?dist} +Release: 2%{?dist} Summary: Git extension for versioning large files License: MIT @@ -99,7 +99,10 @@ export GO111MODULE=off pushd docs %gobuild -o mangen man/mangen.go ./mangen -popd +# Removes unwanted source files +# https://bugzilla.redhat.com/show_bug.cgi?id=1852842 +rm mangen man/mangen.go +popd %gobuild -o %{gobuilddir}/bin/git-lfs %{goipath} @@ -119,6 +122,9 @@ install -d -p %{buildroot}%{_mandir}/man1/ install -Dpm0644 docs/man/*.1 %{buildroot}%{_mandir}/man1/ install -d -p %{buildroot}%{_mandir}/man5/ install -Dpm0644 docs/man/*.5 %{buildroot}%{_mandir}/man5/ +# Remove unwanted files from man folder +# https://bugzilla.redhat.com/show_bug.cgi?id=1852842 +rm docs/man/*.1 docs/man/*.5 %post @@ -149,6 +155,11 @@ PATH=%{buildroot}%{_bindir}:%{gobuilddir}/bin:$PATH \ %changelog +* Wed Jul 1 2020 Ondrej Pohorelsky - 2.11.0-2 +- Removed mangen source file +- Cleaned docs/man folder +- Resolves: rhbz#1852842 + * Wed Jun 10 2020 Ondrej Pohorelsky - 2.11.0-1 - Update to version 2.11.0 - Resolves: rhbz#1783391