[yap] Remove empty myddas_top_level.yap file
Petr Pisar
ppisar at fedoraproject.org
Tue Jan 4 10:46:05 UTC 2011
commit 4898d89ab3955917172b11caad7aaa9037c5ff46
Author: Petr Písař <ppisar at redhat.com>
Date: Wed Dec 22 12:50:14 2010 +0100
Remove empty myddas_top_level.yap file
yap.spec | 7 +++++++
1 files changed, 7 insertions(+), 0 deletions(-)
---
diff --git a/yap.spec b/yap.spec
index 3ac15b8..53ccd5f 100644
--- a/yap.spec
+++ b/yap.spec
@@ -141,6 +141,12 @@ mkdir -p $RPM_BUILD_ROOT%{_docdir}/%{name}-%{version}
#mv $RPM_BUILD_ROOT%%{_datadir}/Yap/examples $RPM_BUILD_ROOT%%{_docdir}/%%{name}-%%{version}
rm -rf $RPM_BUILD_ROOT%{_datadir}/Yap/clpbn/examples
+# Remove empty files
+for F in $RPM_BUILD_ROOT%{_datadir}/Yap/myddas_top_level.yap; do
+ test -s "$F" || rm "$F"
+done
+
+
%post
/sbin/install-info %{_infodir}/yap.info --section "Programming Languages" %{_infodir}/dir 2>/dev/null || :
/sbin/install-info %{_infodir}/pillow_doc.info --section "Programming Languages" %{_infodir}/dir 2>/dev/null || :
@@ -194,6 +200,7 @@ rm -rf $RPM_BUILD_ROOT
- Install http module CSS files to correct place
- Convert TO_DO into UTF-8
- Make COPYING non-executable
+- Remove empty myddas_top_level.yap file
* Wed Dec 08 2010 Petr Pisar <ppisar at redhat.com> - 5.1.3-3
- Hack SWI-compatible libraries build system to be compilable (bug #660965)
More information about the scm-commits
mailing list