#1 Update to 0.12.0 upstream
Merged 3 years ago by copart. Opened 3 years ago by kanderson.
rpms/ kanderson/restic rawhide  into  rawhide

file modified
+10 -12
@@ -1,6 +1,6 @@ 

  # https://github.com/restic/restic

  %global goipath         github.com/restic/restic

- Version:                0.10.0

+ Version:                0.12.0

  

  %gometa

  
@@ -23,15 +23,13 @@ 

  

  

  Name:    restic

- Release: 4%{?dist}

+ Release: 0%{?dist}

  Summary: Fast, secure, efficient backup program

  URL:     %{gourl}

  License: BSD

  Source0: %{gosource}

  #Patch0: 0001-Fix-running-tests-on-a-SELinux-enabled-system.patch

  #Patch1: backport-2652.patch

- #Upgrade github.com/cenkalti/backoff module #2934

- Patch0:  0001-Upgrade-github.com-cenkalti-backoff-module.patch

  #Move internal/fs.TestChdir to internal/test.Chdir

  #Patch1:  0001-Move-internal-fs.TestChdir-to-internal-test.Chdir.patch

  
@@ -65,9 +63,10 @@ 

  BuildRequires: golang(google.golang.org/api/googleapi)

  BuildRequires: golang(google.golang.org/api/storage/v1)

  BuildRequires: golang(gopkg.in/tomb.v2)

- #Updated for 0.10.0

- BuildRequires: golang(github.com/minio/minio-go/v6)

- BuildRequires: golang(github.com/minio/minio-go/v6/pkg/credentials)

+ #Updated for 0.12.0

+ BuildRequires: golang(github.com/minio/minio-go/v7)

+ BuildRequires: golang(github.com/minio/minio-go/v7/pkg/credentials)

+ BuildRequires: golang(cloud.google.com/go/storage)

  #Added for 0.10.0

  BuildRequires: golang(github.com/cespare/xxhash)

  BuildRequires: golang(github.com/dchest/siphash)
@@ -84,10 +83,6 @@ 

  

  %prep

  %goprep

- %patch0 -p1

- #%%patch1 -p1

- #Broken tar tests, disable

- rm internal/dump/tar_test.go

  

  %build

  %gobuild -o %{gobuilddir}/bin/%{name} %{goipath}/cmd/restic
@@ -114,7 +109,7 @@ 

  

  %files

  %license LICENSE

- %doc GOVERNANCE.md CONTRIBUTING.md CHANGELOG.md README.rst

+ %doc GOVERNANCE.md CONTRIBUTING.md CHANGELOG.md README.md

  %{_bindir}/%{name}

  %dir %{_datadir}/zsh/site-functions

  %{_datadir}/zsh/site-functions/_restic
@@ -125,6 +120,9 @@ 

  

  

  %changelog

+ * Tue Feb 16 2021 Kevin Anderson <andersonkw2@gmail.com> - 0.12.0-0

+ - Upgrade to upstream 0.12.0

+ 

  * Wed Jan 27 2021 Fedora Release Engineering <releng@fedoraproject.org> - 0.10.0-4

  - Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild

  

The following changes were made:
- Updated the spec to 0.12.0
- Removed Patch0 as that was included in the release
- Reenabled the tar test as that passed when I ran a mock build
- Updated the %doc to include the README.md file instead of the .rst file which appears was removed upstream

Pull-Request has been merged by copart

3 years ago
Metadata