[packages/ekg] - use __rm macro, explicit files in system dirs

qboosh qboosh at pld-linux.org
Sat Feb 27 15:16:26 CET 2021


commit 8639b72e429da76c52feb75eaadb80ccfc0f4487
Author: Jakub Bogusz <qboosh at pld-linux.org>
Date:   Sat Feb 27 15:17:10 2021 +0100

    - use __rm macro, explicit files in system dirs

 ekg.spec | 16 ++++++++++------
 1 file changed, 10 insertions(+), 6 deletions(-)
---
diff --git a/ekg.spec b/ekg.spec
index c072c3c..e57f62f 100644
--- a/ekg.spec
+++ b/ekg.spec
@@ -140,8 +140,8 @@ install %{SOURCE1} $RPM_BUILD_ROOT%{_sysconfdir}
 
 # For libgadu-devel
 
-rm -f examples/Makefile examples/Makefile.in examples/.cvsignore
-rm -rf examples/CVS
+%{__rm} examples/Makefile examples/Makefile.in examples/.cvsignore
+%{__rm} -r examples/CVS
 
 %if %{with ioctl_daemon}
 install src/ioctld $RPM_BUILD_ROOT%{_bindir}
@@ -155,9 +155,13 @@ rm -rf $RPM_BUILD_ROOT
 %doc docs/{7thguard,dcc,files,gdb,python,sim,themes,ui-ncurses,vars,voip}.txt
 %{?with_aspell:%doc docs/slownik.txt}
 %doc ChangeLog docs/{FAQ,README,TODO,ULOTKA} docs/emoticons.{ansi,sample}
-%attr(755,root,root) %{_bindir}/e*
+%attr(755,root,root) %{_bindir}/ekg
+%attr(755,root,root) %{_bindir}/ekl2.pl
+%attr(755,root,root) %{_bindir}/ekl2.sh
 %{?with_ioctl_daemon:%attr(4755,root,root) %{_bindir}/ioctld}
-%config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/*.conf
+%config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/ekg.conf
 %{_datadir}/ekg
-%{_mandir}/man1/*
-%lang(pl) %{_mandir}/pl/man1/*
+%{_mandir}/man1/ekg.1*
+%{_mandir}/man1/ekl2.1*
+%lang(pl) %{_mandir}/pl/man1/ekg.1*
+%lang(pl) %{_mandir}/pl/man1/ekl2.1*
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/ekg.git/commitdiff/8639b72e429da76c52feb75eaadb80ccfc0f4487



More information about the pld-cvs-commit mailing list