## START: Set by rpmautospec ## (rpmautospec version 0.5.1) ## 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 25 %bcond_without check %global debug_package %{nil} %global crate iana-time-zone Name: rust-iana-time-zone Version: 0.1.60 Release: %autorelease Summary: Get the IANA time zone for the current system License: MIT OR Apache-2.0 URL: https://crates.io/crates/iana-time-zone Source: %{crates_source} # Automatically generated patch to strip dependencies and normalize metadata Patch: iana-time-zone-fix-metadata-auto.diff BuildRequires: cargo-rpm-macros >= 24 %global _description %{expand: Get the IANA time zone for the current system.} %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}/CHANGELOG.md %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}+fallback-devel Summary: %{summary} BuildArch: noarch %description -n %{name}+fallback-devel %{_description} This package contains library source intended for building other packages which use the "fallback" feature of the "%{crate}" crate. %files -n %{name}+fallback-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 ## START: Generated by rpmautospec * Sun Feb 04 2024 Fabio Valentini - 0.1.60-1 - Update to version 0.1.60; Fixes RHBZ#2262515 * Fri Jan 26 2024 Fedora Release Engineering - 0.1.59-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild * Sun Dec 31 2023 Fabio Valentini - 0.1.59-1 - Update to version 0.1.59; Fixes RHBZ#2256263 * Tue Oct 17 2023 Fabio Valentini - 0.1.58-1 - Update to version 0.1.58; Fixes RHBZ#2244647 * Fri Jul 21 2023 Fedora Release Engineering - 0.1.57-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_39_Mass_Rebuild * Wed Jun 07 2023 Fabio Valentini - 0.1.57-1 - Update to version 0.1.57; Fixes RHBZ#2213192 * Mon Apr 17 2023 Fabio Valentini - 0.1.56-1 - Update to version 0.1.56; Fixes RHBZ#2184105 * Thu Mar 30 2023 Fabio Valentini - 0.1.55-1 - Update to version 0.1.55; Fixes RHBZ#2183072 * Tue Mar 21 2023 Fabio Valentini - 0.1.54-1 - Update to version 0.1.54; Fixes RHBZ#2180443 * Fri Jan 20 2023 Fedora Release Engineering - 0.1.53-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild * Sat Dec 10 2022 Fabio Valentini - 0.1.53-1 - Update to version 0.1.53; Fixes RHBZ#2133201 * Wed Oct 05 2022 Fabio Valentini - 0.1.50-1 - Update to version 0.1.50; Fixes RHBZ#2126229 * Fri Sep 02 2022 Fabio Valentini - 0.1.47-1 - Update to version 0.1.47; Fixes RHBZ#2122672 * Fri Aug 19 2022 Fabio Valentini - 0.1.46-1 - Initial import (#2119604) ## END: Generated by rpmautospec