diff --git a/iptraf-ng.spec b/iptraf-ng.spec index e787c48..4572ffb 100644 --- a/iptraf-ng.spec +++ b/iptraf-ng.spec @@ -51,7 +51,7 @@ CFLAGS="-g -O2 -Wall -W -std=gnu99 -Werror=format-security %{optflags}" \ # Delete files that are not in HTML or PNG format in Documentation. find Documentation -type f ! -name "*.html" \ -type f ! -name "*.png" \ - | grep -v '/stylesheet' \ + -type f ! -name "." \ | xargs rm -f install -D -m 0644 -p %{SOURCE1} %{buildroot}%{_sysconfdir}/logrotate.d/%{name} @@ -74,8 +74,5 @@ install -d -m 0755 %{buildroot}/run/%{name}/ %{_mandir}/man8/*.8.gz %changelog -* Tue Dec 24 2019 openEuler Buildteam - 1.1.4-22 -- Fixes an issue where gif images were deleted by mistake - * Fri Aug 30 2019 openEuler Buildteam - 1.1.4-21 - Package init