packages: minicom/minicom.spec - more explicit files, use __rm macro

qboosh qboosh at pld-linux.org
Thu Feb 3 19:11:21 CET 2011


Author: qboosh                       Date: Thu Feb  3 18:11:21 2011 GMT
Module: packages                      Tag: HEAD
---- Log message:
- more explicit files, use __rm macro

---- Files affected:
packages/minicom:
   minicom.spec (1.88 -> 1.89) 

---- Diffs:

================================================================
Index: packages/minicom/minicom.spec
diff -u packages/minicom/minicom.spec:1.88 packages/minicom/minicom.spec:1.89
--- packages/minicom/minicom.spec:1.88	Thu Feb  3 17:08:45 2011
+++ packages/minicom/minicom.spec	Thu Feb  3 19:11:16 2011
@@ -111,7 +111,7 @@
 
 %{__make}
 
-rm -f doc/*.old
+%{__rm} doc/*.old
 
 %install
 rm -rf $RPM_BUILD_ROOT
@@ -154,10 +154,10 @@
 cp -a extras/[hsu]* rpm-doc/extras
 cp -a doc/* rpm-doc/doc
 cp -a extras/tables/mc* rpm-doc/tables
-rm -f rpm-doc/doc/Makefile*
+%{__rm} rpm-doc/doc/Makefile*
 
-rm -f $RPM_BUILD_ROOT%{_mandir}/README.minicom-non-english-man-pages
-rm -f $RPM_BUILD_ROOT%{_mandir}/minicom-pld_path.diff
+%{__rm} $RPM_BUILD_ROOT%{_mandir}/README.minicom-non-english-man-pages
+%{__rm} $RPM_BUILD_ROOT%{_mandir}/minicom-pld_path.diff
 
 %find_lang minicom
 
@@ -173,17 +173,19 @@
 %attr(755,root,root) /etc/profile.d/minicom.sh
 %attr(755,root,root) /etc/profile.d/minicom.csh
 
+%attr(755,root,root) %{_bindir}/ascii-xfr
 %attr(755,root,root) %{_bindir}/minicom
-
 %attr(755,root,root) %{_bindir}/runscript
 %attr(755,root,root) %{_bindir}/xminicom
-%attr(755,root,root) %{_bindir}/ascii-xfr
 
 %{_desktopdir}/minicom.desktop
-%{_pixmapsdir}/*
-%{_mandir}/man1/*
-%lang(ko) %{_mandir}/ko/man1/*
-%lang(pl) %{_mandir}/pl/man1/*
+%{_pixmapsdir}/minicom.png
+%{_mandir}/man1/ascii-xfr.1*
+%{_mandir}/man1/minicom.1*
+%{_mandir}/man1/runscript.1*
+%{_mandir}/man1/xminicom.1*
+%lang(ko) %{_mandir}/ko/man1/*.1*
+%lang(pl) %{_mandir}/pl/man1/*.1*
 
 %define date	%(echo `LC_ALL="C" date +"%a %b %d %Y"`)
 %changelog
@@ -191,6 +193,9 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.89  2011/02/03 18:11:16  qboosh
+- more explicit files, use __rm macro
+
 Revision 1.88  2011/02/03 16:08:45  arekm
 - up to 2.5
 
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/packages/minicom/minicom.spec?r1=1.88&r2=1.89&f=u



More information about the pld-cvs-commit mailing list