commit b612fd329a50e6560e76ccf8251eb45741ff6b13f206d331a4c585a2e2bc5110 Author: William Brown Date: Wed Aug 25 02:54:35 2021 +0000 Accepting request 914094 from home:firstyear:kanidm OBS-URL: https://build.opensuse.org/request/show/914094 OBS-URL: https://build.opensuse.org/package/show/devel:languages:rust/cargo-packaging?expand=0&rev=1 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/.gitignore b/.gitignore new file mode 100644 index 0000000..57affb6 --- /dev/null +++ b/.gitignore @@ -0,0 +1 @@ +.osc diff --git a/_service b/_service new file mode 100644 index 0000000..5f1d4c9 --- /dev/null +++ b/_service @@ -0,0 +1,20 @@ + + + https://github.com/Firstyear/cargo-packaging.git + @PARENT_TAG@~git@TAG_OFFSET@.%h + git + main + v* + v(\d+\.\d+\.\d+) + \1 + enable + william.brown@suse.com + + + + *.tar + xz + + + + diff --git a/cargo-packaging-1.0.0~git3.e0b8dad.tar.xz b/cargo-packaging-1.0.0~git3.e0b8dad.tar.xz new file mode 100644 index 0000000..1a3d19b --- /dev/null +++ b/cargo-packaging-1.0.0~git3.e0b8dad.tar.xz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:b0144950ce3f85bfa3added69d0935719856a229ddcce1eae57febfefceac235 +size 636 diff --git a/cargo-packaging.spec b/cargo-packaging.spec new file mode 100644 index 0000000..071c1f0 --- /dev/null +++ b/cargo-packaging.spec @@ -0,0 +1,49 @@ +# +# spec file for package cargo-packaging +# +# 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: cargo-packaging +Version: 1.0.0~git3.e0b8dad +Release: 0 +BuildArch: noarch +Summary: Some macros to assist with cargo and rust packaging 🦀 +License: MPL-2.0 +URL: https://github.com/Firstyear/cargo-packaging +Source0: %{name}-%{version}.tar.xz +Requires: cargo + +Conflicts: rust-packaging + +%description +A set of macros to assist with cargo and rust packaging, written in a manner +that follows rust's best practices. + +%prep +%setup -q + +%build + +%install +install -D -p -m 0644 -t %{buildroot}%{_rpmconfigdir}/macros.d %{_builddir}/%{name}-%{version}/macros.cargo + +%files +#license COPYING +#doc ChangeLog README +%{_rpmconfigdir}/macros.d/macros.cargo + +%changelog