Skip to content

Commit

Permalink
packaging: fix unneeded errtracker patches (#13288)
Browse files Browse the repository at this point in the history
* packaging: fix unneeded errtracker patches

* packaging: remove errtrack specific parts of the patches

---------

Co-authored-by: Michael Vogt <[email protected]>
  • Loading branch information
andrewphelpsj and mvo5 authored Oct 12, 2023
1 parent 29878c7 commit cffb170
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 18 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -31,19 +31,3 @@ index d74aa14fe..42a4ba051 100644

"github.com/snapcore/snapd/dirs"
"github.com/snapcore/snapd/osutil"
diff --git a/errtracker/errtracker.go b/errtracker/errtracker.go
index d7507a9a3..1910b7d7c 100644
--- a/errtracker/errtracker.go
+++ b/errtracker/errtracker.go
@@ -33,7 +33,7 @@ import (
"strings"
"time"

- "github.com/snapcore/bolt"
+ "github.com/boltdb/bolt"
"gopkg.in/mgo.v2/bson"

"github.com/snapcore/snapd/arch"
--
2.17.1

3 changes: 1 addition & 2 deletions packaging/fedora/snapd.spec
Original file line number Diff line number Diff line change
Expand Up @@ -353,7 +353,6 @@ Provides: golang(%{import_path}/desktop/notification) = %{version}-%{releas
Provides: golang(%{import_path}/desktop/notification/notificationtest) = %{version}-%{release}
Provides: golang(%{import_path}/dirs) = %{version}-%{release}
Provides: golang(%{import_path}/docs) = %{version}-%{release}
Provides: golang(%{import_path}/errtracker) = %{version}-%{release}
Provides: golang(%{import_path}/features) = %{version}-%{release}
Provides: golang(%{import_path}/gadget) = %{version}-%{release}
Provides: golang(%{import_path}/gadget/edition) = %{version}-%{release}
Expand Down Expand Up @@ -538,7 +537,7 @@ BUILDTAGS="nosecboot"

%if ! 0%{?with_bundled}
# We don't need the snapcore fork for bolt - it is just a fix on ppc
sed -e "s:github.com/snapcore/bolt:github.com/boltdb/bolt:g" -i advisor/*.go errtracker/*.go
sed -e "s:github.com/snapcore/bolt:github.com/boltdb/bolt:g" -i advisor/*.go
%endif

# We have to build snapd first to prevent the build from
Expand Down

0 comments on commit cffb170

Please sign in to comment.