From 6e6c1a66199dfbf15fd3b6e4ef477428cb8abc48a00d3a9e7687fc5fde248784 Mon Sep 17 00:00:00 2001 From: Alexandre Vicenzi Date: Thu, 23 May 2024 15:35:00 +0000 Subject: [PATCH] Accepting request 1176513 from home:avicenzi:branches:devel:kubic Cleanup OBS-URL: https://build.opensuse.org/request/show/1176513 OBS-URL: https://build.opensuse.org/package/show/devel:kubic/traefik?expand=0&rev=35 --- _service | 2 ++ traefik.changes | 14 ++++---------- traefik.spec | 9 +++------ 3 files changed, 9 insertions(+), 16 deletions(-) diff --git a/_service b/_service index 3121f0e..d1b13da 100644 --- a/_service +++ b/_service @@ -1,4 +1,6 @@ + + traefik*.src.tar.gz ./ diff --git a/traefik.changes b/traefik.changes index d1638bc..5dc2ed5 100644 --- a/traefik.changes +++ b/traefik.changes @@ -19,17 +19,11 @@ Thu May 23 15:02:13 UTC 2024 - Johannes Weberhofer * [webui] Add support for IP White list (gh#traefik/traefik#10740 by davidbaptista) - * Additional fixes: bnc#1224308 and bnc#1224384 +- Packaging: + * Use Traefik's src.tar.gz files containing a pre-built frontend to simplify the packaging process + * Fixes bsc#1224308 and bsc#1224384 -- New packaging: - Traefik's src.tar.gz files containing a pre-built frontend are now - used for packaging with simplifies the packaging process a lot. - - * Set the version in the spec-file - * download sources with "osc service localrun download_files" - * create go vendor-package using "osc service manualrun" - -- Removed allow-node-21.patch and prepare-sources.sh script +- Removed allow-node-21.patch and prepare-sources.sh script ------------------------------------------------------------------- Mon May 6 12:59:25 UTC 2024 - Johannes Weberhofer diff --git a/traefik.spec b/traefik.spec index 4018647..a026104 100644 --- a/traefik.spec +++ b/traefik.spec @@ -22,7 +22,6 @@ %else %define buildmode pie %endif - Name: traefik Version: 3.0.1 Release: 0 @@ -30,19 +29,17 @@ Summary: The Cloud Native Application Proxy License: MIT Group: Productivity/Networking/Web/Proxy URL: https://traefik.io/ -# Set the version in the spec-file, download with "osc service localrun download_files" -# and create go vendor-package using "osc service manualrun" +# set the desired version in the spec-file +# download the source files and create the vendor tarball with "osc service mr" Source0: https://github.com/traefik/traefik/releases/download/v%{version}/%{name}-v%{version}.src.tar.gz Source1: vendor.tar.gz Source2: traefik.service Source3: traefik.yml - BuildRequires: go-bindata BuildRequires: golang-packaging BuildRequires: systemd-rpm-macros BuildRequires: (golang(API) >= 1.22) Recommends: podman - Conflicts: traefik2 %{?systemd_requires} %{go_provides} @@ -56,7 +53,7 @@ Etcd, Rancher, Amazon ECS) and configures itself automatically and dynamically. Pointing Traefik at your orchestrator should be the only configuration step you need. %prep -%setup -c %{name}-%{version} -b0 -a1 -q +%setup -q -c %{name}-%{version} -b0 -a1 %autopatch -p1 %build