- fix license tag

This commit is contained in:
Jeffrey C. Ollie 2008-11-19 12:42:54 +00:00
parent 0aab31e1b7
commit 7ea50ab44c
3 changed files with 22 additions and 8 deletions

View File

@ -1 +1 @@
dnspython-1.5.0.tar.gz
dnspython-1.6.0.tar.gz

View File

@ -1,18 +1,22 @@
%{!?python_sitelib: %define python_sitelib %(%{__python} -c "from distutils.sysconfig import get_python_lib; print get_python_lib()")}
Name: python-dns
Version: 1.5.0
Release: 1%{?dist}
Version: 1.6.0
Release: 2%{?dist}
Summary: DNS toolkit for Python
Group: Development/Languages
License: BSD-like
License: MIT
URL: http://www.dnspython.org/
Source0: http://www.dnspython.org/kits/%{version}/dnspython-%{version}.tar.gz
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
BuildArch: noarch
BuildRequires: python-devel
%if 0%{?fedora} >= 8
BuildRequires: python-setuptools-devel
%else
BuildRequires: python-setuptools
%endif
%description
dnspython is a DNS toolkit for Python. It supports almost all record
@ -32,11 +36,11 @@ manipulation of DNS zones, messages, names, and records.
find examples -type f | xargs chmod a-x
%build
CFLAGS="%{optflags}" %{__python} setup.py build
CFLAGS="%{optflags}" %{__python} -c 'import setuptools; execfile("setup.py")' build
%install
rm -rf %{buildroot}
%{__python} setup.py install -O1 --skip-build --root %{buildroot}
%{__python} -c 'import setuptools; execfile("setup.py")' install --skip-build --root %{buildroot}
%check
pushd tests
@ -56,9 +60,19 @@ rm -rf %{buildroot}
%defattr(-,root,root,-)
%doc ChangeLog LICENSE README TODO examples
%{python_sitelib}/*egg-info
%{python_sitelib}/dns
%changelog
* Fri Aug 29 2008 Tom "spot" Callaway <tcallawa@redhat.com> - 1.6.0-2
- fix license tag
* Sat Dec 4 2007 Jeffrey C. Ollie <jeff@ocjtech.us> - 1.6.0-1
- Update to 1.6.0
* Tue Oct 9 2007 Jeffrey C. Ollie <jeff@ocjtech.us> - 1.5.0-2
- Follow new Python egg packaging specs
* Thu Jan 11 2007 Jeffrey C. Ollie <jeff@ocjtech.us> - 1.5.0-1
- Update to 1.5.0

View File

@ -1 +1 @@
8b9bfb32988d03e49cdf8b3de7c7e6df dnspython-1.5.0.tar.gz
15b8eed42689bd719ec1878a584787ea dnspython-1.6.0.tar.gz