From 2e91125e588736833774fe7a155446a1af6032ca Mon Sep 17 00:00:00 2001 From: Lokesh Mandvekar Date: Mar 04 2021 19:28:44 +0000 Subject: add additional macros for non-rawhide builds Signed-off-by: Lokesh Mandvekar --- diff --git a/skopeo.spec b/skopeo.spec index b0332c8..3862f5d 100644 --- a/skopeo.spec +++ b/skopeo.spec @@ -38,7 +38,9 @@ # Used for comparing with latest upstream tag # to decide whether to autobuild (non-rawhide only) -%global built_tag v1.2.1 +%global built_tag v1.2.2 +%define built_tag_strip %(b=%{built_tag}; echo ${b:1}) +%define download_url %{git0}/archive/%{built_tag}.tar.gz Name: %{repo} Epoch: %{conditional_epoch} @@ -48,7 +50,6 @@ Summary: Inspect container images and repositories on registries License: ASL 2.0 URL: %{git0} Source0: %{git0}/archive/%{commit0}/%{name}-%{shortcommit0}.tar.gz - %if 0%{?fedora} BuildRequires: go-srpm-macros BuildRequires: compiler(go-compiler) @@ -68,7 +69,6 @@ BuildRequires: ostree-devel BuildRequires: glib2-devel BuildRequires: make Requires: containers-common >= 4:1-6 - Provides: bundled(golang(github.com/beorn7/perks)) = 4c0e84591b9aa9e6dcfdf3e020114cd81f89d5f9 Provides: bundled(golang(github.com/BurntSushi/toml)) = master Provides: bundled(golang(github.com/containerd/continuity)) = d8fb8589b0e8e85b8c8bbaa8840226d0dfeb7371