Hello community,

here is the log from the commit of package python-rpmfile for openSUSE:Factory 
checked in at 2020-11-21 12:41:44
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/python-rpmfile (Old)
 and      /work/SRC/openSUSE:Factory/.python-rpmfile.new.5913 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "python-rpmfile"

Sat Nov 21 12:41:44 2020 rev:2 rq:849431 version:1.0.4

Changes:
--------
--- /work/SRC/openSUSE:Factory/python-rpmfile/python-rpmfile.changes    
2019-08-13 13:25:58.357344046 +0200
+++ /work/SRC/openSUSE:Factory/.python-rpmfile.new.5913/python-rpmfile.changes  
2020-11-23 10:46:20.382353286 +0100
@@ -1,0 +2,9 @@
+Tue Nov 17 07:28:06 UTC 2020 - John Vandenberg <jay...@gmail.com>
+
+- Tidy spec
+- Use PyPI sdist with upstream LICENSE
+- Activate test suite, partially disabled
+- Update to v1.0.4
+  * Add support for zstandard compression
+
+-------------------------------------------------------------------

Old:
----
  _service
  python-rpmfile-1.0.0+git20190702.208ac80.obscpio
  python-rpmfile.obsinfo

New:
----
  rpmfile-1.0.4.tar.gz

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

Other differences:
------------------
++++++ python-rpmfile.spec ++++++
--- /var/tmp/diff_new_pack.FL44o4/_old  2020-11-23 10:46:20.934353835 +0100
+++ /var/tmp/diff_new_pack.FL44o4/_new  2020-11-23 10:46:20.938353839 +0100
@@ -1,7 +1,7 @@
 #
-# spec file for package specRPM_CREATION_NAME
+# spec file for package python-rpmfile
 #
-# Copyright (c) specCURRENT_YEAR SUSE LINUX GmbH, Nuernberg, Germany.
+# Copyright (c) 2020 SUSE LLC
 #
 # All modifications and additions to the file contributed by third parties
 # remain the property of their copyright owners, unless otherwise agreed
@@ -12,42 +12,53 @@
 # 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/
+# Please submit bugfixes or comments via https://bugs.opensuse.org/
 #
 
-%{?!python_module:%define python_module() python-%{**} python3-%{**}}
 
+%{?!python_module:%define python_module() python-%{**} python3-%{**}}
 Name:           python-rpmfile 
-Version:        1.0.0+git20190702.208ac80
+Version:        1.0.4
 Release:        0
 Summary:        Python module to read rpm files
 License:        MIT
-Group:          Development/Libraries/Python
-Url:            https://github.com/srossross/rpmfile 
-Source:         %{name}-%{version}.tar.gz
+URL:            https://github.com/srossross/rpmfile
+Source:         
https://files.pythonhosted.org/packages/source/r/rpmfile/rpmfile-%{version}.tar.gz
 BuildRequires:  %{python_module setuptools}
-BuildRequires:  python-rpm-macros
 BuildRequires:  fdupes
+BuildRequires:  python-rpm-macros
+Recommends:     python-zstandard >= 0.13.0
 BuildArch:      noarch
+# SECTION test requirements
+BuildRequires:  %{python_module pytest}
+BuildRequires:  %{python_module zstandard >= 0.13.0}
+# /SECTION
 %python_subpackages
 
 %description
 Tools for inspecting RPM files in python. This module is modeled after the 
tarfile module.
 
 %prep
-%setup -q
+%setup -q -n rpmfile-%{version}
+sed -i '1{/#!/d}' rpmfile/cpiofile.py
 
 %build
 %python_build
 
 %install
 %python_install
-%python_expand rm -rf %{buildroot}%{$python_sitelib}/tests
-%python_expand %fdupes %{buildroot}%{$python_sitelib}
+%{python_expand rm -r %{buildroot}%{$python_sitelib}/tests/
+%fdupes %{buildroot}%{$python_sitelib}
+}
+
+%check
+# https://github.com/srossross/rpmfile/issues/35
+# test_extract depend on github.com
+%pytest -k 'not test_extract'
 
 %files %{python_files}
-%license LICENSE 
 %doc README.md
-%{python_sitelib}/rpmfile*
+%license LICENSE
+%{python_sitelib}/*
 
 %changelog
_______________________________________________
openSUSE Commits mailing list -- commit@lists.opensuse.org
To unsubscribe, email commit-le...@lists.opensuse.org
List Netiquette: https://en.opensuse.org/openSUSE:Mailing_list_netiquette
List Archives: 
https://lists.opensuse.org/archives/list/commit@lists.opensuse.org

Reply via email to