python2-dns-vl.spec 9.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313
  1. Name: python2-dns
  2. Version: 1.16.0
  3. Release: 2%{?_dist_release}
  4. Summary: DNS toolkit for Python
  5. Summary(ja): Python 用 DNS ツールキット
  6. Group: programming
  7. Vendor: Project Vine
  8. Distribution: Vine Linux
  9. License: MIT
  10. URL: http://www.dnspython.org/
  11. Source0: http://www.dnspython.org/kits/%{version}/dnspython-%{version}.tar.gz
  12. Source1: http://www.dnspython.org/kits/%{version}/dnspython-%{version}.tar.gz.asc
  13. BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root
  14. BuildArch: noarch
  15. BuildRequires: python-setuptools
  16. BuildRequires: python-devel
  17. BuildRequires: python-rpm-macros
  18. BuildRequires: python-crypto
  19. Obsoletes: python-dns < %{version}-2
  20. Provides: python-dns = %{version}-%{release}
  21. %description
  22. dnspython is a DNS toolkit for Python. It supports almost all record
  23. types. It can be used for queries, zone transfers, and dynamic
  24. updates. It supports TSIG authenticated messages and EDNS0.
  25. dnspython provides both high and low level access to DNS. The high
  26. level classes perform queries for data of a given name, type, and
  27. class, and return an answer set. The low level classes allow direct
  28. manipulation of DNS zones, messages, names, and records.
  29. %prep
  30. %setup0 -q -n dnspython-%{version}
  31. # strip executable permissions so that we don't pick up dependencies
  32. # from documentation
  33. find examples -type f | xargs chmod a-x
  34. %build
  35. %py_build
  36. %install
  37. rm -rf %{buildroot}
  38. %py_install
  39. #%check
  40. #%{__python} setup.py test
  41. %clean
  42. rm -rf %{buildroot}
  43. %files
  44. %defattr(-,root,root,-)
  45. %license LICENSE
  46. %doc README* examples
  47. %{python_sitelib}/*egg-info
  48. %{python_sitelib}/dns
  49. %changelog
  50. * Sat Aug 15 2020 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 1.16.0-2
  51. - changed %%name.
  52. - build with python2 only.
  53. * Tue May 14 2019 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 1.16.0-1
  54. - new upstream release.
  55. - added python3 support.
  56. * Sun Jan 12 2014 Daisuke SUZUKI <daisuke@linux.or.jp> 1.10.0-3
  57. - rebuild with VineSeed environment
  58. * Mon Apr 08 2013 Daisuke SUZUKI <daisuke@linux.or.jp> 1.10.0-2
  59. - add BR: python-devel, python
  60. * Sat Sep 29 2012 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.10.0-1
  61. - new upstream release
  62. * Thu Apr 05 2012 Daisuke SUZUKI <daisuke@linux.or.jp> 1.9.4-1
  63. - initial build for Vine Linux
  64. * Mon Mar 28 2011 Jeffrey C. Ollie <jeff@ocjtech.us> - 1.9.4-1
  65. -
  66. - dnspython 1.9.4 has been released and is available at
  67. - http://www.dnspython.org/kits/1.9.4/
  68. -
  69. - There is no new functionality in this release; just a few bug fixes
  70. - in RRSIG and SIG code.
  71. -
  72. - I will be eliminating legacy code for earlier versions of DNSSEC in a
  73. - future release of dnspython.
  74. * Fri Mar 25 2011 Jeffrey C. Ollie <jeff@ocjtech.us> - 1.9.3-1
  75. -
  76. - New since 1.9.2:
  77. -
  78. - A boolean parameter, 'raise_on_no_answer', has been added to
  79. - the query() methods. In no-error, no-data situations, this
  80. - parameter determines whether NoAnswer should be raised or not.
  81. - If True, NoAnswer is raised. If False, then an Answer()
  82. - object with a None rrset will be returned.
  83. -
  84. - Resolver Answer() objects now have a canonical_name field.
  85. -
  86. - Rdata now have a __hash__ method.
  87. -
  88. - Bugs fixed since 1.9.2:
  89. -
  90. - Dnspython was erroneously doing case-insensitive comparisons
  91. - of the names in NSEC and RRSIG RRs.
  92. -
  93. - We now use "is" and not "==" when testing what section an RR
  94. - is in.
  95. -
  96. - The resolver now disallows metaqueries.
  97. * Tue Feb 08 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.9.2-2
  98. - Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
  99. * Tue Nov 23 2010 Jeffrey C. Ollie <jeff@ocjtech.us> - 1.9.2-1
  100. - It's brown paper bag time :) The fix for the import problems was
  101. - actually bad, but didn't show up in testing because the test suite's
  102. - conditional importing code hid the problem.
  103. -
  104. - Any, 1.9.2 is out.
  105. -
  106. - Sorry for the churn!
  107. * Mon Nov 22 2010 Jeffrey C. Ollie <jeff@ocjtech.us> - 1.9.1-1
  108. - New since 1.9.0:
  109. -
  110. - Nothing.
  111. -
  112. - Bugs fixed since 1.9.0
  113. -
  114. - The dns.dnssec module didn't work with DSA due to namespace
  115. - contamination from a "from"-style import.
  116. -
  117. - New since 1.8.0:
  118. -
  119. - dnspython now uses poll() instead of select() when available.
  120. -
  121. - Basic DNSSEC validation can be done using dns.dnsec.validate()
  122. - and dns.dnssec.validate_rrsig() if you have PyCrypto 2.3 or
  123. - later installed. Complete secure resolution is not yet
  124. - available.
  125. -
  126. - Added key_id() to the DNSSEC module, which computes the DNSSEC
  127. - key id of a DNSKEY rdata.
  128. -
  129. - Added make_ds() to the DNSSEC module, which returns the DS RR
  130. - for a given DNSKEY rdata.
  131. -
  132. - dnspython now raises an exception if HMAC-SHA284 or
  133. - HMAC-SHA512 are used with a Python older than 2.5.2. (Older
  134. - Pythons do not compute the correct value.)
  135. -
  136. - Symbolic constants are now available for TSIG algorithm names.
  137. -
  138. - Bugs fixed since 1.8.0
  139. -
  140. - dns.resolver.zone_for_name() didn't handle a query response
  141. - with a CNAME or DNAME correctly in some cases.
  142. -
  143. - When specifying rdata types and classes as text, Unicode
  144. - strings may now be used.
  145. -
  146. - Hashlib compatibility issues have been fixed.
  147. -
  148. - dns.message now imports dns.edns.
  149. -
  150. - The TSIG algorithm value was passed incorrectly to use_tsig()
  151. - in some cases.
  152. * Fri Aug 13 2010 Jeffrey C. Ollie <jeff@ocjtech.us> - 1.8.0-3
  153. - Add a patch from upstream to fix a Python 2.7 issue.
  154. * Thu Jul 22 2010 David Malcolm <dmalcolm@redhat.com> - 1.8.0-2.1
  155. - Rebuilt for https://fedoraproject.org/wiki/Features/Python_2.7/MassRebuild
  156. * Wed Jan 27 2010 Jeffrey C. Ollie <jeff@ocjtech.us> - 1.8.0-1.1
  157. - Fix error
  158. * Wed Jan 27 2010 Jeffrey C. Ollie <jeff@ocjtech.us> - 1.8.0-1
  159. - New since 1.7.1:
  160. -
  161. - Support for hmac-sha1, hmac-sha224, hmac-sha256, hmac-sha384 and
  162. - hmac-sha512 has been contributed by Kevin Chen.
  163. -
  164. - The tokenizer's tokens are now Token objects instead of (type,
  165. - value) tuples.
  166. -
  167. - Bugs fixed since 1.7.1:
  168. -
  169. - Escapes in masterfiles now work correctly. Previously they were
  170. - only working correctly when the text involved was part of a domain
  171. - name.
  172. -
  173. - When constructing a DDNS update, if the present() method was used
  174. - with a single rdata, a zero TTL was not added.
  175. -
  176. - The entropy pool needed locking to be thread safe.
  177. -
  178. - The entropy pool's reading of /dev/random could cause dnspython to
  179. - block.
  180. -
  181. - The entropy pool did buffered reads, potentially consuming more
  182. - randomness than we needed.
  183. -
  184. - The entropy pool did not seed with high quality randomness on
  185. - Windows.
  186. -
  187. - SRV records were compared incorrectly.
  188. -
  189. - In the e164 query function, the resolver parameter was not used.
  190. * Sun Jul 26 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.7.1-2
  191. - Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild
  192. * Fri Jun 19 2009 Jeffrey C. Ollie <jeff@ocjtech.us> - 1.7.1-1
  193. - New since 1.7.0:
  194. -
  195. - Nothing
  196. -
  197. - Bugs fixed since 1.7.0:
  198. -
  199. - The 1.7.0 kitting process inadventently omitted the code for the
  200. - DLV RR.
  201. -
  202. - Negative DDNS prerequisites are now handled correctly.
  203. * Fri Jun 19 2009 Jeffrey C. Ollie <jeff@ocjtech.us> - 1.7.0-1
  204. - New since 1.6.0:
  205. -
  206. - Rdatas now have a to_digestable() method, which returns the
  207. - DNSSEC canonical form of the rdata, suitable for use in
  208. - signature computations.
  209. -
  210. - The NSEC3, NSEC3PARAM, DLV, and HIP RR types are now supported.
  211. -
  212. - An entropy module has been added and is used to randomize query ids.
  213. -
  214. - EDNS0 options are now supported.
  215. -
  216. - UDP IXFR is now supported.
  217. -
  218. - The wire format parser now has a 'one_rr_per_rrset' mode, which
  219. - suppresses the usual coalescing of all RRs of a given type into a
  220. - single RRset.
  221. -
  222. - Various helpful DNSSEC-related constants are now defined.
  223. -
  224. - The resolver's query() method now has an optional 'source' parameter,
  225. - allowing the source IP address to be specified.
  226. -
  227. - Bugs fixed since 1.6.0:
  228. -
  229. - On Windows, the resolver set the domain incorrectly.
  230. -
  231. - DS RR parsing only allowed one Base64 chunk.
  232. -
  233. - TSIG validation didn't always use absolute names.
  234. -
  235. - NSEC.to_text() only printed the last window.
  236. -
  237. - We did not canonicalize IPv6 addresses before comparing them; we
  238. - would thus treat equivalent but different textual forms, e.g.
  239. - "1:00::1" and "1::1" as being non-equivalent.
  240. -
  241. - If the peer set a TSIG error, we didn't raise an exception.
  242. -
  243. - Some EDNS bugs in the message code have been fixed (see the ChangeLog
  244. - for details).
  245. * Thu Feb 26 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.6.0-4
  246. - Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild
  247. * Sat Nov 29 2008 Jeffrey C. Ollie <jeff@ocjtech.us> - 1.6.0-3
  248. - Rebuild for Python 2.6
  249. * Fri Aug 29 2008 Tom "spot" Callaway <tcallawa@redhat.com> - 1.6.0-2
  250. - fix license tag
  251. * Tue Dec 4 2007 Jeffrey C. Ollie <jeff@ocjtech.us> - 1.6.0-1
  252. - Update to 1.6.0
  253. * Tue Oct 9 2007 Jeffrey C. Ollie <jeff@ocjtech.us> - 1.5.0-2
  254. - Follow new Python egg packaging specs
  255. * Thu Jan 11 2007 Jeffrey C. Ollie <jeff@ocjtech.us> - 1.5.0-1
  256. - Update to 1.5.0
  257. * Fri Dec 8 2006 Jeffrey C. Ollie <jeff@ocjtech.us> - 1.4.0-3
  258. - Bump release for rebuild with Python 2.5
  259. * Mon Aug 14 2006 Jeffrey C. Ollie <jeff@ocjtech.us> - 1.4.0-2
  260. - No longer ghost *.pyo files, thus further simplifying the files section.
  261. * Sat Aug 5 2006 Jeffrey C. Ollie <jeff@ocjtech.us> - 1.4.0-1
  262. - Update to 1.4.0
  263. - Remove unneeded python-abi requires
  264. - Remove unneeded python_sitearch macro
  265. * Fri May 26 2006 Jeffrey C. Ollie <jeff@ocjtech.us> - 1.3.5-1
  266. - First version for Fedora Extras