Пакет python-module-pyrfc3339: Specfile
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 | %global srcname pyRFC3339 %def_with python3 Name: python-module-pyrfc3339 Version: 1.0 Release: alt1.1 Summary: Generate and parse RFC 3339 timestamps License: MIT Group: Development/Python Url: https://pypi.python.org/pypi/pyRFC3339 Packager: Vitaly Lipatov <lav@altlinux.ru> # Source-url: https://pypi.python.org/packages/source/p/pyRFC3339/pyRFC3339-%version.tar.gz Source: %srcname-%version.tar BuildArch: noarch BuildRequires: python-devel python-module-distribute # --- unit tests --- #BuildRequires: python-nose #BuildRequires: pytz %if_with python3 BuildRequires(pre): rpm-build-python3 BuildPreReq: python3-devel python3-module-setuptools python3-module-setuptools-tests # --- unit tests --- #BuildRequires: python3-nose #BuildRequires: python3-pytz %endif %description This package contains a python library to parse and generate RFC 3339-compliant timestamps using Python datetime.datetime objects. %if_with python3 %package -n python3-module-rfc3339 Group: Development/Python Summary: Generate and parse RFC 3339 timestamps %description -n python3-module-rfc3339 This package contains a Python 3 library to parse and generate RFC 3339-compliant timestamps using Python datetime.datetime objects. %endif %prep %setup -n %srcname-%version %build %python_build %if_with python3 %python3_build %endif %install %python_install %if_with python3 %python3_install %endif %check #__python setup.py test #if_with python3 #__python3 setup.py test #endif %files %doc README.rst %doc LICENSE.txt %python_sitelibdir/pyrfc3339/ %python_sitelibdir/%srcname-%version-*.egg-info %if_with python3 %files -n python3-module-rfc3339 %doc README.rst %doc LICENSE.txt %python3_sitelibdir/pyrfc3339/ %python3_sitelibdir/%srcname-%version-*.egg-info %endif %changelog * Sun Mar 13 2016 Ivan Zakharyaschev <imz@altlinux.org> 1.0-alt1.1 - (NMU) rebuild with rpm-build-python3-0.1.9 (for common python3/site-packages/ and auto python3.3-ABI dep when needed) * Tue Feb 16 2016 Vitaly Lipatov <lav@altlinux.ru> 1.0-alt1 - initial build for ALT Linux Sisyphus * Thu Feb 04 2016 Fedora Release Engineering <releng@fedoraproject.org> - 1.0-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild * Thu Dec 03 2015 Robert Buchholz <rbu@goodpoint.de> - 1.0-2 - epel7: Only build python2 package * Tue Nov 10 2015 James Hogarth <james.hogarth@gmail.com> - 1.0-1 - Add installed tests back as per review - Update to new 1.0 PyPi release - Add external license file * Sun Nov 08 2015 James Hogarth <james.hogarth@gmail.com> - 0.2-2 - Update to follow the python guidelines * Wed Oct 28 2015 Felix Schwarz <fschwarz@fedoraproject.org> - 0.2-1 - initial packaging |