forked from KonishchevDmitry/pcore
-
Notifications
You must be signed in to change notification settings - Fork 3
/
Copy pathpython-pcore.spec
61 lines (42 loc) · 1.5 KB
/
python-pcore.spec
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
%global project_name pcore
%global project_description %{expand:
A Python package that provides various core tools}
Name: python-%project_name
Version: 0.2
Release: 3.ROCKIT4%{?dist}
Summary: A Python package that provides various core tools
Group: Development/Languages
License: MIT
URL: http://github.com/KonishchevDmitry/%project_name
Source: http://pypi.python.org/packages/source/p/%project_name/%project_name-%{version}.tar.gz
BuildArch: noarch
%description %{project_description}
%package -n python%{python3_pkgversion}-%project_name
Summary: %{summary}
BuildRequires: python%{python3_pkgversion}-devel
BuildRequires: python%{python3_pkgversion}-setuptools
Obsoletes: python36-%project_name
Conflicts: python36-%project_name
%description -n python%{python3_pkgversion}-%project_name %{project_description}
%prep
%setup -n %project_name-%version -q
%build
%py3_build
%install
%py3_install
%files -n python%{python3_pkgversion}-%project_name
%defattr(-,root,root,-)
%{python3_sitelib}/pcore
%{python3_sitelib}/pcore-*.egg-info
%doc ChangeLog README INSTALL
%clean
[ "%buildroot" = "/" ] || rm -rf "%buildroot"
%changelog
* Tue Jan 23 2023 Andrey Kulaev <[email protected]> - 0.2-3
- Add centos 8.4 support
* Wed Jan 09 2019 Mikhail Ushanov <[email protected]> - 0.2-2
- Add python3 package build for EPEL
* Tue Apr 26 2016 Dmitry Konishchev <[email protected]> - 0.2-1
- Add GIGABYTE and TERABYTE constants
* Mon Nov 18 2013 Dmitry Konishchev <[email protected]> - 0.1-1
- New package