don't remove dotfiles and empty files.
This commit is contained in:
parent
68d6015afa
commit
f8ac3d7efa
1
ansible-core.rpmlintrc
Normal file
1
ansible-core.rpmlintrc
Normal file
@ -0,0 +1 @@
|
|||||||
|
addFilter("E: zero-length")
|
@ -94,7 +94,6 @@ This package installs extensive documentation for ansible-core
|
|||||||
|
|
||||||
%prep
|
%prep
|
||||||
%autosetup -p1 -n ansible-%{uversion}
|
%autosetup -p1 -n ansible-%{uversion}
|
||||||
find \( -name '.git_keep' -o -name '.rstcheck.cfg' \) -delete
|
|
||||||
|
|
||||||
sed -i -s 's|/usr/bin/env python|%{python3}|' \
|
sed -i -s 's|/usr/bin/env python|%{python3}|' \
|
||||||
bin/ansible-test \
|
bin/ansible-test \
|
||||||
@ -208,9 +207,6 @@ cp examples/ansible.cfg %{buildroot}/etc/ansible/
|
|||||||
mkdir -p %{buildroot}/%{_mandir}/man1
|
mkdir -p %{buildroot}/%{_mandir}/man1
|
||||||
cp -v docs/man/man1/*.1 %{buildroot}/%{_mandir}/man1/
|
cp -v docs/man/man1/*.1 %{buildroot}/%{_mandir}/man1/
|
||||||
|
|
||||||
# These files are needed for the unit tests, so we don't remove them in %%prep
|
|
||||||
find %{buildroot}/%{python3_sitelib} -name .travis.yml -type f -delete
|
|
||||||
|
|
||||||
# We install licenses in this manner so we don't miss new licenses:
|
# We install licenses in this manner so we don't miss new licenses:
|
||||||
# 1. Copy all files in licenses to %%{_pkglicensedir}.
|
# 1. Copy all files in licenses to %%{_pkglicensedir}.
|
||||||
# 2. List the files explicitly in %%files.
|
# 2. List the files explicitly in %%files.
|
||||||
@ -248,6 +244,7 @@ install -Dpm 0644 licenses/* -t %{buildroot}%{_pkglicensedir}
|
|||||||
%changelog
|
%changelog
|
||||||
* Tue May 16 2023 Maxwell G <maxwell@gtmx.me> - 2.15.0-1
|
* Tue May 16 2023 Maxwell G <maxwell@gtmx.me> - 2.15.0-1
|
||||||
- Update to 2.15.0.
|
- Update to 2.15.0.
|
||||||
|
- Don't remove dotfiles and empty files. ansible-core actually needs these.
|
||||||
|
|
||||||
* Wed May 03 2023 Maxwell G <maxwell@gtmx.me> - 2.15.0~rc2-1
|
* Wed May 03 2023 Maxwell G <maxwell@gtmx.me> - 2.15.0~rc2-1
|
||||||
- Update to 2.15.0~rc2.
|
- Update to 2.15.0~rc2.
|
||||||
|
Loading…
Reference in New Issue
Block a user