## START: Set by rpmautospec ## (rpmautospec version 0.8.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 26 %bcond_without check # prevent library files from being installed %global cargo_install_lib 0 %global crate rublk Name: rust-rublk Version: 0.2.10 Release: %autorelease Summary: Rust ublk generic targets License: GPL-2.0-or-later URL: https://crates.io/crates/rublk Source: %{crates_source} Source: rublk-0.2.10-vendor.tar.xz %global build_rustflags %{build_rustflags} --cfg=io_uring_skip_arch_check BuildRequires: cargo-rpm-macros >= 26 # dependency for vendored bindgen crate BuildRequires: clang-libs BuildRequires: clang BuildRequires: libstdc++-devel BuildRequires: rust-libudev-devel %global _description %{expand: Rust ublk generic targets.} %description %{_description} %package -n %{crate} Summary: %{summary} # rublk and crate dependencies: # ============================= # 0BSD OR MIT OR Apache-2.0 # Apache-2.0 OR BSL-1.0 # Apache-2.0 OR MIT # Apache-2.0 WITH LLVM-exception OR Apache-2.0 OR MIT # BSD-3-Clause # GPL-2.0-or-later # MIT # MIT OR Zlib OR Apache-2.0 # MPL-2.0+ # Unlicense OR MIT # code derived from Unicode data: # Unicode-DFS-2016 (in regex-syntax) License: (0BSD OR MIT OR Apache-2.0) AND (Apache-2.0 OR BSL-1.0) AND (Apache-2.0 OR MIT) AND (Apache-2.0 WITH LLVM-exception OR Apache-2.0 OR MIT) AND BSD-3-Clause AND GPL-2.0-or-later AND MIT AND (MIT OR Zlib OR Apache-2.0) AND MPL-2.0+ AND (Unlicense OR MIT) AND Unicode-DFS-2016 # LICENSE.dependencies contains a full license breakdown %description -n %{crate} %{_description} %files -n %{crate} %license COPYING %license LICENSE.dependencies %license cargo-vendor.txt %doc README.md %{_bindir}/rublk %prep %autosetup -n %{crate}-%{version} -p1 -a1 %cargo_prep -v vendor %build %cargo_build %{cargo_license_summary} %{cargo_license} > LICENSE.dependencies %{cargo_vendor_manifest} %install %cargo_install %if %{with check} %check %cargo_test %endif %changelog ## START: Generated by rpmautospec * Tue Aug 19 2025 Ming Lei - 0.2.10-1 - rublk v0.2.10 * Fri Jul 25 2025 Fedora Release Engineering - 0.2.5-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_43_Mass_Rebuild * Sun Jan 19 2025 Fedora Release Engineering - 0.2.5-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_42_Mass_Rebuild * Wed Dec 25 2024 Ming Lei - 0.2.5-1 - rublk v0.2.5: switch to bindgen v0.69 and fix building failure * Mon Sep 23 2024 Richard W.M. Jones - 0.2.3-2 - Remove source files from git * Mon Sep 23 2024 Ming Lei - 0.2.3-1 - Fix i386 build (fedora#2308448). * Sun Sep 22 2024 Ming Lei - 0.2.1-1 - Initial import (fedora#2308448). ## END: Generated by rpmautospec