From 5080e7df9820a2043dfa97fed5b84b693d3a8daa Mon Sep 17 00:00:00 2001 From: Robert-André Mauchin Date: Aug 23 2022 17:16:35 +0000 Subject: SPEC cleanup --- diff --git a/glide.lock b/glide.lock deleted file mode 100644 index 8b44040..0000000 --- a/glide.lock +++ /dev/null @@ -1,4 +0,0 @@ -hash: 9f710e8739a328b15fe51ce6b5da9476b64c053f812c6be35806e8fd605f63a2 -imports: [] -updated: '2018-06-09T17:39:32.330905+00:00' - diff --git a/glide.yaml b/glide.yaml deleted file mode 100644 index 05ec3c3..0000000 --- a/glide.yaml +++ /dev/null @@ -1,3 +0,0 @@ -import: [] -package: github.com/docker/go-units - diff --git a/golang-github-docker-units.spec b/golang-github-docker-units.spec index 82cec9c..eb1d743 100644 --- a/golang-github-docker-units.spec +++ b/golang-github-docker-units.spec @@ -1,5 +1,6 @@ -# Generated by go2rpm +# Generated by go2rpm 1.8.0 %bcond_without check +%global debug_package %{nil} # https://github.com/docker/go-units %global goipath github.com/docker/go-units @@ -7,11 +8,6 @@ Version: 0.4.0 %gometa -# Remove in F33: -%global godevelheader %{expand: -Obsoletes: golang-github-docker-go-units-devel < 0.3.3-3 -} - %global common_description %{expand: Go-units is a library to transform human friendly measurements into machine friendly values.} @@ -19,27 +15,23 @@ friendly values.} %global golicenses LICENSE %global godocs CONTRIBUTING.md README.md -%global gosupfiles glide.lock glide.yaml - Name: %{goname} Release: %autorelease Summary: Parse and print size and time units in human-readable format -# Upstream license specification: Apache-2.0 -License: ASL 2.0 +License: Apache-2.0 URL: %{gourl} -Source0: %{gosource} -Source1: glide.lock -Source2: glide.yaml +Source: %{gosource} -%description -%{common_description} +%description %{common_description} %gopkg %prep %goprep -cp %{S:1} %{S:2} . + +%generate_buildrequires +%go_generate_buildrequires %install %gopkginstall