Accepting request 1012032 from home:NicoK:branches:Virtualization:containers
- Update to version 0.7.0: * ci: add concurrency check * Dockerfile: debian based build * vendor: golang.org/x/sys v0.0.0-20220825204002-c680a09ffe64 * remove CHANGELOG * create GitHub Release on push tag with artifacts * release target with checksums * pass: return an error when a cred doesn't exist - build position-independent binaries - remove explicit dependency on libsecret (found automatically) OBS-URL: https://build.opensuse.org/request/show/1012032 OBS-URL: https://build.opensuse.org/package/show/Virtualization:containers/docker-credential-secretservice?expand=0&rev=4
This commit is contained in:
parent
009f463fcd
commit
26b5e7124d
4
_service
4
_service
@ -4,8 +4,8 @@
|
|||||||
<param name="url">https://github.com/docker/docker-credential-helpers</param>
|
<param name="url">https://github.com/docker/docker-credential-helpers</param>
|
||||||
<param name="exclude">.git</param>
|
<param name="exclude">.git</param>
|
||||||
<param name="filename">docker-credential-helpers</param>
|
<param name="filename">docker-credential-helpers</param>
|
||||||
<param name="versionformat">0.6.0</param>
|
<param name="versionformat">0.7.0</param>
|
||||||
<param name="revision">v0.6.0</param>
|
<param name="revision">v0.7.0</param>
|
||||||
<param name="changesgenerate">enable</param>
|
<param name="changesgenerate">enable</param>
|
||||||
</service>
|
</service>
|
||||||
<service name="recompress" mode="disabled">
|
<service name="recompress" mode="disabled">
|
||||||
|
4
_servicedata
Normal file
4
_servicedata
Normal file
@ -0,0 +1,4 @@
|
|||||||
|
<servicedata>
|
||||||
|
<service name="tar_scm">
|
||||||
|
<param name="url">https://github.com/docker/docker-credential-helpers</param>
|
||||||
|
<param name="changesrevision">ac5992b5f4756fc0398a7d0c93c609e624368bde</param></service></servicedata>
|
@ -1,3 +0,0 @@
|
|||||||
version https://git-lfs.github.com/spec/v1
|
|
||||||
oid sha256:efd4291bc3dd4d199cc35e4b2ff096ee7e2b03f7cca405dd655a4e37c4bfcdfd
|
|
||||||
size 23824
|
|
3
docker-credential-helpers-0.7.0.tar.xz
Normal file
3
docker-credential-helpers-0.7.0.tar.xz
Normal file
@ -0,0 +1,3 @@
|
|||||||
|
version https://git-lfs.github.com/spec/v1
|
||||||
|
oid sha256:b4a958a8439524ade7433da1dad059ee222ccf36c3fa1269e1c422f2f5beb7a7
|
||||||
|
size 199424
|
@ -1,3 +1,17 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Mon Oct 17 08:04:29 UTC 2022 - nico.kruber@gmail.com
|
||||||
|
|
||||||
|
- Update to version 0.7.0:
|
||||||
|
* ci: add concurrency check
|
||||||
|
* Dockerfile: debian based build
|
||||||
|
* vendor: golang.org/x/sys v0.0.0-20220825204002-c680a09ffe64
|
||||||
|
* remove CHANGELOG
|
||||||
|
* create GitHub Release on push tag with artifacts
|
||||||
|
* release target with checksums
|
||||||
|
* pass: return an error when a cred doesn't exist
|
||||||
|
- build position-independent binaries
|
||||||
|
- remove explicit dependency on libsecret (found automatically)
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Wed Jun 27 09:01:50 UTC 2018 - opensuse-packaging@opensuse.org
|
Wed Jun 27 09:01:50 UTC 2018 - opensuse-packaging@opensuse.org
|
||||||
|
|
||||||
|
@ -17,7 +17,7 @@
|
|||||||
|
|
||||||
|
|
||||||
Name: docker-credential-secretservice
|
Name: docker-credential-secretservice
|
||||||
Version: 0.6.0
|
Version: 0.7.0
|
||||||
Release: 0
|
Release: 0
|
||||||
Summary: Leverage Docker credentials with libsecret
|
Summary: Leverage Docker credentials with libsecret
|
||||||
License: MIT
|
License: MIT
|
||||||
@ -25,12 +25,11 @@ Group: System/Management
|
|||||||
Url: http://www.docker.io
|
Url: http://www.docker.io
|
||||||
Source0: docker-credential-helpers-%{version}.tar.xz
|
Source0: docker-credential-helpers-%{version}.tar.xz
|
||||||
Source1: config.secure.json
|
Source1: config.secure.json
|
||||||
BuildRequires: go >= 1.6.0
|
BuildRequires: go >= 1.8.0
|
||||||
BuildRequires: make
|
BuildRequires: make
|
||||||
BuildRequires: pkg-config
|
BuildRequires: pkg-config
|
||||||
BuildRequires: systemd-rpm-macros
|
BuildRequires: systemd-rpm-macros
|
||||||
BuildRequires: libsecret-devel
|
BuildRequires: libsecret-devel
|
||||||
Requires: libsecret
|
|
||||||
Requires(pre): %fillup_prereq
|
Requires(pre): %fillup_prereq
|
||||||
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
||||||
%{?systemd_requires}
|
%{?systemd_requires}
|
||||||
@ -45,11 +44,14 @@ to this program, which uses libsecret in Linux.
|
|||||||
|
|
||||||
%build
|
%build
|
||||||
export GOPATH=$PWD/go
|
export GOPATH=$PWD/go
|
||||||
|
export GOFLAGS="-buildmode=pie"
|
||||||
mkdir -p $GOPATH/src/github.com/docker
|
mkdir -p $GOPATH/src/github.com/docker
|
||||||
|
|
||||||
cp -r $PWD/vendor/* $GOPATH/src
|
cp -r $PWD/vendor/* $GOPATH/src
|
||||||
ln -s $PWD $GOPATH/src/github.com/docker/docker-credential-helpers
|
ln -s $PWD $GOPATH/src/github.com/docker/docker-credential-helpers
|
||||||
|
|
||||||
|
export VERSION=v%{version}
|
||||||
|
export REVISION=
|
||||||
make %{?_smp_mflags} secretservice
|
make %{?_smp_mflags} secretservice
|
||||||
|
|
||||||
%pre
|
%pre
|
||||||
@ -63,12 +65,12 @@ EOF
|
|||||||
exit 0
|
exit 0
|
||||||
|
|
||||||
%install
|
%install
|
||||||
install -D -m755 bin/docker-credential-secretservice %{buildroot}/%{_bindir}/docker-credential-secretservice
|
install -D -m755 bin/build/docker-credential-secretservice %{buildroot}/%{_bindir}/docker-credential-secretservice
|
||||||
install -D -m644 %{SOURCE1} %{buildroot}/etc/docker/config.secure.json
|
install -D -m644 %{SOURCE1} %{buildroot}/etc/docker/config.secure.json
|
||||||
|
|
||||||
%files
|
%files
|
||||||
%defattr(-,root,root)
|
%defattr(-,root,root)
|
||||||
%doc LICENSE README.md CHANGELOG.md MAINTAINERS
|
%doc LICENSE README.md MAINTAINERS
|
||||||
%{_bindir}/docker-credential-secretservice
|
%{_bindir}/docker-credential-secretservice
|
||||||
%dir %{_sysconfdir}/docker
|
%dir %{_sysconfdir}/docker
|
||||||
%config %{_sysconfdir}/docker/config.secure.json
|
%config %{_sysconfdir}/docker/config.secure.json
|
||||||
|
Loading…
Reference in New Issue
Block a user