diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..55bfa15 --- /dev/null +++ b/.gitignore @@ -0,0 +1 @@ +/gix-traverse-0.32.0.crate diff --git a/README.md b/README.md deleted file mode 100644 index bfd2043..0000000 --- a/README.md +++ /dev/null @@ -1,3 +0,0 @@ -# rust-gix-traverse - -The rust-gix-traverse package diff --git a/rust-gix-traverse.spec b/rust-gix-traverse.spec new file mode 100644 index 0000000..cd3ffe3 --- /dev/null +++ b/rust-gix-traverse.spec @@ -0,0 +1,69 @@ +# Generated by rust2rpm 24 +%bcond_without check +%global debug_package %{nil} + +%global crate gix-traverse + +Name: rust-gix-traverse +Version: 0.32.0 +Release: %autorelease +Summary: Implementation for traversing git commit graphs and trees used by gix + +License: MIT OR Apache-2.0 +URL: https://crates.io/crates/gix-traverse +Source: %{crates_source} + +BuildRequires: rust-packaging >= 21 + +%global _description %{expand: +A crate of the gitoxide project.} + +%description %{_description} + +%package devel +Summary: %{summary} +BuildArch: noarch + +%description devel %{_description} + +This package contains library source intended for building other packages which +use the "%{crate}" crate. + +%files devel +%license %{crate_instdir}/LICENSE-APACHE +%license %{crate_instdir}/LICENSE-MIT +%doc %{crate_instdir}/CHANGELOG.md +%{crate_instdir}/ + +%package -n %{name}+default-devel +Summary: %{summary} +BuildArch: noarch + +%description -n %{name}+default-devel %{_description} + +This package contains library source intended for building other packages which +use the "default" feature of the "%{crate}" crate. + +%files -n %{name}+default-devel +%ghost %{crate_instdir}/Cargo.toml + +%prep +%autosetup -n %{crate}-%{version_no_tilde} -p1 +%cargo_prep + +%generate_buildrequires +%cargo_generate_buildrequires + +%build +%cargo_build + +%install +%cargo_install + +%if %{with check} +%check +%cargo_test +%endif + +%changelog +%autochangelog diff --git a/sources b/sources new file mode 100644 index 0000000..f49bb30 --- /dev/null +++ b/sources @@ -0,0 +1 @@ +SHA512 (gix-traverse-0.32.0.crate) = 839b70132757f1042a5a1dc04f326d31d9d64f47053bc3497b02e78382e6b47c36fe38becbbbc5a30e981aad85244745791f1771cdd2820e9923824e7c2cb81c