## START: Set by rpmautospec ## (rpmautospec version 0.3.0) %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 23 %bcond_without check %global debug_package %{nil} %global crate scoped-tls Name: rust-scoped-tls Version: 1.0.1 Release: %autorelease Summary: Provide scoped access to thread local storage (TLS) # Upstream license specification: MIT/Apache-2.0 License: MIT OR Apache-2.0 URL: https://crates.io/crates/scoped-tls Source: %{crates_source} BuildRequires: rust-packaging >= 21 %global _description %{expand: Library implementation of the standard library's old `scoped_thread_local!` macro for providing scoped access to thread local storage (TLS) so any type can be stored into TLS.} %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 %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 * Mon Jan 15 2024 Arkady L. Shane - 1.0.1-1 - Rebuilt for MSVSphere 9.3 * Sun Dec 04 2022 Fabio Valentini 1.0.1-1 - Update to version 1.0.1; Fixes RHBZ#2138922 * Wed Dec 29 2021 Igor Raits 1.0.0-10 - Rebuild * Tue Jul 27 2021 Fedora Release Engineering - 1.0.0-7 - Second attempt - Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild * Wed Jan 27 2021 Fedora Release Engineering - 1.0.0-6 - Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild * Wed Jul 29 2020 Fedora Release Engineering - 1.0.0-5 - Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild * Thu Jan 30 2020 Fedora Release Engineering - 1.0.0-4 - Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild * Fri Jul 26 2019 Fedora Release Engineering - 1.0.0-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild * Sun Jul 21 08:58:00 CEST 2019 Igor Gnatenko - 1.0.0-2 - Regenerate * Mon Mar 04 2019 Igor Gnatenko - 1.0.0-1 - Update to 1.0.0 * Sat Feb 02 2019 Fedora Release Engineering - 0.1.2-4 - Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild * Fri Nov 09 2018 Josh Stone - 0.1.2-3 - Adapt to new packaging * Sat Jul 14 2018 Fedora Release Engineering - 0.1.2-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild * Fri May 04 2018 Josh Stone - 0.1.2-1 - Update to 0.1.2 * Mon Mar 05 2018 Igor Gnatenko - 0.1.1-1 - Update to 0.1.1 * Fri Feb 09 2018 Fedora Release Engineering - 0.1.0-5 - Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild * Mon Jan 08 2018 Igor Gnatenko - 0.1.0-4 - Rebuild for rust-packaging v5 * Sat Oct 21 2017 Igor Gnatenko - 0.1.0-3 - Rebuild to get dependency on cargo * Fri Sep 22 2017 Igor Gnatenko - 0.1.0-2 - Exclude appveyor.yml file * Fri Jun 16 2017 Igor Gnatenko - 0.1.0-1 - Initial package