From ac6deaac2c0996529c44963ce525f9bddb5e92d9 Mon Sep 17 00:00:00 2001 From: tigro Date: Sun, 5 Jan 2025 22:28:57 +0300 Subject: [PATCH] import rust-ctor-0.2.8-2.el10 --- .gitignore | 17 +---- .rust-ctor.metadata | 1 + SPECS/rust-ctor.spec | 168 +++++++++++++++++++++++++++++++++++++++++++ rust-ctor.spec | 83 --------------------- sources | 1 - 5 files changed, 170 insertions(+), 100 deletions(-) create mode 100644 .rust-ctor.metadata create mode 100644 SPECS/rust-ctor.spec delete mode 100644 rust-ctor.spec delete mode 100644 sources diff --git a/.gitignore b/.gitignore index f43eeeb..6485433 100644 --- a/.gitignore +++ b/.gitignore @@ -1,16 +1 @@ -/results_*/ -/*.src.rpm - -/ctor-0.1.17.crate -/ctor-0.1.18.crate -/ctor-0.1.20.crate -/ctor-0.1.21.crate -/ctor-0.1.22.crate -/ctor-0.1.23.crate -/ctor-0.1.26.crate -/ctor-0.2.0.crate -/ctor-0.2.2.crate -/ctor-0.2.3.crate -/ctor-0.2.4.crate -/ctor-0.2.5.crate -/ctor-0.2.6.crate +SOURCES/ctor-0.2.8.crate diff --git a/.rust-ctor.metadata b/.rust-ctor.metadata new file mode 100644 index 0000000..435818a --- /dev/null +++ b/.rust-ctor.metadata @@ -0,0 +1 @@ +c4765cd9e98402b20b353c85ba7c44003e70a905 SOURCES/ctor-0.2.8.crate diff --git a/SPECS/rust-ctor.spec b/SPECS/rust-ctor.spec new file mode 100644 index 0000000..9e089ab --- /dev/null +++ b/SPECS/rust-ctor.spec @@ -0,0 +1,168 @@ +## START: Set by rpmautospec +## (rpmautospec version 0.6.5) +## RPMAUTOSPEC: autorelease, autochangelog +%define autorelease(e:s:pb:n) %{?-p:0.}%{lua: + release_number = 2; + 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 +# * no tests are shipped with the published crates +# * example code adds an unnecessary dependency on libc-print (not packaged) +%bcond_with check +%global debug_package %{nil} + +%global crate ctor + +Name: rust-ctor +Version: 0.2.8 +Release: %autorelease +Summary: __attribute__((constructor)) for Rust + +License: Apache-2.0 OR MIT +URL: https://crates.io/crates/ctor +Source: %{crates_source} + +BuildRequires: cargo-rpm-macros >= 24 + +%global _description %{expand: +__attribute__((constructor)) for Rust.} + +%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}/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 + +%package -n %{name}+used_linker-devel +Summary: %{summary} +BuildArch: noarch + +%description -n %{name}+used_linker-devel %{_description} + +This package contains library source intended for building other packages which +use the "used_linker" feature of the "%{crate}" crate. + +%files -n %{name}+used_linker-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 +* Sun Jan 05 2025 Arkady L. Shane - 0.2.8-2 +- Rebuilt for MSVSphere 10 + +## START: Generated by rpmautospec +* Fri Jul 19 2024 Fedora Release Engineering - 0.2.8-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_41_Mass_Rebuild + +* Tue Apr 16 2024 Fabio Valentini - 0.2.8-1 +- Update to version 0.2.8; Fixes RHBZ#2275325 + +* Fri Mar 08 2024 Fabio Valentini - 0.2.7-1 +- Update to version 0.2.7; Fixes RHBZ#2266068 + +* Fri Jan 26 2024 Fedora Release Engineering - 0.2.6-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild + +* Thu Jan 11 2024 Fabio Valentini - 0.2.6-1 +- Update to version 0.2.6; Fixes RHBZ#2254123 + +* Wed Sep 27 2023 Fabio Valentini - 0.2.5-1 +- Update to version 0.2.5; Fixes RHBZ#2240821 + +* Fri Jul 21 2023 Fedora Release Engineering - 0.2.4-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_39_Mass_Rebuild + +* Thu Jul 13 2023 Fabio Valentini - 0.2.4-1 +- Update to version 0.2.4; Fixes RHBZ#2222500 + +* Wed Jul 05 2023 Fabio Valentini - 0.2.3-1 +- Update to version 0.2.3; Fixes RHBZ#2219011 + +* Fri Jun 02 2023 Fabio Valentini - 0.2.2-1 +- Update to version 0.2.2; Fixes RHBZ#2211231 + +* Wed Apr 19 2023 Fabio Valentini - 0.2.0-1 +- Update to version 0.2.0; Fixes RHBZ#2181893 + +* Fri Jan 20 2023 Fedora Release Engineering - 0.1.26-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild + +* Sat Dec 10 2022 Fabio Valentini - 0.1.26-1 +- Update to version 0.1.26; Fixes RHBZ#2135956 + +* Fri Jul 29 2022 Fabio Valentini - 0.1.23-1 +- Update to version 0.1.23; Fixes RHBZ#2112149 + +* Sat Jul 23 2022 Fedora Release Engineering - 0.1.22-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild + +* Mon Mar 21 2022 Fabio Valentini - 0.1.22-1 +- Update to version 0.1.22; Fixes RHBZ#2065514 + +* Fri Jan 21 2022 Fedora Release Engineering - 0.1.21-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild + +* Wed Sep 01 2021 Fabio Valentini - 0.1.21-1 +- Update to version 0.1.21; Fixes RHBZ#1999722 + +* Fri Jul 23 2021 Fedora Release Engineering - 0.1.20-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild + +* Sun Mar 28 2021 Fabio Valentini - 0.1.20-1 +- Update to version 0.1.20. +- Fixes RHBZ#1924225 + +* Wed Jan 27 2021 Fedora Release Engineering - 0.1.18-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild + +* Tue Jan 12 2021 Fabio Valentini - 0.1.18-1 +- Update to version 0.1.18. +- Fixes RHBZ#1914978 + +* Thu Jan 07 2021 Fabio Valentini - 0.1.17-1 +- Initial package + +## END: Generated by rpmautospec diff --git a/rust-ctor.spec b/rust-ctor.spec deleted file mode 100644 index bcbae8e..0000000 --- a/rust-ctor.spec +++ /dev/null @@ -1,83 +0,0 @@ -# Generated by rust2rpm 25 -# * no tests are shipped with the published crates -# * example code adds an unnecessary dependency on libc-print (not packaged) -%bcond_with check -%global debug_package %{nil} - -%global crate ctor - -Name: rust-ctor -Version: 0.2.6 -Release: %autorelease -Summary: __attribute__((constructor)) for Rust - -License: Apache-2.0 OR MIT -URL: https://crates.io/crates/ctor -Source: %{crates_source} - -BuildRequires: cargo-rpm-macros >= 24 - -%global _description %{expand: -__attribute__((constructor)) for Rust.} - -%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}/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 - -%package -n %{name}+used_linker-devel -Summary: %{summary} -BuildArch: noarch - -%description -n %{name}+used_linker-devel %{_description} - -This package contains library source intended for building other packages which -use the "used_linker" feature of the "%{crate}" crate. - -%files -n %{name}+used_linker-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 -%autochangelog diff --git a/sources b/sources deleted file mode 100644 index ff7f55f..0000000 --- a/sources +++ /dev/null @@ -1 +0,0 @@ -SHA512 (ctor-0.2.6.crate) = 2fc384ae21a7529fb4320ea3b242cb323cc90ab21b35ab85618e3e3767625e4736e8093bb7677fe018d33676c5591d159266fe2c03023ec130d8c17363d3d4cd