[PyPE] - Update to 2.9.4 . - A little review with fedora-review: Remove %clean, rm -rf $RPM_BUILD_ROOT and

Sérgio Monteiro Basto sergiomb at fedoraproject.org
Mon Mar 11 23:29:56 UTC 2013


commit 1e887f57d96b986906e7bb46f503b3c9d0f46bf3
Author: Sérgio Basto <sergio at serjux.com>
Date:   Mon Mar 11 23:29:38 2013 +0000

    - Update to 2.9.4 .
    - A little review with fedora-review: Remove %clean, rm -rf $RPM_BUILD_ROOT and BuildRoot, BR
      python2-devel, fix URL

 .gitignore |    1 +
 PyPE.spec  |   22 +++++++++-------------
 sources    |    2 +-
 3 files changed, 11 insertions(+), 14 deletions(-)
---
diff --git a/.gitignore b/.gitignore
index f386661..c10c3bd 100644
--- a/.gitignore
+++ b/.gitignore
@@ -1 +1,2 @@
 PyPE-2.9.1-src.zip
+/PyPE-2.9.4-src.zip
diff --git a/PyPE.spec b/PyPE.spec
index 711fc03..3d00a4e 100644
--- a/PyPE.spec
+++ b/PyPE.spec
@@ -1,21 +1,19 @@
 %{!?python_sitelib: %global python_sitelib %(%{__python} -c "from distutils.sysconfig import get_python_lib; print get_python_lib()")}
-%global majorminor 2.9
 
 Name:           PyPE
-Version:        %{majorminor}.1
-Release:        8%{?dist}
+Version:        2.9.4
+Release:        1%{?dist}
 Summary:        Lightweight but powerful graphical editor for developers
 
 Group:          Development/Languages
 License:        GPLv2
 URL:            http://pype.sourceforge.net/
-Source0:        http://downloads.sourceforge.net/project/pype/pype/%{name}%20%{majorminor}/%{name}-%{version}-src.zip
+Source0:        http://downloads.sourceforge.net/project/pype/pype/%{name} %{version}/%{name}-%{version}-src.zip
 Source1:        PyPE.desktop
-BuildRoot:      %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
 
 BuildArch:      noarch
 Requires:       wxPython
-BuildRequires:  python-devel
+BuildRequires:  python2-devel
 BuildRequires:  wxPython-devel
 BuildRequires:  desktop-file-utils
 
@@ -61,8 +59,6 @@ chmod 755 pype.py
 
 
 %install
-rm -rf $RPM_BUILD_ROOT
-
 # Delete this script before it gets copied below
 rm -f setup.py
 
@@ -80,10 +76,6 @@ desktop-file-install --dir=$RPM_BUILD_ROOT%{_datadir}/applications \
   %endif
   %{name}.desktop
 
-%clean
-rm -rf $RPM_BUILD_ROOT
-
-
 %files
 %defattr(-,root,root,-)
 %doc changelog.txt readme.txt readme.html gpl.txt sample_*
@@ -91,8 +83,12 @@ rm -rf $RPM_BUILD_ROOT
 %{python_sitelib}/%{name}
 %{_datadir}/applications/%{name}.desktop
 
-
 %changelog
+* Mon Mar 11 2013 Sérgio Basto <sergio at serjux.com> - 2.9.4-1
+- Update to 2.9.4 .
+- A little review with fedora-review: Remove %clean, rm -rf $RPM_BUILD_ROOT and BuildRoot, BR
+  python2-devel, fix URL
+
 * Wed Feb 13 2013 Fedora Release Engineering <rel-eng at lists.fedoraproject.org> - 2.9.1-8
 - Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild
 
diff --git a/sources b/sources
index 9abfbc6..f10ae70 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-dbd964244cb89b8e15944e78be2e0d65  PyPE-2.9.1-src.zip
+ab0d259c99ff4e16aaeeaf64931fc131  PyPE-2.9.4-src.zip


More information about the scm-commits mailing list