Compare commits
No commits in common. '1dfa53c0afdcb86f91cd2204720e6840ecf99f5f' and '42170a1aee25483f1d7e0af359b42b402d92a4d7' have entirely different histories.
1dfa53c0af
...
42170a1aee
@ -1,63 +0,0 @@ |
|||||||
# Generated by go2rpm 1.11.1 |
|
||||||
%bcond_without check |
|
||||||
|
|
||||||
%global goipath code.tokarch.uk/mainnika/acpi-wakeup-fixxer |
|
||||||
%global common_description %{expand: |
|
||||||
This package provides a fix for ACPI wakeup issues on MacBookPro12,x.} |
|
||||||
|
|
||||||
%global golicenses LICENSE |
|
||||||
%global godocs README.md |
|
||||||
|
|
||||||
%global archivename main |
|
||||||
%global archiveext tar.gz |
|
||||||
%global topdir acpi-wakeup-fixxer-%{archivename} |
|
||||||
|
|
||||||
Name: golang-code-tokarch-mainnika-acpi-wakeup-fixxer |
|
||||||
Version: 0 |
|
||||||
Release: 0.1%{?dist} |
|
||||||
Summary: None |
|
||||||
|
|
||||||
License: MIT |
|
||||||
URL: https://code.tokarch.uk/mainnika/acpi-wakeup-fixxer |
|
||||||
Source: https://github.com/mainnika/acpi-wakeup-fixxer/archive/refs/heads/%{archivename}.%{archiveext} |
|
||||||
|
|
||||||
BuildRequires: systemd |
|
||||||
|
|
||||||
%description %{common_description} |
|
||||||
|
|
||||||
%gometa |
|
||||||
%gopkg |
|
||||||
|
|
||||||
%prep |
|
||||||
%goprep -A |
|
||||||
%autopatch -p1 |
|
||||||
|
|
||||||
%generate_buildrequires |
|
||||||
%go_generate_buildrequires |
|
||||||
|
|
||||||
%build |
|
||||||
%gobuild -o %{gobuilddir}/bin/acpi-wakeup-fixxer %{goipath}/cmd/acpi-wakeup-fixxer |
|
||||||
|
|
||||||
%install |
|
||||||
%gopkginstall |
|
||||||
install -m 0755 -vd %{buildroot}%{_bindir} |
|
||||||
install -m 0755 -vp %{gobuilddir}/bin/* %{buildroot}%{_bindir}/ |
|
||||||
|
|
||||||
install -m 0755 -vd %{buildroot}%{_unitdir} |
|
||||||
install -m 0644 -vp systemd/acpi-wakeup-fixxer.service %{buildroot}%{_unitdir}/ |
|
||||||
|
|
||||||
%if %{with check} |
|
||||||
%check |
|
||||||
%gocheck |
|
||||||
%endif |
|
||||||
|
|
||||||
%files |
|
||||||
%license LICENSE |
|
||||||
%doc README.md |
|
||||||
%{_bindir}/* |
|
||||||
%{_unitdir}/acpi-wakeup-fixxer.service |
|
||||||
|
|
||||||
%gopkgfiles |
|
||||||
|
|
||||||
%changelog |
|
||||||
%autochangelog |
|
Loading…
Reference in new issue