forked from pool/python-dnspython
Accepting request 53677 from home:aledr:branches
OBS-URL: https://build.opensuse.org/request/show/53677 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-dnspython?expand=0&rev=12
This commit is contained in:
@@ -1,5 +1,5 @@
|
||||
#
|
||||
# spec file for package python-dnspython (Version 1.8.0)
|
||||
# spec file for package python-dnspython (Version 1.9.1)
|
||||
#
|
||||
# Copyright (c) 2010 SUSE LINUX Products GmbH, Nuernberg, Germany.
|
||||
#
|
||||
@@ -15,19 +15,16 @@
|
||||
# Please submit bugfixes or comments via http://bugs.opensuse.org/
|
||||
#
|
||||
|
||||
# norootforbuild
|
||||
|
||||
|
||||
Name: python-dnspython
|
||||
BuildRequires: python-devel
|
||||
Url: http://www.dnspython.org
|
||||
License: Other License(s), see package, BSD
|
||||
Group: Productivity/Networking/DNS/Utilities
|
||||
AutoReqProv: on
|
||||
Version: 1.8.0
|
||||
Version: 1.9.1
|
||||
Release: 1
|
||||
License: Other License(s), see package, BSD
|
||||
Summary: A DNS toolkit for Python
|
||||
Source: http://www.dnspython.org/kits/stable/dnspython-%{version}.tar.gz
|
||||
Url: http://www.dnspython.org
|
||||
Group: Productivity/Networking/DNS/Utilities
|
||||
Source: http://www.dnspython.org/kits/stable/dnspython-%{version}.tar.bz2
|
||||
BuildRequires: python-devel
|
||||
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
||||
%{py_requires}
|
||||
%if %{?suse_version: %{suse_version} > 1110} %{!?suse_version:1}
|
||||
@@ -44,23 +41,20 @@ level classes perform queries for data of a given name, type, and
|
||||
class, and return an answer set. The low level classes allow direct
|
||||
manipulation of DNS zones, messages, names, and records.
|
||||
|
||||
Authors:
|
||||
--------
|
||||
Bob Halley <halley@dnspython.org>
|
||||
|
||||
%prep
|
||||
%setup -n dnspython-%{version}
|
||||
|
||||
%build
|
||||
export CFLAGS="$RPM_OPT_FLAGS"
|
||||
python setup.py build
|
||||
find -name .\* -delete
|
||||
export CFLAGS="%{optflags}"
|
||||
%{__python} setup.py build
|
||||
|
||||
%install
|
||||
python setup.py install --prefix=%{_prefix} --root=$RPM_BUILD_ROOT --record-rpm=INSTALLED_FILES
|
||||
chmod 644 {examples,tests}/*.py
|
||||
%{__python} setup.py install --prefix=%{_prefix} --root=%{buildroot} --record-rpm=INSTALLED_FILES
|
||||
%{__chmod} 644 {examples,tests}/*.py
|
||||
|
||||
%clean
|
||||
rm -rf $RPM_BUILD_ROOT
|
||||
%{__rm} -rf %{buildroot}
|
||||
|
||||
%files -f INSTALLED_FILES
|
||||
%defattr(-,root,root)
|
||||
|
||||
Reference in New Issue
Block a user