| |
@@ -15,6 +15,7 @@
|
| |
|
| |
%global golicenses LICENSE
|
| |
%global godocs README.md
|
| |
+
|
| |
Name: %{goname}
|
| |
Release: 1%{?dist}
|
| |
Summary: Encrypted overlay filesystem written in Go
|
| |
@@ -22,6 +23,8 @@
|
| |
License: MIT
|
| |
URL: %{gourl}
|
| |
Source0: https://%{goipath}/releases/download/v%{version}/gocryptfs_v%{version}_src.tar.gz
|
| |
+ # Patch tests to not rebuild - useful for CI
|
| |
+ Patch0: fix_test.patch
|
| |
|
| |
BuildRequires: golang(github.com/hanwen/go-fuse/fuse)
|
| |
BuildRequires: golang(github.com/hanwen/go-fuse/fuse/nodefs)
|
| |
@@ -34,7 +37,6 @@
|
| |
BuildRequires: golang(golang.org/x/sync/syncmap)
|
| |
BuildRequires: golang(golang.org/x/sys/unix)
|
| |
BuildRequires: openssl-devel
|
| |
- Requires: fuse
|
| |
|
| |
%description
|
| |
%{common_description}
|
| |
@@ -43,6 +45,7 @@
|
| |
|
| |
%package -n gocryptfs
|
| |
Summary: %{summary}
|
| |
+ Requires: fuse
|
| |
|
| |
%description -n gocryptfs
|
| |
%{common_description}
|
| |
@@ -57,6 +60,7 @@
|
| |
|
| |
%prep
|
| |
%goprep
|
| |
+ %patch0 -p0
|
| |
|
| |
%build
|
| |
USVERSION=$(cat VERSION)
|
| |