summaryrefslogtreecommitdiff
path: root/contrib/spec
diff options
context:
space:
mode:
authorbaude <bbaude@redhat.com>2018-05-14 08:36:32 -0500
committerAtomic Bot <atomic-devel@projectatomic.io>2018-05-14 14:42:09 +0000
commit99532e6f3e5eadf23053736643bd7b39dd4dc69f (patch)
tree013d0a9233645fc2f2d321a08b5d016d5e6b2132 /contrib/spec
parentb4c5aaf8458698c927a39cfd9048366b29d0e665 (diff)
downloadpodman-99532e6f3e5eadf23053736643bd7b39dd4dc69f.tar.gz
podman-99532e6f3e5eadf23053736643bd7b39dd4dc69f.tar.bz2
podman-99532e6f3e5eadf23053736643bd7b39dd4dc69f.zip
Add packaging for hooks/README.md
Signed-off-by: baude <bbaude@redhat.com> Closes: #763 Approved by: baude
Diffstat (limited to 'contrib/spec')
-rw-r--r--contrib/spec/podman.spec.in7
1 files changed, 4 insertions, 3 deletions
diff --git a/contrib/spec/podman.spec.in b/contrib/spec/podman.spec.in
index f85348d32..7f1785da8 100644
--- a/contrib/spec/podman.spec.in
+++ b/contrib/spec/podman.spec.in
@@ -346,6 +346,7 @@ providing packages with %{import_path} prefix.
%prep
%autosetup -Sgit -n podman-%{shortcommit}
sed -i '/\/bin\/bash/d' completions/bash/%{name}
+mv pkg/hooks/README.md pkg/hooks/README-hooks.md
%build
mkdir _build
@@ -433,7 +434,7 @@ export GOPATH=%{buildroot}/%{gopath}:$(pwd)/vendor:%{gopath}
%files
%license LICENSE
-%doc README.md CONTRIBUTING.md hooks.md install.md code-of-conduct.md transfer.md
+%doc README.md CONTRIBUTING.md pkg/hooks/README-hooks.md install.md code-of-conduct.md transfer.md
%{_bindir}/%{name}
%{_mandir}/man1/*.1*
%{_mandir}/man5/*.5*
@@ -445,14 +446,14 @@ export GOPATH=%{buildroot}/%{gopath}:$(pwd)/vendor:%{gopath}
%if 0%{?with_devel}
%files -n libpod-devel -f devel.file-list
%license LICENSE
-%doc README.md CONTRIBUTING.md hooks.md install.md code-of-conduct.md transfer.md
+%doc README.md CONTRIBUTING.md pkg/hooks/README-hooks.md install.md code-of-conduct.md transfer.md
%dir %{gopath}/src/%{provider}.%{provider_tld}/%{project}
%endif
%if 0%{?with_unit_test} && 0%{?with_devel}
%files unit-test-devel -f unit-test-devel.file-list
%license LICENSE
-%doc README.md CONTRIBUTING.md hooks.md install.md code-of-conduct.md transfer.md
+%doc README.md CONTRIBUTING.md pkg/hooks/README-hooks.md install.md code-of-conduct.md transfer.md
%endif
%changelog