Hello community,
here is the log from the commit of package python-pass_python_keyring for
openSUSE:Factory checked in at 2018-05-29 10:49:15
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/python-pass_python_keyring (Old)
and /work/SRC/openSUSE:Factory/.python-pass_python_keyring.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "python-pass_python_keyring"
Tue May 29 10:49:15 2018 rev:2 rq:612637 version:1.1
Changes:
--------
---
/work/SRC/openSUSE:Factory/python-pass_python_keyring/python-pass_python_keyring.changes
2014-11-15 12:25:58.000000000 +0100
+++
/work/SRC/openSUSE:Factory/.python-pass_python_keyring.new/python-pass_python_keyring.changes
2018-05-29 10:49:25.422521651 +0200
@@ -1,0 +2,10 @@
+Wed May 23 19:33:06 UTC 2018 - [email protected]
+
+- CLean up SPEC
+
+-------------------------------------------------------------------
+Thu Aug 24 13:49:01 UTC 2017 - [email protected]
+
+- singlespec auto-conversion
+
+-------------------------------------------------------------------
@@ -9,0 +20 @@
+
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ python-pass_python_keyring.spec ++++++
--- /var/tmp/diff_new_pack.3QSnDl/_old 2018-05-29 10:49:26.046498631 +0200
+++ /var/tmp/diff_new_pack.3QSnDl/_new 2018-05-29 10:49:26.050498484 +0200
@@ -1,7 +1,7 @@
#
-# spec file for package pass_python_keyring
+# spec file for package python-pass_python_keyring
#
-# Copyright (c) 2014 SUSE LINUX Products GmbH, Nuernberg, Germany.
+# Copyright (c) 2018 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
@@ -15,47 +15,51 @@
# Please submit bugfixes or comments via http://bugs.opensuse.org/
#
+
%define mod_name pass_python_keyring
+%{!?python_sitelib: %global python_sitelib %(python -c "from
distutils.sysconfig import get_python_lib; print get_python_lib()")}
+%{!?python_sitearch: %global python_sitearch %(python -c "from
distutils.sysconfig import get_python_lib; print get_python_lib(1)")}
+%{?!python_module:%define python_module() python-%{**} python3-%{**}}
Name: python-pass_python_keyring
Version: 1.1
Release: 0
Summary: Pass backend for python-keyring lib
-Url: http://github.com/notandy/pass_python_keyring
-Group: Productivity/Other
License: Python-2.0
+Group: Productivity/Other
+URL: http://github.com/notandy/pass_python_keyring
Source:
http://github.com/notandy/%{mod_name}/archive/v%{version}.tar.gz
Source1: keyringrc.cfg
-BuildRequires: python-setuptools
+BuildRequires: %{python_module setuptools}
+BuildRequires: fdupes
+BuildRequires: python-rpm-macros
Recommends: password-store
Recommends: python-keyring
-BuildRoot: %{_tmppath}/%{mod_name}-%{version}-build
-%{!?python_sitelib: %global python_sitelib %(python -c "from
distutils.sysconfig import get_python_lib; print get_python_lib()")}
-%{!?python_sitearch: %global python_sitearch %(python -c "from
distutils.sysconfig import get_python_lib; print get_python_lib(1)")}
%if 0%{?suse_version}
-%py_requires
-%if 0%{?suse_version} > 1110
BuildArch: noarch
%endif
-%endif
+%python_subpackages
%description
A pass-powered backend for Python Keyring lib.
%prep
%setup -q -n %{mod_name}-%{version}
-install -m0644 %{S:1} .
+install -m0644 %{SOURCE1} .
%build
-python setup.py build
+%python_build
%install
-python setup.py install --skip-build --root=%{buildroot} --prefix=%{_prefix}
+%python_install --skip-build
+%python_expand %fdupes %{buildroot}%{$python_sitelib}
+
+# no tests available
-%files
-%defattr(-,root,root)
+%files %{python_files}
%doc README.md keyringrc.cfg
%dir %{python_sitelib}/%{mod_name}-%{version}-py*.egg-info/
%{python_sitelib}/%{mod_name}-%{version}-py*.egg-info/*
+%pycache_only %{python_sitelib}/__pycache__/*
%{python_sitelib}/pass.py*
%changelog