import git-lfs-2.11.0-2.el8

This commit is contained in:
CentOS Sources 2020-07-28 19:10:55 +00:00 committed by Andrew Lukoshko
parent a1f2d98fe7
commit f891ee64ea
2 changed files with 14 additions and 3 deletions

View File

@ -1,2 +1,2 @@
48fcb41914f2b6c59c3c7b6d7bd3ab9b19575f2b SOURCES/git-lfs-v2.11.0.tar.gz
b5130773f7fd073eadb302d7c76a59387d575c84 SOURCES/manpages.tgz
5713f72cac18baa476c5b4176df3b0f030f018ea SOURCES/manpages.tgz

View File

@ -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 <opohorel@redhat.com> - 2.11.0-2
- Removed mangen source file
- Cleaned docs/man folder
- Resolves: rhbz#1852842
* Wed Jun 10 2020 Ondrej Pohorelsky <opohorel@redhat.com> - 2.11.0-1
- Update to version 2.11.0
- Resolves: rhbz#1783391