rpms/starplot/devel starplot.spec,1.2,1.3
Debarshi Ray (rishi)
fedora-extras-commits at redhat.com
Sun Nov 25 14:31:37 UTC 2007
Author: rishi
Update of /cvs/pkgs/rpms/starplot/devel
In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv11650
Modified Files:
starplot.spec
Log Message:
Fixed Spec file in devel.
Modified Files:
starplot.spec
Index: starplot.spec
===================================================================
RCS file: /cvs/pkgs/rpms/starplot/devel/starplot.spec,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -r1.2 -r1.3
--- starplot.spec 24 Nov 2007 18:58:44 -0000 1.2
+++ starplot.spec 25 Nov 2007 14:31:05 -0000 1.3
@@ -1,3 +1,9 @@
+%if 0%{?fc7}
+ %define _remove_encoding
+%else
+ %define _remove_encoding --remove-key Encoding
+%endif
+
Summary: 3-dimensional perspective star map viewer
Name: starplot
Version: 0.95.4
@@ -46,7 +52,7 @@
install -p -m644 ./src/gui/%{name}.xpm \
$RPM_BUILD_ROOT%{_datadir}/pixmaps
-desktop-file-install --remove-key Encoding --vendor fedora \
+desktop-file-install %{_remove_encoding} --vendor fedora \
--dir $RPM_BUILD_ROOT%{_datadir}/applications \
%{SOURCE1}
@@ -84,6 +90,7 @@
%changelog
* Sat Nov 24 2007 Debarshi Ray <rishi at fedoraproject.org> - 0.95.4-3
- Added 'BuildRequires: gettext'.
+- Removed Encoding from Desktop Entry for all distributions, except Fedora 7.
* Sat Nov 17 2007 Debarshi Ray <rishi at fedoraproject.org> - 0.95.4-2
- Added 'BuildRequires: desktop-file-utils' and a .desktop file.
More information about the fedora-extras-commits
mailing list