Compare commits
3 Commits
Author | SHA256 | Date | |
---|---|---|---|
66ba835868 | |||
e9266f194f | |||
fa8d7a83e1 |
12
README.md
Normal file
12
README.md
Normal file
@@ -0,0 +1,12 @@
|
||||
|
||||
## Build Results
|
||||
|
||||
Current state of perl in openSUSE:Factory is
|
||||
|
||||

|
||||
|
||||
The current state of perl in the devel project build (devel:languages:perl)
|
||||
|
||||

|
||||
|
||||
|
16
perl-Session-Token-gcc15.patch
Normal file
16
perl-Session-Token-gcc15.patch
Normal file
@@ -0,0 +1,16 @@
|
||||
Index: Session-Token-1.503/rand.h
|
||||
===================================================================
|
||||
--- Session-Token-1.503.orig/rand.h
|
||||
+++ Session-Token-1.503/rand.h
|
||||
@@ -36,9 +36,9 @@ typedef struct randctx randctx;
|
||||
If (flag==TRUE), then use the contents of randrsl[0..RANDSIZ-1] as the seed.
|
||||
------------------------------------------------------------------------------
|
||||
*/
|
||||
-void randinit(/*_ randctx *r, word flag _*/);
|
||||
+void randinit(randctx *r, word flag);
|
||||
|
||||
-void isaac(/*_ randctx *r _*/);
|
||||
+void isaac(randctx *r);
|
||||
|
||||
|
||||
/*
|
@@ -1,3 +1,10 @@
|
||||
-------------------------------------------------------------------
|
||||
Wed Apr 16 10:56:19 UTC 2025 - pgajdos@suse.com
|
||||
|
||||
- added patches
|
||||
fix build with gcc15
|
||||
+ perl-Session-Token-gcc15.patch
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Sun May 10 10:41:55 UTC 2020 - Frank Schreiner <FSchreiner@suse.com>
|
||||
|
||||
|
@@ -1,7 +1,7 @@
|
||||
#
|
||||
# spec file for package perl-Session-Token
|
||||
#
|
||||
# Copyright (c) 2017 SUSE LINUX GmbH, Nuernberg, Germany.
|
||||
# Copyright (c) 2025 SUSE LLC
|
||||
#
|
||||
# All modifications and additions to the file contributed by third parties
|
||||
# remain the property of their copyright owners, unless otherwise agreed
|
||||
@@ -12,7 +12,7 @@
|
||||
# license that conforms to the Open Source Definition (Version 1.9)
|
||||
# published by the Open Source Initiative.
|
||||
|
||||
# Please submit bugfixes or comments via http://bugs.opensuse.org/
|
||||
# Please submit bugfixes or comments via https://bugs.opensuse.org/
|
||||
#
|
||||
|
||||
|
||||
@@ -21,10 +21,13 @@ Version: 1.503
|
||||
Release: 0
|
||||
%define cpan_name Session-Token
|
||||
Summary: Secure, efficient, simple random session token generation
|
||||
License: Artistic-1.0 or GPL-1.0+
|
||||
License: Artistic-1.0 OR GPL-1.0-or-later
|
||||
Group: Development/Libraries/Perl
|
||||
Url: http://search.cpan.org/dist/Session-Token/
|
||||
URL: http://search.cpan.org/dist/Session-Token/
|
||||
Source0: https://cpan.metacpan.org/authors/id/F/FR/FRACTAL/%{cpan_name}-%{version}.tar.gz
|
||||
Source100: README.md
|
||||
# fix build with gcc15
|
||||
Patch0: perl-Session-Token-gcc15.patch
|
||||
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
||||
BuildRequires: perl
|
||||
BuildRequires: perl-macros
|
||||
@@ -63,7 +66,7 @@ in ISAAC is '2**40', although no cycles this short have ever been found
|
||||
(and probably don't exist at all). On average, ISAAC cycles are '2**8295'.
|
||||
|
||||
%prep
|
||||
%setup -q -n %{cpan_name}-%{version}
|
||||
%autosetup -p1 -n %{cpan_name}-%{version}
|
||||
|
||||
%build
|
||||
%{__perl} Makefile.PL INSTALLDIRS=vendor OPTIMIZE="%{optflags}"
|
||||
|
Reference in New Issue
Block a user