## START: Set by rpmautospec ## (rpmautospec version 0.2.6) %define autorelease(e:s:pb:) %{?-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*}}%{?dist} ## END: Set by rpmautospec # Generated by rust2rpm 20 %bcond_without check %global debug_package %{nil} %global crate libloading Name: rust-%{crate} Version: 0.7.3 Release: %autorelease Summary: Safer binding to platform’s dynamic library loading utilities # Upstream license specification: ISC License: ISC URL: https://crates.io/crates/libloading Source: %{crates_source} # Initial patched metadata # * drop windows-specific dependencies Patch0: libloading-fix-metadata.diff ExclusiveArch: %{rust_arches} BuildRequires: rust-packaging %global _description %{expand: Bindings around the platform's dynamic library loading primitives with greatly improved memory safety.} %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 LICENSE %doc README.mkd %{cargo_registry}/%{crate}-%{version_no_tilde}/ %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 %{cargo_registry}/%{crate}-%{version_no_tilde}/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 * Wed Jan 26 2022 Fabio Valentini 0.7.3-1 - Update to version 0.7.3; Fixes RHBZ#2040976 * Fri Jan 21 2022 Fedora Release Engineering 0.7.2-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild * Tue Nov 16 2021 Fabio Valentini 0.7.2-1 - Update to version 0.7.2; Fixes RHBZ#2023497 * Sun Nov 07 2021 Fabio Valentini 0.7.1-1 - Update to version 0.7.1; Fixes RHBZ#2012453 * Tue Jul 27 2021 Fedora Release Engineering - 0.7.0-2 - Second attempt - Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild * Wed Mar 03 2021 Fabio Valentini - 0.7.0-1 - Update to version 0.7.0. * Wed Jan 27 2021 Fedora Release Engineering - 0.6.7-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild * Fri Jan 15 2021 Fabio Valentini - 0.6.7-1 - Update to version 0.6.7. - Fixes RHBZ#1916324 * Mon Dec 07 2020 Fabio Valentini - 0.6.6-1 - Update to version 0.6.6. - Fixes RHBZ#1904113 * Thu Nov 12 2020 Fabio Valentini - 0.6.5-1 - Update to version 0.6.5. - Fixes RHBZ#1891029 * Sun Oct 11 2020 Fabio Valentini - 0.6.4-1 - Update to version 0.6.4. * Wed Aug 26 2020 Josh Stone - 0.6.3-1 - Update to 0.6.3 * Wed Jul 29 2020 Fedora Release Engineering - 0.6.2-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild * Fri May 29 2020 Josh Stone - 0.6.2-1 - Update to 0.6.2 * Thu Jan 30 2020 Fedora Release Engineering - 0.5.2-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild * Fri Jul 26 2019 Fedora Release Engineering - 0.5.2-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild * Sat Jul 13 11:17:13 CEST 2019 Igor Gnatenko - 0.5.2-1 - Update to 0.5.2 * Mon Jun 03 2019 Josh Stone - 0.5.1-1 - Update to 0.5.1 * Sat Feb 02 2019 Fedora Release Engineering - 0.5.0-4 - Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild * Sun Nov 04 2018 Igor Gnatenko - 0.5.0-3 - Adapt to new packaging * Sat Jul 14 2018 Fedora Release Engineering - 0.5.0-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild * Wed Feb 21 2018 Igor Gnatenko - 0.5.0-1 - Update to 0.5.0 * Fri Feb 09 2018 Fedora Release Engineering - 0.4.3-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild * Mon Jan 08 2018 Igor Gnatenko - 0.4.3-2 - Rebuild for rust-packaging v5 * Wed Jan 03 2018 Igor Gnatenko - 0.4.3-1 - Update to 0.4.3 * Mon Dec 04 2017 Igor Gnatenko - 0.4.2-1 - Initial package