## START: Set by rpmautospec ## (rpmautospec version 0.7.3) ## 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 Name: selenium-manager Version: 4.27.0 Release: %autorelease Summary: Selenium Manager provides automated driver and browser management for Selenium License: Apache-2.0 URL: https://github.com/SeleniumHQ/selenium Source0: https://github.com/SeleniumHQ/selenium/archive/refs/tags/selenium-%{version}.tar.gz #Both patches are trying to circumvent generic build requirements which are currently not usable in fedora #Selenium issue: https://github.com/SeleniumHQ/selenium/issues/15009 Patch0: selenium-manager-cargo.patch Patch1: selenium-manager-files.patch BuildRequires: rust BuildRequires: cargo BuildRequires: rust-packaging BuildRequires: cargo-rpm-macros >= 24 %description Selenium is an umbrella project encapsulating a variety of tools and libraries enabling web browser automation %define cargo_install_lib 0 %prep %autosetup -n selenium-selenium-%{version}/rust/ -N %patch -P 0 cd src %patch -P 1 cd .. %cargo_prep %generate_buildrequires %cargo_generate_buildrequires %build %cargo_build %install %cargo_install #Project doesn't support offline tests #%%check #%%cargo_test %files %license ../LICENSE %doc README.md %{_bindir}/selenium-manager %changelog ## START: Generated by rpmautospec * Thu Jan 02 2025 John Doe - 4.27.0-1 - Uncommitted changes ## END: Generated by rpmautospec