40 lines
433 B
RPMSpec
40 lines
433 B
RPMSpec
|
|
||
|
%define _disable_source_fetch 0
|
||
|
|
||
|
Name: hack-rpm
|
||
|
Version: 0.1
|
||
|
Release: 1%{?dist}
|
||
|
Summary: testing
|
||
|
|
||
|
Group: testing
|
||
|
License: MIT
|
||
|
URL: https://git.thisco.de/vbatts/hack-rpm
|
||
|
Source0: https://git.thisco.de/vbatts/gogzip/archive/v0.1.0.tar.gz
|
||
|
|
||
|
BuildRequires: golang
|
||
|
#Requires:
|
||
|
|
||
|
%description
|
||
|
%{summary}.
|
||
|
|
||
|
%prep
|
||
|
%setup -q
|
||
|
|
||
|
|
||
|
%build
|
||
|
%configure
|
||
|
make %{?_smp_mflags}
|
||
|
|
||
|
|
||
|
%install
|
||
|
make install DESTDIR=%{buildroot}
|
||
|
|
||
|
|
||
|
%files
|
||
|
%doc
|
||
|
|
||
|
|
||
|
|
||
|
%changelog
|
||
|
|