commit 67b29c8a09eb6b81cee77c21024f307cdb68169452ce69776ec332d8d0effd67 Author: Adrian Schröter Date: Fri May 3 16:30:33 2024 +0200 Sync from SUSE:SLFO:Main mage revision 2031c56b2484585b8a6f4e2b9d0706b6 diff --git a/.gitattributes b/.gitattributes new file mode 100644 index 0000000..9b03811 --- /dev/null +++ b/.gitattributes @@ -0,0 +1,23 @@ +## Default LFS +*.7z filter=lfs diff=lfs merge=lfs -text +*.bsp filter=lfs diff=lfs merge=lfs -text +*.bz2 filter=lfs diff=lfs merge=lfs -text +*.gem filter=lfs diff=lfs merge=lfs -text +*.gz filter=lfs diff=lfs merge=lfs -text +*.jar filter=lfs diff=lfs merge=lfs -text +*.lz filter=lfs diff=lfs merge=lfs -text +*.lzma filter=lfs diff=lfs merge=lfs -text +*.obscpio filter=lfs diff=lfs merge=lfs -text +*.oxt filter=lfs diff=lfs merge=lfs -text +*.pdf filter=lfs diff=lfs merge=lfs -text +*.png filter=lfs diff=lfs merge=lfs -text +*.rpm filter=lfs diff=lfs merge=lfs -text +*.tbz filter=lfs diff=lfs merge=lfs -text +*.tbz2 filter=lfs diff=lfs merge=lfs -text +*.tgz filter=lfs diff=lfs merge=lfs -text +*.ttf filter=lfs diff=lfs merge=lfs -text +*.txz filter=lfs diff=lfs merge=lfs -text +*.whl filter=lfs diff=lfs merge=lfs -text +*.xz filter=lfs diff=lfs merge=lfs -text +*.zip filter=lfs diff=lfs merge=lfs -text +*.zst filter=lfs diff=lfs merge=lfs -text diff --git a/_service b/_service new file mode 100644 index 0000000..b2eb238 --- /dev/null +++ b/_service @@ -0,0 +1,15 @@ + + + https://github.com/magefile/mage + @PARENT_TAG@~git@TAG_OFFSET@.%h + v1.11.0 + git + + + + + *.tar + xz + + + diff --git a/mage-v1.11.0~git0.07afc7d.obscpio b/mage-v1.11.0~git0.07afc7d.obscpio new file mode 100644 index 0000000..624f422 --- /dev/null +++ b/mage-v1.11.0~git0.07afc7d.obscpio @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:14e85fe8de73cc8af98c678a3d725940c82c79ca43b5405891ecba4a4c3da927 +size 11821069 diff --git a/mage.changes b/mage.changes new file mode 100644 index 0000000..db96fbc --- /dev/null +++ b/mage.changes @@ -0,0 +1,9 @@ +------------------------------------------------------------------- +Fri Jan 7 01:29:18 UTC 2022 - Jeff Mahoney + +- Reduce go dependency to >= 1.12 as that's all mage requires. + +------------------------------------------------------------------- +Wed Dec 15 18:44:12 UTC 2021 - Jeff Mahoney + +- Initial packaging. diff --git a/mage.obsinfo b/mage.obsinfo new file mode 100644 index 0000000..36447cb --- /dev/null +++ b/mage.obsinfo @@ -0,0 +1,5 @@ +name: mage +version: v1.11.0~git0.07afc7d +mtime: 1609218707 +commit: 07afc7d24f4d6d6442305d49552f04fbda5ccb3e + diff --git a/mage.spec b/mage.spec new file mode 100644 index 0000000..caf071d --- /dev/null +++ b/mage.spec @@ -0,0 +1,58 @@ +# +# spec file for package mage +# +# Copyright (c) 2021 SUSE LLC +# +# All modifications and additions to the file contributed by third parties +# remain the property of their copyright owners, unless otherwise agreed +# upon. The license for this file, and modifications and additions to the +# file, is the same license as for the pristine package itself (unless the +# license for the pristine package is not an Open Source License, in which +# case the license is the MIT License). An "Open Source License" is a +# license that conforms to the Open Source Definition (Version 1.9) +# published by the Open Source Initiative. + +# Please submit bugfixes or comments via https://bugs.opensuse.org/ +# + + +Name: mage +Version: v1.11.0~git0.07afc7d +Release: 0 +Summary: A make-like build tool using Go +# FIXME: Select a correct license from https://github.com/openSUSE/spec-cleaner#spdx-licenses +License: Apache-2.0 +URL: https://github.com/magefile/mage +Source: mage-%{version}.tar.xz +BuildRequires: go +BuildRequires: golang(API) >= 1.12 +BuildRequires: golang-packaging + + +%description + +Mage is a make-like build tool using Go. You write plain-old go functions, and Mage automatically uses them as Makefile-like runnable targets. + +%prep +%setup -q + +%build +if test -z "$GOPATH"; then + GOPATH="$HOME/go" +fi +mkdir -p $GOPATH +go run bootstrap.go + +%install +mkdir -p %{buildroot}%{_bindir} +if test -z "$GOPATH"; then + GOPATH="$HOME/go" +fi +mv $GOPATH/bin/mage %{buildroot}%{_bindir} + +%files +%license LICENSE +%doc README.md +%{_bindir}/mage + +%changelog