mirror of
https://github.com/containers/podman.git
synced 2025-05-21 17:16:22 +08:00
rpkg: remove usage of pkg/hooks
Podman is using pkg/hooks from c/common and following man page is moved to c/common [NO NEW TESTS NEEDED] [NO TESTS NEEDED] Signed-off-by: Aditya R <arajan@redhat.com>
This commit is contained in:
@ -200,8 +200,6 @@ PODMAN_VERSION=%{version} %{__make} DESTDIR=%{buildroot} PREFIX=%{_prefix} ETCDI
|
|||||||
install -d -p %{buildroot}/%{_datadir}/%{name}/test/system
|
install -d -p %{buildroot}/%{_datadir}/%{name}/test/system
|
||||||
cp -pav test/system %{buildroot}/%{_datadir}/%{name}/test/
|
cp -pav test/system %{buildroot}/%{_datadir}/%{name}/test/
|
||||||
|
|
||||||
mv pkg/hooks/README.md pkg/hooks/README-hooks.md
|
|
||||||
|
|
||||||
# do not include docker and podman-remote man pages in main package
|
# do not include docker and podman-remote man pages in main package
|
||||||
for file in `find %{buildroot}%{_mandir}/man[15] -type f | sed "s,%{buildroot},," | grep -v -e remote -e docker`; do
|
for file in `find %{buildroot}%{_mandir}/man[15] -type f | sed "s,%{buildroot},," | grep -v -e remote -e docker`; do
|
||||||
echo "$file*" >> podman.file-list
|
echo "$file*" >> podman.file-list
|
||||||
@ -211,7 +209,7 @@ done
|
|||||||
# are going to be installed into target system where the rpm is installed.
|
# are going to be installed into target system where the rpm is installed.
|
||||||
%files -f %{name}.file-list
|
%files -f %{name}.file-list
|
||||||
%license LICENSE
|
%license LICENSE
|
||||||
%doc README.md CONTRIBUTING.md pkg/hooks/README-hooks.md install.md transfer.md
|
%doc README.md CONTRIBUTING.md install.md transfer.md
|
||||||
%{_bindir}/%{name}
|
%{_bindir}/%{name}
|
||||||
%dir %{_libexecdir}/%{name}
|
%dir %{_libexecdir}/%{name}
|
||||||
%{_libexecdir}/%{name}/rootlessport
|
%{_libexecdir}/%{name}/rootlessport
|
||||||
|
Reference in New Issue
Block a user