## START: Set by rpmautospec ## (rpmautospec version 0.7.2) ## 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: azure-vm-utils Version: 0.3.0 Release: %autorelease Summary: Core utilities and configuration for Linux VMs on Azure License: MIT URL: https://github.com/Azure/%{name} Source: %{url}/archive/v%{version}/%{name}-v%{version}.tar.gz BuildRequires: cmake BuildRequires: gcc BuildRequires: pandoc BuildRequires: pkgconfig(libudev) Obsoletes: azure-nvme-utils < 0.1.3-3 Provides: azure-nvme-utils %description This package provides a home for core utilities, udev rules and other configuration to support Linux VMs on Azure. %prep %autosetup -n %{name}-%{version} %build %cmake -DVERSION="%{version}-%{release}" %cmake_build %install %cmake_install %check %ctest %files %{_mandir}/man8/azure-nvme-id.8.gz %{_sbindir}/azure-nvme-id %{_udevrulesdir}/80-azure-disk.rules %changelog ## START: Generated by rpmautospec * Wed Sep 11 2024 Chris Patterson - 0.3.0-1 - fedora packaging ## END: Generated by rpmautospec