babf31
%global git0 https://github.com/containers/%{name}
babf31
%global commit0 8c59873b00b3e8ee98be998fec8dbce4cfe984cc
babf31
%global shortcommit0 %(c=%{commit0}; echo ${c:0:7})
babf31
babf31
Name: fuse-overlayfs
babf31
Version: 0.7.2
babf31
Release: 5%{?dist}
babf31
Summary: FUSE overlay+shiftfs implementation for rootless containers
babf31
License: GPLv3+
babf31
URL: %{git0}
babf31
ExclusiveArch: aarch64 %{arm} ppc64le s390x x86_64
babf31
Source0: %{git0}/archive/%{commit0}/%{name}-%{shortcommit0}.tar.gz
babf31
# related bug: https://bugzilla.redhat.com/show_bug.cgi?id=1802907
babf31
# backported:  https://patch-diff.githubusercontent.com/raw/containers/fuse-overlayfs/pull/184.patch
babf31
Patch0: fuse-overlayfs-1803494.patch
babf31
# related bug: https://bugzilla.redhat.com/show_bug.cgi?id=1804849
babf31
# patch:  https://bugzilla.redhat.com/attachment.cgi?id=1666385
babf31
Patch1: fuse-overlayfs-1804849.patch
babf31
BuildRequires: autoconf
babf31
BuildRequires: automake
babf31
BuildRequires: fuse3-devel
babf31
BuildRequires: gcc
babf31
BuildRequires: git
babf31
BuildRequires: go-md2man
babf31
BuildRequires: make
babf31
Provides: bundled(gnulib) = cb634d40c7b9bbf33fa5198d2e27fdab4c0bf143
babf31
babf31
%description
babf31
%{summary}.
babf31
babf31
%package devel
babf31
Summary: %{summary}
babf31
BuildArch: noarch
babf31
babf31
%description devel
babf31
%{summary}
babf31
babf31
This package contains library source intended for
babf31
building other packages which use import path with
babf31
%{import_path} prefix.
babf31
babf31
%prep
babf31
%autosetup -Sgit -n %{name}-%{commit0}
babf31
babf31
%build
babf31
./autogen.sh
babf31
./configure --prefix=%{_usr} --libdir=%{_libdir}
babf31
%{__make} generate-man
babf31
babf31
%install
babf31
make DESTDIR=%{buildroot} install install-man
babf31
babf31
%check
babf31
babf31
#define license tag if not already defined
babf31
%{!?_licensedir:%global license %doc}
babf31
babf31
%files
babf31
%license COPYING
babf31
%doc README.md
babf31
%{_bindir}/%{name}
babf31
%{_mandir}/man1/%{name}.1.gz
babf31
babf31
%changelog
babf31
* Wed Mar 18 2020 Jindrich Novy <jnovy@redhat.com> - 0.7.2-5
babf31
- latest iteration of segfault fix patch, thanks to Giuseppe Scrivano
babf31
- Resolves: #1805015
babf31
babf31
* Fri Mar 06 2020 Jindrich Novy <jnovy@redhat.com> - 0.7.2-4
babf31
- replace "fuse-overlayfs segfault" patch with improved one
babf31
  due to application to a different context
babf31
- Resolves: #1805015
babf31
babf31
* Thu Feb 20 2020 Jindrich Novy <jnovy@redhat.com> - 0.7.2-3
babf31
- fix "fuse-overlayfs segfault"
babf31
- Resolves: #1805015
babf31
babf31
* Mon Feb 17 2020 Jindrich Novy <jnovy@redhat.com> - 0.7.2-2
babf31
- fix "useradd and groupadd fail under rootless Buildah and podman"
babf31
- Resolves: #1803494
babf31
babf31
* Wed Dec 04 2019 Jindrich Novy <jnovy@redhat.com> - 0.7.2-1
babf31
- update to 0.7.2
babf31
- Related: RHELPLAN-25139
babf31
babf31
* Mon Nov 18 2019 Jindrich Novy <jnovy@redhat.com> - 0.7-1
babf31
- update to 0.7
babf31
- apply patch to fix build on RHEL-8
babf31
- Related: RHELPLAN-25139
babf31
babf31
* Sat Jun 15 2019 Lokesh Mandvekar <lsm5@redhat.com> - 0.4.1-1
babf31
- Resolves: #1720654 - rebase to v0.4.1
babf31
babf31
* Wed Jan 16 2019 Frantisek Kluknavsky <fkluknav@redhat.com> - 0.3-2
babf31
- rebase
babf31
- Resolves:#1666510
babf31
babf31
* Wed Oct 17 2018 Lokesh Mandvekar <lsm5@fedoraproject.org> - 0.1-7.dev.git50c7a50
babf31
- Resolves: #1640232
babf31
- built commit 50c7a50
babf31
babf31
* Fri Aug 10 2018 Lokesh Mandvekar <lsm5@fedoraproject.org> - 0.1-6.dev.git1c72a1a
babf31
- Resolves: #1614856 - add manpage
babf31
- built commit 1c72a1a
babf31
- add BR: go-md2man
babf31
babf31
* Fri Aug 10 2018 Lokesh Mandvekar <lsm5@fedoraproject.org> - 0.1-5.dev.gitd40ac75
babf31
- built commit d40ac75
babf31
- remove fedora bz ids
babf31
- Exclude ix86 and ppc64
babf31
babf31
* Mon Jul 30 2018 Lokesh Mandvekar <lsm5@fedoraproject.org> - 0.1-4.dev.git79c70fd
babf31
- Resolves: #1609598 - initial upload to Fedora
babf31
- bundled gnulib
babf31
babf31
* Mon Jul 30 2018 Lokesh Mandvekar <lsm5@fedoraproject.org> - 0.1-3.dev.git79c70fd
babf31
- correct license field
babf31
babf31
* Mon Jul 30 2018 Lokesh Mandvekar <lsm5@fedoraproject.org> - 0.1-2.dev.git79c70fd
babf31
- fix license
babf31
babf31
* Sun Jul 29 2018 Lokesh Mandvekar <lsm5@fedoraproject.org> - 0.1-1.dev.git13575b6
babf31
- First package for Fedora