[winpdb] Remove vendor tag from desktop file as per https://fedorahosted.org/fesco/ticket/1077
paragn
paragn at fedoraproject.org
Sun Feb 10 16:57:33 UTC 2013
commit 93b38ed1f18195d37172ac9b0c5e0521576aae74
Author: Parag Nemade <paragn at fedoraproject.org>
Date: Sun Feb 10 22:29:25 2013 +0530
Remove vendor tag from desktop file as per https://fedorahosted.org/fesco/ticket/1077
- Cleanup spec as per recently changed packaging guidelines
winpdb.spec | 18 ++++++++----------
1 files changed, 8 insertions(+), 10 deletions(-)
---
diff --git a/winpdb.spec b/winpdb.spec
index a60dc26..cfd09db 100644
--- a/winpdb.spec
+++ b/winpdb.spec
@@ -1,8 +1,8 @@
-%{!?python_sitelib: %define python_sitelib %(%{__python} -c "from distutils.sysconfig import get_python_lib; print get_python_lib()")}
+%{!?python_sitelib: %global python_sitelib %(%{__python} -c "from distutils.sysconfig import get_python_lib; print get_python_lib()")}
Name: winpdb
Version: 1.4.8
-Release: 4%{?dist}
+Release: 5%{?dist}
Summary: An advanced python debugger
Group: Development/Debuggers
License: GPLv2+
@@ -10,9 +10,8 @@ URL: http://www.winpdb.org/
Source0: http://winpdb.googlecode.com/files/winpdb-%{version}.tar.gz
Source1: %{name}.desktop
Source2: %{name}.png
-BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
BuildArch: noarch
-BuildRequires: python-devel, wxPython-devel >= 2.6, desktop-file-utils
+BuildRequires: python2-devel, wxPython-devel >= 2.6, desktop-file-utils
Requires: python-crypto, wxPython >= 2.6
%description
@@ -29,24 +28,19 @@ chmod -x README.txt
%{__python} setup.py build
%install
-rm -rf $RPM_BUILD_ROOT
%{__python} setup.py install --skip-build --root=$RPM_BUILD_ROOT
mkdir -p $RPM_BUILD_ROOT%{_datadir}/pixmaps
install -m0644 -p %{SOURCE2} $RPM_BUILD_ROOT%{_datadir}/pixmaps
mkdir -p $RPM_BUILD_ROOT%{_datadir}/applications
-desktop-file-install --vendor fedora \
+desktop-file-install \
--dir $RPM_BUILD_ROOT%{_datadir}/applications \
%{SOURCE1}
chmod +x $RPM_BUILD_ROOT%{python_sitelib}/rpdb2.py $RPM_BUILD_ROOT%{python_sitelib}/winpdb.py
-%clean
-rm -rf $RPM_BUILD_ROOT
-
%files
-%defattr(-,root,root)
%doc README.txt
%{_bindir}/*
%{python_sitelib}/*
@@ -54,6 +48,10 @@ rm -rf $RPM_BUILD_ROOT
%{_datadir}/pixmaps/%{name}.png
%changelog
+* Sun Feb 10 2013 Parag Nemade <paragn AT fedoraproject DOT org> - 1.4.8-5
+- Remove vendor tag from desktop file as per https://fedorahosted.org/fesco/ticket/1077
+- Cleanup spec as per recently changed packaging guidelines
+
* Sun Jul 22 2012 Fedora Release Engineering <rel-eng at lists.fedoraproject.org> - 1.4.8-4
- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild
More information about the scm-commits
mailing list