Hello community,

here is the log from the commit of package python-distro for openSUSE:Factory 
checked in at 2017-08-24 18:41:59
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/python-distro (Old)
 and      /work/SRC/openSUSE:Factory/.python-distro.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "python-distro"

Thu Aug 24 18:41:59 2017 rev:1 rq:512451 version:1.0.4

Changes:
--------
New Changes file:

--- /dev/null   2017-07-20 07:30:00.335470106 +0200
+++ /work/SRC/openSUSE:Factory/.python-distro.new/python-distro.changes 
2017-08-24 18:41:59.817308321 +0200
@@ -0,0 +1,4 @@
+-------------------------------------------------------------------
+Sat Jul 22 10:23:42 UTC 2017 - sebix+novell....@sebix.at
+
+- initial package

New:
----
  distro-1.0.4.tar.gz
  python-distro.changes
  python-distro.spec

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Other differences:
------------------
++++++ python-distro.spec ++++++
#
# spec file for package python-distro
#
# Copyright (c) 2017 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
# upon. The license for this file, and modifications and additions to the
# file, is the same license as for the pristine package itself (unless the
# license for the pristine package is not an Open Source License, in which
# case the license is the MIT License). An "Open Source License" is a
# license that conforms to the Open Source Definition (Version 1.9)
# published by the Open Source Initiative.

# Please submit bugfixes or comments via http://bugs.opensuse.org/


%{?!python_module:%define python_module() python-%{**} python3-%{**}}
%{!?license: %global license %doc}
%bcond_without test
Name:           python-distro
Version:        1.0.4
Release:        0
License:        Apache-2.0
Summary:        Linux Distribution - a Linux OS platform information API
Url:            https://github.com/nir0s/distro
Group:          Development/Languages/Python
Source:         
https://files.pythonhosted.org/packages/source/d/distro/distro-%{version}.tar.gz
BuildRequires:  python-rpm-macros
BuildRequires:  %{python_module devel}
BuildRequires:  %{python_module setuptools}
BuildRoot:      %{_tmppath}/%{name}-%{version}-build
BuildArch:      noarch

%python_subpackages

%description
distro (for: Linux Distribution) provides information about the Linux 
distribution it runs on, such as a reliable machine-readable ID, or version 
information.

It is a renewed alternative implementation for Python's original 
platform.linux_distribution function, but it also provides much more 
functionality which isn't necessarily Python bound like a command-line 
interface.

%prep
%setup -q -n distro-%{version}

%build
%python_build

%install
%python_install

%if %{with test}
# incomplete source tarball see https://github.com/nir0s/distro/pull/189
#%%check
#%%python_exec setup.py test
%endif

%files %{python_files}
%defattr(-,root,root,-)
%doc CHANGES README.md README.rst
%python3_only %{_bindir}/distro
%{python_sitelib}/*
%%license LICENSE

%changelog

Reply via email to