mirror of
https://github.com/containers/podman.git
synced 2025-06-27 13:38:49 +08:00
Add packaging for hooks/README.md
Signed-off-by: baude <bbaude@redhat.com> Closes: #763 Approved by: baude
This commit is contained in:
@ -346,6 +346,7 @@ providing packages with %{import_path} prefix.
|
|||||||
%prep
|
%prep
|
||||||
%autosetup -Sgit -n podman-%{shortcommit}
|
%autosetup -Sgit -n podman-%{shortcommit}
|
||||||
sed -i '/\/bin\/bash/d' completions/bash/%{name}
|
sed -i '/\/bin\/bash/d' completions/bash/%{name}
|
||||||
|
mv pkg/hooks/README.md pkg/hooks/README-hooks.md
|
||||||
|
|
||||||
%build
|
%build
|
||||||
mkdir _build
|
mkdir _build
|
||||||
@ -433,7 +434,7 @@ export GOPATH=%{buildroot}/%{gopath}:$(pwd)/vendor:%{gopath}
|
|||||||
|
|
||||||
%files
|
%files
|
||||||
%license LICENSE
|
%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}
|
%{_bindir}/%{name}
|
||||||
%{_mandir}/man1/*.1*
|
%{_mandir}/man1/*.1*
|
||||||
%{_mandir}/man5/*.5*
|
%{_mandir}/man5/*.5*
|
||||||
@ -445,14 +446,14 @@ export GOPATH=%{buildroot}/%{gopath}:$(pwd)/vendor:%{gopath}
|
|||||||
%if 0%{?with_devel}
|
%if 0%{?with_devel}
|
||||||
%files -n libpod-devel -f devel.file-list
|
%files -n libpod-devel -f devel.file-list
|
||||||
%license LICENSE
|
%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}
|
%dir %{gopath}/src/%{provider}.%{provider_tld}/%{project}
|
||||||
%endif
|
%endif
|
||||||
|
|
||||||
%if 0%{?with_unit_test} && 0%{?with_devel}
|
%if 0%{?with_unit_test} && 0%{?with_devel}
|
||||||
%files unit-test-devel -f unit-test-devel.file-list
|
%files unit-test-devel -f unit-test-devel.file-list
|
||||||
%license LICENSE
|
%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
|
%endif
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
Reference in New Issue
Block a user