Skip to content

Commit

Permalink
Spec cleaning.
Browse files Browse the repository at this point in the history
  • Loading branch information
ralphbean committed May 2, 2012
1 parent 91231d8 commit 4c13a67
Showing 1 changed file with 6 additions and 7 deletions.
13 changes: 6 additions & 7 deletions python-tw2-sqla.spec
Original file line number Diff line number Diff line change
Expand Up @@ -4,14 +4,13 @@

Name: python-tw2-sqla
Version: 2.0.0
Release: 1%{?dist}
Release: 2%{?dist}
Summary: SQLAlchemy database layer for ToscaWidgets2

Group: Development/Languages
License: MIT
URL: http://toscawidgets.org
Source0: http://pypi.python.org/packages/source/t/%{modname}/%{modname}-%{version}.tar.gz
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
BuildArch: noarch

# For building
Expand Down Expand Up @@ -74,7 +73,6 @@ rm setup.cfg
%{__python} setup.py build

%install
rm -rf %{buildroot}
%{__python} setup.py install -O1 --skip-build \
--install-data=%{_datadir} --root %{buildroot}

Expand All @@ -85,14 +83,15 @@ rm -rf %{buildroot}
PYTHONPATH=$(pwd) python setup.py test
%endif

%clean
rm -rf %{buildroot}

%files
%defattr(-,root,root,-)
%doc README.rst
%{python_sitelib}/*

%changelog
* Wed May 02 2012 Ralph Bean <rbean@redhat.com> - 2.0.0-2
- Removed clean section
- Removed defattr in files section
- Removed unnecessary references to buildroot

* Wed Apr 11 2012 Ralph Bean <rbean@redhat.com> - 2.0.0-1
- Initial packaging for Fedora

0 comments on commit 4c13a67

Please sign in to comment.