15
0
forked from pool/python-jdcal

Accepting request 348278 from home:bruno_friedmann:branches:devel:languages:python

- Update to upstream 1.2 version
- Adjust spec to be conform to python3 one

OBS-URL: https://build.opensuse.org/request/show/348278
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-jdcal?expand=0&rev=3
This commit is contained in:
2015-12-14 09:14:29 +00:00
committed by Git OBS Bridge
parent 64b0a20714
commit 5500cc0f09
4 changed files with 17 additions and 9 deletions

View File

@@ -1,7 +1,7 @@
#
# spec file for package python-jdcal
#
# Copyright (c) 2014 SUSE LINUX Products GmbH, Nuernberg, Germany.
# Copyright (c) 2015 SUSE LINUX GmbH, Nuernberg, Germany.
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
@@ -16,14 +16,17 @@
#
Name: python-jdcal
Version: 1.0
#
%define _pyname jdcal
Name: python-%{_pyname}
Version: 1.2
Release: 0
Summary: Julian dates from proleptic Gregorian and Julian calendars
License: BSD-2-Clause
Group: Development/Languages/Python
Url: http://github.com/phn/jdcal
Source: https://pypi.python.org/packages/source/j/jdcal/jdcal-%{version}.tar.gz
Url: http://github.com/phn/%{_pyname}
Source: https://pypi.python.org/packages/source/j/%{_pyname}/%{_pyname}-%{version}.tar.gz
BuildRequires: python-devel
BuildRoot: %{_tmppath}/%{name}-%{version}-build
%if 0%{?suse_version} && 0%{?suse_version} <= 1110
@@ -42,7 +45,7 @@ are defined. Two functions for the reverse calculations are also
defined.
%prep
%setup -q -n jdcal-%{version}
%setup -q -n %{_pyname}-%{version}
%build
python setup.py build