14
0
forked from pool/python-ntfy

Accepting request 596684 from home:theMarix:branches:devel:languages:python

- Switch source service to run offline instead of on checkout.
  This is required to be compatible with Factory policies.

OBS-URL: https://build.opensuse.org/request/show/596684
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-ntfy?expand=0&rev=3
This commit is contained in:
Matthias Bach
2018-04-15 11:27:15 +00:00
committed by Git OBS Bridge
parent de113141fb
commit e04e48d15a
4 changed files with 21 additions and 9 deletions

View File

@@ -1,15 +1,15 @@
<services>
<service name="obs_scm">
<service name="obs_scm" mode="disabled">
<param name="url">https://github.com/dschep/ntfy.git</param>
<param name="scm">git</param>
<param name="revision">v2.6.0</param>
<param name="versionformat">@PARENT_TAG@</param>
<param name="versionrewrite-pattern">v(.*)</param>
</service>
<service name="tar" mode="buildtime"/>
<service name="recompress" mode="buildtime">
<service name="tar" mode="disabled" />
<service name="recompress" mode="disabled">
<param name="file">*.tar</param>
<param name="compression">xz</param>
</service>
<service name="set_version" />
<service name="set_version" mode="disabled" />
</services>

3
ntfy-2.6.0.tar.xz Normal file
View File

@@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:967be44650b5ef2e8aa87f232595cc34363697c5ed5315b7f1dca5193982d461
size 1748160

View File

@@ -1,3 +1,9 @@
-------------------------------------------------------------------
Sun Apr 15 11:08:58 UTC 2018 - marix@marix.org
- Switch source service to run offline instead of on checkout.
This is required to be compatible with Factory policies.
-------------------------------------------------------------------
Wed Apr 4 18:34:22 UTC 2018 - marix@marix.org

View File

@@ -1,6 +1,7 @@
#
# spec file for package python-ntfy
#
# Copyright (c) 2018 SUSE LINUX GmbH, Nuernberg, Germany.
# Copyright (c) 2018 Matthias Bach <marix@marix.org>.
#
# All modifications and additions to the file contributed by third parties
@@ -13,6 +14,8 @@
# published by the Open Source Initiative.
# Please submit bugfixes or comments via http://bugs.opensuse.org/
#
%define skip_python2 1
@@ -21,17 +24,17 @@
Name: python-ntfy
Version: 2.6.0
Release: 0
License: GPL-3.0
Summary: A utility for sending push notifications
Url: https://github.com/dschep/ntfy
License: GPL-3.0
Group: Development/Languages/Python
Url: https://github.com/dschep/ntfy
Source: ntfy-%{version}.tar.xz
BuildRequires: python-rpm-macros
BuildRequires: %{python_module devel}
BuildRequires: %{python_module setuptools}
BuildRequires: %{python_module appdirs}
BuildRequires: %{python_module devel}
BuildRequires: %{python_module requests}
BuildRequires: %{python_module ruamel.yaml}
BuildRequires: %{python_module setuptools}
BuildRequires: python-rpm-macros
# test requirements
BuildRequires: %{python_module emoji}
BuildRequires: %{python_module mock}