- Fix fdupes call
- Use singlespec everywhere as we rather update packages on older releases to be singlespeced instead of using py2 only variants OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-notify2?expand=0&rev=9
This commit is contained in:
committed by
Git OBS Bridge
parent
55c874e672
commit
538f08d529
@@ -1,3 +1,10 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Mon Dec 10 12:53:58 UTC 2018 - Tomáš Chvátal <tchvatal@suse.com>
|
||||||
|
|
||||||
|
- Fix fdupes call
|
||||||
|
- Use singlespec everywhere as we rather update packages on older
|
||||||
|
releases to be singlespeced instead of using py2 only variants
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Sun Jul 2 09:11:09 UTC 2017 - antoine.belvire@opensuse.org
|
Sun Jul 2 09:11:09 UTC 2017 - antoine.belvire@opensuse.org
|
||||||
|
|
||||||
|
@@ -1,7 +1,7 @@
|
|||||||
#
|
#
|
||||||
# spec file for package python-notify2
|
# spec file for package python-notify2
|
||||||
#
|
#
|
||||||
# Copyright (c) 2017 SUSE LINUX GmbH, Nuernberg, Germany.
|
# Copyright (c) 2018 SUSE LINUX GmbH, Nuernberg, Germany.
|
||||||
#
|
#
|
||||||
# All modifications and additions to the file contributed by third parties
|
# All modifications and additions to the file contributed by third parties
|
||||||
# remain the property of their copyright owners, unless otherwise agreed
|
# remain the property of their copyright owners, unless otherwise agreed
|
||||||
@@ -12,7 +12,7 @@
|
|||||||
# license that conforms to the Open Source Definition (Version 1.9)
|
# license that conforms to the Open Source Definition (Version 1.9)
|
||||||
# published by the Open Source Initiative.
|
# published by the Open Source Initiative.
|
||||||
|
|
||||||
# Please submit bugfixes or comments via http://bugs.opensuse.org/
|
# Please submit bugfixes or comments via https://bugs.opensuse.org/
|
||||||
#
|
#
|
||||||
|
|
||||||
|
|
||||||
@@ -23,25 +23,18 @@ Release: 0
|
|||||||
Summary: Python interface to DBus notifications
|
Summary: Python interface to DBus notifications
|
||||||
License: BSD-2-Clause
|
License: BSD-2-Clause
|
||||||
Group: Development/Languages/Python
|
Group: Development/Languages/Python
|
||||||
Url: https://pypi.python.org/pypi/notify2/
|
URL: https://pypi.python.org/pypi/notify2/
|
||||||
Source: https://pypi.io/packages/source/n/notify2/notify2-%{version}.tar.gz
|
Source: https://files.pythonhosted.org/packages/source/n/notify2/notify2-%{version}.tar.gz
|
||||||
%if 0%{suse_version} <= 1315
|
|
||||||
BuildRequires: dbus-1-python
|
|
||||||
BuildRequires: dbus-1-python3
|
|
||||||
%else
|
|
||||||
BuildRequires: %{python_module dbus-python}
|
BuildRequires: %{python_module dbus-python}
|
||||||
%endif
|
|
||||||
BuildRequires: %{python_module setuptools}
|
BuildRequires: %{python_module setuptools}
|
||||||
BuildRequires: fdupes
|
BuildRequires: fdupes
|
||||||
BuildRequires: python-rpm-macros
|
BuildRequires: python-rpm-macros
|
||||||
|
BuildArch: noarch
|
||||||
%ifpython3
|
%ifpython3
|
||||||
Requires: dbus-1-python3
|
Requires: dbus-1-python3
|
||||||
%else
|
%else
|
||||||
Requires: dbus-1-python
|
Requires: dbus-1-python
|
||||||
%endif
|
%endif
|
||||||
BuildArch: noarch
|
|
||||||
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
|
||||||
|
|
||||||
%python_subpackages
|
%python_subpackages
|
||||||
|
|
||||||
%description
|
%description
|
||||||
@@ -58,11 +51,10 @@ applications.
|
|||||||
|
|
||||||
%install
|
%install
|
||||||
%python_install
|
%python_install
|
||||||
%fdupes %{buildroot}/%{_prefix}
|
%python_expand %fdupes %{buildroot}%{$python_sitelib}
|
||||||
|
|
||||||
%files %python_files
|
%files %{python_files}
|
||||||
%defattr(-,root,root,-)
|
%license LICENSE
|
||||||
%doc LICENSE
|
|
||||||
%{python_sitelib}/*
|
%{python_sitelib}/*
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
Reference in New Issue
Block a user