Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Latest GEOPM Update #1774

Closed
wants to merge 2 commits into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions components/.gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -43,6 +43,7 @@ distro-packages/confuse/SOURCES/confuse-*.tar.gz
distro-packages/flex/SOURCES/flex-*.tar.gz
distro-packages/ipmiutil/SOURCES/ipmiutil-*.tar.gz
distro-packages/python-Cython/SOURCES/Cython-*.tar.gz
distro-packages/python-dasbus/SOURCES/dasbus-*.tar.gz
distro-packages/python-setuptools/SOURCES/setuptools-*.tar.gz
distro-packages/sigar/SOURCES/sigar-*.tar.gz
fs/shine/SOURCES/v*.tar.gz
Expand Down
56 changes: 56 additions & 0 deletions components/distro-packages/python-dasbus/SPECS/python-dasbus.spec
Original file line number Diff line number Diff line change
@@ -0,0 +1,56 @@
#----------------------------------------------------------------------------bh-
# This RPM .spec file is part of the OpenHPC project.
#
# It may have been modified from the default version supplied by the underlying
# release package (if available) in order to apply patches, perform customized
# build/install configurations, and supply additional files to support
# desired integration conventions.
#
#----------------------------------------------------------------------------eh-

%global ohpc_python_dependent 1
%include %{_sourcedir}/OHPC_macros

# Base package name
%global pname dasbus

Name: %{python_prefix}-%{pname}%{PROJ_DELIM}
Summary: DBus library in Python 3
Version: 1.6
Release: 1
Group: %{PROJ_NAME}/distro-packages
License: License: LGPL-2.1-or-later
URL: https://pypi.python.org/pypi/dasbus
Source0: https://github.com/rhinstaller/dasbus/releases/download/v%{version}/dasbus-%{version}.tar.gz

Provides: python3-dasbus = %{version}
%if 0%{?suse_version} || 0%{?sle_version}
BuildRequires: fdupes
Requires: python3-gobject
%else
Requires: python3-gobject-base
%endif

%description
Dasbus is a DBus library written in Python 3, based on
GLib and inspired by pydbus. It is designed to be easy
to use and extend.


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


%build
%{python_prefix} setup.py build


%install
# setup.py install is deprecated, but simple for this stopgap fix
%{python_prefix} setup.py install --root=%{buildroot}


%files
%doc README.md
%license LICENSE
%{python3_sitelib}/%{pname}*
84 changes: 0 additions & 84 deletions components/perf-tools/geopm/SOURCES/gnu12.patch

This file was deleted.

Loading