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:
Alberto Planas 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,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:133220a36c533bae02355aca7f507de7b33e57e9467d33cea7d5673ba354a3e6
size 5677

3
jdcal-1.2.tar.gz Normal file
View File

@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:5ebedb58b95ebabd30f56abef65139c6f69ec1687cf1d2f3a7c503f9a2cdfa4d
size 7059

View File

@ -1,3 +1,8 @@
-------------------------------------------------------------------
Thu Dec 10 16:24:48 UTC 2015 - bruno@ioda-net.ch
- Update to upstream 1.2 version
-------------------------------------------------------------------
Tue Nov 18 13:44:31 UTC 2014 - toddrme2178@gmail.com

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