## START: Set by rpmautospec ## (rpmautospec version 0.6.5) ## 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: zdub-dub-settings-hack Version: 0.1.0 Release: %autorelease Summary: A shitty hack to make dub packages ... packageable License: MIT URL: https://github.com/grillo-delmal/zdub-dub-settings-hack Source0: https://github.com/grillo-delmal/zdub-dub-settings-hack/archive/%{version}/%{name}-%{version}.tar.gz Requires: dub BuildArch: noarch %description Adds a configuration file to trick dub into search for installed libraries on the /usr/include/zdub path, at least until there is an actual way to do it. %prep %setup -q %build %install mkdir -p %{buildroot}/%{_var}/lib/dub install -m 0644 settings.json %{buildroot}/%{_var}/lib/dub/settings.json %files %license LICENSE %{_var}/lib/dub/settings.json %changelog ## START: Generated by rpmautospec * Mon Oct 10 2022 Grillo del Mal - 0.1.0-1 - Initial commit ## END: Generated by rpmautospec