commit a7774ff38fa01f49cf4aad4e97657276f6c3bba3 Author: MSVSphere Packaging Team Date: Fri Dec 20 16:14:36 2024 +0300 import rust-link-cplusplus-1.0.9-4.el10 diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..843c4cc --- /dev/null +++ b/.gitignore @@ -0,0 +1 @@ +SOURCES/link-cplusplus-1.0.9.crate diff --git a/.rust-link-cplusplus.metadata b/.rust-link-cplusplus.metadata new file mode 100644 index 0000000..8fd9cac --- /dev/null +++ b/.rust-link-cplusplus.metadata @@ -0,0 +1 @@ +677e00dd75765b114c0f00ae8c2284c3e2b6cebf SOURCES/link-cplusplus-1.0.9.crate diff --git a/SPECS/rust-link-cplusplus.spec b/SPECS/rust-link-cplusplus.spec new file mode 100644 index 0000000..5c5a97c --- /dev/null +++ b/SPECS/rust-link-cplusplus.spec @@ -0,0 +1,183 @@ +## START: Set by rpmautospec +## (rpmautospec version 0.7.2) +## RPMAUTOSPEC: autorelease, autochangelog +%define autorelease(e:s:pb:n) %{?-p:0.}%{lua: + release_number = 4; + 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 24 +%bcond_without check +%global debug_package %{nil} + +%global crate link-cplusplus + +Name: rust-link-cplusplus +Version: 1.0.9 +Release: %autorelease +Summary: Link libstdc++ or libc++ automatically or manually + +License: MIT OR Apache-2.0 +URL: https://crates.io/crates/link-cplusplus +Source: %{crates_source} + +BuildRequires: rust-packaging >= 21 + +%global _description %{expand: +Link libstdc++ or libc++ automatically or manually.} + +%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}+libc++-devel +Summary: %{summary} +BuildArch: noarch + +%description -n %{name}+libc++-devel %{_description} + +This package contains library source intended for building other packages which +use the "libc++" feature of the "%{crate}" crate. + +%files -n %{name}+libc++-devel +%ghost %{crate_instdir}/Cargo.toml + +%package -n %{name}+libcxx-devel +Summary: %{summary} +BuildArch: noarch + +%description -n %{name}+libcxx-devel %{_description} + +This package contains library source intended for building other packages which +use the "libcxx" feature of the "%{crate}" crate. + +%files -n %{name}+libcxx-devel +%ghost %{crate_instdir}/Cargo.toml + +%package -n %{name}+libstdc++-devel +Summary: %{summary} +BuildArch: noarch + +%description -n %{name}+libstdc++-devel %{_description} + +This package contains library source intended for building other packages which +use the "libstdc++" feature of the "%{crate}" crate. + +%files -n %{name}+libstdc++-devel +%ghost %{crate_instdir}/Cargo.toml + +%package -n %{name}+libstdcxx-devel +Summary: %{summary} +BuildArch: noarch + +%description -n %{name}+libstdcxx-devel %{_description} + +This package contains library source intended for building other packages which +use the "libstdcxx" feature of the "%{crate}" crate. + +%files -n %{name}+libstdcxx-devel +%ghost %{crate_instdir}/Cargo.toml + +%package -n %{name}+nothing-devel +Summary: %{summary} +BuildArch: noarch + +%description -n %{name}+nothing-devel %{_description} + +This package contains library source intended for building other packages which +use the "nothing" feature of the "%{crate}" crate. + +%files -n %{name}+nothing-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 +* Fri Dec 20 2024 MSVSphere Packaging Team - 1.0.9-4 +- Rebuilt for MSVSphere 10 + +## START: Generated by rpmautospec +* Sat Jul 20 2024 Fedora Release Engineering - 1.0.9-4 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_41_Mass_Rebuild + +* Fri Jan 26 2024 Fedora Release Engineering - 1.0.9-3 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild + +* Fri Jul 21 2023 Fedora Release Engineering - 1.0.9-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_39_Mass_Rebuild + +* Wed Jul 05 2023 Fabio Valentini - 1.0.9-1 +- Update to version 1.0.9; Fixes RHBZ#2219446 + +* Fri Jan 20 2023 Fedora Release Engineering - 1.0.8-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild + +* Tue Dec 20 2022 Fabio Valentini - 1.0.8-1 +- Update to version 1.0.8; Fixes RHBZ#2154574 + +* Mon Aug 22 2022 Fabio Valentini - 1.0.7-1 +- Update to version 1.0.7; Fixes RHBZ#2120259 + +* Sat Jul 23 2022 Fedora Release Engineering - 1.0.6-3 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild + +* Fri Jan 21 2022 Fedora Release Engineering - 1.0.6-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild + +* Mon Nov 15 2021 Jan Staněk - 1.0.6-1 +- Update to version 1.0.6 + +* Fri Jul 23 2021 Fedora Release Engineering - 1.0.5-3 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild + +* Thu Feb 11 2021 Jan Staněk - 1.0.5-2 +- Mark license files + +* Mon Feb 01 14:53:29 CET 2021 Jan Staněk - 1.0.5-1 +- Initial package +- Manually specify provides for libc++/libstdc++ (https://pagure.io/fedora-rust/rust2rpm/pull-request/123) + +## END: Generated by rpmautospec