Files
demus-packaging/demus-packaging-utils.spec
T
demus 55bdece93f
Build and provide rpm of demus-packaging-utils / Build and deploy an rpm to the demus.dk repo (f44) (release) Successful in 24s
Build and provide rpm of demus-packaging-utils / Build and deploy an rpm to the demus.dk repo (rawhide) (release) Successful in 25s
Switch vendor archive update from alias to command and rename
2026-06-05 16:17:24 +02:00

49 lines
1.2 KiB
RPMSpec

%global major 0
%global minor 1
%global release 2
Name: demus-packaging-utils
Version: %{major}.%{minor}.%{release}
Release: %autorelease
Summary: Aliases and scripts to assist in rpm packaging workflows
License: GPL3
Source: go2rpm-vendor-update.sh
Source: regenerate-from-spec.sh
Source: macros.demus-packaging
Source: LICENSE
Source: README.md
Requires: bash go-vendor-tools
BuildArch: noarch
%description
* Alias to regenerate vendor archive in a go2rpm spec generated with the vendor profile
%prep
%if %{exists:%{S:2}}
%{load:%{S:2}}
%endif
%?verify_source_checksum
%build
%install
%{__install} -m 0755 -d %{buildroot}%{_bindir}
%{__install} -m 0755 -d %{buildroot}%{_rpmmacrodir}
%{__install} -p -m 755 %{S:0} %{buildroot}%{_bindir}/%{binshellname:%{S:0}}
%{__install} -p -m 755 %{S:1} %{buildroot}%{_bindir}/%{binshellname:%{S:1}}
%{__install} -p -m 755 %{S:2} %{buildroot}%{_rpmmacrodir}/
%{__install} -p -m 644 %{S:3} %{S:4} %{_builddir}
%files
%doc README.md
%license LICENSE
%{_bindir}/*
%{_rpmmacrodir}/*
%changelog
%autochangelog