## START: Set by rpmautospec ## (rpmautospec version 0.3.5) ## 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 24 # * 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.5 Release: %autorelease Summary: __attribute__((constructor)) for Rust License: Apache-2.0 OR MIT URL: https://crates.io/crates/ctor Source: %{crates_source} BuildRequires: rust-packaging >= 21 %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_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 - 0.2.5-1 - Rebuilt for MSVSphere 9.3 * Wed Sep 27 2023 Fabio Valentini - 0.2.5-1 - Update to version 0.2.5; Fixes RHBZ#2240821 * Fri Jul 14 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 * 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