tw2.excanvas / python-tw2-excanvas.spec

The default branch has multiple heads

Full commit
%{!?python_sitelib: %global python_sitelib %(%{__python} -c "from distutils.sysconfig import get_python_lib; print get_python_lib()")}

%global modname tw2.excanvas

Name:           python-tw2-excanvas
Version:        2.0.1
Release:        1%{?dist}
Summary:        Excanvas for ToscaWidgets2

Group:          Development/Languages
License:        MIT
BuildArch:      noarch

# For building
BuildRequires:  python2-devel
BuildRequires:  python-setuptools
BuildRequires:  python-tw2-core

# For tests
BuildRequires:  python-nose
BuildRequires:  python-BeautifulSoup
BuildRequires:  python-genshi

# Runtime requirements
Requires:       python-tw2-core

Simple excanvas resource wrapper for ToscaWidgets2.

%setup -q -n %{modname}-%{version}

%{__python} build

%{__python} install -O1 --skip-build \
    --install-data=%{_datadir} --root %{buildroot}

PYTHONPATH=$(pwd) python test


* Wed May 02 2012 Ralph Bean <> - 2.0.1-1
- Upstream release, includes proper LICENSE file.

* Mon Apr 30 2012 Ralph Bean <> - 2.0.0-2
- Removed clean section
- Removed defattr in files section
- Removed unnecessary references to buildroot

* Wed Apr 11 2012 Ralph Bean <> - 2.0.0-1
- Initial packaging for Fedora