101945
%global git0 https://github.com/containers/%{name}
101945
101945
%{!?_modulesloaddir:%global _modulesloaddir %{_usr}/lib/modules-load.d}
101945
101945
Name: fuse-overlayfs
101945
Version: 1.7.1
101945
Release: 1%{?dist}
101945
Summary: FUSE overlay+shiftfs implementation for rootless containers
101945
License: GPLv3+
101945
URL: %{git0}
101945
ExclusiveArch: aarch64 %{arm} ppc64le s390x x86_64
101945
Source0: %{git0}/archive/v%{version}.tar.gz
101945
BuildRequires: autoconf
101945
BuildRequires: automake
101945
BuildRequires: fuse3-devel
101945
BuildRequires: gcc
101945
BuildRequires: git
101945
BuildRequires: go-md2man
101945
BuildRequires: make
101945
Requires: kmod
101945
Requires: fuse3
101945
101945
%description
101945
%{summary}.
101945
101945
%package devel
101945
Summary: %{summary}
101945
BuildArch: noarch
101945
101945
%description devel
101945
%{summary}
101945
101945
This package contains library source intended for
101945
building other packages which use import path with
101945
%{import_path} prefix.
101945
101945
%prep
101945
%autosetup -Sgit
101945
101945
%build
101945
export CFLAGS="%{optflags} -D_GNU_SOURCE -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64"
101945
export LDFLAGS="-pie -Wl,-z,relro -Wl,-z,now"
101945
./autogen.sh
101945
./configure --prefix=%{_usr} --libdir=%{_libdir}
101945
%{__make} generate-man
101945
101945
%install
101945
make DESTDIR=%{buildroot} install install-man
101945
install -d %{buildroot}%{_modulesloaddir}
101945
echo fuse > %{buildroot}%{_modulesloaddir}/fuse-overlayfs.conf
101945
101945
%post
101945
modprobe fuse > /dev/null 2>&1 || :
101945
101945
%check
101945
101945
#define license tag if not already defined
101945
%{!?_licensedir:%global license %doc}
101945
101945
%files
101945
%license COPYING
101945
%doc README.md
101945
%{_bindir}/%{name}
101945
%{_mandir}/man1/*
101945
%{_modulesloaddir}/fuse-overlayfs.conf
101945
101945
%changelog
101945
* Wed Aug 11 2021 Jindrich Novy <jnovy@redhat.com> - 1.7.1-1
101945
- update to https://github.com/containers/fuse-overlayfs/releases/tag/v1.7.1
101945
- Related: #1970747
101945
101945
* Fri Jul 30 2021 Jindrich Novy <jnovy@redhat.com> - 1.7-1
101945
- update to https://github.com/containers/fuse-overlayfs/releases/tag/v1.7
101945
- Related: #1970747
101945
101945
* Wed Jun 23 2021 Jindrich Novy <jnovy@redhat.com> - 1.6-1
101945
- update to https://github.com/containers/fuse-overlayfs/releases/tag/v1.6
101945
- Related: #1970747
101945
101945
* Thu Mar 25 2021 Jindrich Novy <jnovy@redhat.com> - 1.5.0-1
101945
- update to https://github.com/containers/fuse-overlayfs/releases/tag/v1.5.0
101945
101945
* Tue Jan 26 2021 Jindrich Novy <jnovy@redhat.com> - 1.4.0-1
101945
- update to https://github.com/containers/fuse-overlayfs/releases/tag/v1.4.0
101945
101945
* Thu Nov 26 2020 Jindrich Novy <jnovy@redhat.com> - 1.3.0-1
101945
- update to https://github.com/containers/fuse-overlayfs/releases/tag/v1.3.0
101945
101945
* Mon Nov 09 2020 Jindrich Novy <jnovy@redhat.com> - 1.2.0-4
101945
- be sure to harden the linked binary
101945
101945
* Thu Oct 29 2020 Jindrich Novy <jnovy@redhat.com> - 1.2.0-3
101945
- ensure fuse module is loaded
101945
101945
* Fri Oct 09 2020 Jindrich Novy <jnovy@redhat.com> - 1.2.0-2
101945
- use 1.2.0 tarball from the release, not tag
101945
101945
* Fri Oct 09 2020 Jindrich Novy <jnovy@redhat.com> - 1.2.0-1
101945
- update to https://github.com/containers/fuse-overlayfs/releases/tag/v1.2.0
101945
101945
* Thu Sep 17 2020 Jindrich Novy <jnovy@redhat.com> - 1.1.2-2
101945
- sync with rhel8-8.3.0
101945
101945
* Thu Sep 17 2020 Jindrich Novy <jnovy@redhat.com> - 1.1.2-1
101945
- use proper CFLAGS
101945
- Related: #1821193
101945
101945
* Sat Jun 15 2019 Lokesh Mandvekar <lsm5@redhat.com> - 0.4.1-1
101945
- Resolves: #1720654 - rebase to v0.4.1
101945
101945
* Wed Feb 20 2019 Frantisek Kluknavsky <fkluknav@redhat.com> - 0.3-4.dev.gitd760789
101945
- rebase
101945
101945
* Wed Jan 16 2019 Frantisek Kluknavsky <fkluknav@redhat.com> - 0.3-2
101945
- rebase
101945
- Resolves:#1666510
101945
101945
* Wed Oct 17 2018 Lokesh Mandvekar <lsm5@fedoraproject.org> - 0.1-7.dev.git50c7a50
101945
- Resolves: #1640232
101945
- built commit 50c7a50
101945
101945
* Fri Aug 10 2018 Lokesh Mandvekar <lsm5@fedoraproject.org> - 0.1-6.dev.git1c72a1a
101945
- Resolves: #1614856 - add manpage
101945
- built commit 1c72a1a
101945
- add BR: go-md2man
101945
101945
* Fri Aug 10 2018 Lokesh Mandvekar <lsm5@fedoraproject.org> - 0.1-5.dev.gitd40ac75
101945
- built commit d40ac75
101945
- remove fedora bz ids
101945
- Exclude ix86 and ppc64
101945
101945
* Mon Jul 30 2018 Lokesh Mandvekar <lsm5@fedoraproject.org> - 0.1-4.dev.git79c70fd
101945
- Resolves: #1609598 - initial upload to Fedora
101945
- bundled gnulib
101945
101945
* Mon Jul 30 2018 Lokesh Mandvekar <lsm5@fedoraproject.org> - 0.1-3.dev.git79c70fd
101945
- correct license field
101945
101945
* Mon Jul 30 2018 Lokesh Mandvekar <lsm5@fedoraproject.org> - 0.1-2.dev.git79c70fd
101945
- fix license
101945
101945
* Sun Jul 29 2018 Lokesh Mandvekar <lsm5@fedoraproject.org> - 0.1-1.dev.git13575b6
101945
- First package for Fedora