Hello everyone,

I have been a Fedora user for years now and during my $dayjob I work
with Linux systems. RPM packaging is not new to me but contributing to
those packages as a part of a distribution is.

I was hoping to see if I could resolve the build failures for restic
to upgrade it to the latest version. I started by checking out the
restic repository on src.fedoraproject.org and updating the spec file
to the latest version and running a local fedpkg mockbuild
successfully. Given I am not currently in a packager group I forked
the repository and was trying to push to a branch under my fork so
that I could open a PR for the maintainer to review and comment on.

The issue is that when I attempt to push over HTTPS I get an
authentication failure. I have tried with an API key as well as with
my FAS password using my FAS username (kanderson) for both. Is it
expected that I can't push, even to a fork, if I am not a part of a
packagers group?

I've also attached the patch that I have so far in case Steve Miller
(copart) follows the mailing list.

- Kevin
From e59cadfe8d77c3849744aa36275c1b142af5ca11 Mon Sep 17 00:00:00 2001
From: Kevin Anderson <anderson...@gmail.com>
Date: Tue, 16 Feb 2021 19:07:08 -0500
Subject: [PATCH] Update to upstream 0.12.0 release

---
 restic.spec | 22 ++++++++++------------
 1 file changed, 10 insertions(+), 12 deletions(-)

diff --git a/restic.spec b/restic.spec
index c9744ad..d935c87 100644
--- a/restic.spec
+++ b/restic.spec
@@ -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 @@ Backup destinations can be:
 
 
 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(golang.org/x/text/encoding/unicode)
 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 @@ BuildRequires: golang(github.com/google/go-cmp/cmp)
 
 %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 @@ export RESTIC_TEST_FUSE=0
 
 %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 @@ export RESTIC_TEST_FUSE=0
 
 
 %changelog
+* Tue Feb 16 2021 Kevin Anderson <anderson...@gmail.com> - 0.12.0-0
+- Upgrade to upstream 0.12.0
+
 * Wed Jan 27 2021 Fedora Release Engineering <rel...@fedoraproject.org> - 0.10.0-4
 - Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild
 
-- 
2.29.2

_______________________________________________
devel mailing list -- devel@lists.fedoraproject.org
To unsubscribe send an email to devel-le...@lists.fedoraproject.org
Fedora Code of Conduct: 
https://docs.fedoraproject.org/en-US/project/code-of-conduct/
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: 
https://lists.fedoraproject.org/archives/list/devel@lists.fedoraproject.org
Do not reply to spam on the list, report it: 
https://pagure.io/fedora-infrastructure

Reply via email to