From d81a7821de2079ddbc180ba98324c2183fd86beb Mon Sep 17 00:00:00 2001 From: Robert-André Mauchin Date: Aug 22 2020 14:07:33 +0000 Subject: Add windows only files to compile Winio Signed-off-by: Robert-André Mauchin --- diff --git a/golang-x-sys.spec b/golang-x-sys.spec index ac128be..dba6575 100644 --- a/golang-x-sys.spec +++ b/golang-x-sys.spec @@ -14,11 +14,12 @@ Go packages for low-level interactions with the operating system.} %global golicenses LICENSE PATENTS %global godocs AUTHORS CONTRIBUTING.md CONTRIBUTORS README.md -%global gosupfiles glide.lock glide.yaml +# Add Windows file to compile Winio +%global gosupfiles glide.lock glide.yaml ${windows[@]} Name: %{goname} Version: 0 -Release: 0.33%{?dist} +Release: 0.34%{?dist} Summary: Go packages for low-level interaction with the operating system # Upstream license specification: BSD-3-Clause @@ -42,6 +43,8 @@ Patch0: golang-x-sys-Disable-TestOpenByHandleAt.patch cp %{S:1} %{S:2} . %install +# Add Windows file to compile Winio +mapfile -t windows <<< $(find *_windows.go -type f) %gopkginstall %if %{with check} @@ -52,6 +55,9 @@ cp %{S:1} %{S:2} . %gopkgfiles %changelog +* Sat Aug 22 16:06:38 CEST 2020 Robert-André Mauchin - 0-0.34.20200807git5acd03e +- Add windows only files to compile Winio + * Fri Aug 07 20:59:42 CEST 2020 Robert-André Mauchin - 0-0.33.20200807git5acd03e - Bump to commit 5acd03effb828bdfdbad4e129e7daf84af6670b4