From 5500cc0f09d23fd13e05ed7a9edddaeb2f1beb075b440c04c8ff66a3bef0ddca Mon Sep 17 00:00:00 2001 From: Alberto Planas Dominguez Date: Mon, 14 Dec 2015 09:14:29 +0000 Subject: [PATCH] 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 --- jdcal-1.0.tar.gz | 3 --- jdcal-1.2.tar.gz | 3 +++ python-jdcal.changes | 5 +++++ python-jdcal.spec | 15 +++++++++------ 4 files changed, 17 insertions(+), 9 deletions(-) delete mode 100644 jdcal-1.0.tar.gz create mode 100644 jdcal-1.2.tar.gz diff --git a/jdcal-1.0.tar.gz b/jdcal-1.0.tar.gz deleted file mode 100644 index 10ab266..0000000 --- a/jdcal-1.0.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:133220a36c533bae02355aca7f507de7b33e57e9467d33cea7d5673ba354a3e6 -size 5677 diff --git a/jdcal-1.2.tar.gz b/jdcal-1.2.tar.gz new file mode 100644 index 0000000..06ebe98 --- /dev/null +++ b/jdcal-1.2.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:5ebedb58b95ebabd30f56abef65139c6f69ec1687cf1d2f3a7c503f9a2cdfa4d +size 7059 diff --git a/python-jdcal.changes b/python-jdcal.changes index d5a00e6..71b41d4 100644 --- a/python-jdcal.changes +++ b/python-jdcal.changes @@ -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 diff --git a/python-jdcal.spec b/python-jdcal.spec index 6061f4c..88f6780 100644 --- a/python-jdcal.spec +++ b/python-jdcal.spec @@ -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