|
|
834755 |
%global git0 https://github.com/projectatomic/%{name}
|
|
|
2878ca |
%global commit0 bf161637aa6de4488b9d8db0211faf3c8097a41e
|
|
|
834755 |
%global shortcommit0 %(c=%{commit0}; echo ${c:0:7})
|
|
|
834755 |
|
|
|
834755 |
Name: oci-umount
|
|
|
834755 |
Epoch: 2
|
|
|
2878ca |
Version: 2.3.1
|
|
|
2878ca |
Release: 2.git%{shortcommit0}%{?dist}
|
|
|
834755 |
# no go-md2man for ppc64
|
|
|
834755 |
ExcludeArch: ppc64
|
|
|
834755 |
URL: %{git0}
|
|
|
834755 |
Source0: %{git0}/archive/%{commit0}/%{name}-%{shortcommit0}.tar.gz
|
|
|
834755 |
License: GPLv3+
|
|
|
834755 |
Summary: OCI umount hook for container runtimes
|
|
|
834755 |
BuildRequires: autoconf
|
|
|
834755 |
BuildRequires: automake
|
|
|
834755 |
BuildRequires: git
|
|
|
834755 |
BuildRequires: go-md2man
|
|
|
834755 |
BuildRequires: pkgconfig(yajl)
|
|
|
834755 |
BuildRequires: pkgconfig(libselinux)
|
|
|
834755 |
BuildRequires: pkgconfig(mount)
|
|
|
834755 |
BuildRequires: pcre-devel
|
|
|
834755 |
Obsoletes: docker-%{name} <= 2:1.13.1-22
|
|
|
834755 |
Provides: docker-%{name} = %{epoch}:%{version}-%{release}
|
|
|
834755 |
|
|
|
834755 |
%description
|
|
|
834755 |
OCI umount hooks unmount potential leaked mount points in a containers
|
|
|
834755 |
mount namespaces.
|
|
|
834755 |
|
|
|
834755 |
%prep
|
|
|
834755 |
%autosetup -Sgit -n %{name}-%{commit0}
|
|
|
834755 |
|
|
|
834755 |
%build
|
|
|
834755 |
autoreconf -i
|
|
|
834755 |
%configure --libexecdir=%{_libexecdir}/oci/hooks.d/
|
|
|
834755 |
make %{?_smp_mflags}
|
|
|
834755 |
|
|
|
834755 |
%install
|
|
|
834755 |
%make_install
|
|
|
834755 |
|
|
|
834755 |
%check
|
|
|
834755 |
|
|
|
834755 |
#define license tag if not already defined
|
|
|
834755 |
%{!?_licensedir:%global license %doc}
|
|
|
834755 |
|
|
|
834755 |
%files
|
|
|
834755 |
%license LICENSE
|
|
|
834755 |
%doc README.md
|
|
|
834755 |
%config(noreplace) %{_sysconfdir}/%{name}.conf
|
|
|
834755 |
%dir %{_libexecdir}/oci
|
|
|
834755 |
%dir %{_libexecdir}/oci/hooks.d
|
|
|
834755 |
%{_libexecdir}/oci/hooks.d/%{name}
|
|
|
834755 |
%{_mandir}/man1/%{name}.1*
|
|
|
834755 |
#% config(noreplace)? probably not in /usr/share
|
|
|
834755 |
%{_datadir}/containers/oci/hooks.d/%{name}.json
|
|
|
834755 |
%{_datadir}/%{name}/%{name}-options.conf
|
|
|
834755 |
|
|
|
834755 |
%changelog
|
|
|
2878ca |
* Mon Dec 11 2017 Frantisek Kluknavsky <fkluknav@redhat.com> - 2:2.3.1-2.gitbf16163
|
|
|
2878ca |
- rebased to 2.3.1
|
|
|
2878ca |
|
|
|
834755 |
* Tue Nov 07 2017 Lokesh Mandvekar <lsm5@redhat.com> - 2:2.3.0-1.git51e7c50
|
|
|
834755 |
- rebase to v2.3.0
|
|
|
834755 |
|
|
|
834755 |
* Thu Oct 19 2017 Frantisek Kluknavsky <fkluknav@redhat.com> - 2:2.2.0-1.gite3fbbfb
|
|
|
834755 |
- rebased to e3fbbfb7e4ce04a256ea8f11858a84faa307b7bd
|
|
|
834755 |
|
|
|
834755 |
* Mon Aug 14 2017 Lokesh Mandvekar <lsm5@fedoraproject.org> - 2:2.0.0-1.git299e781
|
|
|
834755 |
- initial build as independent package
|
|
|
834755 |
- obsoletes docker-oci-umount
|