[frescobaldi] Exclude .mo files only

Brendan Jones bsjones at fedoraproject.org
Wed Jan 18 18:51:25 UTC 2012


commit f4738756c9eaefcb5fdf5025ac0be8c2c65f0cec
Author: Brendan Jones <brendan.jones.it at gmail.com>
Date:   Wed Jan 18 19:51:16 2012 +0100

    Exclude .mo files only

 frescobaldi.spec |    7 +++++--
 1 files changed, 5 insertions(+), 2 deletions(-)
---
diff --git a/frescobaldi.spec b/frescobaldi.spec
index 8efbbc7..8f7c269 100644
--- a/frescobaldi.spec
+++ b/frescobaldi.spec
@@ -1,6 +1,6 @@
 Name:           frescobaldi
 Version:        2.0.2
-Release:        2%{?dist}
+Release:        3%{?dist}
 Summary:        Edit LilyPond sheet music with ease!
 Group:          Applications/Editors
 # hyphenator.py is LGPLv2+
@@ -98,12 +98,15 @@ gtk-update-icon-cache %{_datadir}/icons/hicolor &>/dev/null || :
 %{_bindir}/%{name}
 %{python_sitelib}/%{name}_app
 # the following is in our lang file
-%exclude %{python_sitelib}/%{name}_app/po
+%exclude %{python_sitelib}/%{name}_app/po/*.mo
 %{python_sitelib}/%{name}-%{version}-py2.7.egg-info
 %{_datadir}/applications/%{name}.desktop
 %{_datadir}/icons/hicolor/scalable/apps/%{name}.svg
 
 %changelog
+* Wed Jan 17 2012 Brendan Jones <brendan.jones.it at gmail.com> - 2.0.2-3
+- Exclude only .mo files, not the whole directory
+
 * Wed Jan 17 2012 Brendan Jones <brendan.jones.it at gmail.com> - 2.0.2-2
 - Removed rumor/timidity++ requires added portmidi and bindings
 


More information about the scm-commits mailing list