[dissy] Cleanup again.

Christopher Meng cicku at fedoraproject.org
Thu Aug 15 09:13:01 UTC 2013


commit 8a94b2a9477c2dab7ea3898b1632936290b0c2c8
Author: Koji <koji at fedoraproject.org>
Date:   Thu Aug 15 17:12:26 2013 +0800

    Cleanup again.

 dissy-8-about.patch |   17 -----------------
 dissy.spec          |    7 +++----
 2 files changed, 3 insertions(+), 21 deletions(-)
---
diff --git a/dissy.spec b/dissy.spec
index 7c340ea..06c6968 100644
--- a/dissy.spec
+++ b/dissy.spec
@@ -24,7 +24,7 @@ for debugging and browsing compiler-generated code.
 %{__python} setup.py build
 
 %install
-%{__python} setup.py install --skip-build --root %{buildroot}
+%{__python} setup.py install -O1 --prefix %{_prefix} --skip-build --root %{buildroot}
 rm -r %{buildroot}%{_docdir}
 
 # Icon file. Upstream doesn't use any
@@ -37,9 +37,6 @@ install -pm644 \
 install -d %{buildroot}%{_datadir}/applications
 desktop-file-install --dir=%{buildroot}%{_datadir}/applications %{S:1}
 
-%check
-%{__python} setup.py test
-
 %files
 %doc ChangeLog COPYING README TODO
 %{_bindir}/%{name}
@@ -48,11 +45,13 @@ desktop-file-install --dir=%{buildroot}%{_datadir}/applications %{S:1}
 %{_datadir}/pixmaps/%{name}.png
 %{_mandir}/man1/%{name}.1*
 %{python_sitelib}/%{name}
+%{python_sitelib}/%{name}-%{version}-py2.7.egg-info
 
 %changelog
 * Thu Aug 15 2013 Christopher Meng <rpm at cicku.me> - 10-1
 - SPEC Cleanup.
 - Update to latest version and drop the old patch.
+- Remove desktop vendor.
 
 * Sat Aug 03 2013 Fedora Release Engineering <rel-eng at lists.fedoraproject.org> - 8-11
 - Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild


More information about the scm-commits mailing list