## START: Set by rpmautospec ## (rpmautospec version 0.6.5) ## RPMAUTOSPEC: autorelease, autochangelog %define autorelease(e:s:pb:n) %{?-p:0.}%{lua: release_number = 3; 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 servo_arc Name: rust-servo_arc Version: 0.3.0 Release: %autorelease Summary: Fork of std::sync::Arc with some extra functionality and without weak references # Upstream license specification: MIT/Apache-2.0 License: MIT OR Apache-2.0 URL: https://crates.io/crates/servo_arc Source: %{crates_source} # Add license files from upstream git repo as they seem to have gone missing in the 0.3.0 crate # https://github.com/servo/servo/issues/30455 Source1: https://raw.githubusercontent.com/servo/servo/master/components/servo_arc/LICENSE-APACHE Source2: https://raw.githubusercontent.com/servo/servo/master/components/servo_arc/LICENSE-MIT BuildRequires: rust-packaging >= 21 %global _description %{expand: A fork of std::sync::Arc with some extra functionality and without weak references.} %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 %{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}+gecko_refcount_logging-devel Summary: %{summary} BuildArch: noarch %description -n %{name}+gecko_refcount_logging-devel %{_description} This package contains library source intended for building other packages which use the "gecko_refcount_logging" feature of the "%{crate}" crate. %files -n %{name}+gecko_refcount_logging-devel %ghost %{crate_instdir}/Cargo.toml %package -n %{name}+serde-devel Summary: %{summary} BuildArch: noarch %description -n %{name}+serde-devel %{_description} This package contains library source intended for building other packages which use the "serde" feature of the "%{crate}" crate. %files -n %{name}+serde-devel %ghost %{crate_instdir}/Cargo.toml %package -n %{name}+servo-devel Summary: %{summary} BuildArch: noarch %description -n %{name}+servo-devel %{_description} This package contains library source intended for building other packages which use the "servo" feature of the "%{crate}" crate. %files -n %{name}+servo-devel %ghost %{crate_instdir}/Cargo.toml %prep %autosetup -n %{crate}-%{version_no_tilde} -p1 cp %{SOURCE1} . cp %{SOURCE2} . %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 * Sat Jul 20 2024 Fedora Release Engineering - 0.3.0-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_41_Mass_Rebuild * Sat Jan 27 2024 Fedora Release Engineering - 0.3.0-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild * Sun Oct 01 2023 Kalev Lember - 0.3.0-1 - Update to 0.3.0 - Add license files from upstream * Fri Jul 21 2023 Fedora Release Engineering - 0.2.0-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_39_Mass_Rebuild * Wed Mar 29 2023 Kalev Lember - 0.2.0-1 - Update to version 0.2.0; Fixes RHBZ#2171842 * Wed Mar 29 2023 Kalev Lember - 0.1.1-4 - Regenerate packaging with rust2rpm 24 * Sat Jan 21 2023 Fedora Release Engineering - 0.1.1-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild * Thu Oct 13 2022 Kalev Lember - 0.1.1-2 - Backport upstream patch to add license files (rhbz#2124361) * Thu Oct 13 2022 Kalev Lember - 0.1.1-1 - Initial Fedora packaging ## END: Generated by rpmautospec