The package rpms/git-lfs.git has added or updated architecture specific content in its spec file (ExclusiveArch/ExcludeArch or %ifarch/%ifnarch) in commit(s): https://src.fedoraproject.org/cgit/rpms/git-lfs.git/commit/?id=6612d3e25f1da....
Change: -ExclusiveArch: %{?go_arches:%{go_arches}}%{!?go_arches:%{ix86} x86_64 %{arm} aarch64 ppc64le s390x}
Thanks.
Full change: ============
commit 5ac88e69a80c716e8e1b70e053a450f3be9978a3 Author: Elliott Sales de Andrade quantum.analyst@gmail.com Date: Tue Sep 4 02:52:19 2018 -0400
Update to latest version.
diff --git a/.gitignore b/.gitignore index 8b48279..fa7adbb 100644 --- a/.gitignore +++ b/.gitignore @@ -4,3 +4,4 @@ /git-lfs-2.4.1.tar.gz /git-lfs-2.4.2.tar.gz /git-lfs-2.5.0.tar.gz +/git-lfs-2.5.1.tar.gz diff --git a/git-lfs.spec b/git-lfs.spec index c485f0c..1d73104 100644 --- a/git-lfs.spec +++ b/git-lfs.spec @@ -1,5 +1,5 @@ %global goipath github.com/git-lfs/git-lfs -Version: 2.5.0 +Version: 2.5.1
%gometa
@@ -115,6 +115,9 @@ PATH=%{buildroot}%{_bindir}:$PWD/_bin:$PATH \
%changelog +* Tue Sep 04 2018 Elliott Sales de Andrade quantum.analyst@gmail.com - 2.5.1-1 +- Update to latest version + * Mon Sep 03 2018 Elliott Sales de Andrade quantum.analyst@gmail.com - 2.5.0-1 - Update to 2.5.0
diff --git a/sources b/sources index 89f3f64..9305c43 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (git-lfs-2.5.0.tar.gz) = e0e5a812b63d0ba8a4930921f54708b67009430ab5e4c7ec9e28ddbb5986774745707b75a9fa8695d64fd3f823af27f5590ae0bca9d3ae53d1320198e5be52c1 +SHA512 (git-lfs-2.5.1.tar.gz) = 86b277795ffaba47244f3467e58c1103804f526511c4b0c21566dc05a97eb5d48d0de36f944d906255a8652b9fd698dca4dd50f89d344703b3c6d87117f7fbc1
commit 4b5133ce0645e2b94b87fdeeaa522d9bf3e8bae8 Author: Elliott Sales de Andrade quantum.analyst@gmail.com Date: Tue Sep 4 02:09:13 2018 -0400
Switch to upstream's testing Makefile.
diff --git a/git-lfs.spec b/git-lfs.spec index 6631a43..c485f0c 100644 --- a/git-lfs.spec +++ b/git-lfs.spec @@ -55,6 +55,9 @@ which use import path with %{goipath} prefix.
rm -rf vendor
+# Modify Makefile so that it expects binaries where we build them. +sed -i -e 's!/bin/!/_bin/!g' t/Makefile +
%build %gobuildroot @@ -96,14 +99,12 @@ exit 0
%check %gochecks -export GOPATH=%{buildroot}%{gopath}:$(pwd):%{gopath} -export GIT_LFS_TEST_MAXPROCS=$(getconf _NPROCESSORS_ONLN) SKIPCOMPILE=1 -pushd _build/src/%{goipath} -./script/cibuild -popd +PATH=%{buildroot}%{_bindir}:$PWD/_bin:$PATH \ + make -C t PROVE_EXTRA_ARGS="-j$(getconf _NPROCESSORS_ONLN)"
%files +%doc README.md CHANGELOG.md %license LICENSE.md %{_bindir}/%{name} %{_mandir}/man1/%{name}*.1*
commit 6612d3e25f1dac8cc64f0e9f867997d979cf9a65 Author: Elliott Sales de Andrade quantum.analyst@gmail.com Date: Mon Sep 3 18:09:13 2018 -0400
Switch to new Go packaging macros.
diff --git a/git-lfs.spec b/git-lfs.spec index 2cc89e4..6631a43 100644 --- a/git-lfs.spec +++ b/git-lfs.spec @@ -1,98 +1,37 @@ -# Generate devel rpm -%global with_devel 0 -# Build project from bundled dependencies -%global with_bundled %{?rhel:1}%{!?rhel:0} -# Build with debug info rpm -%global with_debug 1 -# Run tests in check section -%global with_check %{?rhel:0}%{!?rhel:1} -# Generate unit-test rpm -%global with_unit_test 0 -# Build man pages -%global with_manpages %{?rhel:0}%{!?rhel:1} - -%if 0%{?with_debug} -%global _dwz_low_mem_die_limit 0 -%else -%global debug_package %{nil} -%endif - -%if ! 0%{?gobuild:1} -%define gobuild(o:) go build -ldflags "${LDFLAGS:-} -B 0x$(head -c20 /dev/urandom|od -An -tx1|tr -d ' \n')" -a -v -x %{?**}; -%endif - -%global provider github -%global provider_tld com -%global project git-lfs -%global repo git-lfs -# https://github.com/git-lfs/git-lfs -%global provider_prefix %{provider}.%{provider_tld}/%{project}/%{repo} -%global import_path %{provider_prefix} -%global commit 9377560199b9d7cd2d3c38524a2a7f61aedc89db -%global shortcommit %(c=%{commit}; echo ${c:0:7}) +%global goipath github.com/git-lfs/git-lfs +Version: 2.5.0 + +%gometa
Name: git-lfs -Version: 2.5.0 Release: 1%{?dist} Summary: Git extension for versioning large files
License: MIT URL: https://git-lfs.github.io/ -Source0: https://%%7Bprovider_prefix%7D/archive/v%%7Bversion%7D/%%7Bname%7D-%%7Bversi... - -ExclusiveArch: %{?go_arches:%{go_arches}}%{!?go_arches:%{ix86} x86_64 %{arm} aarch64 ppc64le s390x} -BuildRequires: %{?go_compiler:compiler(go-compiler)}%{!?go_compiler:golang} - -%if 0%{?with_bundled} -Provides: bundled(golang(github.com/git-lfs/gitobj)) = 0fcb9c3796fa00bd974c86dc25b1919da1479007 -Provides: bundled(golang(github.com/git-lfs/go-netrc/netrc)) = e0e9ca483a183481412e6f5a700ff20a36177503 -Provides: bundled(golang(github.com/git-lfs/wildmatch)) = b31c34466d64fcd421b503261f815a303e74296e -Provides: bundled(golang(github.com/inconshreveable/mousetrap)) = 76626ae9c91c4f2a10f34cad8ce83ea42c93bb75 -Provides: bundled(golang(github.com/kr/pty)) = 5cf931ef8f76dccd0910001d74a58a7fca84a83d -Provides: bundled(golang(github.com/olekukonko/ts)) = ecf753e7c962639ab5a1fb46f7da627d4c0a04b8 -Provides: bundled(golang(github.com/pkg/errors)) = c605e284fe17294bda444b34710735b29d1a9d90 -Provides: bundled(golang(github.com/rubyist/tracerx)) = 787959303086f44a8c361240dfac53d3e9d53ed2 -Provides: bundled(golang(github.com/spf13/cobra)) = c55cdf33856a08e4822738728b41783292812889 -Provides: bundled(golang(github.com/spf13/pflag)) = 580b9be06c33d8ba9dcc8757ea56b7642472c2f5 -Provides: bundled(golang(github.com/stretchr/testify)) = 6cb3b85ef5a0efef77caef88363ec4d4b5c0976d -Provides: bundled(golang(github.com/ThomsonReutersEikon/go-ntlm/ntlm)) = b00ec39bbdd04f845950f4dbb4fd0a2c3155e830 -Provides: bundled(golang(github.com/xeipuuv/gojsonschema)) = 6b67b3fab74d992bd07f72550006ab2c6907c416 -%else +Source0: %{gosource} + +BuildRequires: golang(github.com/ThomsonReutersEikon/go-ntlm/ntlm) BuildRequires: golang(github.com/git-lfs/gitobj) BuildRequires: golang(github.com/git-lfs/go-netrc/netrc) >= 0-0.1.20180827gite0e9ca4 BuildRequires: golang(github.com/git-lfs/wildmatch) >= 0-0.3.20180815gitb31c344 -BuildRequires: golang(github.com/inconshreveable/mousetrap) BuildRequires: golang(github.com/kr/pty) BuildRequires: golang(github.com/olekukonko/ts) BuildRequires: golang(github.com/pkg/errors) BuildRequires: golang(github.com/rubyist/tracerx) BuildRequires: golang(github.com/spf13/cobra) -BuildRequires: golang(github.com/spf13/pflag) -BuildRequires: golang(github.com/ThomsonReutersEikon/go-ntlm/ntlm) -BuildRequires: golang(github.com/xeipuuv/gojsonpointer) -BuildRequires: golang(github.com/xeipuuv/gojsonreference) -BuildRequires: golang(github.com/xeipuuv/gojsonschema) -%endif - -%if 0%{?with_manpages} # Generate mans BuildRequires: /usr/bin/ronn -%endif - -%if 0%{?with_check} # For tests -%if ! 0%{?with_bundled} -BuildRequires: golang(github.com/stretchr/testify) -%endif +BuildRequires: golang(github.com/stretchr/testify/assert) +BuildRequires: golang(github.com/stretchr/testify/require) +BuildRequires: golang(github.com/xeipuuv/gojsonschema) BuildRequires: perl-Digest-SHA BuildRequires: perl-Test-Harness # Tests require full git suite, but not generally needed. -BuildRequires: git >= 1.8.2 -%endif +BuildRequires: git >= 1.8.5
-# https://github.com/git-lfs/git-lfs/commit/263bfd784aa0bb23e942033605fce6c870... -# 1.8.5 needed for macOS, but 1.8.2 sufficient for Linux. -Requires: git-core >= 1.8.2 +Requires: git-core >= 1.8.5
%description Git Large File Storage (LFS) replaces large files such as audio samples, @@ -100,116 +39,49 @@ videos, datasets, and graphics with text pointers inside Git, while storing the file contents on a remote server.
-%if 0%{?with_devel} -%package -n golang-%{provider}-%{project}-%{repo}-devel +%package -n %{goname}-devel Summary: %{summary} BuildArch: noarch
-%description -n golang-%{provider}-%{project}-%{repo}-devel -%{summary} - -This package contains library source intended for -building other packages which use import path with -%{import_path} prefix. -%endif - - -%if 0%{?with_unit_test} && 0%{?with_devel} -%package -n golang-%{provider}-%{project}-%{repo}-unit-test-devel -Summary: Unit tests for %{name} package - -# test subpackage tests code from devel subpackage -Requires: golang-%{provider}-%{project}-%{repo}-devel = %{version}-%{release} - - -%description -n golang-%{provider}-%{project}-%{repo}-unit-test-devel +%description -n %{goname}-devel %{summary}
-This package contains unit tests for project -providing packages with %{import_path} prefix. -%endif +This package contains library source intended for building other packages +which use import path with %{goipath} prefix.
%prep -%autosetup -p1 +%gosetup -q
-%if ! 0%{?with_bundled} rm -rf vendor -%endif
%build -mkdir -p src/%{provider}.%{provider_tld}/%{project}/ -ln -s $(pwd) src/%{provider}.%{provider_tld}/%{project}/%{repo} -export GOPATH=$(pwd):%{gopath} +%gobuildroot
# Build manpages first (some embedding in the executable is done.) pushd docs -%if 0%{?with_manpages} ronn --roff man/*.ronn -%endif -%gobuild -o mangen man/mangen.go -./mangen +%gobuild -o ../_bin/mangen man/mangen.go +../_bin/mangen popd
-%gobuild -o bin/git-lfs %{import_path} +%gobuild -o _bin/git-lfs %{goipath}
-%if 0%{?with_check} # Build test executables for go in t/cmd/*.go; do - %gobuild -o "bin/$(basename $go .go)" "$go" + %gobuild -o "_bin/$(basename $go .go)" "$go" done -%gobuild -o "bin/git-lfs-test-server-api" t/git-lfs-test-server-api/*.go -%endif +%gobuild -o "_bin/git-lfs-test-server-api" t/git-lfs-test-server-api/*.go
%install -install -Dpm0755 bin/git-lfs %{buildroot}%{_bindir}/%{name} -%if 0%{?with_manpages} +%goinstall +install -Dpm0755 _bin/git-lfs %{buildroot}%{_bindir}/%{name} 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/ -%endif - -# source codes for building projects -%if 0%{?with_devel} -install -d -p %{buildroot}%{gopath}/src/%{import_path}/ -echo "%%dir %%{gopath}/src/%%{import_path}/." >> devel.file-list -# find all *.go but no *_test.go files and generate devel.file-list -for file in $(find . ( -iname "*.go" -or -iname "*.s" ) ! -iname "*_test.go") ; do - dirprefix=$(dirname $file) - install -d -p %{buildroot}%{gopath}/src/%{import_path}/$dirprefix - cp -pav $file %{buildroot}%{gopath}/src/%{import_path}/$file - echo "%%{gopath}/src/%%{import_path}/$file" >> devel.file-list - - while [ "$dirprefix" != "." ]; do - echo "%%dir %%{gopath}/src/%%{import_path}/$dirprefix" >> devel.file-list - dirprefix=$(dirname $dirprefix) - done -done -%endif - -# testing files for this project -%if 0%{?with_unit_test} && 0%{?with_devel} -install -d -p %{buildroot}%{gopath}/src/%{import_path}/ -# find all *_test.go files and generate unit-test-devel.file-list -for file in $(find . -iname "*_test.go") ; do - dirprefix=$(dirname $file) - install -d -p %{buildroot}%{gopath}/src/%{import_path}/$dirprefix - cp -pav $file %{buildroot}%{gopath}/src/%{import_path}/$file - echo "%%{gopath}/src/%%{import_path}/$file" >> unit-test-devel.file-list - - while [ "$dirprefix" != "." ]; do - echo "%%dir %%{gopath}/src/%%{import_path}/$dirprefix" >> devel.file-list - dirprefix=$(dirname $dirprefix) - done -done -%endif - -%if 0%{?with_devel} -sort -u -o devel.file-list devel.file-list -%endif
%post @@ -223,33 +95,22 @@ exit 0
%check -%if 0%{?with_check} +%gochecks export GOPATH=%{buildroot}%{gopath}:$(pwd):%{gopath} export GIT_LFS_TEST_MAXPROCS=$(getconf _NPROCESSORS_ONLN) SKIPCOMPILE=1 -pushd src/%{provider}.%{provider_tld}/%{project}/%{name} +pushd _build/src/%{goipath} ./script/cibuild popd -%endif
%files %license LICENSE.md %{_bindir}/%{name} -%if 0%{?with_manpages} %{_mandir}/man1/%{name}*.1* %{_mandir}/man5/%{name}*.5* -%endif - -%if 0%{?with_devel} -%files -n golang-%{provider}-%{project}-%{repo}-devel -f devel.file-list -%license LICENSE.md -%dir %{gopath}/src/%{provider}.%{provider_tld}/%{project} -%endif
-%if 0%{?with_unit_test} && 0%{?with_devel} -%files -n golang-%{provider}-%{project}-%{repo}-unit-test-devel -f unit-test-devel.file-list +%files -n %{goname}-devel -f devel.file-list %license LICENSE.md -%endif
%changelog
commit 452c2a3a54c23be24d405429687f796f325eb6d3 Author: Elliott Sales de Andrade quantum.analyst@gmail.com Date: Mon Sep 3 05:03:36 2018 -0400
Update to 2.5.0.
diff --git a/.gitignore b/.gitignore index e677599..8b48279 100644 --- a/.gitignore +++ b/.gitignore @@ -3,3 +3,4 @@ /git-lfs-2.4.0.tar.gz /git-lfs-2.4.1.tar.gz /git-lfs-2.4.2.tar.gz +/git-lfs-2.5.0.tar.gz diff --git a/git-lfs.spec b/git-lfs.spec index 7079980..2cc89e4 100644 --- a/git-lfs.spec +++ b/git-lfs.spec @@ -28,11 +28,11 @@ # https://github.com/git-lfs/git-lfs %global provider_prefix %{provider}.%{provider_tld}/%{project}/%{repo} %global import_path %{provider_prefix} -%global commit 6f4b2e98e038530a3e26d26726799832290c61c4 +%global commit 9377560199b9d7cd2d3c38524a2a7f61aedc89db %global shortcommit %(c=%{commit}; echo ${c:0:7})
Name: git-lfs -Version: 2.4.2 +Version: 2.5.0 Release: 1%{?dist} Summary: Git extension for versioning large files
@@ -44,7 +44,9 @@ ExclusiveArch: %{?go_arches:%{go_arches}}%{!?go_arches:%{ix86} x86_64 %{arm} aa BuildRequires: %{?go_compiler:compiler(go-compiler)}%{!?go_compiler:golang}
%if 0%{?with_bundled} +Provides: bundled(golang(github.com/git-lfs/gitobj)) = 0fcb9c3796fa00bd974c86dc25b1919da1479007 Provides: bundled(golang(github.com/git-lfs/go-netrc/netrc)) = e0e9ca483a183481412e6f5a700ff20a36177503 +Provides: bundled(golang(github.com/git-lfs/wildmatch)) = b31c34466d64fcd421b503261f815a303e74296e Provides: bundled(golang(github.com/inconshreveable/mousetrap)) = 76626ae9c91c4f2a10f34cad8ce83ea42c93bb75 Provides: bundled(golang(github.com/kr/pty)) = 5cf931ef8f76dccd0910001d74a58a7fca84a83d Provides: bundled(golang(github.com/olekukonko/ts)) = ecf753e7c962639ab5a1fb46f7da627d4c0a04b8 @@ -55,12 +57,14 @@ Provides: bundled(golang(github.com/spf13/pflag)) = 580b9be06c33d8ba9dcc87 Provides: bundled(golang(github.com/stretchr/testify)) = 6cb3b85ef5a0efef77caef88363ec4d4b5c0976d Provides: bundled(golang(github.com/ThomsonReutersEikon/go-ntlm/ntlm)) = b00ec39bbdd04f845950f4dbb4fd0a2c3155e830 Provides: bundled(golang(github.com/xeipuuv/gojsonschema)) = 6b67b3fab74d992bd07f72550006ab2c6907c416 -Provides: bundled(golang(github.com/git-lfs/wildmatch)) = 8a0518641565a619e62a2738c7d4498fc345daf6 %else -BuildRequires: golang(github.com/git-lfs/go-netrc/netrc) -BuildRequires: golang(github.com/kr/pty) +BuildRequires: golang(github.com/git-lfs/gitobj) +BuildRequires: golang(github.com/git-lfs/go-netrc/netrc) >= 0-0.1.20180827gite0e9ca4 +BuildRequires: golang(github.com/git-lfs/wildmatch) >= 0-0.3.20180815gitb31c344 BuildRequires: golang(github.com/inconshreveable/mousetrap) +BuildRequires: golang(github.com/kr/pty) BuildRequires: golang(github.com/olekukonko/ts) +BuildRequires: golang(github.com/pkg/errors) BuildRequires: golang(github.com/rubyist/tracerx) BuildRequires: golang(github.com/spf13/cobra) BuildRequires: golang(github.com/spf13/pflag) @@ -68,8 +72,6 @@ BuildRequires: golang(github.com/ThomsonReutersEikon/go-ntlm/ntlm) BuildRequires: golang(github.com/xeipuuv/gojsonpointer) BuildRequires: golang(github.com/xeipuuv/gojsonreference) BuildRequires: golang(github.com/xeipuuv/gojsonschema) -BuildRequires: golang(github.com/pkg/errors) -BuildRequires: golang(github.com/git-lfs/wildmatch) %endif
%if 0%{?with_manpages} @@ -83,6 +85,7 @@ BuildRequires: /usr/bin/ronn BuildRequires: golang(github.com/stretchr/testify) %endif BuildRequires: perl-Digest-SHA +BuildRequires: perl-Test-Harness # Tests require full git suite, but not generally needed. BuildRequires: git >= 1.8.2 %endif @@ -153,10 +156,10 @@ popd
%if 0%{?with_check} # Build test executables -for go in test/cmd/*.go; do +for go in t/cmd/*.go; do %gobuild -o "bin/$(basename $go .go)" "$go" done -%gobuild -o "bin/git-lfs-test-server-api" test/git-lfs-test-server-api/*.go +%gobuild -o "bin/git-lfs-test-server-api" t/git-lfs-test-server-api/*.go %endif
@@ -250,6 +253,9 @@ popd
%changelog +* Mon Sep 03 2018 Elliott Sales de Andrade quantum.analyst@gmail.com - 2.5.0-1 +- Update to 2.5.0 + * Wed Aug 29 2018 Elliott Sales de Andrade quantum.analyst@gmail.com - 2.4.2-1 - Update to 2.4.2
diff --git a/sources b/sources index 41a2fb6..89f3f64 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (git-lfs-2.4.2.tar.gz) = c89a15c36b9d52091eb6e89f8e1db23b03f35333794467432ee49728ba83fc5d25d238f5df49bf736a4a3079778d70a527db01c2299ecd96a7b5f70059616967 +SHA512 (git-lfs-2.5.0.tar.gz) = e0e5a812b63d0ba8a4930921f54708b67009430ab5e4c7ec9e28ddbb5986774745707b75a9fa8695d64fd3f823af27f5590ae0bca9d3ae53d1320198e5be52c1