public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
From: Mikel Olasagasti Uranga <mikel@olasagasti.info>
To: git-commits@fedoraproject.org
Subject: [rpms/browserpass] rawhide: Adopt Go Vendor Tools
Date: Mon, 20 Jul 2026 15:25:47 GMT [thread overview]
Message-ID: <178456114712.1.2684081034002549018.rpms-browserpass-922bbe5a0f70@fedoraproject.org> (raw)
A new commit has been pushed.
Repo : rpms/browserpass
Branch : rawhide
Commit : 922bbe5a0f70d2295a9d4785a249dbb1a6967ab0
Author : Mikel Olasagasti Uranga <mikel@olasagasti.info>
Date : 2026-07-20T14:07:38+00:00
Stats : +37/-25 in 4 file(s)
URL : https://src.fedoraproject.org/rpms/browserpass/c/922bbe5a0f70d2295a9d4785a249dbb1a6967ab0?branch=rawhide
Log:
Adopt Go Vendor Tools
---
diff --git a/.gitignore b/.gitignore
index 1fa055c..fa97e2b 100644
--- a/.gitignore
+++ b/.gitignore
@@ -1,2 +1,3 @@
/browserpass-native-3.1.0.tar.gz
/browserpass-native-3.1.2.tar.gz
+/browserpass-native-3.1.2-vendor.tar.bz2
diff --git a/browserpass.spec b/browserpass.spec
index fa8a767..4044028 100644
--- a/browserpass.spec
+++ b/browserpass.spec
@@ -1,36 +1,40 @@
-# Generated by go2rpm 1.9.0
-%bcond_without check
+# Generated by go2rpm 1.19.0
+%bcond check 1
# https://github.com/browserpass/browserpass-native
-%global goipath github.com/browserpass/browserpass-native
-%global tag %{version}
+%global goipath github.com/browserpass/browserpass-native/v3
Version: 3.1.2
+%gometa -L -f
+
%global native_mozpath %{_libdir}/mozilla/native-messaging-hosts
%global native_chromepath %{_sysconfdir}/chromium/native-messaging-hosts
%global native_id com.github.browserpass.native
-%gometa -f
-
-%global common_description %{expand:
-This is a host application for browserpass browser extension providing it
-access to your password store. The communication is handled through
-Native Messaging API.}
Name: browserpass
Release: %autorelease
Summary: Native messaging host
-License: ISC
+# Generated by go-vendor-tools
+License: BSD-3-Clause AND ISC AND MIT
URL: %{gourl}
-Source: %{gosource}
-Source: %{gourl}/releases/download/v%{version}/%{name}-native-%{version}.tar.gz.asc
-Source: https://maximbaz.com/pgp_keys.asc
+Source0: %{gosource}
+# Generated by go-vendor-tools
+Source1: %{archivename}-vendor.tar.bz2
+Source2: go-vendor-tools.toml
+Source3: %{gourl}/releases/download/v%{version}/%{name}-native-%{version}.tar.gz.asc
+Source4: https://maximbaz.com/pgp_keys.asc
-BuildRequires: jq
-BuildRequires: gnupg2
-%description %{common_description}
+BuildRequires: jq
+BuildRequires: gnupg2
+BuildRequires: go-vendor-tools
+
+%description
+This is a host application for browserpass browser extension providing it
+access to your password store. The communication is handled through
+Native Messaging API.
%package firefox
Summary: Native component for the Firefox extension
@@ -49,19 +53,21 @@ Recommends: chromium
%description chromium
Browserpass native component for the Chromium extension
-%gopkg
%prep
-%{gpgverify} --keyring='%{SOURCE2}' --signature='%{SOURCE1}' --data='%{SOURCE0}'
-%goprep
+%{gpgverify} --keyring='%{SOURCE4}' --signature='%{SOURCE3}' --data='%{SOURCE0}'
+%goprep -p1
+tar -xf %{S:1}
%generate_buildrequires
-%go_generate_buildrequires
+%go_vendor_license_buildrequires -c %{S:2}
%build
+%global gomodulesmode GO111MODULE=on
%gobuild -o %{gobuilddir}/bin/browserpass-native %{goipath}
%install
+%go_vendor_license_install -c %{S:2}
install -m 0755 -vd %{buildroot}%{_bindir}
install -m 0755 -vp %{gobuilddir}/bin/* %{buildroot}%{_bindir}/
install -m 0755 -vd %{buildroot}%{native_mozpath}
@@ -69,13 +75,13 @@ jq '.path = "%{_bindir}/browserpass-native"' browser-files/firefox-host.json > %
install -m 0755 -vd %{buildroot}%{native_chromepath}
jq '.path = "%{_bindir}/browserpass-native"' browser-files/chromium-host.json > %{buildroot}%{native_chromepath}/%{native_id}.json
-%if %{with check}
%check
-%gocheck
+%go_vendor_license_check -c %{S:2}
+%if %{with check}
+%gotest ./...
%endif
-%files
-%license LICENSE
+%files -f %{go_vendor_license_filelist}
%doc PROTOCOL.md README.md
%{_bindir}/browserpass-native
diff --git a/go-vendor-tools.toml b/go-vendor-tools.toml
new file mode 100644
index 0000000..6ab4062
--- /dev/null
+++ b/go-vendor-tools.toml
@@ -0,0 +1,4 @@
+[archive]
+
+[licensing]
+detector = "askalono"
diff --git a/sources b/sources
index 7ec1a6a..06dc5e9 100644
--- a/sources
+++ b/sources
@@ -1 +1,2 @@
SHA512 (browserpass-native-3.1.2.tar.gz) = d715897198776a9aac37578fedf39cb6a9353ef7cf8cd98d7264255db919a636816f721c3f4baed7fa3f4ceebc6cce59d775677bed4f5684fccb36cdc330a344
+SHA512 (browserpass-native-3.1.2-vendor.tar.bz2) = 13f8ad39ed88b6470985a58e466b5eb03310b303d165afee77782f50dc780969ad8605ededebccf80c08942454423c675f203f72586503923c44526effc22bd9
reply other threads:[~2026-07-20 15:25 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=178456114712.1.2684081034002549018.rpms-browserpass-922bbe5a0f70@fedoraproject.org \
--to=mikel@olasagasti.info \
--cc=git-commits@fedoraproject.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox