Skip to content

Commit

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

Name: python-tw2-jqplugins-ui
Version: 2.0.1
Release: 1%{?dist}
Release: 2%{?dist}
Summary: jQuery UI 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, generally
Expand Down Expand Up @@ -86,22 +85,22 @@ rm setup.cfg
rm -f build/lib/tw2/jqplugins/__init__.py*

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

%check
PYTHONPATH=$(pwd) python setup.py test

%clean
rm -rf %{buildroot}

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

%changelog
* Wed May 02 2012 Ralph Bean <rbean@redhat.com> - 2.0.1-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.1-1
- Packaging latest release.
- Fixing a collision of the tests.
Expand Down

0 comments on commit 5c98bee

Please sign in to comment.