From e7cc09f4b449018a7d5bb7ee22534c6c157cdd78 Mon Sep 17 00:00:00 2001 From: Tomas Hrcka Date: Fri, 2 Dec 2022 08:07:50 +0100 Subject: [PATCH] Unretirement request: https://pagure.io/releng/issue/11124 --- .gitignore | 6 +++ README.md | 3 ++ changelog | 32 +++++++++++++ criterion-plot-fix-metadata.diff | 20 ++++++++ dead.package | 1 - rust-criterion-plot.spec | 79 ++++++++++++++++++++++++++++++++ sources | 1 + 7 files changed, 141 insertions(+), 1 deletion(-) create mode 100644 .gitignore create mode 100644 README.md create mode 100644 changelog create mode 100644 criterion-plot-fix-metadata.diff delete mode 100644 dead.package create mode 100644 rust-criterion-plot.spec create mode 100644 sources diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..cb48f4b --- /dev/null +++ b/.gitignore @@ -0,0 +1,6 @@ +/criterion-plot-0.3.0.crate +/criterion-plot-0.3.1.crate +/criterion-plot-0.4.0.crate +/criterion-plot-0.4.1.crate +/criterion-plot-0.4.3.crate +/criterion-plot-0.4.4.crate diff --git a/README.md b/README.md new file mode 100644 index 0000000..a56183b --- /dev/null +++ b/README.md @@ -0,0 +1,3 @@ +# rust-criterion-plot + +The rust-criterion-plot package \ No newline at end of file diff --git a/changelog b/changelog new file mode 100644 index 0000000..664b8a9 --- /dev/null +++ b/changelog @@ -0,0 +1,32 @@ +* Fri Jul 23 2021 Fedora Release Engineering - 0.4.3-4 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild + +* Wed Jan 27 2021 Fedora Release Engineering - 0.4.3-3 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild + +* Wed Jul 29 2020 Fedora Release Engineering - 0.4.3-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild + +* Fri Jul 10 2020 Josh Stone - 0.4.3-1 +- Update to 0.4.3 + +* Wed Feb 12 10:08:05 CET 2020 Igor Raits - 0.4.1-1 +- Update to 0.4.1 + +* Thu Jan 30 2020 Fedora Release Engineering - 0.4.0-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild + +* Sat Sep 14 18:38:42 CEST 2019 Igor Gnatenko - 0.4.0-1 +- Update to 0.4.0 + +* Fri Jul 26 2019 Fedora Release Engineering - 0.3.1-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild + +* Fri Apr 12 00:05:34 CET 2019 Robert-André Mauchin - 0.3.1-1 +- Release 0.3.1 (#1697686) + +* Wed Mar 20 09:55:45 CET 2019 Igor Gnatenko - 0.3.0-2 +- Run tests in infrastructure + +* Fri Mar 08 2019 Robert-André Mauchin - 0.3.0-1 +- Initial package diff --git a/criterion-plot-fix-metadata.diff b/criterion-plot-fix-metadata.diff new file mode 100644 index 0000000..86479ef --- /dev/null +++ b/criterion-plot-fix-metadata.diff @@ -0,0 +1,20 @@ +--- criterion-plot-0.4.4/Cargo.toml 1970-01-01T00:00:00+00:00 ++++ criterion-plot-0.4.4/Cargo.toml 2022-09-29T11:20:20.059987+00:00 +@@ -22,7 +22,7 @@ + license = "MIT/Apache-2.0" + repository = "https://github.com/bheisler/criterion.rs" + [dependencies.cast] +-version = "0.2" ++version = "0.3" + + [dependencies.itertools] + version = "0.10" +@@ -30,7 +30,7 @@ + version = "0.1" + + [dev-dependencies.num-complex] +-version = "0.2" ++version = "0.3" + features = ["std"] + default-features = false + diff --git a/dead.package b/dead.package deleted file mode 100644 index c7912ba..0000000 --- a/dead.package +++ /dev/null @@ -1 +0,0 @@ -no longer needed diff --git a/rust-criterion-plot.spec b/rust-criterion-plot.spec new file mode 100644 index 0000000..ac00e6c --- /dev/null +++ b/rust-criterion-plot.spec @@ -0,0 +1,79 @@ +# Generated by rust2rpm 22 +%bcond_without check +%global debug_package %{nil} + +%global crate criterion-plot + +Name: rust-criterion-plot +Version: 0.4.4 +Release: %autorelease +Summary: Criterion's plotting library + +# Upstream license specification: MIT/Apache-2.0 +License: MIT OR Apache-2.0 +URL: https://crates.io/crates/criterion-plot +Source: %{crates_source} +# Manually created patch for downstream crate metadata changes +# * bump cast from 0.2 to 0.3 +# * bump num-complex from 0.2 to 0.3 +Patch: criterion-plot-fix-metadata.diff + +ExclusiveArch: %{rust_arches} + +BuildRequires: rust-packaging >= 21 + +%global _description %{expand: +Criterion's plotting library.} + +%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}/CONTRIBUTING.md +%doc %{crate_instdir}/README.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 +# remove executable bit from all files ... +find . -type f -executable -exec chmod -x {} + +%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..1146fc8 --- /dev/null +++ b/sources @@ -0,0 +1 @@ +SHA512 (criterion-plot-0.4.4.crate) = 4f8fdfdf4ed5e1c410b8e133b36bf9add3d86d56bb23d75d37d92b1095b81850915209c7e4d19fd6aec7cf1b1270a9b968b8e37adc491cfc76b6df71c4619943