commit 98c6eadbe2044a5a1471d4b986b2271ed52d0d12 Author: MSVSphere Packaging Team Date: Fri Dec 20 15:47:26 2024 +0300 import rust-gix-url-0.27.5-1.el10 diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..78d9034 --- /dev/null +++ b/.gitignore @@ -0,0 +1 @@ +SOURCES/gix-url-0.27.5.crate diff --git a/.rust-gix-url.metadata b/.rust-gix-url.metadata new file mode 100644 index 0000000..a6ef60d --- /dev/null +++ b/.rust-gix-url.metadata @@ -0,0 +1 @@ +0a3c86fd2752ec2a75a52d1697cb215c6d72fc3e SOURCES/gix-url-0.27.5.crate diff --git a/SOURCES/rust2rpm.toml b/SOURCES/rust2rpm.toml new file mode 100644 index 0000000..0ec522d --- /dev/null +++ b/SOURCES/rust2rpm.toml @@ -0,0 +1,9 @@ +[package] +summary = "Implementation of parsing and serialization of URLs for gix" + +[tests] +run = ["none"] +comments = [ + "Deactivate tests because of a missing dev-dependency (gix-testtools)", + "See https://github.com/Byron/gitoxide/discussions/900 for more information" +] diff --git a/SPECS/rust-gix-url.spec b/SPECS/rust-gix-url.spec new file mode 100644 index 0000000..8feef07 --- /dev/null +++ b/SPECS/rust-gix-url.spec @@ -0,0 +1,144 @@ +## START: Set by rpmautospec +## (rpmautospec version 0.7.2) +## RPMAUTOSPEC: autorelease, autochangelog +%define autorelease(e:s:pb:n) %{?-p:0.}%{lua: + release_number = 1; + base_release_number = tonumber(rpm.expand("%{?-b*}%{!?-b:1}")); + print(release_number + base_release_number - 1); +}%{?-e:.%{-e*}}%{?-s:.%{-s*}}%{!?-n:%{?dist}} +## END: Set by rpmautospec + +# Generated by rust2rpm 26 +# * Deactivate tests because of a missing dev-dependency (gix-testtools) +# * See https://github.com/Byron/gitoxide/discussions/900 for more information +%bcond_with check +%global debug_package %{nil} + +%global crate gix-url + +Name: rust-gix-url +Version: 0.27.5 +Release: %autorelease +Summary: Implementation of parsing and serialization of URLs for gix + +License: MIT OR Apache-2.0 +URL: https://crates.io/crates/gix-url +Source: %{crates_source} + +BuildRequires: cargo-rpm-macros >= 24 + +%global _description %{expand: +A crate of the gitoxide project implementing parsing and serialization +of gix-url.} + +%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 +%{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 + +%package -n %{name}+document-features-devel +Summary: %{summary} +BuildArch: noarch + +%description -n %{name}+document-features-devel %{_description} + +This package contains library source intended for building other packages which +use the "document-features" feature of the "%{crate}" crate. + +%files -n %{name}+document-features-devel +%ghost %{crate_instdir}/Cargo.toml + +%package -n %{name}+serde-devel +Summary: %{summary} +BuildArch: noarch + +%description -n %{name}+serde-devel %{_description} + +This package contains library source intended for building other packages which +use the "serde" feature of the "%{crate}" crate. + +%files -n %{name}+serde-devel +%ghost %{crate_instdir}/Cargo.toml + +%prep +%autosetup -n %{crate}-%{version} -p1 +%cargo_prep + +%generate_buildrequires +%cargo_generate_buildrequires + +%build +%cargo_build + +%install +%cargo_install + +%if %{with check} +%check +%cargo_test +%endif + +%changelog +* Fri Dec 20 2024 MSVSphere Packaging Team - 0.27.5-1 +- Rebuilt for MSVSphere 10 + +## START: Generated by rpmautospec +* Tue Sep 10 2024 blinxen - 0.27.5-1 +- Update to version 0.27.5 (rhbz#2307405) + +* Thu Jul 25 2024 blinxen - 0.27.4-1 +- Update to version 0.27.4 (rhbz#2299593) + +* Fri Jul 19 2024 Fedora Release Engineering - 0.27.3-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_41_Mass_Rebuild + +* Tue Apr 23 2024 Fabio Valentini - 0.27.3-1 +- Update to version 0.27.3; Fixes RHBZ#2274910 + +* Fri Apr 05 2024 blinxen - 0.27.2-1 +- Update to version 0.27.2 (rhbz#2253241) + +* Fri Jan 26 2024 Fedora Release Engineering - 0.25.1-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild + +* Tue Nov 14 2023 Fabio Valentini - 0.25.1-1 +- Update to version 0.25.1; Fixes RHBZ#2244174 + +* Fri Oct 13 2023 blinxen - 0.25.0-1 +- Update to version 0.25.0 + +* Thu Oct 05 2023 blinxen - 0.24.0-1 +- Update to version 0.24.0 (rhbz#2240489) + +* Thu Sep 14 2023 blinxen - 0.23.0-2 +- Deactivate tests because of a missing dev-dependency (gix-testtools) + +* Thu Sep 14 2023 blinxen - 0.23.0-1 +- Update to version 0.23.0 (rhbz#2236547) + +* Wed Aug 30 2023 Fabio Valentini - 0.21.1-1 +- Initial import (#2228524) +## END: Generated by rpmautospec