Accepting request 656919 from home:trenn
OBS-URL: https://build.opensuse.org/request/show/656919 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-linux-procfs?expand=0&rev=1
This commit is contained in:
commit
2140e911c9
23
.gitattributes
vendored
Normal file
23
.gitattributes
vendored
Normal file
@ -0,0 +1,23 @@
|
|||||||
|
## Default LFS
|
||||||
|
*.7z filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.bsp filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.bz2 filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.gem filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.gz filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.jar filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.lz filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.lzma filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.obscpio filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.oxt filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.pdf filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.png filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.rpm filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.tbz filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.tbz2 filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.tgz filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.ttf filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.txz filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.whl filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.xz filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.zip filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.zst filter=lfs diff=lfs merge=lfs -text
|
1
.gitignore
vendored
Normal file
1
.gitignore
vendored
Normal file
@ -0,0 +1 @@
|
|||||||
|
.osc
|
3
python-linux-procfs-0.6.tar.xz
Normal file
3
python-linux-procfs-0.6.tar.xz
Normal file
@ -0,0 +1,3 @@
|
|||||||
|
version https://git-lfs.github.com/spec/v1
|
||||||
|
oid sha256:829f3e17bb22f6c6e661c20c1b05e9ef2c7be1c2d71fa2100c836ae7ff6a4f18
|
||||||
|
size 18404
|
20
python-linux-procfs.changes
Normal file
20
python-linux-procfs.changes
Normal file
@ -0,0 +1,20 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Mon Dec 10 17:10:01 UTC 2018 - trenn@suse.de
|
||||||
|
|
||||||
|
- Package needed for latest tuned (bsc#1071436)
|
||||||
|
- correct version in first changelog entry
|
||||||
|
- only xz, removed gz tarball
|
||||||
|
- called test executable in %check section
|
||||||
|
- Removed never/unused patch
|
||||||
|
- Use python3_install and python3_build, this package is only
|
||||||
|
needed for python3 intentionally
|
||||||
|
- Remove %{python_files} from %files section again, this package
|
||||||
|
is for python3 intended only
|
||||||
|
- Run spec_cleaner
|
||||||
|
- Use pycache_only
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Fri Dec 7 16:41:39 UTC 2018 - trenn@suse.de
|
||||||
|
|
||||||
|
- Inital version 0.6 submission
|
||||||
|
|
59
python-linux-procfs.spec
Normal file
59
python-linux-procfs.spec
Normal file
@ -0,0 +1,59 @@
|
|||||||
|
#
|
||||||
|
# spec file for package python-linux-procfs
|
||||||
|
#
|
||||||
|
# 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
|
||||||
|
# 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 https://bugs.opensuse.org/
|
||||||
|
#
|
||||||
|
|
||||||
|
|
||||||
|
%{?!python_module:%define python_module() python-%{**} python3-%{**}}
|
||||||
|
%define skip_python2 1
|
||||||
|
Name: python-linux-procfs
|
||||||
|
Version: 0.6
|
||||||
|
Release: 0
|
||||||
|
Summary: Linux /proc abstraction classes
|
||||||
|
License: GPL-2.0-or-later
|
||||||
|
Group: Development/Languages/Python
|
||||||
|
URL: https://rt.wiki.kernel.org/index.php/Tuna
|
||||||
|
Source: https://cdn.kernel.org/pub/software/libs/python/%{name}/%{name}-%{version}.tar.xz
|
||||||
|
BuildRequires: python-rpm-macros
|
||||||
|
BuildRequires: python3
|
||||||
|
BuildRequires: python3-setuptools
|
||||||
|
Requires: python3-six
|
||||||
|
BuildArch: noarch
|
||||||
|
|
||||||
|
%description
|
||||||
|
Abstractions to extract information from the Linux kernel /proc files.
|
||||||
|
|
||||||
|
%prep
|
||||||
|
%setup -q
|
||||||
|
|
||||||
|
%build
|
||||||
|
%python3_build
|
||||||
|
|
||||||
|
%install
|
||||||
|
%python3_install
|
||||||
|
|
||||||
|
%check
|
||||||
|
python3 bitmasklist_test.py
|
||||||
|
|
||||||
|
%files
|
||||||
|
%defattr(0755,root,root,0755)
|
||||||
|
%{python_sitelib}/procfs/
|
||||||
|
%{_bindir}/pflags
|
||||||
|
%defattr(0644,root,root,0755)
|
||||||
|
%{python_sitelib}/python_linux_procfs*.egg-info
|
||||||
|
%pycache_only %dir %{python_sitelib}/procfs/__pycache__
|
||||||
|
%pycache_only %{python_sitelib}/procfs/__pycache__/*.pyc
|
||||||
|
%license COPYING
|
||||||
|
%changelog
|
Loading…
x
Reference in New Issue
Block a user