Mageia Bugzilla – Attachment 14445 Details for
Bug 32954
upgrading/rebuildin pam-python for python-3.12
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Requests
|
Help
|
Log In
[x]
|
New Account
|
Forgot Password
[patch]
pam-python spec patch
pam-python.spec.patch (text/plain), 1.72 KB, created by
Aurelian R
on 2024-03-10 10:52:51 CET
(
hide
)
Description:
pam-python spec patch
Filename:
MIME Type:
Creator:
Aurelian R
Created:
2024-03-10 10:52:51 CET
Size:
1.72 KB
patch
obsolete
>--- pam-python/SPECS/pam-python.spec 2024-03-09 15:39:54.251001665 +0200 >+++ SPECS/pam-python.spec 2024-03-10 00:28:56.341998510 +0200 >@@ -1,17 +1,23 @@ >+## ChangeLog.txt - unreleased version; git source - branch pr/python-3.12. Source name format: >+## git clone --single-branch --branch pr/python-3.12 https://github.com/sunweaver/pam-python >+## tag=$(git log -n 1 --pretty='format:%cd%h' --date=format:'%Y%m%d''git'); cd pam-python >+## git archive --prefix="pam-python-1.1.0-${tag}/" HEAD > "../pam-python-1.1.0-${tag}.tar.gz" >+%define git_tag 20240207git4a09616 >+ > Name: pam-python >-Version: 1.0.7 >-Release: %mkrel 6 >+Version: 1.1.0 >+Release: %mkrel 1.%{?git_tag:%(tag=%{git_tag};echo ${tag:0:8})} > Group: System/Libraries > URL: https://pam-python.sourceforge.net/ > License: AGPLv3+ > Summary: Support for writing PAM modules in Python >-Source0: https://sourceforge.net/projects/%{name}/files/%{name}-%{version}-1/%{name}-%{version}.tar.gz >-Patch0: pam-python-1.0.7-hg-python3.patch >+#Source0: https://sourceforge.net/projects/%{name}/files/%{name}-%{version}-1/%{name}-%{version}.tar.gz >+Source0: %{name}-%{version}%{?git_tag:-%{git_tag}}.tar.gz > # From upstream bug report > # https://sourceforge.net/p/pam-python/tickets/1/#5839 >-Patch1: pam-python-1.0.6-fedora.patch >+Patch1: pam-python-1.1.0-fedora.patch > # Mageia patches >-Patch100: pam-python-1.0.6-build.patch >+Patch100: pam-python-1.1.0-build.patch > BuildRequires: pkgconfig(python3) > BuildRequires: pam-devel >= 0.76 > BuildRequires: python3-sphinx >@@ -21,8 +27,7 @@ pam-python is a PAM Module that runs the > modules to be written in Python. > > %prep >-%setup -q >-%autopatch -p1 >+%autosetup -p1 -n %{name}-%{version}-%{git_tag} > > %build > %make_build OPTFLAGS="%{optflags}" LDFLAGS="%{ldflags}"
--- pam-python/SPECS/pam-python.spec 2024-03-09 15:39:54.251001665 +0200 +++ SPECS/pam-python.spec 2024-03-10 00:28:56.341998510 +0200 @@ -1,17 +1,23 @@ +## ChangeLog.txt - unreleased version; git source - branch pr/python-3.12. Source name format: +## git clone --single-branch --branch pr/python-3.12 https://github.com/sunweaver/pam-python +## tag=$(git log -n 1 --pretty='format:%cd%h' --date=format:'%Y%m%d''git'); cd pam-python +## git archive --prefix="pam-python-1.1.0-${tag}/" HEAD > "../pam-python-1.1.0-${tag}.tar.gz" +%define git_tag 20240207git4a09616 + Name: pam-python -Version: 1.0.7 -Release: %mkrel 6 +Version: 1.1.0 +Release: %mkrel 1.%{?git_tag:%(tag=%{git_tag};echo ${tag:0:8})} Group: System/Libraries URL: https://pam-python.sourceforge.net/ License: AGPLv3+ Summary: Support for writing PAM modules in Python -Source0: https://sourceforge.net/projects/%{name}/files/%{name}-%{version}-1/%{name}-%{version}.tar.gz -Patch0: pam-python-1.0.7-hg-python3.patch +#Source0: https://sourceforge.net/projects/%{name}/files/%{name}-%{version}-1/%{name}-%{version}.tar.gz +Source0: %{name}-%{version}%{?git_tag:-%{git_tag}}.tar.gz # From upstream bug report # https://sourceforge.net/p/pam-python/tickets/1/#5839 -Patch1: pam-python-1.0.6-fedora.patch +Patch1: pam-python-1.1.0-fedora.patch # Mageia patches -Patch100: pam-python-1.0.6-build.patch +Patch100: pam-python-1.1.0-build.patch BuildRequires: pkgconfig(python3) BuildRequires: pam-devel >= 0.76 BuildRequires: python3-sphinx @@ -21,8 +27,7 @@ pam-python is a PAM Module that runs the modules to be written in Python. %prep -%setup -q -%autopatch -p1 +%autosetup -p1 -n %{name}-%{version}-%{git_tag} %build %make_build OPTFLAGS="%{optflags}" LDFLAGS="%{ldflags}"
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 32954
: 14445 |
14446
|
14447