## START: Set by rpmautospec ## (rpmautospec version 0.6.0) ## 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 graphene-sys Name: rust-graphene-sys Version: 0.18.1 Release: %autorelease Summary: FFI bindings to libgraphene-1.0 License: MIT URL: https://crates.io/crates/graphene-sys Source: %{crates_source} BuildRequires: rust-packaging >= 21 %global _description %{expand: FFI bindings to libgraphene-1.0.} %description %{_description} %package devel Summary: %{summary} BuildArch: noarch Requires: pkgconfig(graphene-gobject-1.0) >= 1.10 %description devel %{_description} This package contains library source intended for building other packages which use the "%{crate}" crate. %files devel %license %{crate_instdir}/LICENSE %{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 echo 'pkgconfig(graphene-gobject-1.0) >= 1.10' %build %cargo_build %install %cargo_install %if %{with check} %check %ifarch x86_64 aarch64 %cargo_test %else # https://github.com/gtk-rs/gtk-rs-core/issues/1107 %cargo_test -- -- --skip cross_validate_layout_with_c %endif %endif %changelog ## START: Generated by rpmautospec * Fri Jan 26 2024 Fedora Release Engineering - 0.18.1-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild * Tue Aug 08 2023 Kalev Lember - 0.18.1-2 - Disable a failing test on secondary arches * Mon Aug 07 2023 Kalev Lember - 0.18.1-1 - Update to version 0.18.1; Fixes RHBZ#2224889 - Re-enable self tests as they are fixed in latest upstream release * Fri Jul 21 2023 Fedora Release Engineering - 0.17.10-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_39_Mass_Rebuild * Mon Jun 12 2023 Fabio Valentini - 0.17.10-1 - Update to version 0.17.10; Fixes RHBZ#2212806 * Sun Mar 19 2023 Fabio Valentini - 0.17.0-1 - Update to version 0.17.0; Fixes RHBZ#2168313 * Fri Jan 20 2023 Fedora Release Engineering - 0.16.3-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild * Tue Nov 29 2022 Fabio Valentini - 0.16.3-1 - Update to version 0.16.3; Fixes RHBZ#2136067 * Sat Jul 23 2022 Fedora Release Engineering - 0.15.10-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild * Sat Mar 19 2022 Rémi Lauzier - 0.15.10-1 - Update to version 0.15.10; Fixes RHBZ#2065930 * Sat Feb 12 2022 Fabio Valentini - 0.15.1-1 - Update to version 0.15.1; Fixes RHBZ#2040918 * Fri Jan 21 2022 Fedora Release Engineering - 0.14.8-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild * Sat Nov 06 2021 Fabio Valentini - 0.14.8-1 - Update to version 0.14.8; Fixes RHBZ#2012431 * Mon Aug 09 2021 Rémi Lauzier - 0.14.0-1 - Initial import; Fixes RHBZ#1977061 ## END: Generated by rpmautospec