| |
@@ -40,7 +40,7 @@
|
| |
|
| |
Name: %{newname}-engine
|
| |
Version: 18.06.0
|
| |
- Release: 1.ce.git%{shortcommit_moby}%{?dist}
|
| |
+ Release: 2.ce.git%{shortcommit_moby}%{?dist}
|
| |
Summary: The open-source application container engine
|
| |
License: ASL 2.0
|
| |
# no golang / go-md2man for ppc64
|
| |
@@ -50,6 +50,8 @@
|
| |
Source2: %{git_containerd}/archive/%{commit_containerd}.tar.gz
|
| |
Source3: %{git_libnetwork}/archive/%{commit_libnetwork}.tar.gz
|
| |
Source4: %{git_tini}/archive/%{commit_tini}.tar.gz
|
| |
+ Source5: %{service_name}.service
|
| |
+ Source6: %{service_name}.sysconfig
|
| |
URL: https://www.%{origname}.com
|
| |
|
| |
BuildRequires: btrfs-progs-devel
|
| |
@@ -240,8 +242,12 @@
|
| |
install -p -m 644 components/engine/contrib/udev/80-%{service_name}.rules %{buildroot}%{_usr}/lib/udev/rules.d/80-%{service_name}.rules
|
| |
|
| |
# add init scripts
|
| |
- install -dp %{buildroot}/%{_unitdir}
|
| |
- install -p -m 644 components/packaging/rpm/systemd/%{service_name}.service %{buildroot}%{_unitdir}
|
| |
+ install -dp %{buildroot}%{_unitdir}
|
| |
+ install -p -m 644 %{SOURCE5} %{buildroot}%{_unitdir}
|
| |
+
|
| |
+ # for additional args
|
| |
+ install -dp %{buildroot}%{_sysconfdir}/sysconfig
|
| |
+ install -p -m 644 %{SOURCE6} %{buildroot}%{_sysconfdir}/sysconfig/%{service_name}
|
| |
|
| |
# add bash, zsh, and fish completions
|
| |
install -dp %{buildroot}%{_datadir}/bash-completion/completions
|
| |
@@ -286,6 +292,7 @@
|
| |
%license cli-LICENSE components/engine/LICENSE
|
| |
%doc components/engine/{AUTHORS,CHANGELOG.md,CONTRIBUTING.md,MAINTAINERS,NOTICE,README.md}
|
| |
%doc cli-MAINTAINERS cli-NOTICE cli-README.md
|
| |
+ %config(noreplace) %{_sysconfdir}/sysconfig/%{service_name}
|
| |
%{_bindir}/%{service_name}
|
| |
%{_bindir}/%{service_name}d
|
| |
%dir %{_libexecdir}/%{service_name}/
|
| |
@@ -321,6 +328,10 @@
|
| |
%{_datadir}/nano/Dockerfile.nanorc
|
| |
|
| |
%changelog
|
| |
+ * Mon Nov 12 2018 Marcin Skarbek <rpm@skarbek.name> - 18.06.0-2.ce.git0ffa825
|
| |
+ - add configuration file
|
| |
+ - update service file
|
| |
+
|
| |
* Sat Aug 18 2018 Lokesh Mandvekar <lsm5@fedoraproject.org> - 18.06.0-1.ce.git0ffa825
|
| |
- Resolves: #1539161 - first upload to Fedora
|
| |
- built docker-ce commit 0ffa825
|
| |
This PR adds configuration file in
/etc/sysconfig/docker
, modifies service file to include that configuration, sets logging and cgroup driver and enables SElinux.Addidtional context: https://github.com/coreos/fedora-coreos-tracker/issues/76