Skip to content

Commit

Permalink
Now the default python
Browse files Browse the repository at this point in the history
  • Loading branch information
irvingleonard committed Jun 1, 2023
1 parent c48a9f0 commit 0f41f48
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 8 deletions.
9 changes: 5 additions & 4 deletions el7/python38-altinstall.spec
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@

Name: python38-altinstall
Version: 3.8.16
Release: 1%{?dist}
Release: 2%{?dist}
Summary: Interpreter of the Python programming language

License: Python
Expand All @@ -25,9 +25,6 @@ BuildRequires: sqlite-devel
BuildRequires: tk-devel
BuildRequires: uuid-devel
BuildRequires: xz-devel
Provides: /usr/local/bin/python3.8
# Don't even bother with default python. It's required by this package, that's why is listed here.
Provides: /usr/local/bin/python

%description
Python is an accessible, high-level, dynamically typed, interpreted programming
Expand All @@ -52,6 +49,7 @@ make altinstall DESTDIR=%{buildroot}
find %{buildroot} -type f -name '*.pyc' -delete
# Compress man page
%{__gzip} --name --best %{buildroot}/usr/local/share/man/man1/python3.8.1
ln -s ./python3.8 %{buildroot}/usr/local/bin/python


%files
Expand All @@ -67,8 +65,11 @@ find %{buildroot} -type f -name '*.pyc' -delete
/usr/local/include/python3.8
/usr/local/lib/python3.8
%doc /usr/local/share/man/man1/python3.8.1.gz
/usr/local/bin/python

%changelog
* Wed May 31 2023 Irving Leonard <irvingleonard@github.com> 3.9.16-2
- Working default python
* Tue May 30 2023 Irving Leonard <irvingleonard@github.com> 3.8.16-1
- Upgraded to version 3.8.16
* Thu Nov 4 2021 Irving Leonard <irvingleonard@github.com> 3.8.12-1
Expand Down
9 changes: 5 additions & 4 deletions el7/python39-altinstall.spec
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@

Name: python39-altinstall
Version: 3.9.16
Release: 1%{?dist}
Release: 2%{?dist}
Summary: Interpreter of the Python programming language

License: Python
Expand All @@ -25,9 +25,6 @@ BuildRequires: sqlite-devel
BuildRequires: tk-devel
BuildRequires: uuid-devel
BuildRequires: xz-devel
Provides: /usr/local/bin/python3.9
# Don't even bother with default python. It's required by this package, that's why is listed here.
Provides: /usr/local/bin/python

%description
Python is an accessible, high-level, dynamically typed, interpreted programming
Expand All @@ -52,6 +49,7 @@ make altinstall DESTDIR=%{buildroot}
find %{buildroot} -type f -name '*.pyc' -delete
# Compress man page
%{__gzip} --name --best %{buildroot}/usr/local/share/man/man1/python3.9.1
ln -s ./python3.9 %{buildroot}/usr/local/bin/python


%files
Expand All @@ -67,8 +65,11 @@ find %{buildroot} -type f -name '*.pyc' -delete
/usr/local/include/python3.9
/usr/local/lib/python3.9
%doc /usr/local/share/man/man1/python3.9.1.gz
/usr/local/bin/python

%changelog
* Wed May 31 2023 Irving Leonard <irvingleonard@github.com> 3.9.16-2
- Working default python
* Tue May 30 2023 Irving Leonard <irvingleonard@github.com> 3.9.16-1
- Upgraded to version 3.9.16
* Thu Nov 4 2021 Irving Leonard <irvingleonard@github.com> 3.9.7-1
Expand Down

0 comments on commit 0f41f48

Please # to comment.