python-meh/python-meh.spec
2020-10-30 15:47:27 +08:00

60 lines
1.4 KiB
RPMSpec

Name: python-meh
Version: 0.48
Release: 2
Summary: A python library for handling exceptions
License: GPLv2+
URL: https://github.com/rhinstaller/%{name}
Source0: https://github.com/rhinstaller/%{name}/archive/%{name}-%{version}.tar.gz
BuildArch: noarch
BuildRequires: gettext intltool libreport-gtk libreport-cli python3-devel
BuildRequires: python3-setuptools python3-dbus python3-libreport git
%description
It is a python library for handling, saving, and reporting exceptions.
%package -n python3-meh
Summary: A python 3 library for handling exceptions
%{?python_provide:%python_provide python3-meh}
Provides: python3-meh-gui = %{version}-%{release}
Obsoletes: python-meh < 0.46-1
Obsoletes: python-meh-gui python3-meh-gui
Requires: python3 python3-dbus python3-rpm libreport-cli python3-libreport
Requires: python3-gobject gtk3 libreport-gtk
%description -n python3-meh
The library for python 3.
%prep
%autosetup -n %{name}-%{name}-%{version} -p1 -Sgit
%build
%make_build
%check
make test
%install
%make_install
%files -n python3-meh
%license COPYING
%{python3_sitelib}/*
%{_datadir}/python-meh
%changelog
* Fri Oct 30 2020 wuchaochao <wuchaochao4@huawei.com> - 0.48-2
- Type:bufix
- CVE:NA
- SUG:NA
- DESC:remove python2
* Thu Nov 21 2019 fangyufa<fangyufa1@huawei.com> - 0.47-4
- add buildrequires of git for x86_64 build
* Sun Oct 20 2019 openEuler Buildteam<buildteam@openeuler.org> - 0.47-3
- Type:NA
- ID:NA
- SUG:NA
- DESC:Package Init