python-meh/python-meh.spec

58 lines
1.5 KiB
RPMSpec
Raw Normal View History

2019-11-06 19:49:31 +08:00
Name: python-meh
Version: 0.47
2019-12-13 16:03:52 +08:00
Release: 4
2019-11-06 19:49:31 +08:00
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
Patch9000: python-meh-hide-report-button.patch
BuildArch: noarch
BuildRequires: gettext intltool libreport-gtk libreport-cli python3-devel
2019-12-13 16:03:52 +08:00
BuildRequires: python3-setuptools python3-dbus python3-libreport git
2019-11-06 19:49:31 +08:00
%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: python2-meh < 0.46-1
Obsoletes: python-meh-gui python2-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}-%{version} -p1 -Sgit
%build
%make_build
%check
make test
%install
%make_install
%find_lang %{name}
%files -n python3-meh -f %{name}.lang
%doc ChangeLog
%license COPYING
%{python3_sitelib}/*
%{_datadir}/python-meh
%changelog
2019-12-13 16:03:52 +08:00
* Thu Nov 21 2019 fangyufa<fangyufa1@huawei.com> - 0.47-4
- add buildrequires of git for x86_64 build
2019-11-06 19:49:31 +08:00
* Sun Oct 20 2019 openEuler Buildteam<buildteam@openeuler.org> - 0.47-3
- Type:NA
- ID:NA
- SUG:NA
- DESC:Package Init