Hello community, here is the log from the commit of package git-lfs for openSUSE:Factory checked in at 2020-11-19 11:59:26 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/git-lfs (Old) and /work/SRC/openSUSE:Factory/.git-lfs.new.5913 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "git-lfs" Thu Nov 19 11:59:26 2020 rev:4 rq:849214 version:2.12.1 Changes: -------- --- /work/SRC/openSUSE:Factory/git-lfs/git-lfs.changes 2020-10-02 17:42:01.398907500 +0200 +++ /work/SRC/openSUSE:Factory/.git-lfs.new.5913/git-lfs.changes 2020-11-23 10:28:11.553207548 +0100 @@ -1,0 +2,19 @@ +Mon Nov 9 02:03:34 UTC 2020 - Marcus Rueckert <mrueck...@suse.de> + +- actually make the uninstall step also call it with --system + +------------------------------------------------------------------- +Mon Nov 9 01:42:55 UTC 2020 - Marcus Rueckert <mrueck...@suse.de> + +- simplify README.packaging +- no longer package the go sources + +------------------------------------------------------------------- +Mon Nov 9 01:38:48 UTC 2020 - Marcus Rueckert <mrueck...@suse.de> + +- update to 2.12.1 + https://github.com/git-lfs/git-lfs/releases/tag/v2.11.0 + https://github.com/git-lfs/git-lfs/releases/tag/v2.12.0 + https://github.com/git-lfs/git-lfs/releases/tag/v2.12.1 + +------------------------------------------------------------------- Old: ---- git-lfs-v2.10.0.tar.gz New: ---- git-lfs-v2.12.1.tar.gz vendor.tar.xz ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ git-lfs.spec ++++++ --- /var/tmp/diff_new_pack.PBIxMz/_old 2020-11-23 10:28:12.365208466 +0100 +++ /var/tmp/diff_new_pack.PBIxMz/_new 2020-11-23 10:28:12.365208466 +0100 @@ -15,11 +15,18 @@ # Please submit bugfixes or comments via https://bugs.opensuse.org/ # + %define rb_build_ruby_abis %{rb_default_ruby_abi} %define rb_build_versions %{rb_default_ruby} +%if 0%{?suse_version} >= 1550 || (0%{?suse_version} >= 1500 && 0%{?is_opensuse}) +%bcond_without build_docs +%else +%bcond_with build_docs +%endif + Name: git-lfs -Version: 2.10.0 +Version: 2.12.1 Release: 0 Summary: Git extension for versioning large files License: MIT @@ -27,8 +34,9 @@ URL: https://git-lfs.github.com/ Source0: %{name}-v%{version}.tar.gz Source1: README.packaging +Source2: vendor.tar.xz Patch0: Makefile_path.patch -%if 0%{?suse_version} >= 1550 || (0%{?suse_version} >= 1500 && 0%{?is_opensuse}) +%if %{with build_docs} BuildRequires: %{rubygem ronn} %endif BuildRequires: curl @@ -41,7 +49,6 @@ Requires(post): git-core >= 1.8.2 Requires(preun): git-core >= 1.8.2 %{go_nostrip} -%{go_provides} %description Git Large File Storage (LFS) replaces large files such as audio samples, @@ -49,23 +56,21 @@ storing the file contents on a remote server. %prep -%autosetup -p1 +%autosetup -p1 -a 2 %build -%{goprep} github.com/git-lfs/git-lfs -%{gobuild} -%if 0%{?suse_version} >= 1550 || (0%{?suse_version} >= 1500 && 0%{?is_opensuse}) +go build -mod=vendor --buildmode=pie . +%if %{with build_docs} %make_build man %endif %install -%{goinstall} -%{gosrc} -%if 0%{?suse_version} >= 1550 || (0%{?suse_version} >= 1500 && 0%{?is_opensuse}) +install -D -m 755 git-lfs %{buildroot}%{_bindir}/git-lfs +%if %{with build_docs} mkdir -p -m 755 %{buildroot}%{_mandir}/man1 mkdir -p -m 755 %{buildroot}%{_mandir}/man5 -install -D -m 644 man/*.1 %{buildroot}%{_mandir}/man1 -install -D -m 644 man/*.5 %{buildroot}%{_mandir}/man5 +install -m 644 man/*.1 %{buildroot}%{_mandir}/man1 +install -m 644 man/*.5 %{buildroot}%{_mandir}/man5 %endif %fdupes -s %{buildroot} @@ -76,7 +81,7 @@ git lfs install --system %preun -git lfs uninstall +git lfs uninstall --system %check export GIT_LFS_TEST_DIR=$(mktemp -d) @@ -85,15 +90,15 @@ # skip it. export SKIPAPITESTCOMPILE=1 -%{gotest} github.com/git-lfs/git-lfs +%{gotest} -mod=vendor rm -rf ${GIT_LFS_TEST_DIR} -%files -f file.lst +%files %{_bindir}/git-lfs %license LICENSE.md -%doc README.md -%if 0%{?suse_version} >= 1550 || (0%{?suse_version} >= 1500 && 0%{?is_opensuse}) +%doc CHANGELOG.md CODE-OF-CONDUCT.md CONTRIBUTING.md INSTALLING.md README.md +%if %{with build_docs} %{_mandir}/man*/* %endif ++++++ README.packaging ++++++ --- /var/tmp/diff_new_pack.PBIxMz/_old 2020-11-23 10:28:12.405208510 +0100 +++ /var/tmp/diff_new_pack.PBIxMz/_new 2020-11-23 10:28:12.409208515 +0100 @@ -1,22 +1,9 @@ 1. unpack upstream tarball -# (setup osc working directory for git-lfs package) -# mkdir -p ~/go/src/github.com/git-lfs/git-lfs-2.10.0/ -# tar xvzf git-lfs-v2.10.0.tar.gz --strip-components=1 -C ~/go/src/github.com/git-lfs/git-lfs-2.10.0/ -# cd ~/go/src/github.com/git-lfs/git-lfs-2.10.0/ +# tar xf git-lfs*.tar.gz +# cd git-lfs*/ -3. Obtain vendor dependencies +2. Obtain vendor dependencies -remove go.mod file +go mod vendor && (rm ../vendor.tar.xz ; tar cfvJ ../vendor.tar.xz vendor/ go.mod go.sum ) -# rm go.mod -# go mod init -# go mod download -# go mod verify -# go mod vendor - -4. Create archive - -# cd .. -# tar -zcf git-lfs-v2.10.0.tar.gz git-lfs-2.10.0 -# (copy newly created archive to obs working directory) ++++++ git-lfs-v2.10.0.tar.gz -> git-lfs-v2.12.1.tar.gz ++++++ ++++ 172028 lines of diff (skipped) _______________________________________________ openSUSE Commits mailing list -- commit@lists.opensuse.org To unsubscribe, email commit-le...@lists.opensuse.org List Netiquette: https://en.opensuse.org/openSUSE:Mailing_list_netiquette List Archives: https://lists.opensuse.org/archives/list/commit@lists.opensuse.org