rpms/pondus/EL-5 pondus.spec,1.1,1.2

Jussi Lehtola jussilehtola at fedoraproject.org
Sat Jul 11 15:47:14 UTC 2009


Author: jussilehtola

Update of /cvs/pkgs/rpms/pondus/EL-5
In directory cvs1.fedora.phx.redhat.com:/tmp/cvs-serv16530/EL-5

Modified Files:
	pondus.spec 
Log Message:
Fix EPEL build.


Index: pondus.spec
===================================================================
RCS file: /cvs/pkgs/rpms/pondus/EL-5/pondus.spec,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -p -r1.1 -r1.2
--- pondus.spec	11 Jul 2009 15:22:34 -0000	1.1
+++ pondus.spec	11 Jul 2009 15:46:44 -0000	1.2
@@ -2,7 +2,7 @@
 
 Name:		pondus
 Version:	0.5.3
-Release:	2%{?dist}
+Release:	3%{?dist}
 Summary:	A personal weight management program
 Group:		Applications/Productivity
 License:	GPLv3+
@@ -26,6 +26,8 @@ compared with the actual measurements in
 
 %prep
 %setup -q
+# Remove Version entry from desktop file
+sed -i "/Version/d" data/pondus.desktop
 
 %build
 python setup.py build
@@ -38,7 +40,7 @@ python setup.py install -O1 --skip-build
 # Remove installed doc that will go in %doc
 rm -rf %{buildroot}%{_docdir}/%{name}
 # Verify desktop file install
-desktop-file-validate %{buildroot}%{_datadir}/applications/pondus.desktop
+desktop-file-install --vendor="" --remove-category=GTK %{buildroot}%{_datadir}/applications/pondus.desktop
 
 %clean
 rm -rf %{buildroot}
@@ -57,6 +59,9 @@ rm -rf %{buildroot}
 
 %changelog
 * Sat Jul 11 2009 Jussi Lehtola <jussilehtola at fedoraproject.org> - 0.5.3-2
+- Fix EPEL build.
+
+* Sat Jul 11 2009 Jussi Lehtola <jussilehtola at fedoraproject.org> - 0.5.3-2
 - Added Requires: python-matplotlib for plotting capability.
 
 * Fri Jul 10 2009 Jussi Lehtola <jussilehtola at fedoraproject.org> - 0.5.3-1




More information about the fedora-extras-commits mailing list