From 3305504ad30fa365f991bd950af8f30915b6d149 Mon Sep 17 00:00:00 2001 From: Mikel Olasagasti Uranga Date: Apr 05 2024 10:38:14 +0000 Subject: Update to 0.5.1 - Closes rhbz#2242442 --- diff --git a/.gitignore b/.gitignore index 1d36ff3..ca504c9 100644 --- a/.gitignore +++ b/.gitignore @@ -1,3 +1,4 @@ /fileutils-7d4729fb36185a7c1719923406c9d40e54fb93c7.tar.gz /fileutils-abd8a0e7697675e96f030dde7a43359d67369dcb.tar.gz /fileutils-0.5.0.tar.gz +/fileutils-0.5.1.tar.gz diff --git a/golang-github-mrunalp-fileutils.spec b/golang-github-mrunalp-fileutils.spec index a7cdfcc..30f608b 100644 --- a/golang-github-mrunalp-fileutils.spec +++ b/golang-github-mrunalp-fileutils.spec @@ -1,12 +1,13 @@ -# Generated by go2rpm +# Generated by go2rpm 1.10.0 # Needs access to /dev/mem, not available in chroot %bcond_with check +%global debug_package %{nil} # https://github.com/mrunalp/fileutils %global goipath github.com/mrunalp/fileutils -Version: 0.5.0 +Version: 0.5.1 -%gometa +%gometa -L %global common_description %{expand: Collection of utilities for file manipulation in Go.} @@ -14,43 +15,33 @@ Collection of utilities for file manipulation in Go.} %global golicenses LICENSE %global godocs README.md -Name: %{goname} +Name: golang-github-mrunalp-fileutils Release: %autorelease Summary: Collection of utilities for file manipulation in Go -# Upstream license specification: Apache-2.0 -License: ASL 2.0 +License: Apache-2.0 URL: %{gourl} -Source0: %{gosource} +Source: %{gosource} -%description -%{common_description} +%description %{common_description} %gopkg %prep -%goprep +%goprep -A +%autopatch -p1 -%build -for cmd in cmd/* ; do - %gobuild -o %{gobuilddir}/bin/$(basename $cmd) %{goipath}/$cmd -done +%generate_buildrequires +%go_generate_buildrequires %install %gopkginstall -install -m 0755 -vd %{buildroot}%{_bindir} -install -m 0755 -vp %{gobuilddir}/bin/* %{buildroot}%{_bindir}/ %if %{with check} %check %gocheck %endif -%files -%license LICENSE -%doc README.md -%{_bindir}/* - %gopkgfiles %changelog diff --git a/sources b/sources index 9aa3b08..c7b0321 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (fileutils-0.5.0.tar.gz) = 06811c4e080ea549479dbc0579cc9c341b5ac76560e172aa583856f9ee9430a9ae47c841bbd39b8e48221ce2b69017d719a506b5581e4f7735d47ca60aaa4e7f +SHA512 (fileutils-0.5.1.tar.gz) = cb36d6e3d856319b530bbe6e64cb7edb5996bcc36354d10abeb352da0a9886e5ec798e390fbb26c9862d9d840cc2f6ee82109e0e4393a713e01b7a9b10033c5f