## 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: bootmac Version: 0.6.0 Release: %autorelease Summary: Configures the MAC addresses of WLAN and Bluetooth interfaces at boot License: GPL-3.0-or-later URL: https://gitlab.postmarketos.org/postmarketOS/bootmac/ Source: https://gitlab.postmarketos.org/postmarketOS/bootmac/-/archive/v%{version}/bootmac-v%{version}.tar.gz BuildArch: noarch BuildRequires: systemd-rpm-macros # bootmac script uses hciconfig Requires: bluez-deprecated %description %{summary}. %global debug_package %{nil} %prep %autosetup -n bootmac-v%{version} %install install -Dm755 bootmac -t %{buildroot}%{_bindir}/ install -Dm644 bootmac-bluetooth.service -t %{buildroot}%{_unitdir}/ install -Dm644 bootmac-wifi.rules -T %{buildroot}%{_udevrulesdir}/70-bootmac-wifi.rules %post %systemd_post bootmac-bluetooth.service %preun %systemd_preun bootmac-bluetooth.service %postun %systemd_postun_with_restart bootmac-bluetooth.service %files %license LICENSE %{_bindir}/bootmac %{_unitdir}/bootmac-bluetooth.service %{_udevrulesdir}/70-bootmac-wifi.rules %changelog ## START: Generated by rpmautospec * Wed Apr 02 2025 John Doe - 0.6.0-1 - Uncommitted changes ## END: Generated by rpmautospec