From 7ea50ab44c878eaccbf4206c4db751fc99655099 Mon Sep 17 00:00:00 2001 From: "Jeffrey C. Ollie" Date: Wed, 19 Nov 2008 12:42:54 +0000 Subject: [PATCH] - fix license tag --- .cvsignore | 2 +- python-dns.spec | 26 ++++++++++++++++++++------ sources | 2 +- 3 files changed, 22 insertions(+), 8 deletions(-) diff --git a/.cvsignore b/.cvsignore index 9264e57..7ba8dce 100644 --- a/.cvsignore +++ b/.cvsignore @@ -1 +1 @@ -dnspython-1.5.0.tar.gz +dnspython-1.6.0.tar.gz diff --git a/python-dns.spec b/python-dns.spec index a46419a..b27571d 100644 --- a/python-dns.spec +++ b/python-dns.spec @@ -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 - 1.6.0-2 +- fix license tag + +* Sat Dec 4 2007 Jeffrey C. Ollie - 1.6.0-1 +- Update to 1.6.0 + +* Tue Oct 9 2007 Jeffrey C. Ollie - 1.5.0-2 +- Follow new Python egg packaging specs + * Thu Jan 11 2007 Jeffrey C. Ollie - 1.5.0-1 - Update to 1.5.0 diff --git a/sources b/sources index 9ccc812..6fce215 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -8b9bfb32988d03e49cdf8b3de7c7e6df dnspython-1.5.0.tar.gz +15b8eed42689bd719ec1878a584787ea dnspython-1.6.0.tar.gz