[fedora-review] Update to lastest upstream (0.3.0)

Stanislav Ochotnicky sochotni at fedoraproject.org
Mon Sep 24 13:09:37 UTC 2012


commit f7d730d1acfbb18867cad22a986b6e1e7606ece7
Author: Stanislav Ochotnicky <sochotnicky at redhat.com>
Date:   Mon Sep 24 14:22:47 2012 +0200

    Update to lastest upstream (0.3.0)
    
    - Remove no longer needed build workarounds

 .gitignore         |    1 +
 fedora-review.spec |   31 ++++++++++++++++++-------------
 sources            |    2 +-
 3 files changed, 20 insertions(+), 14 deletions(-)
---
diff --git a/.gitignore b/.gitignore
index 92ad259..6b9566c 100644
--- a/.gitignore
+++ b/.gitignore
@@ -4,3 +4,4 @@
 /fedora-review-0.1.3.tar.gz
 /fedora-review-0.2.0.tar.gz
 /fedora-review-0.2.2.tar.gz
+/fedora-review-0.3.0.tar.gz
diff --git a/fedora-review.spec b/fedora-review.spec
index 262ec73..f8afed2 100644
--- a/fedora-review.spec
+++ b/fedora-review.spec
@@ -1,5 +1,5 @@
 Name:       fedora-review
-Version:    0.2.2
+Version:    0.3.0
 Release:    1%{?dist}
 Summary:    Review tool for fedora rpm packages
 
@@ -9,20 +9,24 @@ Source0:    https://fedorahosted.org/released/FedoraReview/%{name}-%{version}.ta
 
 BuildArch:  noarch
 
-BuildRequires:  python2-devel
-BuildRequires:  rpm-python
 BuildRequires:  python-BeautifulSoup
-BuildRequires:  python-kitchen
 BuildRequires:  python-bugzilla
 BuildRequires:  python-straight-plugin
-Requires:       rpm-python
-Requires:       python-straight-plugin
-Requires:       python-bugzilla
+BuildRequires:  python2-devel
+BuildRequires:  rpm-python
+
+Requires:       fedora-packager
 Requires:       python-BeautifulSoup
+Requires:       python-bugzilla
 Requires:       python-kitchen
-Requires:       fedora-packager
+Requires:       python-straight-plugin
+Requires:       rpm-python
 Requires:       rpmdevtools
 
+# Let's be consistent with the name used on fedorahosted
+provides:       FedoraReview = %{version}-%{release}
+
+
 %description
 FedoraReview: Tools to help review packages for inclusion in Fedora
 
@@ -44,15 +48,12 @@ can be written in any language supporting JSON format.
 %prep
 %setup -q
 chmod -x api/examples/*
-export REVIEW_LOGFILE=$(pwd)/%{name}.log
 
 %build
-export REVIEW_LOGFILE=$(pwd)/%{name}.log
-PYTHONPATH="src/" %{__python} setup.py build
+%{__python} setup.py build
 
 %install
-export REVIEW_LOGFILE=$(pwd)/%{name}.log
-PYTHONPATH="src/" %{__python} setup.py install -O1 --skip-build --root $RPM_BUILD_ROOT
+%{__python} setup.py install -O1 --skip-build --root $RPM_BUILD_ROOT
 
 install -d -m755 $RPM_BUILD_ROOT/%{_datadir}/%{name}/plugins
 
@@ -68,6 +69,10 @@ install -d -m755 $RPM_BUILD_ROOT/%{_datadir}/%{name}/plugins
 %dir %{_datadir}/%{name}/plugins
 
 %changelog
+* Mon Sep 24 2012 Stanislav Ochotnicky <sochotnicky at redhat.com> - 0.3.0-1
+- Update to lastest upstream (0.3.0)
+- Remove no longer needed build workarounds
+
 * Thu Aug  9 2012 Stanislav Ochotnicky <sochotnicky at redhat.com> - 0.2.2-1
 - Update to lastest upstream (0.2.2)
 - Add koji-download-scratch script
diff --git a/sources b/sources
index fa2720d..86e1681 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-2632fd38a8170548e4864d81b79a6369  fedora-review-0.2.2.tar.gz
+9df1118bf846a54fc328fbd01e747b70  fedora-review-0.3.0.tar.gz


More information about the scm-commits mailing list