[main] Unblocking Perl packages, part 3 (final). (#2029)

* Initial commit for 'perl-boolean'.

* Linting.

* Adding license and cgmanifest.json entries.

* Adding signatures.

* Initial commit for more Perl deps.

* Adding source attributions.

* Updating spec licenses.

* Updating cgmanifest.json

* Verifying licenses.

* Exlucing test deps.

* Linting.

* Adding signatures.

* Initial commit for new perl packages.

* Adding source attributions, spec licenses, and cgmanifest.json entries.

* Verified spec license and done initial spec clean-up.

* Linting.

* Adding signatures.

* Initial commit for new perl packages.

* Adding source attributions, spec licenses, and cgmanifest.json entries.

* Verified spec license and done initial spec clean-up.

* Linting.

* Adding signatures.

* Initial commit for new perl packages.

* Adding source attributions, spec licenses, and cgmanifest.json entries.

* Updating source URL for 'libecb'.

* Verified license, initial spec clean-up.

* Linting.

* Adding signatures.

* Initial commit for new perl packages.

* Adding source attributions, spec licenses, and cgmanifest.json entries.

* Verified spec license and done initial spec clean-up.

* Linting.

* Adding signatures.

* Initial commit for new perl packages.

* Adding source attributions, spec licenses, and cgmanifest.json entries.

* Verified spec license and done initial spec clean-up.

* Linting.

* Adding signatures.

* Initial commit for new perl packages.

* Adding source attributions, spec licenses, and cgmanifest.json entries.

* Verified spec license and done initial spec clean-up.

* Linting.

* Adding signatures.

* Adding signatures.

* Fixing linting error.

* Verifying missed spec license.
This commit is contained in:
Pawel Winogrodzki 2022-01-27 16:36:36 -08:00 коммит произвёл GitHub
Родитель 3902b25a08
Коммит 1ec63e934d
Не найден ключ, соответствующий данной подписи
Идентификатор ключа GPG: 4AEE18F83AFDEB23
68 изменённых файлов: 7832 добавлений и 56 удалений

Просмотреть файл

@ -0,0 +1,5 @@
{
"Signatures": {
"libecb-9.30.tar.gz": "6f4ef8a6e94742c32598c3ab6861cdcbc460f12e1ef9e7623ee1728383bbd22e"
}
}

Просмотреть файл

@ -0,0 +1,176 @@
%global underscore_version $(echo %{version} | cut -d. -f1-3 --output-delimiter="_")
# Do not create debuginfo sub-package because there is no binary executable
%global debug_package %{nil}
Summary: Compiler built-ins
Name: libecb
Version: 9.30
Release: 1%{?dist}
License: BSD OR GPLv2+
Vendor: Microsoft Corporation
Distribution: Mariner
URL: http://software.schmorp.de/pkg/libecb.html
# Below link points to the correct revision of the sources but doesn't give tarballs with reproducible hashes.
# How to re-build this file for CBL-Mariner in a reproducible way:
# 1. cvs -d :pserver:anonymous@cvs.schmorp.de/schmorpforge export -r rxvt-unicode-rel-%%{underscore_version} %%{name}
# 2. mv %%{name} %%{name}-%%{version}
# 3. tar --sort=name \
# --mtime="2021-04-26 00:00Z" \
# --owner=0 --group=0 --numeric-owner \
# --pax-option=exthdr.name=%d/PaxHeaders/%f,delete=atime,delete=ctime \
# -cf %%{name}-%%{version}.tar.gz %%{name}-%%{version}
#
# NOTES:
# - You require GNU tar version 1.28+.
# - The additional options enable generation of a tarball with the same hash every time regardless of the environment.
# See: https://reproducible-builds.org/docs/archives/
# - For the value of "--mtime" use the date "2021-04-26 00:00Z" to simplify future updates.
Source0: http://cvs.schmorp.de/libecb/?view=tar&pathrev=rxvt-unicode-rel-%{underscore_version}#/%{name}-%{version}.tar.gz
BuildRequires: coreutils
BuildRequires: perl-podlators
%description
This project delivers you many GCC built-ins, attributes and a number of
generally useful low-level functions, such as popcount, expect, prefetch,
noinline, assume, unreachable and so on.
This is a dummy package. All the useful files are delivered by %{name}-devel
package.
%package devel
Summary: Compiler built-ins
# Packaging guidelines require header-only packages:
# to be architecture-specific, to deliver headers in -devel package, to
# provide -static symbol for reverse build-requires.
# Replace libecb package:
Provides: libecb-static = %{?epoch:%{epoch}:}%{version}-%{release}
Provides: libecb = %{?epoch:%{epoch}:}%{version}-%{release}
Obsoletes: libecb < 0.20150218
%description devel
This project delivers you many GCC built-ins, attributes and a number of
generally useful low-level functions, such as popcount, expect, prefetch,
noinline, assume, unreachable and so on.
%prep
%autosetup -p1
%build
pod2man ecb.pod > ecb.3
%install
install -d %{buildroot}%{_includedir}
install -m 0644 -t %{buildroot}%{_includedir} *.h
install -d %{buildroot}%{_mandir}/man3
install -m 0644 -t %{buildroot}%{_mandir}/man3 *.3
%files devel
%license LICENSE
%doc Changes README
%{_includedir}/*
%{_mandir}/man3/*
%changelog
* Wed Jan 26 2022 Pawel Winogrodzki <pawelwi@microsoft.com> - 9.30-1
- Initial CBL-Mariner import from Fedora 36 (license: MIT).
- Switching to using CVS revision tag as version.
- License verified.
* Fri Dec 17 2021 Petr Pisar <ppisar@redhat.com> - 0.20211217-1
- CVS snapshot taken on 20211217 (Fedora patches merged)
* Thu Oct 21 2021 Petr Pisar <ppisar@redhat.com> - 0.20211021-1
- CVS snapshot taken on 2021-10-21 (added ECB_64BIT_NATIVE, ecb_i2a,
ecb_ptrmix)
* Thu Jul 22 2021 Fedora Release Engineering <releng@fedoraproject.org> - 0.20200430-4
- Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild
* Tue Jan 26 2021 Fedora Release Engineering <releng@fedoraproject.org> - 0.20200430-3
- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild
* Tue Jul 28 2020 Fedora Release Engineering <releng@fedoraproject.org> - 0.20200430-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
* Thu Apr 30 2020 Petr Pisar <ppisar@redhat.com> - 0.20200430-1
- CVS snapshot taken on 2020-04-30 (added ECB_OPTIMIZE_SIZE, unaligned load and
store, host order conversions, bit rotations)
* Wed Jan 29 2020 Fedora Release Engineering <releng@fedoraproject.org> - 0.20190722-3
- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild
* Thu Jul 25 2019 Fedora Release Engineering <releng@fedoraproject.org> - 0.20190722-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild
* Mon Jul 22 2019 Petr Pisar <ppisar@redhat.com> - 0.20190722-1
- CVS snapshot taken on 2019-07-22 (ECB_MEMORXY_FENCE_RELAXED memory fence
added, use the memory barriers of a C++ compiler)
* Fri Feb 01 2019 Fedora Release Engineering <releng@fedoraproject.org> - 0.20181119-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild
* Mon Nov 19 2018 Petr Pisar <ppisar@redhat.com> - 0.20181119-1
- CVS snapshot taken on 2018-11-19 (release memory fence switched to a memory
barrier on x86 and x86_64 platforms, support for ISO C14 and C17 added)
* Fri Jul 13 2018 Fedora Release Engineering <releng@fedoraproject.org> - 0.20161208-6
- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild
* Wed Feb 07 2018 Fedora Release Engineering <releng@fedoraproject.org> - 0.20161208-5
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
* Thu Aug 03 2017 Fedora Release Engineering <releng@fedoraproject.org> - 0.20161208-4
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Binutils_Mass_Rebuild
* Wed Jul 26 2017 Fedora Release Engineering <releng@fedoraproject.org> - 0.20161208-3
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild
* Fri Feb 10 2017 Fedora Release Engineering <releng@fedoraproject.org> - 0.20161208-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild
* Thu Dec 08 2016 Petr Pisar <ppisar@redhat.com> - 0.20161208-1
- CVS snapshot taken on 2016-12-08 (documentation updated)
* Tue Feb 09 2016 Petr Pisar <ppisar@redhat.com> - 0.20160209-1
- CVS snapshot taken on 2016-02-09 (improved ecb_binary16_to_float,
ecb_float_to_binary16, ecb_binary16_to_binary32, ecb_binary32_to_binary16
added, ecb_byteorder_helper changed prototype)
* Thu Feb 04 2016 Fedora Release Engineering <releng@fedoraproject.org> - 0.20150608-3
- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild
* Wed Jun 17 2015 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.20150608-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild
* Mon Jun 08 2015 Petr Pisar <ppisar@redhat.com> - 0.20150608-1
- CVS snapshot taken on 2015-06-08 (new macros, more documentation, better
compatibility with x86_64 compilers)
* Wed Feb 18 2015 Petr Pisar <ppisar@redhat.com> - 0.20150218-1
- CVS snapshot taken on 2015-02-18 (C11 compliance)
- Replace libecb package with libecb-devel, users should build-require
libecb-static
* Wed Oct 29 2014 Petr Pisar <ppisar@redhat.com> - 0.20141029-1
- CVS snapshot taken on 2014-10-29
- License changed from (BSD) to (BSD or GPLv2+)
* Sat Jun 07 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.20130509-3
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild
* Sat Aug 03 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.20130509-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild
* Thu May 09 2013 Petr Pisar <ppisar@redhat.com> - 0.20130509-1
- CVS snapshot taken on 2013-05-09
* Thu Feb 14 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.20121022-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild
* Mon Oct 22 2012 Petr Pisar <ppisar@redhat.com> - 0.20121022-1
- CVS snapshot taken on 2012-10-22
* Mon Oct 08 2012 Petr Pisar <ppisar@redhat.com> - 0.20121008-1
- CVS snapshot taken on 2012-10-08
- Fix for building on big-endian systems (bug #863991)

Просмотреть файл

@ -0,0 +1,309 @@
diff -uNr liblzf-3.6.ORIG/bootstrap.sh liblzf-3.6/bootstrap.sh
--- liblzf-3.6.ORIG/bootstrap.sh 1970-01-01 00:00:00.000000000 +0000
+++ liblzf-3.6/bootstrap.sh 2014-03-13 08:10:49.132000000 +0000
@@ -0,0 +1,10 @@
+#!/bin/sh
+set -x
+mkdir -p config
+aclocal -I config
+#aclocal-1.10 -I config
+autoheader
+libtoolize --automake
+automake --add-missing --copy --foreign
+#automake-1.10 --add-missing --copy
+autoconf
diff -uNr liblzf-3.6.ORIG/config.h.in liblzf-3.6/config.h.in
--- liblzf-3.6.ORIG/config.h.in 2014-03-13 08:10:30.234000000 +0000
+++ liblzf-3.6/config.h.in 2014-03-13 08:10:49.133000000 +0000
@@ -1,16 +1,89 @@
-/* config.h.in. Generated automatically from configure.in by autoheader 2.13. */
+/* config.h.in. Generated from configure.ac by autoheader. */
-/* Define to empty if the keyword does not work. */
-#undef const
+/* Define to 1 if you have the <dlfcn.h> header file. */
+#undef HAVE_DLFCN_H
+
+/* Define to 1 if you have the <errno.h> header file. */
+#undef HAVE_ERRNO_H
+
+/* Define to 1 if you have the <fcntl.h> header file. */
+#undef HAVE_FCNTL_H
+
+/* Define to 1 if you have the <getopt.h> header file. */
+#undef HAVE_GETOPT_H
+
+/* Define to 1 if you have the `getopt_long' function. */
+#undef HAVE_GETOPT_LONG
+
+/* Define to 1 if you have the <inttypes.h> header file. */
+#undef HAVE_INTTYPES_H
+
+/* Define to 1 if you have the <limits.h> header file. */
+#undef HAVE_LIMITS_H
+
+/* Define to 1 if you have the <memory.h> header file. */
+#undef HAVE_MEMORY_H
+
+/* Define to 1 if you have the <stdint.h> header file. */
+#undef HAVE_STDINT_H
+
+/* Define to 1 if you have the <stdio.h> header file. */
+#undef HAVE_STDIO_H
+
+/* Define to 1 if you have the <stdlib.h> header file. */
+#undef HAVE_STDLIB_H
+
+/* Define to 1 if you have the <strings.h> header file. */
+#undef HAVE_STRINGS_H
+
+/* Define to 1 if you have the <string.h> header file. */
+#undef HAVE_STRING_H
-/* Define if you have the ANSI C header files. */
+/* Define to 1 if you have the <sys/stat.h> header file. */
+#undef HAVE_SYS_STAT_H
+
+/* Define to 1 if you have the <sys/types.h> header file. */
+#undef HAVE_SYS_TYPES_H
+
+/* Define to 1 if you have the <unistd.h> header file. */
+#undef HAVE_UNISTD_H
+
+/* Define to the sub-directory in which libtool stores uninstalled libraries.
+ */
+#undef LT_OBJDIR
+
+/* Define to the address where bug reports for this package should be sent. */
+#undef PACKAGE_BUGREPORT
+
+/* Define to the full name of this package. */
+#undef PACKAGE_NAME
+
+/* Define to the full name and version of this package. */
+#undef PACKAGE_STRING
+
+/* Define to the one symbol short name of this package. */
+#undef PACKAGE_TARNAME
+
+/* Define to the home page for this package. */
+#undef PACKAGE_URL
+
+/* Define to the version of this package. */
+#undef PACKAGE_VERSION
+
+/* Define to 1 if you have the ANSI C header files. */
#undef STDC_HEADERS
-/* The number of bytes in a int. */
-#undef SIZEOF_INT
+/* Number of bits in a file offset, on hosts where this is settable. */
+#undef _FILE_OFFSET_BITS
+
+/* Define for large files, on AIX-style hosts. */
+#undef _LARGE_FILES
-/* The number of bytes in a long. */
-#undef SIZEOF_LONG
+/* Define to empty if `const' does not conform to ANSI C. */
+#undef const
-/* The number of bytes in a short. */
-#undef SIZEOF_SHORT
+/* Define to `__inline__' or `__inline' if that's what the C compiler
+ calls it, or to nothing if 'inline' is not supported under any name. */
+#ifndef __cplusplus
+#undef inline
+#endif
diff -uNr liblzf-3.6.ORIG/configure.ac liblzf-3.6/configure.ac
--- liblzf-3.6.ORIG/configure.ac 2014-03-13 08:10:30.233000000 +0000
+++ liblzf-3.6/configure.ac 2014-03-13 08:10:49.133000000 +0000
@@ -1,9 +1,65 @@
-AC_INIT
-AC_CONFIG_SRCDIR([lzfP.h])
+AC_INIT(lzf.c)
+
+AC_CONFIG_AUX_DIR(config)
+
+AC_CANONICAL_SYSTEM
+AM_CONFIG_HEADER(config.h)
+AC_CHECK_HEADERS(getopt.h)
+
+
+
+dnl uncomment when tagging
+#RELEASE=TRUE
+
+VER_ARCHITECTURE=3
+VER_MAJOR=6
+VER_MINOR=0
+VER_PATCH=0
+if test "A" = A$RELEASE; then
+ VER_PATCH=${VER_PATCH}_`date '+20%y%m%d%H'`
+fi
+
+AM_INIT_AUTOMAKE(liblzf,$VER_ARCHITECTURE.$VER_MAJOR.$VER_MINOR,"http://software.schmorp.de/pkg/liblzf")
+AC_SUBST(VER_ARCHITECTURE)
+AC_SUBST(VER_MAJOR)
+AC_SUBST(VER_MINOR)
+AC_SUBST(VER_PATCH)
+
+LIBRARY_VERSION="1:0:0"
+
+AC_SUBST(LIBRARY_VERSION)
+
+
+#
+# Wall
+#
+AC_CACHE_CHECK([for maximum warnings compiler flag],
+ ac_cv_cwflag,
+[case "${CC-cc}" in
+ *gcc*) ac_cv_cwflag="-Wall -pedantic -pipe -O3 -funroll-all-loops";;
+ *)
+ ;;
+esac])
+AC_SUBST([CWFLAG], [$ac_cv_cwflag])
+
+AM_PROG_LIBTOOL
+AC_PROG_LN_S
+AC_CHECK_HEADERS([limits.h])
+AC_CHECK_HEADERS([errno.h])
+AC_CHECK_HEADERS([fcntl.h])
+AC_CHECK_HEADERS([stdio.h])
+LT_INIT
+
+AC_CONFIG_SRCDIR([lzf_c.c])
+
+
+if test "${prefix}" = NONE ; then
+ liblzf_prefix=/usr/local
+else
+ liblzf_prefix=${prefix}
+fi
-AC_CONFIG_HEADER(config.h)
-AC_GNU_SOURCE
AC_SYS_LARGEFILE
AC_PROG_CC
AC_PROG_RANLIB
@@ -14,12 +70,6 @@
AC_C_INLINE
AC_CHECK_HEADERS(getopt.h)
AC_CHECK_FUNCS(getopt_long)
+AC_SUBST(ac_aux_dir)
-if test "$GCC" = yes; then
- CFLAGS="$CFLAGS -O3 -funroll-all-loops"
-else
- AC_MSG_RESULT(no gcc)
-fi
-
-AC_CONFIG_FILES([Makefile])
-AC_OUTPUT
+AC_OUTPUT(Makefile liblzf.pc)
diff -uNr liblzf-3.6.ORIG/liblzf.pc.in liblzf-3.6/liblzf.pc.in
--- liblzf-3.6.ORIG/liblzf.pc.in 1970-01-01 00:00:00.000000000 +0000
+++ liblzf-3.6/liblzf.pc.in 2014-03-13 08:10:49.134000000 +0000
@@ -0,0 +1,11 @@
+prefix=@prefix@
+exec_prefix=@exec_prefix@
+libdir=@libdir@
+includedir=@includedir@
+
+Name: liblzf
+Description: Small data compression library
+URL: http://oldhome.schmorp.de/marc/liblzf.html
+Version: @VERSION@
+Libs: -L${libdir} -llzf
+Cflags: -I${includedir}
diff -uNr liblzf-3.6.ORIG/Makefile.am liblzf-3.6/Makefile.am
--- liblzf-3.6.ORIG/Makefile.am 1970-01-01 00:00:00.000000000 +0000
+++ liblzf-3.6/Makefile.am 2014-03-13 08:12:06.195000000 +0000
@@ -0,0 +1,74 @@
+$(PROGRAMS): $(LDEPS)
+
+
+
+h_sources = lzf.h lzfP.h
+c_sources = lzf_c.c \
+ lzf_d.c \
+ crc32.h \
+ lzfP.h
+
+
+library_includedir="$(includedir)"
+
+
+INCLUDES = -I$(includedir) -DLOCALEDIR=\"$(localedir)\"
+
+library_include_HEADERS = $(h_sources)
+
+lib_LTLIBRARIES = liblzf.la
+
+liblzf_la_SOURCES = $(c_sources)
+liblzf_la_LDFLAGS = -no-undefined -version-info $(LIBRARY_VERSION)
+
+bin_PROGRAMS = lzf
+lzf_SOURCES = lzf.c
+lzf_LDADD = $(LDADDS) liblzf.la
+topdir=@RPM_DIR@
+
+
+AUX_DIST = $(ac_aux_dir)/config.guess \
+ $(ac_aux_dir)/config.sub \
+ $(ac_aux_dir)/install-sh \
+ $(ac_aux_dir)/ltmain.sh \
+ $(ac_aux_dir)/missing \
+ $(ac_aux_dir)/ltconfig \
+ $(ac_aux_dir)/ltmain.sh
+
+MAINTAINERCLEANFILES = Makefile.in aclocal.m4 configure config-h.in \
+ stamp-h.in $(AUX_DIST)
+
+ACLOCAL = aclocal -I $(ac_aux_dir)
+
+
+dist-hook:
+ (cd $(distdir); \
+ if [ -a $(ac_aux_dir) ]; then \
+ echo "config exist!"; \
+ else \
+ mkdir $(ac_aux_dir); \
+ fi)
+ (if [ -a $(ac_aux_dir)/depcomp ]; then \
+ echo "depcomp exist!"; \
+ else \
+ touch $(ac_aux_dir)/depcomp; \
+ fi)
+ for file in $(AUX_DIST) $(AUX_DIST_EXTRA); do \
+ cp $$file $(distdir)/$$file; \
+ done
+
+docfiles = \
+ LICENSE \
+ Changes \
+ README
+
+
+csCLZFfiles = \
+ cs/CLZF.cs \
+ cs/README
+
+EXTRA_DIST = $(docfiles) $(csCLZFfiles) bootstrap.sh
+
+pkgconfigdir = $(libdir)/pkgconfig
+pkgconfig_DATA = liblzf.pc
+
diff -uNr liblzf-3.6.ORIG/Makefile.in liblzf-3.6/Makefile.in
--- liblzf-3.6.ORIG/Makefile.in 2014-03-13 08:10:30.233000000 +0000
+++ liblzf-3.6/Makefile.in 2014-03-13 08:13:08.090000000 +0000
@@ -41,6 +41,7 @@
$(INSTALL) -m 755 lzf $(bindir)
$(INSTALL) -d $(includedir)
$(INSTALL_DATA) lzf.h $(includedir)
+ $(INSTALL_DATA) lzfP.h $(includedir)
$(INSTALL) -d $(libdir)
$(INSTALL_DATA) liblzf.a $(libdir)

Просмотреть файл

@ -0,0 +1,5 @@
{
"Signatures": {
"liblzf-3.6.tar.gz": "9c5de01f7b9ccae40c3f619d26a7abec9986c06c36d260c179cedd04b89fb46a"
}
}

Просмотреть файл

@ -0,0 +1,142 @@
Summary: Small data compression library
Name: liblzf
Version: 3.6
Release: 23%{?dist}
License: BSD OR GPLv2+
Vendor: Microsoft Corporation
Distribution: Mariner
URL: http://oldhome.schmorp.de/marc/liblzf.html
Source0: http://dist.schmorp.de/liblzf/liblzf-%{version}.tar.gz
# Adds autoconf and in particular support for building shared libraries.
# 7th Feb 2011 - Mail sent upstream to author. Awaiting conclusion.
Patch0: liblzf-%{version}-autoconf-20140314.patch
BuildRequires: autoconf
BuildRequires: automake
BuildRequires: libtool
BuildRequires: make
%description
LibLZF is a very small data compression library. It consists
of only two .c and two .h files and is very easy to
incorporate into your own programs. The compression algorithm
is very, very fast, yet still written in portable C.
%package devel
Summary: Development files for %{name}
Requires: %{name}%{?_isa} = %{version}-%{release}
%description devel
The liblzf-devel package contains libraries and header files for
developing applications that use liblzf.
%prep
%setup -q
%patch0 -p1
%build
sh ./bootstrap.sh
%configure --disable-static
make %{?_smp_mflags}
%install
make install DESTDIR=%{buildroot}
# Binary does different things depending
# on the name it is called by.
pushd %{buildroot}%{_bindir}
ln -s lzf unlzf
#Leave lzcat out since it conflicts with xz-lzma-compat.
#If ever needed would need an alternative setting up,
#if someone ever asks I'll do it.
#ln -s lzf lzcat
popd
rm -f %{buildroot}%{_libdir}/liblzf.la
%ldconfig_scriptlets
%files
%license LICENSE
%{_bindir}/lzf
%{_bindir}/unlzf
%{_libdir}/liblzf.so.*
# The cs directory contains a .net implementation of lzf.
# Will happily add a .net sub package if given a patch.
%doc README Changes cs
%files devel
%{_includedir}/lzf.h
%{_includedir}/lzfP.h
%{_libdir}/liblzf.so
%{_libdir}/pkgconfig/liblzf.pc
%changelog
* Wed Jan 26 2022 Pawel Winogrodzki <pawelwi@microsoft.com> - 3.6-23
- Initial CBL-Mariner import from Fedora 36 (license: MIT).
- License verified.
* Thu Jul 22 2021 Fedora Release Engineering <releng@fedoraproject.org> - 3.6-22
- Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild
* Tue Jan 26 2021 Fedora Release Engineering <releng@fedoraproject.org> - 3.6-21
- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild
* Tue Jul 28 2020 Fedora Release Engineering <releng@fedoraproject.org> - 3.6-20
- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
* Wed Jan 29 2020 Fedora Release Engineering <releng@fedoraproject.org> - 3.6-19
- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild
* Thu Jul 25 2019 Fedora Release Engineering <releng@fedoraproject.org> - 3.6-18
- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild
* Fri Feb 01 2019 Fedora Release Engineering <releng@fedoraproject.org> - 3.6-17
- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild
* Fri Jul 13 2018 Fedora Release Engineering <releng@fedoraproject.org> - 3.6-16
- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild
* Wed Feb 07 2018 Fedora Release Engineering <releng@fedoraproject.org> - 3.6-15
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
* Thu Aug 03 2017 Fedora Release Engineering <releng@fedoraproject.org> - 3.6-14
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Binutils_Mass_Rebuild
* Wed Jul 26 2017 Fedora Release Engineering <releng@fedoraproject.org> - 3.6-13
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild
* Fri Feb 10 2017 Fedora Release Engineering <releng@fedoraproject.org> - 3.6-12
- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild
* Thu Feb 04 2016 Fedora Release Engineering <releng@fedoraproject.org> - 3.6-11
- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild
* Wed Jun 17 2015 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 3.6-10
- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild
* Sun Aug 17 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 3.6-9
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_22_Mass_Rebuild
* Sat Jun 07 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 3.6-8
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild
* Thu Mar 13 2014 Steve Traylen <steve.traylen@cern.ch> - 3.6-7
- Add lzfP.h file to package rhbz#1075911.
* Sat Aug 03 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 3.6-6
- Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild
* Thu Feb 14 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 3.6-5
- Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild
* Thu Jul 19 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 3.6-4
- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild
* Fri Jan 13 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 3.6-3
- Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild
* Mon Feb 14 2011 Steve Traylen <steve.traylen@cern.ch> - 3.6-2
- Add a .pc file in autoconf patch as well.
- Drop lzcat since conflicts with xz-lzma-compat
* Mon Feb 7 2011 Steve Traylen <steve.traylen@cern.ch> - 3.6-1
- First version of package.

Просмотреть файл

@ -0,0 +1,5 @@
{
"Signatures": {
"AnyEvent-AIO-1.1.tar.gz": "6b105b8c641561631f533ec3423e8067a3d7d58043bf85f0f5e09d706905706b"
}
}

Просмотреть файл

@ -0,0 +1,157 @@
Summary: Truly asynchronous file and directrory I/O
Name: perl-AnyEvent-AIO
Version: 1.1
Release: 35%{?dist}
License: GPL+ OR Artistic
Vendor: Microsoft Corporation
Distribution: Mariner
URL: https://metacpan.org/release/AnyEvent-AIO
Source0: https://cpan.metacpan.org/authors/id/M/ML/MLEHMANN/AnyEvent-AIO-%{version}.tar.gz
BuildArch: noarch
BuildRequires: make
BuildRequires: perl-generators
BuildRequires: perl(AnyEvent)
BuildRequires: perl(ExtUtils::MakeMaker)
BuildRequires: perl(IO::AIO) >= 3
Requires: perl(:MODULE_COMPAT_%(eval "`perl -V:version`"; echo $version))
%description
Truly asynchronous file and directrory I/O.
%prep
%setup -q -n AnyEvent-AIO-%{version}
%build
perl Makefile.PL INSTALLDIRS=vendor
%make_build
%install
make pure_install PERL_INSTALL_ROOT=%{buildroot}
find %{buildroot} -type f -name .packlist -exec rm -f {} ';'
%check
make test
%files
%license COPYING
%doc README
%{perl_vendorlib}/*
%{_mandir}/man3/*.3*
%changelog
* Thu Jan 27 2022 Pawel Winogrodzki <pawelwi@microsoft.com> - 1.1-35
- Initial CBL-Mariner import from Fedora 36 (license: MIT).
- License verified.
* Thu Jul 22 2021 Fedora Release Engineering <releng@fedoraproject.org> - 1.1-34
- Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild
* Fri May 21 2021 Jitka Plesnikova <jplesnik@redhat.com> - 1.1-33
- Perl 5.34 rebuild
* Tue Jan 26 2021 Fedora Release Engineering <releng@fedoraproject.org> - 1.1-32
- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild
* Tue Jul 28 2020 Fedora Release Engineering <releng@fedoraproject.org> - 1.1-31
- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
* Tue Jun 23 2020 Jitka Plesnikova <jplesnik@redhat.com> - 1.1-30
- Perl 5.32 rebuild
* Wed Jan 29 2020 Fedora Release Engineering <releng@fedoraproject.org> - 1.1-29
- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild
* Fri Jul 26 2019 Fedora Release Engineering <releng@fedoraproject.org> - 1.1-28
- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild
* Fri May 31 2019 Jitka Plesnikova <jplesnik@redhat.com> - 1.1-27
- Perl 5.30 rebuild
* Fri Feb 01 2019 Fedora Release Engineering <releng@fedoraproject.org> - 1.1-26
- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild
* Fri Jul 13 2018 Fedora Release Engineering <releng@fedoraproject.org> - 1.1-25
- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild
* Thu Jun 28 2018 Jitka Plesnikova <jplesnik@redhat.com> - 1.1-24
- Perl 5.28 rebuild
* Thu Feb 08 2018 Fedora Release Engineering <releng@fedoraproject.org> - 1.1-23
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
* Thu Jul 27 2017 Fedora Release Engineering <releng@fedoraproject.org> - 1.1-22
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild
* Mon Jun 05 2017 Jitka Plesnikova <jplesnik@redhat.com> - 1.1-21
- Perl 5.26 rebuild
* Sat Feb 11 2017 Fedora Release Engineering <releng@fedoraproject.org> - 1.1-20
- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild
* Sun May 15 2016 Jitka Plesnikova <jplesnik@redhat.com> - 1.1-19
- Perl 5.24 rebuild
* Thu Feb 04 2016 Fedora Release Engineering <releng@fedoraproject.org> - 1.1-18
- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild
* Thu Jun 18 2015 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.1-17
- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild
* Fri Jun 05 2015 Jitka Plesnikova <jplesnik@redhat.com> - 1.1-16
- Perl 5.22 rebuild
* Thu Aug 28 2014 Jitka Plesnikova <jplesnik@redhat.com> - 1.1-15
- Perl 5.20 rebuild
* Sat Jun 07 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.1-14
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild
* Sat Aug 03 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.1-13
- Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild
* Tue Jul 23 2013 Petr Pisar <ppisar@redhat.com> - 1.1-12
- Perl 5.18 rebuild
* Thu Feb 14 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.1-11
- Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild
* Fri Jul 20 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.1-10
- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild
* Thu Jun 14 2012 Petr Pisar <ppisar@redhat.com> - 1.1-9
- Perl 5.16 rebuild
* Fri Jan 13 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.1-8
- Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild
* Mon Jun 20 2011 Marcela Mašláňová <mmaslano@redhat.com> - 1.1-7
- Perl mass rebuild
* Tue Feb 08 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.1-6
- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
* Tue Dec 14 2010 Marcela Maslanova <mmaslano@redhat.com> - 1.1-5
- 661697 rebuild for fixing problems with vendorach/lib
* Thu Apr 29 2010 Marcela Maslanova <mmaslano@redhat.com> - 1.1-4
- Mass rebuild with perl-5.12.0
* Mon Dec 7 2009 Stepan Kasal <skasal@redhat.com> - 1.1-3
- rebuild against perl 5.10.1
* Wed Jul 29 2009 kwizart < kwizart at gmail.com > - 1.1-2
- Update to 1.1
* Sat Jul 25 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.0-3
- Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild
* Thu Feb 26 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.0-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild
* Fri Nov 29 2008 kwizart < kwizart at gmail.com > - 1.0-1
- Initial package.

Просмотреть файл

@ -0,0 +1,5 @@
{
"Signatures": {
"AnyEvent-BDB-1.1.tar.gz": "93e36010940464626e5f31b9faedd65e12ed8d1abf16ce052febf23f495aefc8"
}
}

Просмотреть файл

@ -0,0 +1,183 @@
# Remove under-speficied dependencies
%global __requires_exclude %{?__requires_exclude:%__requires_exclude|}^perl\\((AnyEvent|BDB)\\)$
Summary: Truly asynchronous Berkeley DB access
Name: perl-AnyEvent-BDB
Version: 1.1
Release: 38%{?dist}
License: GPL+ OR Artistic
Vendor: Microsoft Corporation
Distribution: Mariner
URL: https://metacpan.org/release/AnyEvent-BDB
Source0: https://cpan.metacpan.org/authors/id/M/ML/MLEHMANN/AnyEvent-BDB-%{version}.tar.gz
BuildArch: noarch
BuildRequires: coreutils
BuildRequires: make
BuildRequires: perl-generators
BuildRequires: perl-interpreter
# Run-time:
BuildRequires: perl(AnyEvent) >= 3.81
BuildRequires: perl(BDB) >= 1.5
BuildRequires: perl(Exporter)
BuildRequires: perl(ExtUtils::MakeMaker) >= 6.76
BuildRequires: perl(base)
BuildRequires: perl(strict)
BuildRequires: perl(warnings)
Requires: perl(:MODULE_COMPAT_%(eval "`perl -V:version`"; echo $version))
Requires: perl(AnyEvent) >= 3.81
Requires: perl(BDB) >= 1.5
Requires: perl(Exporter)
Requires: perl(warnings)
%description
Loading this module will install the necessary magic to seamlessly integrate
BDB into AnyEvent, i.e. you no longer need to concern yourself with calling
BDB::poll_cb or any of that stuff.
%prep
%setup -q -n AnyEvent-BDB-%{version}
%build
perl Makefile.PL INSTALLDIRS=vendor NO_PACKLIST=1 NO_PERLLOCAL=1
%make_build
%install
%make_install
%{_fixperms} %{buildroot}
%check
make test
%files
%license COPYING
%doc Changes README
%{perl_vendorlib}/*
%{_mandir}/man3/*.3*
%changelog
* Thu Jan 27 2022 Pawel Winogrodzki <pawelwi@microsoft.com> - 1.1-38
- Initial CBL-Mariner import from Fedora 36 (license: MIT).
- License verified.
* Thu Jul 22 2021 Fedora Release Engineering <releng@fedoraproject.org> - 1.1-37
- Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild
* Fri May 21 2021 Jitka Plesnikova <jplesnik@redhat.com> - 1.1-36
- Perl 5.34 rebuild
* Tue Jan 26 2021 Fedora Release Engineering <releng@fedoraproject.org> - 1.1-35
- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild
* Thu Oct 22 2020 Petr Pisar <ppisar@redhat.com> - 1.1-34
- Modernize a spec file
* Tue Jul 28 2020 Fedora Release Engineering <releng@fedoraproject.org> - 1.1-33
- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
* Tue Jun 23 2020 Jitka Plesnikova <jplesnik@redhat.com> - 1.1-32
- Perl 5.32 rebuild
* Wed Jan 29 2020 Fedora Release Engineering <releng@fedoraproject.org> - 1.1-31
- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild
* Fri Jul 26 2019 Fedora Release Engineering <releng@fedoraproject.org> - 1.1-30
- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild
* Fri May 31 2019 Jitka Plesnikova <jplesnik@redhat.com> - 1.1-29
- Perl 5.30 rebuild
* Fri Feb 01 2019 Fedora Release Engineering <releng@fedoraproject.org> - 1.1-28
- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild
* Fri Jul 13 2018 Fedora Release Engineering <releng@fedoraproject.org> - 1.1-27
- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild
* Thu Jun 28 2018 Jitka Plesnikova <jplesnik@redhat.com> - 1.1-26
- Perl 5.28 rebuild
* Thu Feb 08 2018 Fedora Release Engineering <releng@fedoraproject.org> - 1.1-25
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
* Thu Jul 27 2017 Fedora Release Engineering <releng@fedoraproject.org> - 1.1-24
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild
* Wed Jun 07 2017 Jitka Plesnikova <jplesnik@redhat.com> - 1.1-23
- Perl 5.26 re-rebuild of bootstrapped packages
* Mon Jun 05 2017 Petr Pisar <ppisar@redhat.com> - 1.1-22
- Modernize spec file
* Mon Jun 05 2017 Jitka Plesnikova <jplesnik@redhat.com> - 1.1-21
- Perl 5.26 rebuild
* Sat Feb 11 2017 Fedora Release Engineering <releng@fedoraproject.org> - 1.1-20
- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild
* Sun May 15 2016 Jitka Plesnikova <jplesnik@redhat.com> - 1.1-19
- Perl 5.24 rebuild
* Thu Feb 04 2016 Fedora Release Engineering <releng@fedoraproject.org> - 1.1-18
- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild
* Thu Jun 18 2015 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.1-17
- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild
* Fri Jun 05 2015 Jitka Plesnikova <jplesnik@redhat.com> - 1.1-16
- Perl 5.22 rebuild
* Thu Aug 28 2014 Jitka Plesnikova <jplesnik@redhat.com> - 1.1-15
- Perl 5.20 rebuild
* Sat Jun 07 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.1-14
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild
* Sat Aug 03 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.1-13
- Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild
* Tue Jul 23 2013 Petr Pisar <ppisar@redhat.com> - 1.1-12
- Perl 5.18 rebuild
* Mon Jun 17 2013 Petr Pisar <ppisar@redhat.com> - 1.1-11
- Modernize spec file
* Thu Feb 14 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.1-10
- Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild
* Fri Jul 20 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.1-9
- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild
* Thu Jun 14 2012 Petr Pisar <ppisar@redhat.com> - 1.1-8
- Perl 5.16 rebuild
* Fri Jan 13 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.1-7
- Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild
* Mon Jun 20 2011 Marcela Mašláňová <mmaslano@redhat.com> - 1.1-6
- Perl mass rebuild
* Tue Feb 08 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.1-5
- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
* Tue Dec 14 2010 Marcela Maslanova <mmaslano@redhat.com> - 1.1-4
- 661697 rebuild for fixing problems with vendorach/lib
* Thu Apr 29 2010 Marcela Maslanova <mmaslano@redhat.com> - 1.1-3
- Mass rebuild with perl-5.12.0
* Mon Dec 7 2009 Stepan Kasal <skasal@redhat.com> - 1.1-2
- rebuild against perl 5.10.1
* Wed Jul 29 2009 kwizart < kwizart at gmail.com > - 1.1-1
- Update to 1.1
* Sat Jul 25 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.0-3
- Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild
* Thu Feb 26 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.0-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild
* Sat Nov 29 2008 kwizart < kwizart at gmail.com > - 1.0-1
- Initial package.

Просмотреть файл

@ -0,0 +1,5 @@
{
"Signatures": {
"BDB-1.92.tar.gz": "a3f2ca9d2baefc1aaa40908b2f9cb9292fda3e7d797e38bbd78eabb9d9daeb6b"
}
}

Просмотреть файл

@ -0,0 +1,222 @@
%global cpan_version 1.92
Summary: Asynchronous Berkeley DB access
Name: perl-BDB
# Extend to 2 digits to get higher RPM package version than 1.88
Version: %{cpan_version}
Release: 16%{?dist}
License: GPL+ OR Artistic
Vendor: Microsoft Corporation
Distribution: Mariner
URL: https://metacpan.org/release/BDB
Source0: https://cpan.metacpan.org/authors/id/M/ML/MLEHMANN/BDB-%{cpan_version}.tar.gz
BuildRequires: findutils
BuildRequires: gcc
BuildRequires: libdb-devel
BuildRequires: make
BuildRequires: perl-devel
BuildRequires: perl-generators
BuildRequires: perl-interpreter
BuildRequires: perl(:VERSION) >= 5.8.8
BuildRequires: perl(Config)
BuildRequires: perl(Exporter)
BuildRequires: perl(ExtUtils::MakeMaker) >= 6.76
BuildRequires: perl(XSLoader)
BuildRequires: perl(base)
BuildRequires: perl(common::sense)
Requires: perl(:MODULE_COMPAT_%(eval "`perl -V:version`"; echo $version))
Requires: perl(XSLoader)
%{?perl_default_filter}
%description
Asynchronous Berkeley DB access.
%prep
%autosetup -n BDB-%{cpan_version}
%build
perl Makefile.PL INSTALLDIRS=vendor OPTIMIZE="%{optflags}" NO_PACKLIST=1 NO_PERLLOCAL=1
%make_build
%install
%make_install
find %{buildroot} -type f -name '*.bs' -a -size 0 -delete
%{_fixperms} %{buildroot}/*
%check
make test
%files
%license COPYING
%doc Changes README
%{perl_vendorarch}/auto/*
%{perl_vendorarch}/BDB.pm
%{_mandir}/man3/*.3*
%changelog
* Thu Jan 27 2022 Pawel Winogrodzki <pawelwi@microsoft.com> - 1.92-16
- Initial CBL-Mariner import from Fedora 36 (license: MIT).
- License verified.
* Thu Jul 22 2021 Fedora Release Engineering <releng@fedoraproject.org> - 1.92-15
- Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild
* Fri May 21 2021 Jitka Plesnikova <jplesnik@redhat.com> - 1.92-14
- Perl 5.34 rebuild
* Tue Jan 26 2021 Fedora Release Engineering <releng@fedoraproject.org> - 1.92-13
- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild
* Tue Jul 28 2020 Fedora Release Engineering <releng@fedoraproject.org> - 1.92-12
- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
* Tue Jun 23 2020 Jitka Plesnikova <jplesnik@redhat.com> - 1.92-11
- Perl 5.32 rebuild
* Mon May 04 2020 Tom Stellard <tstellar@redhat.com> - 1.92-10
- Spec file cleanups: Use_make_build and make_install macros
- https://docs.fedoraproject.org/en-US/packaging-guidelines/#_parallel_make
- https://fedoraproject.org/wiki/Perl/Tips#ExtUtils::MakeMake
* Wed Jan 29 2020 Fedora Release Engineering <releng@fedoraproject.org> - 1.92-9
- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild
* Fri Jul 26 2019 Fedora Release Engineering <releng@fedoraproject.org> - 1.92-8
- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild
* Fri May 31 2019 Jitka Plesnikova <jplesnik@redhat.com> - 1.92-7
- Perl 5.30 rebuild
* Fri Feb 01 2019 Fedora Release Engineering <releng@fedoraproject.org> - 1.92-6
- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild
* Fri Jul 13 2018 Fedora Release Engineering <releng@fedoraproject.org> - 1.92-5
- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild
* Thu Jun 28 2018 Jitka Plesnikova <jplesnik@redhat.com> - 1.92-4
- Perl 5.28 rebuild
* Mon Feb 19 2018 Jitka Plesnikova <jplesnik@redhat.com> - 1.92-3
- Add build-require gcc
* Thu Feb 08 2018 Fedora Release Engineering <releng@fedoraproject.org> - 1.92-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
* Fri Jan 19 2018 Jitka Plesnikova <jplesnik@redhat.com> - 1.92-1
- 1.92 bump
* Thu Aug 03 2017 Fedora Release Engineering <releng@fedoraproject.org> - 1.91-9
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Binutils_Mass_Rebuild
* Thu Jul 27 2017 Fedora Release Engineering <releng@fedoraproject.org> - 1.91-8
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild
* Sun Jun 04 2017 Jitka Plesnikova <jplesnik@redhat.com> - 1.91-7
- Perl 5.26 rebuild
* Sat Feb 11 2017 Fedora Release Engineering <releng@fedoraproject.org> - 1.91-6
- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild
* Sun May 15 2016 Jitka Plesnikova <jplesnik@redhat.com> - 1.91-5
- Perl 5.24 rebuild
* Thu Feb 04 2016 Fedora Release Engineering <releng@fedoraproject.org> - 1.91-4
- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild
* Thu Jun 18 2015 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.91-3
- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild
* Fri Jun 05 2015 Jitka Plesnikova <jplesnik@redhat.com> - 1.91-2
- Perl 5.22 rebuild
* Tue Feb 17 2015 Jitka Plesnikova <jplesnik@redhat.com> - 1.91-1
- 1.91 bump
* Wed Aug 27 2014 Jitka Plesnikova <jplesnik@redhat.com> - 1.90-9
- Perl 5.20 rebuild
* Sun Aug 17 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.90-8
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_22_Mass_Rebuild
* Sat Jun 07 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.90-7
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild
* Sat Aug 03 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.90-6
- Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild
* Thu Jul 18 2013 Petr Pisar <ppisar@redhat.com> - 1.90-5
- Perl 5.18 rebuild
* Thu Feb 14 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.90-4
- Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild
* Fri Jul 20 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.90-3
- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild
* Mon Jun 11 2012 Petr Pisar <ppisar@redhat.com> - 1.90-2
- Perl 5.16 rebuild
* Thu Apr 19 2012 Petr Pisar <ppisar@redhat.com> - 1.90-1
- 1.9 bump
- Use Berkeley database version 5
* Fri Jan 13 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.88-5
- Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild
* Mon Jun 20 2011 Marcela Mašláňová <mmaslano@redhat.com> - 1.88-4
- Perl mass rebuild
* Tue Feb 08 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.88-3
- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
* Wed Dec 15 2010 Marcela Maslanova <mmaslano@redhat.com> - 1.88-2
- 661697 rebuild for fixing problems with vendorach/lib
* Sun Aug 22 2010 Nicolas Chauvet <kwizart@gmail.com> - 1.88-1
- Update to 1.88
* Thu Apr 29 2010 Marcela Maslanova <mmaslano@redhat.com> - 1.87-2
- Mass rebuild with perl-5.12.0
* Tue Jan 19 2010 Nicolas Chauvet <kwizart@fedoraproject.org> - 1.87-1
- Update to 1.87
- Drop patch BDB-1.86-db_48
* Sun Dec 13 2009 Nicolas Chauvet <kwizart@fedoraproject.org> - 1.86-3
- Drop Patch0
* Tue Dec 8 2009 Nicolas Chauvet <kwizart@fedoraproject.org> - 1.86-2
- Patch to force db 4.8.
* Mon Dec 7 2009 Nicolas Chauvet <kwizart@fedoraproject.org> - 1.86-1
- Update to 1.86
* Mon Dec 7 2009 Stepan Kasal <skasal@redhat.com> - 1.84-2
- rebuild against perl 5.10.1
* Mon Aug 31 2009 kwizart < kwizart at gmail.com > - 1.84-1
- Update to 1.84
- Add Patch to get rid of common:sense
* Thu Feb 26 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.83-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild
* Tue Feb 3 2009 kwizart < kwizart at gmail.com > - 1.83-1
- Update to 1.83
* Wed Jan 7 2009 kwizart < kwizart at gmail.com > - 1.82-1
- Update to 1.82
* Fri Nov 28 2008 kwizart < kwizart at gmail.com > - 1.81-1
- Update to 1.81
* Thu Jul 17 2008 kwizart < kwizart at gmail.com > - 1.7-1
- Update to 1.7
* Tue May 27 2008 kwizart < kwizart at gmail.com > - 1.5-1
- Update to 1.5
* Wed Apr 30 2008 kwizart < kwizart at gmail.com > - 1.45-1
- Initial package for Fedora

Просмотреть файл

@ -0,0 +1,29 @@
From dfd64ddb0c6c14ed01665ed2317c86d66d08362c Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Petr=20P=C3=ADsa=C5=99?= <ppisar@redhat.com>
Date: Thu, 8 Dec 2016 09:41:45 +0100
Subject: [PATCH] Include ecb.h from system
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
Signed-off-by: Petr Písař <ppisar@redhat.com>
---
XS.xs | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/XS.xs b/XS.xs
index 2dc62d2..704a3ad 100644
--- a/XS.xs
+++ b/XS.xs
@@ -11,7 +11,7 @@
#include <inttypes.h>
#define ECB_NO_THREADS 1
-#include "ecb.h"
+#include <ecb.h>
// compatibility with perl <5.18
#ifndef HvNAMELEN_get
--
2.7.4

Просмотреть файл

@ -0,0 +1,68 @@
From e35ddf55d3b731452ac33fabd811b3a830f0e626 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Petr=20P=C3=ADsa=C5=99?= <ppisar@redhat.com>
Date: Tue, 29 Sep 2015 10:31:58 +0200
Subject: [PATCH] Cast char* and U8* where needed
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
Building with GCC 5.1.1 and perl-5.22.0 produces various warnings about
mismatching signess. This patch corrects it.
Signed-off-by: Petr Písař <ppisar@redhat.com>
---
XS.xs | 10 +++++-----
1 file changed, 5 insertions(+), 5 deletions(-)
diff --git a/XS.xs b/XS.xs
index 91ca74b..28e298f 100644
--- a/XS.xs
+++ b/XS.xs
@@ -1112,7 +1112,7 @@ decode_str (dec_t *dec, int utf8)
STRLEN len = decode_uint (dec);
WANT (len);
- sv_catpvn (sv, dec->cur, len);
+ sv_catpvn (sv, (char *)dec->cur, len);
dec->cur += len;
}
}
@@ -1121,7 +1121,7 @@ decode_str (dec_t *dec, int utf8)
STRLEN len = decode_uint (dec);
WANT (len);
- sv = newSVpvn (dec->cur, len);
+ sv = newSVpvn ((char*)dec->cur, len);
dec->cur += len;
if (ecb_expect_false (dec->stringref)
@@ -1132,7 +1132,7 @@ decode_str (dec_t *dec, int utf8)
if (utf8)
{
if (ecb_expect_false (dec->cbor.flags & F_VALIDATE_UTF8))
- if (!cbor_is_utf8_string (SvPVX (sv), SvCUR (sv)))
+ if (!cbor_is_utf8_string ((U8*)SvPVX (sv), SvCUR (sv)))
ERR ("corrupted CBOR data (invalid UTF-8 in text string)");
SvUTF8_on (sv);
@@ -1452,7 +1452,7 @@ decode_cbor (SV *string, CBOR *cbor, char **offset_return)
sv = decode_sv (&dec);
if (offset_return)
- *offset_return = dec.cur;
+ *offset_return = (char *)dec.cur;
if (!(offset_return || !sv))
if (dec.cur != dec.end && !dec.err)
@@ -1506,7 +1506,7 @@ incr_parse (CBOR *self, SV *cborstr)
1, 2, 4, 8,-1,-1,-1,-2
};
- const U8 *p = SvPVX (cborstr) + self->incr_pos;
+ const U8 *p = (U8*)SvPVX (cborstr) + self->incr_pos;
U8 m = *p & MINOR_MASK;
IV count = SvIVX (AvARRAY (self->incr_count)[AvFILLp (self->incr_count)]);
I8 ilen = incr_len[m];
--
2.31.1

Просмотреть файл

@ -0,0 +1,5 @@
{
"Signatures": {
"CBOR-XS-1.86.tar.gz": "d9b724a0d337107b7ff1cd63285bae90a2568f6ecfc2b529a32a16bfff13b8a9"
}
}

Просмотреть файл

@ -0,0 +1,204 @@
Summary: Concise Binary Object Representation (CBOR)
Name: perl-CBOR-XS
Version: 1.86
Release: 2%{?dist}
# COPYING: GPLv3+
## Replaced by system header-only package
# ecb.h: BSD or GPLv2+
License: GPLv3+ AND (BSD OR GPLv2+)
Vendor: Microsoft Corporation
Distribution: Mariner
URL: https://metacpan.org/release/CBOR-XS
Source0: https://cpan.metacpan.org/authors/id/M/ML/MLEHMANN/CBOR-XS-%{version}.tar.gz
# Use system libecb
Patch0: CBOR-XS-1.6-Include-ecb.h-from-system.patch
# Silent compiler warnings
Patch1: CBOR-XS-1.84-Cast-char-and-U8-where-needed.patch
BuildRequires: coreutils
BuildRequires: findutils
# gcc for standard header files
BuildRequires: gcc
BuildRequires: libecb-static
BuildRequires: make
BuildRequires: perl-devel
BuildRequires: perl-generators
BuildRequires: perl-interpreter
BuildRequires: perl(Canary::Stability)
BuildRequires: perl(Exporter)
BuildRequires: perl(ExtUtils::MakeMaker) >= 6.76
BuildRequires: perl(Math::BigFloat)
BuildRequires: perl(Math::BigInt)
BuildRequires: perl(Math::BigRat)
BuildRequires: perl(Time::Piece)
BuildRequires: perl(Types::Serialiser)
BuildRequires: perl(URI)
BuildRequires: perl(XSLoader)
BuildRequires: perl(common::sense)
%if %{with_check}
BuildRequires: perl(Data::Dumper)
BuildRequires: perl(Math::BigInt::FastCalc)
%endif
# Run-time:
Requires: perl(:MODULE_COMPAT_%(eval "`perl -V:version`"; echo $version))
Requires: perl(Math::BigFloat)
Requires: perl(Math::BigInt)
Requires: perl(Math::BigRat)
Requires: perl(Time::Piece)
Requires: perl(URI)
%description
This module converts Perl data structures to the Concise Binary Object
Representation (CBOR) and vice versa. CBOR is a fast binary serialization
format that aims to use an (almost) superset of the JSON data model, i.e.
when you can represent something useful in JSON, you should be able to
represent it in CBOR.
%package tests
Summary: Tests for %{name}
Requires: %{name} = %{?epoch:%{epoch}:}%{version}-%{release}
Requires: perl-Test-Harness
Requires: perl(Math::BigInt::FastCalc)
BuildArch: noarch
%description tests
Tests from %{name}. Execute them
with "%{_libexecdir}/%{name}/test".
%prep
%autosetup -p1 -n CBOR-XS-%{version}
# Remove bundled libecb
rm ecb.h
perl -i -ne 'print $_ unless m{^ecb\.h}' MANIFEST
%build
perl Makefile.PL INSTALLDIRS=vendor NO_PACKLIST=1 NO_PERLLOCAL=1 OPTIMIZE="%{optflags}" </dev/null
%make_build
%install
%make_install
find %{buildroot} -type f -name '*.bs' -size 0 -delete
%{_fixperms} %{buildroot}/*
# Install tests
mkdir -p %{buildroot}%{_libexecdir}/%{name}
cp -a t %{buildroot}%{_libexecdir}/%{name}
cat > %{buildroot}%{_libexecdir}/%{name}/test << 'EOF'
#!/bin/sh
cd %{_libexecdir}/%{name} && exec prove -I . -j "$(getconf _NPROCESSORS_ONLN)"
EOF
chmod +x %{buildroot}%{_libexecdir}/%{name}/test
%check
export HARNESS_OPTIONS=j$(perl -e 'if ($ARGV[0] =~ /.*-j([0-9][0-9]*).*/) {print $1} else {print 1}' -- '%{?_smp_mflags}')
make test
%files
%license COPYING
%doc Changes README
%{perl_vendorarch}/auto/*
%{perl_vendorarch}/CBOR*
%{_mandir}/man3/*
%files tests
%{_libexecdir}/%{name}
%changelog
* Wed Jan 26 2022 Pawel Winogrodzki <pawelwi@microsoft.com> - 1.86-2
- Initial CBL-Mariner import from Fedora 36 (license: MIT).
- License verified.
* Fri Nov 05 2021 Petr Pisar <ppisar@redhat.com> - 1.86-1
- 1.86 bump (bug #2020382)
* Mon Oct 25 2021 Petr Pisar <ppisar@redhat.com> - 1.85-1
- 1.85 bump
* Thu Oct 21 2021 Petr Pisar <ppisar@redhat.com> - 1.84-1
- 1.84 bump
- Package the tests
* Thu Jul 22 2021 Fedora Release Engineering <releng@fedoraproject.org> - 1.83-4
- Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild
* Fri May 21 2021 Jitka Plesnikova <jplesnik@redhat.com> - 1.83-3
- Perl 5.34 rebuild
* Tue Jan 26 2021 Fedora Release Engineering <releng@fedoraproject.org> - 1.83-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild
* Tue Dec 08 2020 Jitka Plesnikova <jplesnik@redhat.com> - 1.83-1
- 1.83 bump
* Tue Dec 01 2020 Jitka Plesnikova <jplesnik@redhat.com> - 1.82-1
- 1.82 bump
* Mon Nov 30 2020 Jitka Plesnikova <jplesnik@redhat.com> - 1.80-1
- 1.8 bump
* Tue Jul 28 2020 Fedora Release Engineering <releng@fedoraproject.org> - 1.71-7
- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
* Tue Jun 23 2020 Jitka Plesnikova <jplesnik@redhat.com> - 1.71-6
- Perl 5.32 rebuild
* Wed Jan 29 2020 Fedora Release Engineering <releng@fedoraproject.org> - 1.71-5
- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild
* Fri Jul 26 2019 Fedora Release Engineering <releng@fedoraproject.org> - 1.71-4
- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild
* Fri May 31 2019 Jitka Plesnikova <jplesnik@redhat.com> - 1.71-3
- Perl 5.30 rebuild
* Fri Feb 01 2019 Fedora Release Engineering <releng@fedoraproject.org> - 1.71-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild
* Mon Nov 19 2018 Petr Pisar <ppisar@redhat.com> - 1.71-1
- 0.71 bump
* Fri Jul 13 2018 Fedora Release Engineering <releng@fedoraproject.org> - 1.7-6
- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild
* Thu Jun 28 2018 Jitka Plesnikova <jplesnik@redhat.com> - 1.7-5
- Perl 5.28 rebuild
* Thu Feb 08 2018 Fedora Release Engineering <releng@fedoraproject.org> - 1.7-4
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
* Thu Aug 03 2017 Fedora Release Engineering <releng@fedoraproject.org> - 1.7-3
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Binutils_Mass_Rebuild
* Thu Jul 27 2017 Fedora Release Engineering <releng@fedoraproject.org> - 1.7-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild
* Tue Jun 27 2017 Petr Pisar <ppisar@redhat.com> - 1.7-1
- 1.7 bump
* Sun Jun 04 2017 Jitka Plesnikova <jplesnik@redhat.com> - 1.6-3
- Perl 5.26 rebuild
* Sat Feb 11 2017 Fedora Release Engineering <releng@fedoraproject.org> - 1.6-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild
* Thu Dec 08 2016 Petr Pisar <ppisar@redhat.com> - 1.6-1
- 1.6 bump
* Sun May 15 2016 Jitka Plesnikova <jplesnik@redhat.com> - 1.5-2
- Perl 5.24 rebuild
* Wed Apr 27 2016 Petr Pisar <ppisar@redhat.com> - 1.5-1
- 1.5 bump
* Mon Feb 29 2016 Petr Pisar <ppisar@redhat.com> - 1.4.1-1
- 1.41 bump
* Tue Feb 09 2016 Petr Pisar <ppisar@redhat.com> - 1.4-1
- 1.4 bump
* Thu Feb 04 2016 Fedora Release Engineering <releng@fedoraproject.org> - 1.3-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild
* Tue Sep 29 2015 Petr Pisar <ppisar@redhat.com> 1.3-1
- Specfile autogenerated by cpanspec 1.78.

Просмотреть файл

@ -0,0 +1,5 @@
{
"Signatures": {
"Color-ANSI-Util-0.164.tar.gz": "681c1c88d0d06e635d981482db855d2b8803b9a31e8de54e18912e76d1fdd062"
}
}

Просмотреть файл

@ -0,0 +1,89 @@
%global __requires_exclude %{?__requires_exclude:%__requires_exclude|}perl\\(Exporter\\)\\s*$
%global __requires_exclude %{?__requires_exclude}|perl\\(Color::RGB::Util\\)\\s*$
Summary: Routines for dealing with ANSI colors
Name: perl-Color-ANSI-Util
Version: 0.164
Release: 6%{?dist}
License: GPL+ OR Artistic
Vendor: Microsoft Corporation
Distribution: Mariner
URL: https://metacpan.org/release/Color-ANSI-Util/
Source0: https://cpan.metacpan.org/authors/id/P/PE/PERLANCAR/Color-ANSI-Util-%{version}.tar.gz
BuildArch: noarch
BuildRequires: make
BuildRequires: perl-generators
BuildRequires: perl-interpreter
BuildRequires: perl(:VERSION) >= 5.10.1
# Run-Time
BuildRequires: perl(Color::RGB::Util) >= 0.600
BuildRequires: perl(Exporter) >= 5.57
BuildRequires: perl(ExtUtils::MakeMaker) >= 6.76
BuildRequires: perl(strict)
BuildRequires: perl(warnings)
%if %{with_check}
BuildRequires: perl(File::Spec)
BuildRequires: perl(IO::Handle)
BuildRequires: perl(IPC::Open3)
BuildRequires: perl(Test::More) >= 0.98
BuildRequires: perl(blib)
%endif
Requires: perl(:MODULE_COMPAT_%(eval "`perl -V:version`"; echo $version))
Requires: perl(Color::RGB::Util) >= 0.600
Requires: perl(Exporter) >= 5.57
Recommends: perl(Term::Detect::Software)
%description
This module provides routines for dealing with ANSI colors. The two main
functions are ansifg and ansibg. With those functions, you can specify
colors in RGB and let it output the correct ANSI color escape code
according to the color depth support of the terminal (whether 16-color,
256-color, or 24bit). There are other functions to convert RGB to ANSI
in specific color depths, or reverse functions to convert from ANSI to
RGB codes.
%prep
%setup -q -n Color-ANSI-Util-%{version}
%build
perl Makefile.PL INSTALLDIRS=vendor NO_PACKLIST=1 NO_PERLLOCAL=1
%make_build
%install
%make_install
%{_fixperms} %{buildroot}/*
%check
unset AUTHOR_TESTING RELEASE_TESTING
make test
%files
%license LICENSE
%doc Changes README
%{perl_vendorlib}/*
%{_mandir}/man3/*
%changelog
* Wed Jan 26 2022 Pawel Winogrodzki <pawelwi@microsoft.com> - 0.164-6
- Initial CBL-Mariner import from Fedora 36 (license: MIT).
- License verified.
* Thu Jul 22 2021 Fedora Release Engineering <releng@fedoraproject.org> - 0.164-5
- Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild
* Fri May 21 2021 Jitka Plesnikova <jplesnik@redhat.com> - 0.164-4
- Perl 5.34 rebuild
* Wed Jan 27 2021 Fedora Release Engineering <releng@fedoraproject.org> - 0.164-3
- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild
* Tue Jul 28 2020 Fedora Release Engineering <releng@fedoraproject.org> - 0.164-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
* Fri Jul 03 2020 Jitka Plesnikova <jplesnik@redhat.com> 0.164-1
- Specfile autogenerated by cpanspec 1.78.

Просмотреть файл

@ -0,0 +1,5 @@
{
"Signatures": {
"Color-RGB-Util-0.606.tar.gz": "065ba3491a15fba25bc8a8f7d05e893d335ac37d4ec5ca9f74e8a4e3d6d158e2"
}
}

Просмотреть файл

@ -0,0 +1,120 @@
%global __requires_exclude %{?__requires_exclude:%__requires_exclude|}perl\\(Exporter\\)\\s*$
Summary: Utilities related to RGB colors
Name: perl-Color-RGB-Util
Version: 0.606
Release: 2%{?dist}
License: GPL+ OR Artistic
Vendor: Microsoft Corporation
Distribution: Mariner
URL: https://metacpan.org/release/Color-RGB-Util/
Source0: https://cpan.metacpan.org/authors/id/P/PE/PERLANCAR/Color-RGB-Util-%{version}.tar.gz
BuildArch: noarch
BuildRequires: coreutils
BuildRequires: make
BuildRequires: perl-generators
BuildRequires: perl-interpreter
BuildRequires: perl(:VERSION) >= 5.10.1
BuildRequires: perl(Config)
# Run-time
BuildRequires: perl(Digest::SHA)
BuildRequires: perl(Exporter) >= 5.57
BuildRequires: perl(ExtUtils::MakeMaker) >= 6.76
BuildRequires: perl(strict)
BuildRequires: perl(warnings)
%if %{with_check}
BuildRequires: perl(File::Spec)
BuildRequires: perl(IO::Handle)
BuildRequires: perl(IPC::Open3)
BuildRequires: perl(Test::Exception)
BuildRequires: perl(Test::More) >= 0.98
BuildRequires: perl(Test::RandomResult)
BuildRequires: perl(blib)
%endif
Requires: perl(:MODULE_COMPAT_%(eval "`perl -V:version`"; echo $version))
Requires: perl(Digest::SHA)
Requires: perl(Exporter) >= 5.57
%description
This module contains utilities related to RGB colors.
%package tests
Summary: Tests for %{name}
Requires: %{name} = %{?epoch:%{epoch}:}%{version}-%{release}
Requires: perl-Test-Harness
%description tests
Tests from %{name}. Execute them
with "%{_libexecdir}/%{name}/test".
%prep
%setup -q -n Color-RGB-Util-%{version}
# Help file to recognise the Perl scripts
for F in t/*.t; do
perl -i -MConfig -ple 'print $Config{startperl} if $. == 1 && !s{\A#!.*perl}{$Config{startperl}}' "$F"
chmod +x "$F"
done
%build
perl Makefile.PL INSTALLDIRS=vendor NO_PACKLIST=1 NO_PERLLOCAL=1
%make_build
%install
%make_install
%{_fixperms} %{buildroot}/*
# Install tests
mkdir -p %{buildroot}%{_libexecdir}/%{name}
cp -a t %{buildroot}%{_libexecdir}/%{name}
rm -f %{buildroot}%{_libexecdir}/%{name}/t/author*
cat > %{buildroot}%{_libexecdir}/%{name}/test << 'EOF'
#!/bin/sh
cd %{_libexecdir}/%{name} && exec prove -I . -j "$(getconf _NPROCESSORS_ONLN)"
EOF
chmod +x %{buildroot}%{_libexecdir}/%{name}/test
%check
export HARNESS_OPTIONS=j$(perl -e 'if ($ARGV[0] =~ /.*-j([0-9][0-9]*).*/) {print $1} else {print 1}' -- '%{?_smp_mflags}')
unset AUTHOR_TESTING
make test
%files
%license LICENSE
%doc Changes README
%{perl_vendorlib}/*
%{_mandir}/man3/*
%files tests
%{_libexecdir}/%{name}
%changelog
* Wed Jan 26 2022 Pawel Winogrodzki <pawelwi@microsoft.com> - 0.606-2
- Initial CBL-Mariner import from Fedora 36 (license: MIT).
- License verified.
* Fri Aug 06 2021 Jitka Plesnikova <jplesnik@redhat.com> - 0.606-1
- 0.606 bump
* Thu Jul 22 2021 Fedora Release Engineering <releng@fedoraproject.org> - 0.604-3
- Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild
* Fri May 21 2021 Jitka Plesnikova <jplesnik@redhat.com> - 0.604-2
- Perl 5.34 rebuild
* Wed Mar 24 2021 Jitka Plesnikova <jplesnik@redhat.com> - 0.604-1
- 0.604 bump
- Package tests
* Wed Jan 27 2021 Fedora Release Engineering <releng@fedoraproject.org> - 0.601-3
- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild
* Tue Jul 28 2020 Fedora Release Engineering <releng@fedoraproject.org> - 0.601-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
* Fri Jul 03 2020 Jitka Plesnikova <jplesnik@redhat.com> 0.601-1
- Specfile autogenerated by cpanspec 1.78.

Просмотреть файл

@ -0,0 +1,5 @@
{
"Signatures": {
"ColorThemeBase-Static-0.008.tar.gz": "b9c473290bf4915847b264030e68e06e8ed100f98e80f8bf9619b1b1a6bafb31"
}
}

Просмотреть файл

@ -0,0 +1,82 @@
%global __requires_exclude %{?__requires_exclude:%__requires_exclude|}perl\\(Color::RGB::Util\\)\\s*$
Summary: Base class for color theme modules with static list of items
Name: perl-ColorThemeBase-Static
Version: 0.008
Release: 6%{?dist}
License: GPL+ OR Artistic
Vendor: Microsoft Corporation
Distribution: Mariner
URL: https://metacpan.org/release/ColorThemeBase-Static/
Source0: https://cpan.metacpan.org/authors/id/P/PE/PERLANCAR/ColorThemeBase-Static-%{version}.tar.gz
BuildArch: noarch
BuildRequires: make
BuildRequires: perl-generators
BuildRequires: perl-interpreter
# Run-time
BuildRequires: perl(Color::RGB::Util) >= 0.600
BuildRequires: perl(ExtUtils::MakeMaker) >= 6.76
BuildRequires: perl(parent)
BuildRequires: perl(strict)
BuildRequires: perl(warnings)
%if %{with_check}
BuildRequires: perl(File::Spec)
BuildRequires: perl(IO::Handle)
BuildRequires: perl(IPC::Open3)
BuildRequires: perl(Test::Exception)
BuildRequires: perl(Test::More) >= 0.98
BuildRequires: perl(blib)
%endif
Requires: perl(:MODULE_COMPAT_%(eval "`perl -V:version`"; echo $version))
Requires: perl(Color::RGB::Util) >= 0.600
%description
This is base class for color theme modules with static list of items (from
object's colors key).
This class is now alias for ColorThemeBase::Static::FromStructColors. You
can use that class directly.
%prep
%setup -q -n ColorThemeBase-Static-%{version}
%build
perl Makefile.PL INSTALLDIRS=vendor NO_PACKLIST=1 NO_PERLLOCAL=1
%make_build
%install
%make_install
%{_fixperms} %{buildroot}/*
%check
unset AUTHOR_TESTING
make test
%files
%license LICENSE
%doc Changes README
%{perl_vendorlib}/*
%{_mandir}/man3/*
%changelog
* Wed Jan 26 2022 Pawel Winogrodzki <pawelwi@microsoft.com> - 0.008-6
- Initial CBL-Mariner import from Fedora 36 (license: MIT).
- License verified.
* Thu Jul 22 2021 Fedora Release Engineering <releng@fedoraproject.org> - 0.008-5
- Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild
* Fri May 21 2021 Jitka Plesnikova <jplesnik@redhat.com> - 0.008-4
- Perl 5.34 rebuild
* Wed Jan 27 2021 Fedora Release Engineering <releng@fedoraproject.org> - 0.008-3
- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild
* Tue Jul 28 2020 Fedora Release Engineering <releng@fedoraproject.org> - 0.008-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
* Fri Jul 03 2020 Jitka Plesnikova <jplesnik@redhat.com> 0.008-1
- Specfile autogenerated by cpanspec 1.78.

Просмотреть файл

@ -0,0 +1,5 @@
{
"Signatures": {
"ColorThemeRole-ANSI-0.001.tar.gz": "5821cf0b40aa11913992c3b832201aa309a38cb99cab7fea357d6ed8d5ca211a"
}
}

Просмотреть файл

@ -0,0 +1,78 @@
Summary: Roles for using ColorTheme::* with ANSI codes
Name: perl-ColorThemeRole-ANSI
Version: 0.001
Release: 6%{?dist}
License: GPL+ OR Artistic
Vendor: Microsoft Corporation
Distribution: Mariner
URL: https://metacpan.org/release/ColorThemeRole-ANSI/
Source0: https://cpan.metacpan.org/authors/id/P/PE/PERLANCAR/ColorThemeRole-ANSI-%{version}.tar.gz
BuildArch: noarch
BuildRequires: make
BuildRequires: perl-generators
BuildRequires: perl-interpreter
BuildRequires: perl(:VERSION) >= 5.10.1
# Run-time
BuildRequires: perl(ColorThemeUtil::ANSI)
BuildRequires: perl(ExtUtils::MakeMaker) >= 6.76
BuildRequires: perl(Role::Tiny)
BuildRequires: perl(strict)
BuildRequires: perl(warnings)
%if %{with_check}
BuildRequires: perl(ColorTheme::Test::Static)
BuildRequires: perl(File::Spec)
BuildRequires: perl(IO::Handle)
BuildRequires: perl(IPC::Open3)
BuildRequires: perl(Test::More) >= 0.98
BuildRequires: perl(blib)
%endif
Requires: perl(:MODULE_COMPAT_%(eval "`perl -V:version`"; echo $version))
%description
This module can be mixed in with a ColorTheme::* class. Handy when using
color theme in terminal.
%prep
%setup -q -n ColorThemeRole-ANSI-%{version}
%build
perl Makefile.PL INSTALLDIRS=vendor NO_PACKLIST=1 NO_PERLLOCAL=1
%make_build
%install
%make_install
%{_fixperms} %{buildroot}/*
%check
unset AUTHOR_TESTING
make test
%files
%license LICENSE
%doc Changes README
%{perl_vendorlib}/*
%{_mandir}/man3/*
%changelog
* Wed Jan 26 2022 Pawel Winogrodzki <pawelwi@microsoft.com> - 0.001-6
- Initial CBL-Mariner import from Fedora 36 (license: MIT).
- License verified.
* Thu Jul 22 2021 Fedora Release Engineering <releng@fedoraproject.org> - 0.001-5
- Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild
* Fri May 21 2021 Jitka Plesnikova <jplesnik@redhat.com> - 0.001-4
- Perl 5.34 rebuild
* Wed Jan 27 2021 Fedora Release Engineering <releng@fedoraproject.org> - 0.001-3
- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild
* Tue Jul 28 2020 Fedora Release Engineering <releng@fedoraproject.org> - 0.001-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
* Tue Jul 14 2020 Jitka Plesnikova <jplesnik@redhat.com> 0.001-1
- Specfile autogenerated by cpanspec 1.78.

Просмотреть файл

@ -0,0 +1,5 @@
{
"Signatures": {
"ColorThemeUtil-ANSI-0.002.tar.gz": "5d18fa33ff6722542b52003e96a385dc5facf18cb17d601a6637c94653297cf9"
}
}

Просмотреть файл

@ -0,0 +1,86 @@
%global __requires_exclude %{?__requires_exclude:%__requires_exclude|}perl\\(Exporter\\)\\s*$
%global __requires_exclude %{?__requires_exclude}|perl\\(Color::ANSI::Util\\)\\s*$
Summary: Utility routines related to color themes and ANSI code
Name: perl-ColorThemeUtil-ANSI
Version: 0.002
Release: 4%{?dist}
License: GPL+ OR Artistic
Vendor: Microsoft Corporation
Distribution: Mariner
URL: https://metacpan.org/release/ColorThemeUtil-ANSI/
Source0: https://cpan.metacpan.org/authors/id/P/PE/PERLANCAR/ColorThemeUtil-ANSI-%{version}.tar.gz
BuildArch: noarch
BuildRequires: coreutils
BuildRequires: make
BuildRequires: perl-generators
BuildRequires: perl-interpreter
BuildRequires: perl(:VERSION) >= 5.10.1
# Run-time
BuildRequires: perl(Color::ANSI::Util) >= 0.164
BuildRequires: perl(Exporter) >= 5.57
BuildRequires: perl(ExtUtils::MakeMaker) >= 6.76
BuildRequires: perl(strict)
BuildRequires: perl(warnings)
%if %{with_check}
BuildRequires: perl(File::Spec)
BuildRequires: perl(IO::Handle)
BuildRequires: perl(IPC::Open3)
BuildRequires: perl(Test::More) >= 0.98
BuildRequires: perl(blib)
%endif
Requires: perl(:MODULE_COMPAT_%(eval "`perl -V:version`"; echo $version))
Requires: perl(Color::ANSI::Util) >= 0.161
Requires: perl(Exporter) >= 5.57
%description
This module provides utility routines related to color themes and ANSI
code.
%prep
%setup -q -n ColorThemeUtil-ANSI-%{version}
%build
perl Makefile.PL INSTALLDIRS=vendor NO_PACKLIST=1 NO_PERLLOCAL=1
%make_build
%install
%make_install
%{_fixperms} %{buildroot}/*
%check
unset AUTHOR_TESTING
make test
%files
%license LICENSE
%doc Changes README
%{perl_vendorlib}/*
%{_mandir}/man3/*
%changelog
* Wed Jan 26 2022 Pawel Winogrodzki <pawelwi@microsoft.com> - 0.002-4
- Initial CBL-Mariner import from Fedora 36 (license: MIT).
- License verified.
* Thu Jul 22 2021 Fedora Release Engineering <releng@fedoraproject.org> - 0.002-3
- Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild
* Fri May 21 2021 Jitka Plesnikova <jplesnik@redhat.com> - 0.002-2
- Perl 5.34 rebuild
* Tue Feb 09 2021 Jitka Plesnikova <jplesnik@redhat.com> - 0.002-1
- 0.002 bump
* Wed Jan 27 2021 Fedora Release Engineering <releng@fedoraproject.org> - 0.001-3
- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild
* Tue Jul 28 2020 Fedora Release Engineering <releng@fedoraproject.org> - 0.001-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
* Tue Jul 14 2020 Jitka Plesnikova <jplesnik@redhat.com> 0.001-1
- Specfile autogenerated by cpanspec 1.78.

Просмотреть файл

@ -0,0 +1,5 @@
{
"Signatures": {
"ColorThemes-Standard-0.003.tar.gz": "47e252acc537c38df5bc9a2008c613bdd910204682693a66b843b07db78b9723"
}
}

Просмотреть файл

@ -0,0 +1,67 @@
%global __requires_exclude %{?__requires_exclude:%__requires_exclude|}^perl\\((ColorThemeBase::Static::FromStructColors)\\)\s*$
Summary: Standard collection of generic color themes
Name: perl-ColorThemes-Standard
Version: 0.003
Release: 2%{?dist}
License: GPL+ OR Artistic
Vendor: Microsoft Corporation
Distribution: Mariner
URL: https://metacpan.org/release/ColorThemes-Standard/
Source0: https://cpan.metacpan.org/authors/id/P/PE/PERLANCAR/ColorThemes-Standard-%{version}.tar.gz
BuildArch: noarch
BuildRequires: coreutils
BuildRequires: make
BuildRequires: perl-generators
BuildRequires: perl-interpreter
# Run-time
BuildRequires: perl(ColorThemeBase::Static::FromStructColors) >= 0.006
BuildRequires: perl(ExtUtils::MakeMaker) >= 6.76
BuildRequires: perl(parent)
BuildRequires: perl(strict)
BuildRequires: perl(warnings)
%if %{with_check}
BuildRequires: perl(File::Spec)
BuildRequires: perl(IO::Handle)
BuildRequires: perl(IPC::Open3)
BuildRequires: perl(Test::More)
BuildRequires: perl(blib)
%endif
Requires: perl(:MODULE_COMPAT_%(eval "`perl -V:version`"; echo $version))
Requires: perl(ColorThemeBase::Static::FromStructColors) >= 0.006
%description
This module contains a standard collection of generic color themes.
%prep
%setup -q -n ColorThemes-Standard-%{version}
%build
perl Makefile.PL INSTALLDIRS=vendor NO_PACKLIST=1 NO_PERLLOCAL=1
%make_build
%install
%make_install
%{_fixperms} %{buildroot}/*
%check
unset AUTHOR_TESTING
make test
%files
%license LICENSE
%doc Changes README
%{perl_vendorlib}/*
%{_mandir}/man3/*
%changelog
* Wed Jan 26 2022 Pawel Winogrodzki <pawelwi@microsoft.com> - 0.003-2
- Initial CBL-Mariner import from Fedora 36 (license: MIT).
- License verified.
* Mon Nov 29 2021 Jitka Plesnikova <jplesnik@redhat.com> 0.003-1
- Specfile autogenerated by cpanspec 1.78.

Разница между файлами не показана из-за своего большого размера Загрузить разницу

Просмотреть файл

@ -0,0 +1,449 @@
From 5b3fd16594515047f5b9bd8f15865d0491e07369 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Petr=20P=C3=ADsa=C5=99?= <ppisar@redhat.com>
Date: Mon, 5 Oct 2015 16:07:17 +0200
Subject: [PATCH] Unbundle perlmulticore
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
Signed-off-by: Petr Písař <ppisar@redhat.com>
---
LZF.xs | 2 +-
MANIFEST | 1 -
perlmulticore.h | 399 --------------------------------------------------------
3 files changed, 1 insertion(+), 401 deletions(-)
delete mode 100644 perlmulticore.h
diff --git a/LZF.xs b/LZF.xs
index 2f6fd98..5d69122 100644
--- a/LZF.xs
+++ b/LZF.xs
@@ -2,7 +2,7 @@
#include "perl.h"
#include "XSUB.h"
-#include "perlmulticore.h"
+#include <perlmulticore.h>
#define LZF_STANDALONE 1
#define LZF_STATE_ARG 1
diff --git a/MANIFEST b/MANIFEST
index 05cb98f..227ee3d 100644
--- a/MANIFEST
+++ b/MANIFEST
@@ -5,7 +5,6 @@ COPYING
COPYING.Artistic
COPYING.GNU
Makefile.PL
-perlmulticore.h
t/00_load.t
t/01_run.t
t/02_freeze.t
diff --git a/perlmulticore.h b/perlmulticore.h
deleted file mode 100644
index 5c268f5..0000000
--- a/perlmulticore.h
+++ /dev/null
@@ -1,399 +0,0 @@
-/*
- * Author: Marc A. Lehmann <xsthreadpool@schmorp.de>
- * License: public domain, or where this is not possible/at your option,
- * CC0 (https://creativecommons.org/publicdomain/zero/1.0/)
- */
-
-#ifndef PERL_MULTICORE_H
-#define PERL_MULTICORE_H
-
-/*
-
-=head1 NAME
-
-perlmulticore.h - the Perl Multicore Specification and Implementation
-
-=head1 SYNOPSIS
-
- #include "perlmultiore.h"
-
- // in your XS function:
-
- perlinterp_release ();
- do_the_C_thing ();
- perlinterp_acquire ();
-
-=head1 DESCRIPTION
-
-This header file implements a simple mechanism for XS modules to allow
-re-use of the perl interpreter for other threads while doing some lengthy
-operation, such as cryptography, SQL queries, disk I/O and so on.
-
-The design goals for this mechanism were to be simple to use, very
-efficient when not needed, low code and data size overhead and broad
-applicability.
-
-The newest version of this document can be found at
-L<http://pod.tst.eu/http://cvs.schmorp.de/Coro-Multicore/perlmulticore.h>.
-
-The newest version of the header file itself, which
-includes this documentation, can be downloaded from
-L<http://cvs.schmorp.de/Coro-Multicore/perlmulticore.h>.
-
-=head1 HOW DO I USE THIS IN MY MODULES?
-
-The usage is very simple - you include this header file in your XS module. Then, before you
-do your lengthy operation, you release the perl interpreter:
-
- perlinterp_release ();
-
-And when you are done with your computation, you acquire it again:
-
- perlinterp_acquire ();
-
-And that's it. This doesn't load any modules and consists of only a few
-machine instructions when no module to take advantage of it is loaded.
-
-Here is a simple example, an C<flock> wrapper implemented in XS. Unlike
-perl's built-in C<flock>, it allows other threads (for example, those
-provided by L<Coro>) to execute, instead of blocking the whole perl
-interpreter. For the sake of this example, it requires a file descriptor
-instead of a handle.
-
- #include "perlmulticore.h" // this header file
-
- // and in the XS portion
- int flock (int fd, int operation)
- CODE:
- perlinterp_release ();
- RETVAL = flock (fd, operation);
- perlinterp_acquire ();
- OUTPUT:
- RETVAL
-
-Another example would be to modify L<DBD::mysql> to allow other
-threads to execute while executing SQL queries. One way to do this
-is find all C<mysql_st_internal_execute> and similar calls (such as
-C<mysql_st_internal_execute41>), and adorn them with release/acquire
-calls:
-
- {
- perlinterp_release ();
- imp_sth->row_num= mysql_st_internal_execute(sth, ...);
- perlinterp_acquire ();
- }
-
-=head2 HOW ABOUT NOT-SO LONG WORK?
-
-Sometimes you don't know how long your code will take - in a compression
-library for example, compressing a few hundred Kilobyte of data can take
-a while, while 50 Bytes will compress so fast that even attempting to do
-something else could be more costly than just doing it.
-
-This is a very hard problem to solve. The best you can do at the moment is
-to release the perl interpreter only when you think the work to be done
-justifies the expense.
-
-As a rule of thumb, if you expect to need more than a few thousand cycles,
-you should release the interpreter, else you shouldn't. When in doubt,
-release.
-
-For example, in a compression library, you might want to do this:
-
- if (bytes_to_be_compressed > 2000) perlinterp_release ();
- do_compress (...);
- if (bytes_to_be_compressed > 2000) perlinterp_acquire ();
-
-Make sure the if conditions are exactly the same and don't change, so you
-always call acquire when you release, and vice versa.
-
-When you don't have a handy indicator, you might still do something
-useful. For example, if you do some file locking with C<fcntl> and you
-expect the lock to be available immediately in most cases, you could try
-with C<F_SETLK> (which doesn't wait), and only release/wait/acquire when
-the lock couldn't be set:
-
- int res = fcntl (fd, F_SETLK, &flock);
-
- if (res)
- {
- // error, assume lock is held by another process and do it the slow way
- perlinterp_release ();
- res = fcntl (fd, F_SETLKW, &flock);
- perlinterp_acquire ();
- }
-
-=head1 THE HARD AND FAST RULES
-
-As with everything, there are a number of rules to follow.
-
-=over 4
-
-=item I<Never> touch any perl data structures after calling C<perlinterp_release>.
-
-Possibly the most important rule of them all, anything perl is
-completely off-limits after C<perlinterp_release>, until you call
-C<perlinterp_acquire>, after which you can access perl stuff again.
-
-That includes anything in the perl interpreter that you didn't prove to be
-safe, and didn't prove to be safe in older and future versions of perl:
-global variables, local perl scalars, even if you are sure nobody accesses
-them and you only try to "read" their value, and so on.
-
-If you need to access perl things, do it before releasing the
-interpreter with C<perlinterp_release>, or after acquiring it again with
-C<perlinterp_acquire>.
-
-=item I<Always> call C<perlinterp_release> and C<perlinterp_acquire> in pairs.
-
-For each C<perlinterp_release> call there must be a C<perlinterp_acquire>
-call. They don't have to be in the same function, and you can have
-multiple calls to them, as long as every C<perlinterp_release> call is
-followed by exactly one C<perlinterp_acquire> call.
-
-For example., this would be fine:
-
- perlinterp_release ();
-
- if (!function_that_fails_with_0_return_value ())
- {
- perlinterp_acquire ();
- croak ("error");
- // croak doesn't return
- }
-
- perlinterp_acquire ();
- // do other stuff
-
-=item I<Never> nest calls to C<perlinterp_release> and C<perlinterp_acquire>.
-
-That simply means that after calling C<perlinterp_release>, you must
-call C<perlinterp_acquire> before calling C<perlinterp_release>
-again. Likewise, after C<perlinterp_acquire>, you can call
-C<perlinterp_release> but not another C<perlinterp_acquire>.
-
-=item I<Always> call C<perlinterp_release> first.
-
-Also simple: you I<must not> call C<perlinterp_acquire> without having
-called C<perlinterp_release> before.
-
-=item I<Never> underestimate threads.
-
-While it's easy to add parallel execution ability to your XS module, it
-doesn't mean it is safe. After you release the perl interpreter, it's
-perfectly possible that it will call your XS function in another thread,
-even while your original function still executes. In other words: your C
-code must be thread safe, and if you use any library, that library must be
-thread-safe, too.
-
-Always assume that the code between C<perlinterp_release> and
-C<perlinterp_acquire> is executed in parallel on multiple CPUs at the same
-time. If your code can't cope with that, you could consider using a mutex
-to only allow one such execution, which is still better than blocking
-everybody else from doing anything:
-
- static pthread_mutex_t my_mutex = PTHREAD_MUTEX_INITIALIZER;
-
- perlinterp_release ();
- pthread_mutex_lock (&my_mutex);
- do_your_non_thread_safe_thing ();
- pthread_mutex_unlock (&my_mutex);
- perlinterp_acquire ();
-
-=item I<Don't> get confused by having to release first.
-
-In many real world scenarios, you acquire a resource, do something, then
-release it again. Don't let this confuse you, with this, you already own
-the resource (the perl interpreter) so you have to I<release> first, and
-I<acquire> it again later, not the other way around.
-
-=back
-
-
-=head1 DESIGN PRINCIPLES
-
-This section discusses how the design goals were reached (you be the
-judge), how it is implemented, and what overheads this implies.
-
-=over 4
-
-=item Simple to Use
-
-All you have to do is identify the place in your existing code where you
-stop touching perl stuff, do your actual work, and start touching perl
-stuff again.
-
-Then slap C<perlinterp_release ()> and C<perlinterp_acquire ()> around the
-actual work code.
-
-You have to include F<perlmulticore.h> and distribute it with your XS
-code, but all these things border on the trivial.
-
-=item Very Efficient
-
-The definition for C<perlinterp_release> and C<perlinterp_release> is very
-short:
-
- #define perlinterp_release() perl_multicore_api->pmapi_release ()
- #define perlinterp_acquire() perl_multicore_api->pmapi_acquire ()
-
-Both are macros that read a pointer from memory (perl_multicore_api),
-dereference a function pointer stored at that place, and call the
-function, which takes no arguments and returns nothing.
-
-The first call to C<perlinterp_release> will check for the presence
-of any supporting module, and if none is loaded, will create a dummy
-implementation where both C<pmapi_release> and C<pmapi_acquire> execute
-this function:
-
- static void perl_multicore_nop (void) { }
-
-So in the case of no magical module being loaded, all calls except the
-first are two memory accesses and a predictable function call of an empty
-function.
-
-Of course, the overhead is much higher when these functions actually
-implement anything useful, but you always get what you pay for.
-
-With L<Coro::Multicore>, every release/acquire involves two pthread
-switches, two coro thread switches, a bunch of syscalls, and sometimes
-interacting with the event loop.
-
-A dedicated thread pool such as the one L<IO::AIO> uses could reduce
-these overheads, and would also reduce the dependencies (L<AnyEvent> is a
-smaller and more portable dependency than L<Coro>), but it would require a
-lot more work on the side of the module author wanting to support it than
-this solution.
-
-=item Low Code and Data Size Overhead
-
-On a 64 bit system, F<perlmulticore.h> uses exactly C<8> octets (one
-pointer) of your data segment, to store the C<perl_multicore_api>
-pointer. In addition it creates a C<16> octet perl string to store the
-function pointers in, and stores it in a hash provided by perl for this
-purpose.
-
-This is pretty much the equivalent of executing this code:
-
- $existing_hash{perl_multicore_api} = "123456781234567812345678";
-
-And that's it, which is, as I think, indeed very little.
-
-As for code size, on my amd64 system, every call to C<perlinterp_release>
-or C<perlinterp_acquire> results in a variation of the following 9-10
-octet sequence:
-
- 150> mov 0x200f23(%rip),%rax # <perl_multicore_api>
- 157> callq *0x8(%rax)
-
-The biggest part if the initialisation code, which consists of 11 lines of
-typical XS code. On my system, all the code in F<perlmulticore.h> compiles
-to less than 160 octets of read-only data.
-
-=item Broad Applicability
-
-While there are alternative ways to achieve the goal of parallel execution
-with threads that might be more efficient, this mechanism was chosen
-because it is very simple to retrofit existing modules with it, and it
-
-The design goals for this mechanism were to be simple to use, very
-efficient when not needed, low code and data size overhead and broad
-applicability.
-
-=back
-
-
-=head1 DISABLING PERL MULTICORE AT COMPILE TIME
-
-You can disable the complete perl multicore API by defining the
-symbol C<PERL_MULTICORE_DISABLE> to C<1> (e.g. by specifying
-F<-DPERL_MULTICORE_DISABLE> as compiler argument).
-
-This will leave no traces of the API in the compiled code, suitable
-"empty" C<perl_release> and C<perl_acquire> definitions will be provided.
-
-This could be added to perl's C<CPPFLAGS> when configuring perl on
-platforms that do not support threading at all for example.
-
-
-=head1 AUTHOR
-
- Marc A. Lehmann <perlmulticore@schmorp.de>
- http://perlmulticore.schmorp.de/
-
-=head1 LICENSE
-
-The F<perlmulticore.h> header file is put into the public
-domain. Where this is legally not possible, or at your
-option, it can be licensed under creativecommons CC0
-license: L<https://creativecommons.org/publicdomain/zero/1.0/>.
-
-=cut
-
-*/
-
-#define PERL_MULTICORE_MAJOR 1 /* bumped on incompatible changes */
-#define PERL_MULTICORE_MINOR 0 /* bumped on every change */
-
-#if PERL_MULTICORE_DISABLE
-
-#define perlinterp_release() do { } while (0)
-#define perlinterp_acquire() do { } while (0)
-
-#else
-
-/* this struct is shared between all modules, and currently */
-/* contain only the two function pointers for release/acquire */
-struct perl_multicore_api
-{
- void (*pmapi_release)(void);
- void (*pmapi_acquire)(void);
-};
-
-static void perl_multicore_init (void);
-
-const struct perl_multicore_api perl_multicore_api_init = { perl_multicore_init, abort };
-
-static struct perl_multicore_api *perl_multicore_api
- = (struct perl_multicore_api *)&perl_multicore_api_init;
-
-#define perlinterp_release() perl_multicore_api->pmapi_release ()
-#define perlinterp_acquire() perl_multicore_api->pmapi_acquire ()
-
-/* this is the release/acquire implementation used as fallback */
-static void
-perl_multicore_nop (void)
-{
-}
-
-/* this is the initial implementation of "release" - it initialises */
-/* the api and then calls the real release function */
-static void
-perl_multicore_init (void)
-{
- dTHX;
-
- /* check for existing API struct in PL_modglobal */
- SV **api_svp = hv_fetch (PL_modglobal, "perl_multicore_api", sizeof ("perl_multicore_api") - 1, 1);
-
- if (SvPOKp (*api_svp))
- perl_multicore_api = (struct perl_multicore_api *)SvPVX (*api_svp); /* we have one, use the existing one */
- else
- {
- /* create a new one with a dummy nop implementation */
- SV *api_sv = NEWSV (0, sizeof (*perl_multicore_api));
- SvCUR_set (api_sv, sizeof (*perl_multicore_api));
- SvPOK_only (api_sv);
- perl_multicore_api = (struct perl_multicore_api *)SvPVX (api_sv);
- perl_multicore_api->pmapi_release =
- perl_multicore_api->pmapi_acquire = perl_multicore_nop;
- *api_svp = api_sv;
- }
-
- /* call the real (or dummy) implementation now */
- perlinterp_release ();
-}
-
-#endif
-
-#endif
--
2.4.3

Просмотреть файл

@ -0,0 +1,5 @@
{
"Signatures": {
"Compress-LZF-3.8.tar.gz": "5d1f5df48ce13b4dee1cc9f278ecdbf8177877b0b98815a4eb3c91c3466716f2"
}
}

Просмотреть файл

@ -0,0 +1,154 @@
Summary: Extremely light-weight Lempel-Ziv-Free compression
Name: perl-Compress-LZF
Version: 3.8
Release: 21%{?dist}
License: GPL+ OR Artistic
Vendor: Microsoft Corporation
Distribution: Mariner
## Not in the binary packages
# liblzf files: BSD or GPLv2+
# perlmulticore.h: Public Domain or CC0
URL: https://metacpan.org/release/Compress-LZF
Source0: https://cpan.metacpan.org/modules/by-module/Compress/Compress-LZF-%{version}.tar.gz
# Unbundle liblzf
Patch0: Compress-LZF-3.8-Unbundle-liblzf.patch
# Unbundle perlmulticore.h
Patch1: Compress-LZF-3.8-Unbundle-perlmulticore.patch
# Build
BuildRequires: coreutils
BuildRequires: findutils
BuildRequires: gcc
BuildRequires: liblzf-devel
BuildRequires: make
BuildRequires: perl-devel
BuildRequires: perl-generators
BuildRequires: perl-interpreter
BuildRequires: perlmulticore-static
# Module
BuildRequires: perl(DynaLoader)
BuildRequires: perl(Exporter)
BuildRequires: perl(ExtUtils::MakeMaker)
%if %{with_check}
BuildRequires: perl(Storable)
%endif
# Dependencies
Requires: perl(:MODULE_COMPAT_%(eval "`perl -V:version`"; echo $version))
%description
This is Perl binding to the LZF compression library.
%prep
%setup -q -n Compress-LZF-%{version}
%patch0 -p1
%patch1 -p1
%build
perl Makefile.PL INSTALLDIRS=vendor OPTIMIZE="%{optflags}"
make %{?_smp_mflags}
%install
make pure_install DESTDIR=%{buildroot}
find %{buildroot} -type f -name .packlist -delete
find %{buildroot} -type f -name '*.bs' -empty -delete
%{_fixperms} -c %{buildroot}
%check
make test
%files
%license COPYING COPYING.Artistic COPYING.GNU
%doc Changes README
%{perl_vendorarch}/auto/Compress/
%{perl_vendorarch}/Compress/
%{_mandir}/man3/Compress::LZF.3*
%changelog
* Wed Jan 26 2022 Pawel Winogrodzki <pawelwi@microsoft.com> - 3.8-21
- Initial CBL-Mariner import from Fedora 36 (license: MIT).
- License verified.
* Thu Jul 22 2021 Fedora Release Engineering <releng@fedoraproject.org> - 3.8-20
- Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild
* Fri May 21 2021 Jitka Plesnikova <jplesnik@redhat.com> - 3.8-19
- Perl 5.34 rebuild
* Wed Jan 27 2021 Fedora Release Engineering <releng@fedoraproject.org> - 3.8-18
- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild
* Tue Jul 28 2020 Fedora Release Engineering <releng@fedoraproject.org> - 3.8-17
- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
* Mon Jun 22 2020 Jitka Plesnikova <jplesnik@redhat.com> - 3.8-16
- Perl 5.32 rebuild
* Wed Jan 29 2020 Fedora Release Engineering <releng@fedoraproject.org> - 3.8-15
- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild
* Thu Oct 17 2019 Paul Howarth <paul@city-fan.org> - 3.8-14
- Spec tidy-up
- Classify buildreqs by usage
- Drop comments referring to older versions of the package
- Simplify find commands using -empty and -delete
- Fix permissions verbosely
- Make %%files list more explicit
* Fri Jul 26 2019 Fedora Release Engineering <releng@fedoraproject.org> - 3.8-13
- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild
* Thu May 30 2019 Jitka Plesnikova <jplesnik@redhat.com> - 3.8-12
- Perl 5.30 rebuild
* Fri Feb 01 2019 Fedora Release Engineering <releng@fedoraproject.org> - 3.8-11
- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild
* Fri Jul 13 2018 Fedora Release Engineering <releng@fedoraproject.org> - 3.8-10
- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild
* Wed Jun 27 2018 Jitka Plesnikova <jplesnik@redhat.com> - 3.8-9
- Perl 5.28 rebuild
* Thu Feb 08 2018 Fedora Release Engineering <releng@fedoraproject.org> - 3.8-8
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
* Thu Aug 03 2017 Fedora Release Engineering <releng@fedoraproject.org> - 3.8-7
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Binutils_Mass_Rebuild
* Thu Jul 27 2017 Fedora Release Engineering <releng@fedoraproject.org> - 3.8-6
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild
* Sun Jun 04 2017 Jitka Plesnikova <jplesnik@redhat.com> - 3.8-5
- Perl 5.26 rebuild
* Sat Feb 11 2017 Fedora Release Engineering <releng@fedoraproject.org> - 3.8-4
- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild
* Sun May 15 2016 Jitka Plesnikova <jplesnik@redhat.com> - 3.8-3
- Perl 5.24 rebuild
* Thu Feb 04 2016 Fedora Release Engineering <releng@fedoraproject.org> - 3.8-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild
* Fri Oct 02 2015 Petr Pisar <ppisar@redhat.com> - 3.8-1
- 3.8 bump
* Thu Jun 18 2015 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 3.7-6
- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild
* Wed Jun 03 2015 Jitka Plesnikova <jplesnik@redhat.com> - 3.7-5
- Perl 5.22 rebuild
* Wed Aug 27 2014 Jitka Plesnikova <jplesnik@redhat.com> - 3.7-4
- Perl 5.20 rebuild
* Sun Aug 17 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 3.7-3
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_22_Mass_Rebuild
* Sat Jun 07 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 3.7-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild
* Sat Mar 8 2014 David Dick <ddick@cpan.org> - 3.7-1
- Initial release

Просмотреть файл

@ -0,0 +1,5 @@
{
"Signatures": {
"Convert-Bencode-1.03.tar.gz": "269f3df865692596de214fe42b92dcf87d6a6bc22ddb7ed2abc7f48b82e45e6c"
}
}

Просмотреть файл

@ -0,0 +1,158 @@
Summary: Functions for converting to/from bencoded strings
Name: perl-Convert-Bencode
Version: 1.03
Release: 33%{?dist}
License: GPL+ OR Artistic
Vendor: Microsoft Corporation
Distribution: Mariner
URL: https://metacpan.org/release/Convert-Bencode
Source0: https://cpan.metacpan.org/modules/by-module/Convert/Convert-Bencode-%{version}.tar.gz
BuildArch: noarch
# Build
BuildRequires: coreutils
BuildRequires: findutils
BuildRequires: make
BuildRequires: perl-generators
BuildRequires: perl-interpreter
BuildRequires: perl(Exporter)
BuildRequires: perl(ExtUtils::MakeMaker) >= 6.76
# Runtime
BuildRequires: perl(bytes)
BuildRequires: perl(locale)
BuildRequires: perl(strict)
BuildRequires: perl(warnings)
%if %{with_check}
BuildRequires: perl(Test::More) >= 0.45
%endif
# Dependencies
Requires: perl(:MODULE_COMPAT_%(eval "$(perl -V:version)"; echo $version))
%description
This module provides two functions, bencode and bdecode, which encode and
decode bencoded strings respectively.
%prep
%setup -q -n Convert-Bencode-%{version}
%build
perl Makefile.PL INSTALLDIRS=vendor NO_PACKLIST=1 NO_PERLLOCAL=1
%make_build
%install
%make_install
%{_fixperms} -c %{buildroot}
%check
make test
%files
%license LICENSE
%doc Changes README Todo
%{perl_vendorlib}/Convert/
%{_mandir}/man3/Convert::Bencode.3*
%changelog
* Wed Jan 26 2022 Pawel Winogrodzki <pawelwi@microsoft.com> - 1.03-33
- Initial CBL-Mariner import from Fedora 36 (license: MIT).
- License verified.
* Thu Jul 22 2021 Fedora Release Engineering <releng@fedoraproject.org> - 1.03-32
- Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild
* Fri May 21 2021 Jitka Plesnikova <jplesnik@redhat.com> - 1.03-31
- Perl 5.34 rebuild
* Wed Jan 27 2021 Fedora Release Engineering <releng@fedoraproject.org> - 1.03-30
- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild
* Tue Jul 28 2020 Fedora Release Engineering <releng@fedoraproject.org> - 1.03-29
- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
* Mon Jun 22 2020 Jitka Plesnikova <jplesnik@redhat.com> - 1.03-28
- Perl 5.32 rebuild
* Wed Jan 29 2020 Fedora Release Engineering <releng@fedoraproject.org> - 1.03-27
- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild
* Sat Sep 21 2019 Paul Howarth <paul@city-fan.org> - 1.03-26
- Use author-independent source URL
- Modernize spec using %%{make_build} and %%{make_install}
* Fri Jul 26 2019 Fedora Release Engineering <releng@fedoraproject.org> - 1.03-25
- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild
* Thu May 30 2019 Jitka Plesnikova <jplesnik@redhat.com> - 1.03-24
- Perl 5.30 rebuild
* Fri Feb 01 2019 Fedora Release Engineering <releng@fedoraproject.org> - 1.03-23
- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild
* Fri Jul 13 2018 Fedora Release Engineering <releng@fedoraproject.org> - 1.03-22
- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild
* Thu Jun 28 2018 Jitka Plesnikova <jplesnik@redhat.com> - 1.03-21
- Perl 5.28 rebuild
* Thu Feb 08 2018 Fedora Release Engineering <releng@fedoraproject.org> - 1.03-20
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
* Thu Jul 27 2017 Fedora Release Engineering <releng@fedoraproject.org> - 1.03-19
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild
* Sun Jun 04 2017 Jitka Plesnikova <jplesnik@redhat.com> - 1.03-18
- Perl 5.26 rebuild
* Sat Feb 11 2017 Fedora Release Engineering <releng@fedoraproject.org> - 1.03-17
- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild
* Sun May 15 2016 Jitka Plesnikova <jplesnik@redhat.com> - 1.03-16
- Perl 5.24 rebuild
* Thu Feb 04 2016 Fedora Release Engineering <releng@fedoraproject.org> - 1.03-15
- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild
* Tue Jan 26 2016 Petr Šabata <contyk@redhat.com> - 1.03-14
- Package cleanup
* Thu Jun 18 2015 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.03-13
- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild
* Wed Jun 03 2015 Jitka Plesnikova <jplesnik@redhat.com> - 1.03-12
- Perl 5.22 rebuild
* Wed Aug 27 2014 Jitka Plesnikova <jplesnik@redhat.com> - 1.03-11
- Perl 5.20 rebuild
* Sat Jun 07 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.03-10
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild
* Sat Aug 03 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.03-9
- Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild
* Wed Jul 17 2013 Petr Pisar <ppisar@redhat.com> - 1.03-8
- Perl 5.18 rebuild
* Thu Feb 14 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.03-7
- Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild
* Fri Jul 20 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.03-6
- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild
* Fri Jun 08 2012 Petr Pisar <ppisar@redhat.com> - 1.03-5
- Perl 5.16 rebuild
* Fri Jan 13 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.03-4
- Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild
* Fri Jun 17 2011 Marcela Mašláňová <mmaslano@redhat.com> - 1.03-3
- Perl mass rebuild
* Tue Feb 08 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.03-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
* Sat Jan 15 2011 Iain Arnell <iarnell@gmail.com> 1.03-1
- Specfile autogenerated by cpanspec 1.78.

Просмотреть файл

@ -0,0 +1,26 @@
From 70ed7929018bf228c70932ba077f6d6bf12e8176 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Petr=20P=C3=ADsa=C5=99?= <ppisar@redhat.com>
Date: Mon, 5 Oct 2015 15:05:17 +0200
Subject: [PATCH] Declare POD encoding
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
Signed-off-by: Petr Písař <ppisar@redhat.com>
---
Multicore.pm | 2 ++
1 file changed, 2 insertions(+)
diff --git a/Multicore.pm b/Multicore.pm
index 4b1b091..ae76ed5 100644
--- a/Multicore.pm
+++ b/Multicore.pm
@@ -1,3 +1,5 @@
+=encoding utf8
+
=head1 NAME
Coro::Multicore - make coro threads on multiple cores with specially supported modules
--
2.4.3

Просмотреть файл

@ -0,0 +1,129 @@
From 8a9801c581700bc0d707c70da16b19f4a47ff378 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Petr=20P=C3=ADsa=C5=99?= <ppisar@redhat.com>
Date: Fri, 19 Jan 2018 09:45:10 +0100
Subject: [PATCH] Fix passing context
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
Since Coro-Multicore-0.03, build fails with threaded Perl 5.26.1:
In file included from Multicore.xs:4:0:
Multicore.xs: In function 'pmapi_acquire':
/usr/lib64/perl5/CORE/perl.h:176:16: error: 'my_perl' undeclared (first use in this function); did you mean 'my_fork'?
# define aTHX my_perl
^
/usr/lib64/perl5/CORE/embedvar.h:38:18: note: in expansion of macro 'aTHX'
# define vTHX aTHX
^~~~
/usr/lib64/perl5/CORE/embedvar.h:335:22: note: in expansion of macro 'vTHX'
#define PL_top_env (vTHX->Itop_env)
^~~~
/usr/lib64/perl5/CORE/cop.h:131:6: note: in expansion of macro 'PL_top_env'
if (PL_top_env->je_prev) \
^~~~~~~~~~
Multicore.xs:251:5: note: in expansion of macro 'JMPENV_JUMP'
JMPENV_JUMP (jeret);
^~~~~~~~~~~
MultiCore.xs defines PERL_NO_GET_CONTEXT, thus pmapi_acquire()
function needs an explicit context argument to be available when
calling JMPENV_JUMP() macro.
A similar issue emerged in Coro-MultiCore-1.04 with eval_pv() macro.
See
<http://blogs.perl.org/users/nick_wellnhofer/2015/03/writing-xs-like-a-pro---perl-no-get-context-and-static-functions.html>.
Signed-off-by: Petr Písař <ppisar@redhat.com>
---
Multicore.xs | 11 ++++++-----
perlmulticore.h | 10 +++++-----
2 files changed, 11 insertions(+), 10 deletions(-)
diff --git a/Multicore.xs b/Multicore.xs
index ba819c6..625a3a5 100644
--- a/Multicore.xs
+++ b/Multicore.xs
@@ -187,7 +187,7 @@ X_THREAD_PROC(thread_proc)
}
static void
-start_thread (void)
+start_thread (pTHX)
{
xthread_t tid;
@@ -207,7 +207,7 @@ start_thread (void)
}
static void
-pmapi_release (void)
+pmapi_release (pTHX)
{
if (! ((thread_enable ? thread_enable : global_enable) & 1))
{
@@ -232,7 +232,7 @@ pmapi_release (void)
X_LOCK (release_m);
if (idle <= min_idle)
- start_thread ();
+ start_thread (aTHX);
tctxs_put (&releasers, ctx);
X_COND_SIGNAL (release_c);
@@ -247,7 +247,7 @@ pmapi_release (void)
}
static void
-pmapi_acquire (void)
+pmapi_acquire (pTHX)
{
int jeret;
struct tctx *ctx = X_TLS_GET (current_key);
@@ -311,9 +311,10 @@ BOOT:
I_CORO_API ("Coro::Multicore");
if (0) { /*D*/
+ dTHX;
X_LOCK (release_m);
while (idle < min_idle)
- start_thread ();
+ start_thread (aTHX);
X_UNLOCK (release_m);
}
diff --git a/perlmulticore.h b/perlmulticore.h
index 7ad38a4..b009311 100644
--- a/perlmulticore.h
+++ b/perlmulticore.h
@@ -185,8 +185,8 @@ START_EXTERN_C
/* contain only the two function pointers for release/acquire */
struct perl_multicore_api
{
- void (*pmapi_release)(void);
- void (*pmapi_acquire)(void);
+ void (*pmapi_release)(pTHX);
+ void (*pmapi_acquire)(pTHX);
};
static void perl_multicore_init (void);
@@ -197,12 +197,12 @@ static const struct perl_multicore_api perl_multicore_api_init
static struct perl_multicore_api *perl_multicore_api
= (struct perl_multicore_api *)&perl_multicore_api_init;
-#define perlinterp_release() perl_multicore_api->pmapi_release ()
-#define perlinterp_acquire() perl_multicore_api->pmapi_acquire ()
+#define perlinterp_release() perl_multicore_api->pmapi_release (aTHX)
+#define perlinterp_acquire() perl_multicore_api->pmapi_acquire (aTHX)
/* this is the release/acquire implementation used as fallback */
static void
-perl_multicore_nop (void)
+perl_multicore_nop (pTHX)
{
}
--
2.21.0

Просмотреть файл

@ -0,0 +1,5 @@
{
"Signatures": {
"Coro-Multicore-1.07.tar.gz": "f768bca4f0963f122eea8449d6359d30bf1c86c3ef08ac0e45cb0e238166a064"
}
}

Просмотреть файл

@ -0,0 +1,232 @@
# Filter under-specified dependecies
%global __requires_exclude %{?__requires_exclude:%{__requires_exclude}|}^perl\\((AnyEvent|Coro)\\)$
Summary: Make Coro threads on multiple cores with specially supported modules
Name: perl-Coro-Multicore
Version: 1.07
Release: 3%{?dist}
# COPYING: GPL+ or Artistic
# perlmulticore.h: Public Domain or CC0
License: (GPL+ OR Artistic) AND (Public Domain OR CC0)
Vendor: Microsoft Corporation
Distribution: Mariner
URL: https://metacpan.org/release/Coro-Multicore
Source0: https://cpan.metacpan.org/authors/id/M/ML/MLEHMANN/Coro-Multicore-%{version}.tar.gz
# Declare POD encoding, submitted to upstream,
# <http://lists.schmorp.de/pipermail/anyevent/2015q4/000780.html>
Patch0: Coro-Multicore-0.02-Declare-POD-encoding.patch
# Fix build failure on Perl 5.26.1 with enabled treads, CPAN RT#124131,
# 1.05 provided a fix, but forgot to return a value from thread_proc().
# Keep the patch until upstream resolves it.
Patch1: Coro-Multicore-1.04-Fix-passing-context.patch
BuildRequires: coreutils
BuildRequires: findutils
BuildRequires: gcc
BuildRequires: make
BuildRequires: perl-devel
BuildRequires: perl-generators
BuildRequires: perl-interpreter
BuildRequires: perl-podlators
# Run-time:
BuildRequires: perl(AnyEvent) >= 7
BuildRequires: perl(Canary::Stability)
BuildRequires: perl(Carp)
BuildRequires: perl(Coro) >= 6.44
BuildRequires: perl(Coro::MakeMaker)
BuildRequires: perl(ExtUtils::MakeMaker) >= 6.76
BuildRequires: perl(XSLoader)
%if %{with_check}
BuildRequires: perl(Coro::AnyEvent)
%endif
Requires: perl(:MODULE_COMPAT_%(eval "`perl -V:version`"; echo $version))
Requires: perl(AnyEvent) >= 7
Requires: perl(Carp)
Requires: perl(Coro) >= 6.44
%description
While Coro threads (unlike ithreads) provide real threads similar to
pthreads, python threads and so on, they do not run in parallel to each
other even on machines with multiple CPUs or multiple CPU cores.
This module lifts this restriction under two very specific but useful
conditions: firstly, the coro thread executes in XS code and does not
touch any perl data structures, and secondly, the XS code is specially
prepared to allow this.
# We package perlmulticore.h because it is bundled by perl-Compress-LZF-3.8.
# We deliver it from Coro-Multicore because perlmulticore.h's documentation
# points to Coro-Multicore CVS tree.
%package -n perlmulticore-devel
Summary: Perl Multicore specification and implementation
License: Public Domain OR CC0
# Packaging guidelines require header-only packages:
# to be architecture-specific, to deliver headers in -devel package, to
# provide -static symbol for reverse build-requires.
Provides: perlmulticore-static = %{?epoch:%{epoch}:}%{version}-%{release}
%description -n perlmulticore-devel
This header file implements a simple mechanism for XS modules to allow
re-use of the perl interpreter for other threads while doing some lengthy
operation, such as cryptography, SQL queries, disk I/O and so on.
%package tests
Summary: Tests for %{name}
License: (GPL+ OR Artistic) AND (Public Domain OR CC0)
Requires: %{name} = %{?epoch:%{epoch}:}%{version}-%{release}
Requires: perl-Test-Harness
Requires: perl(Coro) >= 6.44
BuildArch: noarch
%description tests
Tests from %{name}. Execute them
with "%{_libexecdir}/%{name}/test".
%prep
%setup -q -n Coro-Multicore-%{version}
%patch0 -p1
%patch1 -p1
%build
export CORO_MULTICORE_CHECK=0 PERL_CANARY_STABILITY_NOPROMPT=1
perl Makefile.PL INSTALLDIRS=vendor \
NO_PACKLIST=1 NO_PERLLOCAL=1 OPTIMIZE="%{optflags}" </dev/null
%make_build
# perlmulticore-devel:
pod2man perlmulticore.h >perlmulticore.h.3
%install
%make_install
find %{buildroot} -type f -name '*.bs' -size 0 -delete
%{_fixperms} %{buildroot}/*
# perlmulticore-devel:
install -d %{buildroot}/%{_includedir}
install -m 0644 perlmulticore.h %{buildroot}/%{_includedir}
install -d %{buildroot}/%{_mandir}/man3
install -m 0644 perlmulticore.h.3 %{buildroot}/%{_mandir}/man3
# Install tests
mkdir -p %{buildroot}%{_libexecdir}/%{name}
cp -a t %{buildroot}%{_libexecdir}/%{name}
cat > %{buildroot}%{_libexecdir}/%{name}/test << 'EOF'
#!/bin/sh
cd %{_libexecdir}/%{name} && exec prove -I . -j "$(getconf _NPROCESSORS_ONLN)"
EOF
chmod +x %{buildroot}%{_libexecdir}/%{name}/test
%check
export HARNESS_OPTIONS=j$(perl -e 'if ($ARGV[0] =~ /.*-j([0-9][0-9]*).*/) {print $1} else {print 1}' -- '%{?_smp_mflags}')
make test
%files
%license COPYING
%doc Changes README
%{perl_vendorarch}/auto/*
%{perl_vendorarch}/Coro*
%{_mandir}/man3/Coro::Multicore.3*
%files -n perlmulticore-devel
# COPYING file is about Perl module. Header files have a different license.
%license %{_includedir}/perlmulticore.h
%{_includedir}/perlmulticore.h
%{_mandir}/man3/perlmulticore.h.3*
%files tests
%{_libexecdir}/%{name}
%changelog
* Wed Jan 26 2022 Pawel Winogrodzki <pawelwi@microsoft.com> - 1.07-3
- Initial CBL-Mariner import from Fedora 36 (license: MIT).
- License verified.
* Wed Aug 04 2021 Petr Pisar <ppisar@redhat.com> - 1.07-2
- Do not package Coro::Multicore tests in case coro feature is disabled
* Tue Aug 03 2021 Petr Pisar <ppisar@redhat.com> - 1.07-1
- 1.07 bump
- Package the tests
* Thu Jul 22 2021 Fedora Release Engineering <releng@fedoraproject.org> - 1.06-7
- Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild
* Fri May 21 2021 Jitka Plesnikova <jplesnik@redhat.com> - 1.06-6
- Perl 5.34 rebuild
* Wed Jan 27 2021 Fedora Release Engineering <releng@fedoraproject.org> - 1.06-5
- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild
* Tue Jul 28 2020 Fedora Release Engineering <releng@fedoraproject.org> - 1.06-4
- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
* Tue Jun 23 2020 Jitka Plesnikova <jplesnik@redhat.com> - 1.06-3
- Perl 5.32 rebuild
* Wed Jan 29 2020 Fedora Release Engineering <releng@fedoraproject.org> - 1.06-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild
* Wed Dec 18 2019 Jitka Plesnikova <jplesnik@redhat.com> - 1.06-1
- 1.06 bump
* Tue Dec 10 2019 Petr Pisar <ppisar@redhat.com> - 1.05-1
- 1.05 bump
* Tue Dec 03 2019 Petr Pisar <ppisar@redhat.com> - 1.04-1
- 1.04 bump
* Fri Jul 26 2019 Fedora Release Engineering <releng@fedoraproject.org> - 1.03-3
- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild
* Fri May 31 2019 Jitka Plesnikova <jplesnik@redhat.com> - 1.03-2
- Perl 5.30 rebuild
* Thu Mar 07 2019 Petr Pisar <ppisar@redhat.com> - 1.03-1
- 1.03 bump
* Wed Mar 06 2019 Petr Pisar <ppisar@redhat.com> - 1.02-1
- 1.02 bump
* Fri Feb 01 2019 Fedora Release Engineering <releng@fedoraproject.org> - 1.01-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild
* Wed Aug 15 2018 Petr Pisar <ppisar@redhat.com> - 1.01-1
- 1.01 bump
* Mon Aug 13 2018 Petr Pisar <ppisar@redhat.com> - 1.0-1
- 1.0 bump
* Fri Jul 13 2018 Fedora Release Engineering <releng@fedoraproject.org> - 0.03-4
- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild
* Thu Jun 28 2018 Jitka Plesnikova <jplesnik@redhat.com> - 0.03-3
- Perl 5.28 rebuild
* Thu Feb 08 2018 Fedora Release Engineering <releng@fedoraproject.org> - 0.03-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
* Fri Jan 19 2018 Petr Pisar <ppisar@redhat.com> - 0.03-1
- 0.03 bump
* Thu Aug 03 2017 Fedora Release Engineering <releng@fedoraproject.org> - 0.02-7
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Binutils_Mass_Rebuild
* Thu Jul 27 2017 Fedora Release Engineering <releng@fedoraproject.org> - 0.02-6
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild
* Mon Jun 05 2017 Jitka Plesnikova <jplesnik@redhat.com> - 0.02-5
- Perl 5.26 rebuild
* Sat Feb 11 2017 Fedora Release Engineering <releng@fedoraproject.org> - 0.02-4
- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild
* Tue May 24 2016 Petr Pisar <ppisar@redhat.com> - 0.02-3
- Perl 5.24 rebuild
* Thu Feb 04 2016 Fedora Release Engineering <releng@fedoraproject.org> - 0.02-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild
* Mon Oct 05 2015 Petr Pisar <ppisar@redhat.com> 0.02-1
- Specfile autogenerated by cpanspec 1.78.

Просмотреть файл

@ -0,0 +1,49 @@
From 7accb61160334aa89bf771323c91e40f42af8574 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Petr=20P=C3=ADsa=C5=99?= <ppisar@redhat.com>
Date: Fri, 14 Jul 2017 14:59:32 +0200
Subject: [PATCH] Disable disabling FORTIFY_SOURCE
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
6.512 started to disable FORTIFY_SOURCE feature because it breaks
jumps on some C standard libraries.
Signed-off-by: Petr Písař <ppisar@redhat.com>
---
Coro/Makefile.PL | 1 -
Coro/libcoro/coro.h | 6 ------
2 files changed, 7 deletions(-)
diff --git a/Coro/Makefile.PL b/Coro/Makefile.PL
index f86424b..6e63075 100644
--- a/Coro/Makefile.PL
+++ b/Coro/Makefile.PL
@@ -219,7 +219,6 @@ if ($iface eq "u") {
print "\nUsing ucontext implementation\n\n";
conftest ("TEST_makecontext");
} elsif ($iface eq "s") {
- $DEFINE .= " -D_FORTIFY_SOURCE=0";
$DEFINE .= " -DCORO_SJLJ";
print "\nUsing setjmp/longjmp/sigaltstack implementation\n\n";
conftest ("TEST_sigaltstack");
diff --git a/Coro/libcoro/coro.h b/Coro/libcoro/coro.h
index 82c9dab..bf8577f 100644
--- a/Coro/libcoro/coro.h
+++ b/Coro/libcoro/coro.h
@@ -342,12 +342,6 @@ struct coro_context
# define _GNU_SOURCE /* for glibc */
# endif
-/* try to disable well-meant but buggy checks in some libcs */
-# ifdef _FORTIFY_SOURCE
-# undef _FORTIFY_SOURCE
-# undef __USE_FORTIFY_LEVEL /* helps some more when too much has been included already */
-# endif
-
# if !CORO_LOSER
# include <unistd.h>
# endif
--
2.9.4

Просмотреть файл

@ -0,0 +1,12 @@
diff -up Coro-5.25/Coro/Makefile.PL.ucontext Coro-5.25/Coro/Makefile.PL
--- Coro-5.25/Coro/Makefile.PL.ucontext 2011-01-10 11:29:04.000000000 +0100
+++ Coro-5.25/Coro/Makefile.PL 2011-01-10 11:29:18.000000000 +0100
@@ -49,7 +49,7 @@ if (exists $ENV{CORO_INTERFACE}) {
} elsif ($^O =~ /linux/) {
# everything "just works", as expected
- $iface = $iface_asm || "s";
+ $iface = $iface_asm || "u";
} elsif ($^O =~ /freebsd/) {
# FreeBSD 4.x has ucontext.h but no makecontext et al. (see BUGS section of

Просмотреть файл

@ -0,0 +1,5 @@
{
"Signatures": {
"Coro-6.57.tar.gz": "1928e48033540e11ebf5506986dd101af78d2421d210f96599223b15d51714c6"
}
}

Просмотреть файл

@ -0,0 +1,388 @@
%global cpan_version 6.57
# Filter underspecified dependencies
%global __requires_exclude %{?__requires_exclude:__requires_exclude|}^perl\\(AnyEvent\\)$
%global __requires_exclude %{__requires_exclude}|^perl\\(AnyEvent\\) >= 4.800001$
%global __requires_exclude %{__requires_exclude}|^perl\\(AnyEvent::AIO\\)$
%global __requires_exclude %{__requires_exclude}|^perl\\(AnyEvent::BDB\\)$
%global __requires_exclude %{__requires_exclude}|^perl\\(EV\\)$
%global __requires_exclude %{__requires_exclude}|^perl\\(Event\\)$
%global __requires_exclude %{__requires_exclude}|^perl\\(Guard\\)$
%global __requires_exclude %{__requires_exclude}|^perl\\(Storable\\)$
%global __provides_exclude %{?__provides_exclude:__provides_exclude|}^perl\\(Coro\\)$
Summary: The only real threads in perl
Name: perl-Coro
Version: 6.570
Release: 5%{?dist}
# Coro/libcoro: GPLv2 or BSD
# Rest of package: GPL+ or Artistic
License: (GPL+ OR Artistic) AND (GPLv2 OR BSD)
Vendor: Microsoft Corporation
Distribution: Mariner
URL: https://metacpan.org/release/Coro
Source0: https://cpan.metacpan.org/authors/id/M/ML/MLEHMANN/Coro-%{cpan_version}.tar.gz
Patch0: %{name}-5.25-ucontext-default.patch
# Do not disable hardening
Patch1: Coro-6.512-Disable-disabling-FORTIFY_SOURCE.patch
BuildRequires: coreutils
BuildRequires: findutils
BuildRequires: gcc
BuildRequires: libecb-static
BuildRequires: make
BuildRequires: perl-devel
BuildRequires: perl-generators
BuildRequires: perl-interpreter
BuildRequires: sed
# Run-time:
BuildRequires: perl(AnyEvent) >= 7
# AnyEvent::AIO >= 1 not used at tests
# AnyEvent::BDB >= 1 not used at tests
# AnyEvent::DNS not used at tests
BuildRequires: perl(AnyEvent::Socket)
BuildRequires: perl(AnyEvent::Util)
BuildRequires: perl(Canary::Stability)
# BDB not used at tests
BuildRequires: perl(Carp)
BuildRequires: perl(Config)
BuildRequires: perl(EV) >= 4
BuildRequires: perl(EV::MakeMaker)
BuildRequires: perl(Errno)
BuildRequires: perl(Event) >= 1.08
BuildRequires: perl(Event::MakeMaker) >= 6.76
BuildRequires: perl(Exporter)
BuildRequires: perl(ExtUtils::MakeMaker) >= 6.52
BuildRequires: perl(Guard) >= 0.5
# IO::AIO >= 3.1 not used at tests
BuildRequires: perl(IO::Socket::INET)
BuildRequires: perl(Scalar::Util)
BuildRequires: perl(Socket)
BuildRequires: perl(Storable) >= 2.15
BuildRequires: perl(XSLoader)
BuildRequires: perl(base)
BuildRequires: perl(common::sense)
# Net::Config not used at tests
# Net::FTP not used at tests
# Net::HTTP not used at tests
# Net::NNTP not used at tests
BuildRequires: perl(overload)
BuildRequires: perl(strict)
BuildRequires: perl(warnings)
Requires: perl(:MODULE_COMPAT_%(eval "`perl -V:version`"; echo $version))
# Export correct required versions
Requires: perl(AnyEvent) >= 7
Requires: perl(AnyEvent::AIO) >= 1
Requires: perl(AnyEvent::BDB) >= 1
Requires: perl(EV) >= 4
Requires: perl(Event) >= 1.08
Requires: perl(Guard) >= 0.5
Requires: perl(Storable) >= 2.15
Requires: perl(warnings)
%{?perl_default_filter}
%description
This module collection manages continuations in general, most often in the
form of cooperative threads (also called coros, or simply "coro" in the
documentation). They are similar to kernel threads but don't (in general) run
in parallel at the same time even on SMP machines. The specific flavor of
thread offered by this module also guarantees you that it will not switch
between threads unless necessary, at easily-identified points in your
program, so locking and parallel access are rarely an issue, making thread
programming much safer and easier than using other thread models.
%prep
%setup -q -n Coro-%{cpan_version}
%ifnarch %{ix86} x86_64 %{arm}
# use ucontext backend on non-x86 (setjmp didn't work on s390(x))
%patch0 -p1 -b .ucontext-default
%endif
%patch1 -p1
# Unbundle libecb
rm Coro/ecb.h
perl -i -lne 'print $_ unless m{\ACoro/ecb\.h\z}' MANIFEST
perl -i -pe 's/ecb\.h//' Coro/Makefile.PL
# Correct shebangs
for F in Coro/jit-*.pl; do
perl -i -ne 'print $_ unless m{\A#!}' "$F"
chmod -x "$F"
done
%fix_shbang_line eg/myhttpd
%build
# Interactive configuration. Use default values.
perl Makefile.PL INSTALLDIRS=perl NO_PACKLIST=1 NO_PERLLOCAL=1 \
OPTIMIZE="%{optflags}" </dev/null
%make_build
%install
%make_install
find %{buildroot} -type f -name '*.bs' -size 0 -delete
%{_fixperms} %{buildroot}/*
%check
%make_build test
%files
%license COPYING Coro/libcoro/LICENSE
%doc Changes README README.linux-glibc
%doc doc/* eg
%{perl_archlib}/auto/Coro
%{perl_archlib}/Coro
%{perl_archlib}/Coro.pm
%{_mandir}/man3/Coro*.3pm*
%changelog
* Thu Jan 27 2022 Pawel Winogrodzki <pawelwi@microsoft.com> - 6.570-5
- Initial CBL-Mariner import from Fedora 36 (license: MIT).
- License verified.
* Thu Jul 22 2021 Fedora Release Engineering <releng@fedoraproject.org> - 6.570-4
- Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild
* Fri May 21 2021 Jitka Plesnikova <jplesnik@redhat.com> - 6.570-3
- Perl 5.34 rebuild
* Wed Jan 27 2021 Fedora Release Engineering <releng@fedoraproject.org> - 6.570-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild
* Mon Aug 03 2020 Petr Pisar <ppisar@redhat.com> - 6.570-1
- 6.57 bump
* Tue Jul 28 2020 Fedora Release Engineering <releng@fedoraproject.org> - 6.550-5
- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
* Tue Jun 23 2020 Jitka Plesnikova <jplesnik@redhat.com> - 6.550-4
- Perl 5.32 rebuild
* Wed Jan 29 2020 Fedora Release Engineering <releng@fedoraproject.org> - 6.550-3
- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild
* Fri Jul 26 2019 Fedora Release Engineering <releng@fedoraproject.org> - 6.550-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild
* Mon Jul 22 2019 Petr Pisar <ppisar@redhat.com> - 6.550-1
- 6.55 bump
* Fri May 31 2019 Jitka Plesnikova <jplesnik@redhat.com> - 6.540-3
- Perl 5.30 rebuild
* Fri Feb 01 2019 Fedora Release Engineering <releng@fedoraproject.org> - 6.540-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild
* Wed Dec 19 2018 Petr Pisar <ppisar@redhat.com> - 6.540-1
- 6.42 bump
* Wed Aug 15 2018 Petr Pisar <ppisar@redhat.com> - 6.520-1
- 6.52 bump
* Fri Jul 13 2018 Fedora Release Engineering <releng@fedoraproject.org> - 6.514-5
- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild
* Sun Jul 08 2018 Carl George <carl@george.computer> - 6.514-4
- Avoid NO_PACKLIST usage to work with EL7's MakeMaker
* Thu Jun 28 2018 Jitka Plesnikova <jplesnik@redhat.com> - 6.514-3
- Perl 5.28 rebuild
* Thu Feb 08 2018 Fedora Release Engineering <releng@fedoraproject.org> - 6.514-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
* Fri Sep 01 2017 Petr Pisar <ppisar@redhat.com> - 6.514-1
- 6.514 bump
* Thu Aug 03 2017 Fedora Release Engineering <releng@fedoraproject.org> - 6.513-3
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Binutils_Mass_Rebuild
* Thu Jul 27 2017 Fedora Release Engineering <releng@fedoraproject.org> - 6.513-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild
* Mon Jul 17 2017 Petr Pisar <ppisar@redhat.com> - 6.513-1
- 6.513 bump
* Fri Jul 14 2017 Petr Pisar <ppisar@redhat.com> - 6.512-1
- 6.512 bump
* Mon Jun 05 2017 Jitka Plesnikova <jplesnik@redhat.com> - 6.511-4
- Perl 5.26 rebuild
* Tue May 23 2017 Petr Pisar <ppisar@redhat.com> - 6.511-3
- Restore compatibility with Perl 5.26.0 (CPAN RT#121836)
* Sat Feb 11 2017 Fedora Release Engineering <releng@fedoraproject.org> - 6.511-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild
* Mon Jun 27 2016 Petr Pisar <ppisar@redhat.com> - 6.511-1
- 6.511 bump
* Fri May 20 2016 Petr Pisar <ppisar@redhat.com> - 6.49-4
- Make Coro compatible with Perl 5.24 (bug #1338707)
* Tue May 17 2016 Jitka Plesnikova <jplesnik@redhat.com> - 6.49-3
- Perl 5.24 rebuild
* Thu Feb 04 2016 Fedora Release Engineering <releng@fedoraproject.org> - 6.49-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild
* Mon Oct 19 2015 Petr Pisar <ppisar@redhat.com> - 6.49-1
- 6.49 bump
* Mon Oct 05 2015 Petr Pisar <ppisar@redhat.com> - 6.48-1
- 6.48 bump
* Mon Jul 13 2015 Petr Pisar <ppisar@redhat.com> - 6.47-1
- 6.47 bump
* Wed Jul 01 2015 Petr Pisar <ppisar@redhat.com> - 6.46-1
- 6.46 bump
* Tue Jun 30 2015 Petr Pisar <ppisar@redhat.com> - 6.45-1
- 6.45 bump
* Thu Jun 18 2015 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 6.43-3
- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild
* Tue Jun 09 2015 Jitka Plesnikova <jplesnik@redhat.com> - 6.43-2
- Perl 5.22 rebuild
* Mon Jun 08 2015 Petr Pisar <ppisar@redhat.com> - 6.43-1
- 6.43 bump
* Sat Jun 06 2015 Jitka Plesnikova <jplesnik@redhat.com> - 6.42-2
- Perl 5.22 rebuild
* Wed Feb 18 2015 Petr Pisar <ppisar@redhat.com> - 6.42-1
- 6.42 bump
* Wed Oct 29 2014 Petr Pisar <ppisar@redhat.com> - 6.41-1
- 6.41 bump
* Thu Aug 28 2014 Jitka Plesnikova <jplesnik@redhat.com> - 6.39-4
- Perl 5.20 rebuild
* Sun Aug 17 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 6.39-3
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_22_Mass_Rebuild
* Sat Jun 07 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 6.39-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild
* Mon Jun 02 2014 Petr Pisar <ppisar@redhat.com> - 6.39-1
- 6.39 bump
* Wed Mar 05 2014 Petr Pisar <ppisar@redhat.com> - 6.37-1
- 6.37 bump
* Tue Nov 19 2013 Petr Pisar <ppisar@redhat.com> - 6.33-1
- 6.33 bump
* Wed Nov 06 2013 Petr Pisar <ppisar@redhat.com> - 6.32-1
- 6.32 bump
* Sat Aug 03 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 6.31-3
- Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild
* Tue Jul 23 2013 Petr Pisar <ppisar@redhat.com> - 6.31-2
- Perl 5.18 rebuild
* Mon May 13 2013 Petr Pisar <ppisar@redhat.com> - 6.31-1
- 6.31 bump
* Thu May 09 2013 Petr Pisar <ppisar@redhat.com> - 6.29-1
- 6.29 bump
* Thu Feb 14 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 6.23-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild
* Mon Dec 10 2012 Petr Pisar <ppisar@redhat.com> - 6.23-1
- 6.23 bump
* Mon Oct 22 2012 Petr Pisar <ppisar@redhat.com> - 6.10-3
- Do not mark this package as bundling libecb
* Mon Oct 22 2012 Petr Pisar <ppisar@redhat.com> - 6.10-2
- Unbundle libecb (bug #863988)
* Fri Oct 12 2012 Petr Pisar <ppisar@redhat.com> - 6.10-1
- 6.10 bump
* Mon Oct 08 2012 Petr Pisar <ppisar@redhat.com> - 6.09-2
- Fix building on big endian system (bug #863991)
* Sun Oct 07 2012 Nicolas Chauvet <kwizart@gmail.com> - 6.09-1
- Update to 4.09
* Fri Aug 3 2012 Jitka Plesnikova <jplesnik@redhat.com> - 6.08-4
- Update BR
* Fri Jul 20 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 6.08-3
- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild
* Fri Jun 15 2012 Petr Pisar <ppisar@redhat.com> - 6.08-2
- Perl 5.16 rebuild
* Mon Apr 16 2012 Petr Pisar <ppisar@redhat.com> - 6.08-1
- 6.08 bump
* Tue Feb 21 2012 Peter Robinson <pbrobinson@fedoraproject.org> - 6.07-3
- Add patch to fix build on ARM. RHBZ 750805
* Fri Jan 13 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 6.07-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild
* Fri Dec 09 2011 Petr Pisar <ppisar@redhat.com> - 6.07-1
- 6.07 bump
* Thu Nov 03 2011 Nicolas Chauvet <kwizart@gmail.com> - 6.06-2
- Fix ucontext on ARM - rhbz750805
* Fri Aug 12 2011 Petr Sabata <contyk@redhat.com> - 6.06-1
- 6.06 bump
* Fri Aug 05 2011 Petr Sabata <contyk@redhat.com> - 6.05-1
- 6.05 bump
* Thu Aug 04 2011 Petr Sabata <contyk@redhat.com> - 6.04-1
- 6.04 bump
* Fri Jul 29 2011 Petr Pisar <ppisar@redhat.com> - 6.02-1
- 6.02 bump
- Major version 6 breaks compatibility: Unreferenced coro objects will now be
destroyed and cleaned up automatically (e.g. async { schedule }).
* Tue Jun 21 2011 Marcela Mašláňová <mmaslano@redhat.com> - 5.372-4
- Perl mass rebuild
* Fri Apr 08 2011 Mathieu Bridon <bochecha@fedoraproject.org> - 5.372-3
- Added explicit versionned Requires: on perl(EV)
- Removed automatically added unversionned Requires: on perl(EV)
* Thu Apr 07 2011 Mathieu Bridon <bochecha@fedoraproject.org> - 5.372-2
- Rebuild with EV support.
* Mon Mar 07 2011 Petr Pisar <ppisar@redhat.com> - 5.372-1
- 5.372 bump
* Mon Feb 21 2011 Petr Pisar <ppisar@redhat.com> - 5.37-1
- 5.37 bump
- Fix State.xs syntax (RT#65991)
- Version unversioned Provides
* Mon Feb 14 2011 Petr Pisar <ppisar@redhat.com> - 5.26-1
- 5.26 bump
* Tue Feb 08 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 5.25-4
- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
* Fri Jan 21 2011 Mathieu Bridon <bochecha@fedoraproject.org> 5.25-3
- Allow building on systems without %%fix_shbang_line macro (needed for EL6)
* Mon Jan 10 2011 Dan Horák <dan[at]danny.cz> 5.25-2
- use ucontext backend on non-x86
* Tue Jan 04 2011 Petr Pisar <ppisar@redhat.com> 5.25-1
- 5.25 import
- Disable perl(EV) support as it's not packaged yet

Просмотреть файл

@ -0,0 +1,8 @@
--- xt/kwalitee.t
+++ xt/kwalitee.t
@@ -29,4 +29,4 @@ if ($^V =~ /c$/) {
if $Module::CPANTS::Kwalitee::Uses::VERSION eq '1.01';
}
-Test::Kwalitee->import( tests => [ qw( -use_strict ) ] );
+Test::Kwalitee->import( tests => [ qw( -use_strict -valid_signature ) ] );

Просмотреть файл

@ -0,0 +1,5 @@
{
"Signatures": {
"Cpanel-JSON-XS-4.27.tar.gz": "3aca5b346479726c56f197b5c98ff6036eb64590329d0480eb30120eea91044e"
}
}

Просмотреть файл

@ -0,0 +1,786 @@
Summary: JSON::XS for Cpanel, fast and correct serializing
Name: perl-Cpanel-JSON-XS
Version: 4.27
Release: 2%{?dist}
License: GPL+ OR Artistic
Vendor: Microsoft Corporation
Distribution: Mariner
URL: https://metacpan.org/release/Cpanel-JSON-XS
Source0: https://cpan.metacpan.org/authors/id/R/RU/RURBAN/Cpanel-JSON-XS-%{version}.tar.gz
Patch0: Cpanel-JSON-XS-4.20-signature.patch
# Module Build
BuildRequires: coreutils
BuildRequires: findutils
BuildRequires: gcc
BuildRequires: make
BuildRequires: perl-devel
BuildRequires: perl-generators
BuildRequires: perl-interpreter
# Script Runtime
BuildRequires: perl(CBOR::XS)
BuildRequires: perl(CPAN::Meta::YAML)
# Module Runtime
BuildRequires: perl(Carp)
BuildRequires: perl(Compress::LZF)
BuildRequires: perl(Config)
BuildRequires: perl(Convert::Bencode)
BuildRequires: perl(Data::Dump)
BuildRequires: perl(Exporter)
BuildRequires: perl(ExtUtils::MakeMaker)
BuildRequires: perl(Scalar::Util)
BuildRequires: perl(XSLoader)
BuildRequires: perl(YAML)
BuildRequires: perl(YAML::Syck)
BuildRequires: perl(YAML::XS)
BuildRequires: perl(overload)
BuildRequires: perl(strict)
BuildRequires: perl(warnings)
%if %{with_check}
BuildRequires: perl(B)
BuildRequires: perl(Data::Dumper)
BuildRequires: perl(Devel::Peek)
BuildRequires: perl(Encode) >= 1.9081
BuildRequires: perl(POSIX)
BuildRequires: perl(Test)
BuildRequires: perl(Test::More) >= 0.88
BuildRequires: perl(Test::Simple)
BuildRequires: perl(Tie::Array)
BuildRequires: perl(Tie::Hash)
BuildRequires: perl(charnames)
BuildRequires: perl(constant)
BuildRequires: perl(lib)
BuildRequires: perl(threads)
BuildRequires: perl(threads::shared) >= 1.21
BuildRequires: perl(utf8)
# Optional Tests
# Cycle: perl-Cpanel-JSON-XS → perl-Test-LeakTrace → perl-Module-Install
# → perl-YAML-Tiny → perl-JSON-MaybeXS → perl-Cpanel-JSON-XS
# Cycle: perl-Cpanel-JSON-XS → perl-Perl-MinimumVersion → perl-PPI
# → perl-List-MoreUtils → perl-Test-LeakTrace → perl-Module-Install
# → perl-YAML-Tiny → perl-JSON-MaybeXS → perl-Cpanel-JSON-XS
# Cycle: perl-Cpanel-JSON-XS → perl-Test-MinimumVerion → perl-YAML-Tiny
# → perl-JSON-MaybeXS → perl-Cpanel-JSON-XS
# Cycle: perl-Cpanel-JSON-XS → perl-Test-Kwalitee → perl-Module-CPANTS-Analyse
# → perl-JSON-MaybeXS → perl-Cpanel-JSON-XS
%if !%{defined perl_bootstrap}
# Maintainer Tests (Test::Spelling intentionally omitted as associated test would fail due to various technical terms)
BuildRequires: perl(Class::XSAccessor)
BuildRequires: perl(Hash::Util)
BuildRequires: perl(JSON) >= 2.09
BuildRequires: perl(JSON::PP) >= 2.09
BuildRequires: perl(JSON::XS)
BuildRequires: perl(List::MoreUtils)
BuildRequires: perl(Math::BigFloat) >= 1.16
BuildRequires: perl(Math::BigInt)
BuildRequires: perl(Mojo::JSON) >= 6.11
BuildRequires: perl(Perl::MinimumVersion) >= 1.20
BuildRequires: perl(Pod::Spell::CommonMistakes)
BuildRequires: perl(Test::CPAN::Changes)
BuildRequires: perl(Test::CPAN::Meta) >= 0.12
BuildRequires: perl(Test::CheckChanges)
BuildRequires: perl(Test::Kwalitee)
BuildRequires: perl(Test::LeakTrace)
BuildRequires: perl(Test::MinimumVersion) >= 0.008
BuildRequires: perl(Test::Pod) >= 1.00
BuildRequires: perl(Test::Pod::Coverage) >= 1.04
BuildRequires: perl(Text::CSV_XS)
BuildRequires: perl(Tie::IxHash)
BuildRequires: perl(Time::Piece)
BuildRequires: perl(common::sense) >= 3.5
%endif
%endif
# Runtime
Requires: perl(:MODULE_COMPAT_%(eval "`perl -V:version`"; echo $version))
Requires: perl(Carp)
Requires: perl(Scalar::Util)
Requires: perl(overload)
Recommends: perl(Math::BigFloat) >= 1.16
Recommends: perl(Math::BigInt)
Suggests: perl(Bencode)
Suggests: perl(CBOR::XS)
Suggests: perl(CPAN::Meta::YAML)
Suggests: perl(Compress::LZF)
Suggests: perl(Data::Dump)
Suggests: perl(Data::Dumper)
Suggests: perl(Sereal::Decoder)
Suggests: perl(Sereal::Encoder)
Suggests: perl(YAML)
Suggests: perl(YAML::Syck)
Suggests: perl(YAML::XS)
# Avoid unwanted provides and dependencies
%{?perl_default_filter}
%description
This module converts Perl data structures to JSON and vice versa. Its
primary goal is to be correct and its secondary goal is to be fast. To
reach the latter goal it was written in C.
%prep
%setup -q -n Cpanel-JSON-XS-%{version}
# Fix shellbangs
perl -pi -e 's|^#!/opt/bin/perl|#!/usr/bin/perl|' eg/*
# Skip the signature check as we've tweaked some files
%patch0
%build
perl Makefile.PL INSTALLDIRS=vendor OPTIMIZE="%{optflags}"
make %{?_smp_mflags}
%install
make pure_install DESTDIR=%{buildroot}
find %{buildroot} -type f -name .packlist -delete
find %{buildroot} -type f -name '*.bs' -empty -delete
%{_fixperms} -c %{buildroot}
%check
%if !%{defined perl_bootstrap}
make test xtest AUTHOR_TESTING=1
%else
make test
%endif
%files
%license COPYING
%doc Changes README eg/
%{_bindir}/cpanel_json_xs
%{perl_vendorarch}/auto/Cpanel/
%{perl_vendorarch}/Cpanel/
%{_mandir}/man1/cpanel_json_xs.1*
%{_mandir}/man3/Cpanel::JSON::XS.3*
%{_mandir}/man3/Cpanel::JSON::XS::Boolean.3*
%{_mandir}/man3/Cpanel::JSON::XS::Type.3*
%changelog
* Wed Jan 26 2022 Pawel Winogrodzki <pawelwi@microsoft.com> - 4.27-2
- Initial CBL-Mariner import from Fedora 36 (license: MIT).
- License verified.
* Fri Oct 15 2021 Paul Howarth <paul@city-fan.org> - 4.27-1
- Update to 4.27
- Only add -Werror=declaration-after-statement for 5.035004 and earlier
(GH#186)
- Fix 125_shared_boolean.t for threads (GH#184)
- Drop support for building for targets older than EL-7
* Thu Jul 22 2021 Fedora Release Engineering <releng@fedoraproject.org> - 4.26-4
- Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild
* Mon May 24 2021 Jitka Plesnikova <jplesnik@redhat.com> - 4.26-3
- Perl 5.34 re-rebuild of bootstrapped packages
* Fri May 21 2021 Jitka Plesnikova <jplesnik@redhat.com> - 4.26-2
- Perl 5.34 rebuild
* Mon Apr 12 2021 Paul Howarth <paul@city-fan.org> - 4.26-1
- Update to 4.26
- Fix compilation with C++ (GH#177)
- Use %%license unconditionally
* Wed Jan 27 2021 Fedora Release Engineering <releng@fedoraproject.org> - 4.25-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild
* Wed Oct 28 2020 Paul Howarth <paul@city-fan.org> - 4.25-1
- Update to 4.25
- Fix decode relaxed with comment at the end of the buffer (GH#174), a
regression introduced with 3.0220, to fix n_number_then_00
- Possible fix for a gcc-9 optimizer bug (GH#172)
* Fri Oct 2 2020 Paul Howarth <paul@city-fan.org> - 4.24-1
- Update to 4.24
- Fix decode_json(scalar, 0), check 2nd arg for true-ness (GH#171)
* Sat Sep 5 2020 Paul Howarth <paul@city-fan.org> - 4.23-1
- Update to 4.23
- Fix t/54_stringify needs JSON 2.09 for allow_unknown (GH#169)
- Fix t/118_type.t for 5.6
- Fix t/96_interop.t for missing JSON::XS
- Possible fix for s390x with long double, untested (GH#83)
* Thu Aug 13 2020 Paul Howarth <paul@city-fan.org> - 4.21-1
- Update to 4.21
- Fix not enough HEK memory allocation for the new canonical tied hashes
feature (GH#168)
- TODO broken JSON::PP::Boolean versions 2.9x - 4.0 with threads::shared in
125_shared_boolean.t
* Wed Aug 12 2020 Paul Howarth <paul@city-fan.org> - 4.20-1
- Update to 4.20
- New feature: sort tied hashes with canonical (GH#167)
- Fix encode of threads::shared boolean (GH#166); this was broken with 4.00
- Fix some stringify overload cases via convert_blessed (GH#105)
- Fix a compat case with JSON::XS, when convert_blessed is set, but
allow_blessed not (GH#105)
- Improve blessed and stringify tests
- Work on better inf/nan detection on AIX (GH#165)
- Fix documentation for booleans and their types (GH#162)
* Tue Jul 28 2020 Fedora Release Engineering <releng@fedoraproject.org> - 4.19-4
- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
* Fri Jun 26 2020 Jitka Plesnikova <jplesnik@redhat.com> - 4.19-3
- Perl 5.32 re-rebuild of bootstrapped packages
* Tue Jun 23 2020 Jitka Plesnikova <jplesnik@redhat.com> - 4.19-2
- Perl 5.32 rebuild
* Thu Feb 6 2020 Paul Howarth <paul@city-fan.org> - 4.19-1
- Update to 4.19
- Fix typed decode memory leak (GH#160)
* Wed Jan 29 2020 Fedora Release Engineering <releng@fedoraproject.org> - 4.18-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild
* Fri Dec 13 2019 Paul Howarth <paul@city-fan.org> - 4.18-1
- Update to 4.18
- Add new method ->type_all_string (GH#156); when type_all_string is set then
the encode method produces stable deterministic string types in the
resulting JSON - this can be an alternative to Cpanel::JSON::XS::Type when
having deterministic output is required but string JSON types are enough
for any output
- Move SvGETMAGIC() from encode_av() and encode_hv() to encode_sv() (GH#156)
- Add Math::BigInt and Math::BigFloat as recommended dependencies (GH#157)
* Tue Nov 5 2019 Paul Howarth <paul@city-fan.org> - 4.17-1
- Update to 4.17
- Add Changes tests and fixups (GH#155)
* Mon Nov 4 2019 Paul Howarth <paul@city-fan.org> - 4.16-1
- Update to 4.16
- Use Perl_strtod instead of self-made atof (via pow), to minimize
differences from core string-to-float conversions (GH#154); this fixes
float representation regressions (in the 1e-6 to 1e-16 range) since 5.22
* Tue Oct 22 2019 Paul Howarth <paul@city-fan.org> - 4.15-1
- Update to 4.15
- Fix more tests for nvtype long double
* Tue Oct 15 2019 Paul Howarth <paul@city-fan.org> - 4.14-1
- Update to 4.14
- Fix tests for nvtype long double (GH#153)
- Fix PREREQ's, e.g. CentOS 7 has not Test::More anymore (GH#152)
* Mon Oct 14 2019 Paul Howarth <paul@city-fan.org> - 4.13-1
- Update to 4.13
- For JSON_TYPE_INT and JSON_TYPE_FLOAT, allow to encode numeric values above
2^64 in PV slot via Math::BigInt/Float (GH#145, GH#148, GH#149)
- For JSON_TYPE_INT and JSON_TYPE_FLOAT encoder, allow to pass Math::BigInt
and Math::BigFloat objects with allow_bignum (GH#147)
- Fix encoding floating point values above 2^64 in PV slot to JSON_TYPE_INT
(GH#148, GH#150)
- Do not allow serializing objects when convert_blessed is not enabled
(GH#146)
* Fri Jul 26 2019 Fedora Release Engineering <releng@fedoraproject.org> - 4.12-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild
* Tue Jun 11 2019 Paul Howarth <paul@city-fan.org> - 4.12-1
- Update to 4.12
- Make encoder independent of Math::BigInt version (GH#140)
- Rethrow error from eval_sv and eval_pv() (GH#138, GH#139), e.g. when
Math::BigInt/BigFloat fails
- Fix encoding Inf and NaN from PV and NV slots to JSON_TYPE_INT (GH#137)
- Fix memory corruption in sv_to_ivuv() function (GH#136)
- Add new method ->require_types (GH#135)
- Fix typed json encoder conversion from scalar's PV and NV slot to
JSON_TYPE_INT (GH#133, GH#134)
- Fix inconsistency with warnings in typed json encoder (GH#131)
- Fix Perl 5.8.0 support (GH#130)
- Fixed minor pod typo (GH#129)
- Document invalid recursive callbacks or overloads (GH#128)
* Sun Jun 02 2019 Jitka Plesnikova <jplesnik@redhat.com> - 4.11-3
- Perl 5.30 re-rebuild of bootstrapped packages
* Fri May 31 2019 Jitka Plesnikova <jplesnik@redhat.com> - 4.11-2
- Perl 5.30 rebuild
* Wed Mar 27 2019 Paul Howarth <paul@city-fan.org> - 4.11-1
- Update to 4.11
- Fix unicode strings with BOM corrupt ->utf8 state (GH#125); the BOM
encoding affects only its very own decode call, not its object
* Mon Mar 18 2019 Paul Howarth <paul@city-fan.org> - 4.10-1
- Update to 4.10
- Fix incr_text refcounts (GH#123)
- Add incr_reset testcase (GH#123)
- Fix encode_stringify string-overload refcnt problem (GH#124)
- "Attempt to free unreferenced scalar" with convert_blessed and overload
* Fri Feb 15 2019 Paul Howarth <paul@city-fan.org> - 4.09-1
- Update to 4.09
- Add separate allow_dupkeys property, in relaxed (GH#122)
- Fixed allow_dupkeys for the XS slow path
- Silence 2 -Wunused-value warnings
- Fix ->unblessed_bool to produce modifiable perl structures (GH#121)
* Fri Feb 01 2019 Fedora Release Engineering <releng@fedoraproject.org> - 4.08-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild
* Wed Nov 28 2018 Paul Howarth <paul@city-fan.org> - 4.08-1
- Update to 4.08
- Add unblessed_bool property (GH#118)
* Mon Nov 5 2018 Paul Howarth <paul@city-fan.org> - 4.07-1
- Update to 4.07
- Silence Gconvert -Wunused-result
* Thu Aug 23 2018 Paul Howarth <paul@city-fan.org> - 4.06-1
- Update to 4.06
- Fix overloaded eq/ne comparisons (GH#116, GH#117): detect strings, protect
from endless recursion; false is now ne "True"; clarify eq/ne rules in the
docs
* Mon Aug 20 2018 Paul Howarth <paul@city-fan.org> - 4.05-1
- Update to 4.05
- Set decoded type (GH#115)
- Add json_type_weaken (GH#114)
- Fix tests for 5.6
* Fri Jul 13 2018 Fedora Release Engineering <releng@fedoraproject.org> - 4.04-4
- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild
* Sun Jul 01 2018 Jitka Plesnikova <jplesnik@redhat.com> - 4.04-3
- Perl 5.28 re-rebuild of bootstrapped packages
* Thu Jun 28 2018 Jitka Plesnikova <jplesnik@redhat.com> - 4.04-2
- Perl 5.28 rebuild
* Sat Jun 23 2018 Paul Howarth <paul@city-fan.org> - 4.04-1
- Update to 4.04
- Fix bignum NaN/inf handling (GH#78)
- Move author tests to xt/ as suggested in GH#106, added a make xtest target
(fixes a test fail with ASAN)
* Thu Jun 21 2018 Paul Howarth <paul@city-fan.org> - 4.03-1
- Update to 4.03
- Add sereal cpanel_json_xs type (GH#110)
- Fix bencode/bdecode methods in cpanel_json_xs (GH#111)
- Overload ne operator for JSON::PP::Boolean (GH#107)
- Add a missing semicolon to a documentation example (GH#104)
- Switch upstream from search.cpan.org to metacpan.org
- Add suggestions for Sereal::Decoder and Sereal::Encoder
- Switch suggestion of Convert::Bencode to Bencode
- Work around failing t/z_meta.t
* Thu Mar 1 2018 Florian Weimer <fweimer@redhat.com> - 4.02-2
- Rebuild with new redhat-rpm-config/perl build flags
* Tue Feb 27 2018 Paul Howarth <paul@city-fan.org> - 4.02-1
- Update to 4.02
- Add encoder indent_length method, previously hard-coded to 3 (GH#103)
* Thu Feb 08 2018 Fedora Release Engineering <releng@fedoraproject.org> - 4.01-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
* Sat Feb 3 2018 Paul Howarth <paul@city-fan.org> - 4.01-1
- Update to 4.01
- Fix locale crash with threaded perls < 5.22 and glibc (GH#101)
* Fri Feb 2 2018 Paul Howarth <paul@city-fan.org> - 4.00-1
- Update to 4.00
- Simplify allow_singlequote check (coverity cid#165321)
- Deprecate UTF-16 or UTF-32 BOM's: RFC 8259
- Added Cpanel::JSON::XS::Type as 2nd optional encode argument (GH#94)
- Removed calling get magic hooks twice in encode
- Avoid setlocale race in threads with non-C locales, where the threads
differ in the LC_NUMERIC locale (GH#99)
- Fix uselocale() code
- Probe for uselocale and xlocale.h with <5.22 threaded
* Tue Aug 29 2017 Paul Howarth <paul@city-fan.org> - 3.0239-1
- Update to 3.0239
- Make printing of numbers on perls earlier than 5.22 locale-insensitive, to
produce a dot as decimal separator (#96)
- Fix compilation under Windows (#98)
* Mon Jul 31 2017 Paul Howarth <paul@city-fan.org> - 3.0237-1
- Update to 3.0237
- Relax inf/nan tests as in t/op/infnan.t for windows: we cannot know if
msvcrt.dll or the new ucrt.dll is used, so try a list of valid values
* Fri Jul 28 2017 Paul Howarth <paul@city-fan.org> - 3.0236-1
- Update to 3.0236
- Fix and unify utf8 handling with 5.6.2, improve many utf8 tests (GH#88)
- Add tests for boolean sv_yes and sv_no (GH#88)
- Check for correct module in %%INC (GH#89)
- Fix appveyor smoke with latest strawberry, use $Config{make} (GH#91)
- Fix inf/nan for strawberry 5.26
- Disallow duplicate keys by default; only allow them in relaxed mode (GH#75)
- De-fragilize t/96_mojo.t false test to ""
- Stringify true again as "1", not as "true" due to popular demand (GH#87)
* Thu Jul 27 2017 Fedora Release Engineering <releng@fedoraproject.org> - 3.0233-4
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild
* Wed Jun 07 2017 Jitka Plesnikova <jplesnik@redhat.com> - 3.0233-3
- Perl 5.26 re-rebuild of bootstrapped packages
* Mon Jun 05 2017 Jitka Plesnikova <jplesnik@redhat.com> - 3.0233-2
- Perl 5.26 rebuild
* Tue May 2 2017 Paul Howarth <paul@city-fan.org> - 3.0233-1
- Update to 3.0233
- 5.6 test fixes, silence some cc warnings, add coverage and release targets,
fix appveyor
* Mon May 1 2017 Paul Howarth <paul@city-fan.org> - 3.0232-1
- Update to 3.0232
- Fix for MSVC 2015/14.0 and newer with changed nan/inf (GH#85)
- Added appveyor CI
- Silence 32bit debugging format warning
- Stabilize decode_hv hook (Coverity)
- Ignore sv_utf8_downgrade errors (Coverity)
- BR: perl-generators unconditionally
* Wed Mar 29 2017 Paul Howarth <paul@city-fan.org> - 3.0231-1
- Update to 3.0231
- Fix need() overallocation (GH#84) and missing need() calls
* Sun Mar 12 2017 Paul Howarth <paul@city-fan.org> - 3.0230-1
- Update to 3.0230
- Fix minor gcc compilation warnings
- Add some core compat. warnings for gcc/clang compat. compilers
* Wed Mar 8 2017 Paul Howarth <paul@city-fan.org> - 3.0228-1
- Update to 3.0228
- Fix decode_prefix offset when the string was re-allocated: rather return
the offset, not the pointer to the old start (GH#82)
* Tue Feb 14 2017 Paul Howarth <paul@city-fan.org> - 3.0227-1
- Update to 3.0227
- Fix CLONE and END, broken with 3.0226 (GH#80); these methods are usually
called with arguments, which we ignore
* Sun Feb 12 2017 Paul Howarth <paul@city-fan.org> - 3.0226-1
- Update to 3.0226
- Relax longdouble Gconvert test on ppc64le and aarch64-linux-ld, with
apparent HW quadmath without USE_QUADMATH (older perls)
- Fixed 2 uninit warnings in the XS
* Sat Feb 11 2017 Fedora Release Engineering <releng@fedoraproject.org> - 3.0225-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild
* Thu Nov 24 2016 Paul Howarth <paul@city-fan.org> - 3.0225-1
- Update to 3.0225
- UTF8 decode security fixes for perl 5.6
- Added extra detection code for overflows and non-continuations; this
broke one 5.6 test with an overlong multi-byte character, which previously
worked accidentally, i.e. decode "\ud801\udc02\x{10204}"
- Added tests for ill-formed utf8 sequences from Encode
* Sun Nov 20 2016 Paul Howarth <paul@city-fan.org> - 3.0224-1
- Update to 3.0224
- Fixes for g++-6, stricter -fpermissive and -Wc++11-compat
* Thu Nov 17 2016 Paul Howarth <paul@city-fan.org> - 3.0223-1
- Update to 3.0223
- Fixed decode bignum with a string prefix (GH#76)
* Sun Oct 30 2016 Paul Howarth <paul@city-fan.org> - 3.0222-1
- Update to 3.0222
- Fixed documentation of decode for unicode noncharacters
- Added correct code to warn as in core
- No replacement, ignore warnings when in relaxed mode
- We used a wrong range too, but the wrong code from 3.0220 was never
executed because of an coding error (GH#73, GH#74)
- Fixed a perl 5.6 compilation regression from 3.0220
- Improve decode_bom for multibyte encoding, but not yet enabled
- Fix refcount error
- Add 5.24 to travis tests
- Enable decode_bom for multibyte encodings UTF16 and UTF32
- Encode internally to UTF-8
* Fri Oct 28 2016 Paul Howarth <paul@city-fan.org> - 3.0220-1
- Update to 3.0220
- Add comprehensive JSON decode spectests from
http://seriot.ch/parsing_json.html (GH#72)
- Decode with BOM (UTF-8, UTF-16, or UTF-32); for now only UTF-8, the others
error
- Fixed detection of final \0 as illegal non-whitespace garbage; fixes
spectest 'n_number_then_00' (GH#72)
- Changed decode of unicode noncharacters between U+FFFD and U+10FFFF to the
recommended U+FFFD REPLACEMENT CHARACTER, when not in the binary or relaxed
mode
* Wed Oct 26 2016 Paul Howarth <paul@city-fan.org> - 3.0219-1
- Update to 3.0219
- Work around mingw 4.0 modfl() bug (Perl RT#125924)
* Thu Oct 13 2016 Paul Howarth <paul@city-fan.org> - 3.0218-1
- Update to 3.0218
- Detect INF/NAN: ?/++/-?/--- on HP-UX (GH#56)
- New stringify_infnan(3) infnan_mode; easy to detect platform-independent
"inf", "-inf" or "nan" strings with double quotes, with qnan, snan or
negative nan unified to "nan"
- Use faster strEQc macros from cperl with constant strings
- Prefer memEQ for systems without memcmp, to use bcmp there
- Add more expect_false() to inf/nan branches
- expect_false() macro fix for MSVC
- Fix av and hv length types: protect from security sensitive overflows, add
HVMAX_T and RITER_T
- Add new "Hash key too large" error; perl5 silently truncates it, we prefer
errors
- Fix broken 5.8.1 SvPOK_only, i.e. assert_not_ROK
- Fix and document wrong strEQc usage in new() (GH#70)
- Fix t/gh70-asan.t for older perls < 5.14
- Fix DPPP_dummy_PL_parser warnings
* Sat Jun 18 2016 Paul Howarth <paul@city-fan.org> - 3.0217-1
- Update to 3.0217
- Improve test t/20_unknown.t for older JSON::PP
* Mon Jun 13 2016 Paul Howarth <paul@city-fan.org> - 3.0216-1
- Update to 3.0216
- Fix wrong test 117 for 5.10.0
* Sun Jun 12 2016 Paul Howarth <paul@city-fan.org> - 3.0215-1
- Update to 3.0215
- Fix wrong test 117
- TODO the fragile mojo boolean interop test
- Improve error message with class-based method calls, when forgetting ->new
(GH#66)
* Fri Jun 3 2016 Paul Howarth <paul@city-fan.org> - 3.0214-1
- Update to 3.0214
- Preserve numbers as numbers, enforce an added .0; also note that 42+"bar"
will result > 5.10 in numbers, not integers, ⇒ 42.0
- 5.6 compilation fixes
- Add yaml-tiny formats to cpanel_json_xs
- Remove author-only Pod::Usage dependency
- Fix an off-by-one IV_MIN -> NV overflow in decode_json (GH#67)
- Avoid encode_sv SEGV with -Dusequadmath (GH#62)
- Fix quadmath NV stringification
- Simplify find commands using -empty and -delete
- BR: perl-generators where available
* Wed May 18 2016 Jitka Plesnikova <jplesnik@redhat.com> - 3.0213-3
- Perl 5.24 re-rebuild of bootstrapped packages
* Sun May 15 2016 Jitka Plesnikova <jplesnik@redhat.com> - 3.0213-2
- Perl 5.24 rebuild
* Wed Mar 2 2016 Paul Howarth <paul@city-fan.org> - 3.0213-1
- Update to 3.0213
- Silence JSON::PP::Boolean redefine warnings (GH#60)
* Sat Feb 27 2016 Paul Howarth <paul@city-fan.org> - 3.0212-1
- Update to 3.0212
- Merge with JSON-XS-3.02:
- docs: add some INTEROP, stricter nonref RFC 7159 and TAGGED VALUE
SYNTAX AND STANDARD JSON EN/DECODERS paragraphs
- Use 7159 nonref detection from JSON-XS: json_nonref()
- Add some SAVESTACK_POS calls
- Add -f cbor decode option (via CBOR::XS) to cpanel_json_xs
- Fixed many spelling errors in the new docs
- Fixed errors with threaded perls
- Improved code quality in new merged code and fixed new warnings found with
gcc-5
- Add -f and -t yaml-xs and yaml-syck options to cpanel_json_xs
- Soften optional script dependencies to Suggests: if we have rpm ≥ 4.12
* Thu Feb 04 2016 Fedora Release Engineering <releng@fedoraproject.org> - 3.0211-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild
* Mon Jan 11 2016 Paul Howarth <paul@city-fan.org> - 3.0211-1
- Update to 3.0211
- Relax Mojo interop test strictness ('' or 0 for false)
- t/z_pod.t as author test
- t/z_kwalitee.t accepts now RELEASE_TESTING
- Fix mingw64 inf/nan with uselongdouble, strawberry 5.22.1 (GH#57)
* Thu Dec 3 2015 Paul Howarth <paul@city-fan.org> - 3.0210-1
- Update to 3.0210
- Fix nasty regression bug with allow_singlequote or relaxed, hanging with
single quotes in normal strings (GH#54)
- Improve cpanel_json_xs: more input and output formats
- Improved various spellings and add test
- Much faster t/99_binary.t test
* Thu Dec 3 2015 Paul Howarth <paul@city-fan.org> - 3.0208-1
- Update to 3.0208
- Fix regression decoding big strings (>16384) (GH#50)
- Ignore allow_barekey if we detect quotes (GH#51)
- Skip some unicode tests with 5.6
- Fix regression for is_bool([]), with unblessed references (GH#53)
* Tue Dec 1 2015 Paul Howarth <paul@city-fan.org> - 3.0206-1
- Update to 3.0206
- Add support for escape_slash from JSON::PP (GH#47)
- Map sort_by to canonical from JSON::PP (GH#47); reverse sort or sort by
custom keys not yet possible/silently ignored
- Add support for allow_singlequote from JSON::PP (GH#47)
- Add support for allow_barekey from JSON::PP (GH#47)
- Add support for allow_bignum from JSON::PP (GH#47)
- relaxed uses now also allow_singlequote and allow_barekey
- Fixed t/20_unknown.t: SKIP when JSON is not available (GH#45)
- Fixed t/55_modifiable.t: Broaden the is check of true <5.12 (GH#45)
- Add t/zero-mojibake.t from JSON::PP testing all supported decoding options:
none, utf8, ascii, latin1, binary
* Mon Nov 30 2015 Paul Howarth <paul@city-fan.org> - 3.0205-1
- Update to 3.0205
- Add t/20_unknown.t tests from JSON::PP, extended
- Fix convert_blessed, disallow invalid JSON (GH#46); convert_blessed always
now returns a string, even for numbers
- Fix encountered GLOB error message (still in JSON::XS, and JSON::PP took
over the wrong message too)
- Fixed regression of immediate raw values for null/true/false to be
modifiable again (GH#45, broken with 3.0201-3.0204)
* Fri Nov 27 2015 Paul Howarth <paul@city-fan.org> - 3.0204-1
- Update to 3.0204
- Fix is_bool with JSON::XS >3.0 interop (GH#44)
- Avoid running signature tests as we fix shellbangs in example code
* Thu Nov 26 2015 Paul Howarth <paul@city-fan.org> - 3.0203-1
- Update to 3.0203
- Simplify handling of references, removing all the complicated work-around
for reblessing; breaks overloaded values, but fixes serialising refs to
read-only values (GH#21); schmorp thinks that overloading is broken with
this patch, but reblessing and breaking read-only is worse
- Stabilize Test::Kwalitee with missing XS dependencies
- Suggests common::sense, not recommend (GH#36)
- Boolean interop: use only JSON::PP::Boolean (GH#40)
- Remove our own JSON::XS::Boolean, and solely use JSON::PP::Boolean and
accept Mojo::JSON::_Bool (GH#37) and Types::Serialiser::Boolean, which is
aliased to JSON::PP::Boolean
- JSON::YAJL::Parser just produces an unbless IV (0|1)
- Fix overload of our bools
- Stringify true to "true", false to "0"
- Accept is_bool as method call also
- Implement native encode_sv of the internal sv_yes/sv_no values (GH#39) and
map them to json true/false (YAML::XS compatible)
- pod: add SECURITY CONSIDERATIONS; added a table of safe and unsafe
serializers for comparison (only JSON and Data::MessagePack are safe by
default)
- New feature: convert_blessed for encode; stringify overloaded perl objects
and with allow_blessed even without string overload (GH#37)
- New optional decode_json() argument to set allow_nonref as in RFC 7159 and
PHP; before 3.02, JSON::XS and Cpanel::JSON::XS always allowed nonref
values for decode_json due to an internal bug
- With canonical only skip hash keys sorting for actually tied hashes (GH#42)
- Explicitly BR: perl-devel, needed for EXTERN.h
* Thu Jun 18 2015 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 3.0115-4
- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild
* Wed Jun 10 2015 Jitka Plesnikova <jplesnik@redhat.com> - 3.0115-3
- Perl 5.22 re-rebuild of bootstrapped packages
* Sat Jun 06 2015 Jitka Plesnikova <jplesnik@redhat.com> - 3.0115-2
- Perl 5.22 rebuild
* Mon Feb 2 2015 Paul Howarth <paul@city-fan.org> - 3.0115-1
- Update to 3.0115
- Fix stack corruption when encoding nested objects with FREEZE method
(GH#35)
* Tue Jan 6 2015 Paul Howarth <paul@city-fan.org> - 3.0114-1
- Update to 3.0114
- Fix bad powl() with Freebsd 10 -Duselongdouble; rather use strtold
(GH#34, CPAN RT#101265)
* Thu Dec 18 2014 Paul Howarth <paul@city-fan.org> - 3.0113-1
- Update to 3.0113
- Relax the tests for negative NaN in t/117_number.t, as BSDs also cannot
deal with it (GH#33)
* Mon Dec 15 2014 Paul Howarth <paul@city-fan.org> - 3.0112-1
- Update to 3.0112
- Change encode of numbers with dual-strings (int and float); integers and
numbers are now not mishandled anymore by dual-vars' temporary string
representations
- Add t/117_numbers.t from JSON::PP (GH#10)
- Change stringification of false and true to 0 and 1, matching upstream
JSON and JSON::XS (GH#29); this didn't affect string comparisons, just e.g.
print decode_json("false")
- Tolerate literal ASCII TABs in strings in relaxed mode (GH#22) (from
JSON::XS)
- Revise pod, merge updates from JSON::XS
- Fix pod typo (PR#30)
- Fixed detecting 1.#INF/1.#IND on Windows (GH#28)
- Also detect now -inf and -nan (GH#28)
- Fixed STRINGIFY_INFNAN return string, length off by one (GH#28)
- Fixed a non-C99 declaration error in XS.xs, broken with older MSVC
- Add {get_,}stringify_infnan methods and use it in the test, now run-time
(GH#32); mode 0: null, 1: stringify, 2: inf/nan (invalid JSON) as before
- Fix t/117_number tests for Solaris and MSWin32
- Improve docs
- Add patch to make NaN encoding tests TODO (GH#33)
* Fri Nov 28 2014 Paul Howarth <paul@city-fan.org> - 3.0107-1
- Update to 3.0107
- Fix fatal stack corruption with perl callbacks in list context (GH#27)
* Wed Nov 12 2014 Paul Howarth <paul@city-fan.org> - 3.0106-1
- Update to 3.0106
- More minor doc improvements (GH#26)
* Thu Nov 6 2014 Paul Howarth <paul@city-fan.org> - 3.0105-1
- Update to 3.0105
- Minor doc improvements (GH#25)
- Fix d_Gconvert test in t/11_pc_expo.t for 5.6
- Upstream no longer shipping SIGNATURE file
- Use %%license where possible
* Wed Oct 22 2014 Petr Pisar <ppisar@redhat.com> - 3.0104-5
- Break build cycles
* Fri Aug 29 2014 Jitka Plesnikova <jplesnik@redhat.com> - 3.0104-4
- Perl 5.20 rebuild
* Sun Aug 17 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 3.0104-3
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_22_Mass_Rebuild
* Sat Jun 07 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 3.0104-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild
* Sat Apr 26 2014 Paul Howarth <paul@city-fan.org> - 3.0104-1
- Update to 3.0104
- Add t/z_leaktrace.t
- Restore build on C89
- Fix small cxt->sv_json leak on interp exit
* Tue Apr 22 2014 Paul Howarth <paul@city-fan.org> - 3.0103-1
- Update to 3.0103
- Change booleans interop logic (again) for JSON-XS-3.01
- Check now for Types::Serialiser::Boolean i.e. JSON::PP::Boolean refs
(https://github.com/rurban/Cpanel-JSON-XS/issues/18) to avoid
allow_blessed for JSON-XS-3.01 booleans
- Fix boolean representation for JSON-XS-3.01/Types::Serialiser::Boolean
interop (arrayref, not hashref)
- Add t/52_object.t from JSON::XS
- Backport encode_hv HE sort on stack < 64 or heap to avoid stack overflows
from JSON-XS-3.01; do not use alloca
- Backport allow_tags, decode_tag, FREEZE/THAW callbacks from JSON-XS-3.01
- Added pod for OBJECT SERIALISATION (allow_tags, FREEZE/THAW)
* Thu Apr 17 2014 Paul Howarth <paul@city-fan.org> - 3.0102-1
- Update to 3.0102
- Added PERL_NO_GET_CONTEXT for better performance on threaded Perls
- MANIFEST: added t/96_interop.t
- Document deprecated functions
- Change booleans interop logic for JSON-XS-3.01
- Enable CLZF support via Compress::LZF
* Wed Apr 16 2014 Paul Howarth <paul@city-fan.org> - 3.0101-1
- Update to 3.0101
- Added ithreads support: Cpanel::JSON::XS is now thread-safe
- const'ed a translation table for memory savings
- Fixed booleans for JSON 2.9 and JSON-XS-3.01 interop; JSON does not
support JSON::XS booleans anymore, so I cannot think of any reason to
still use JSON::XS
* Thu Apr 10 2014 Paul Howarth <paul@city-fan.org> - 2.3404-2
- Incorporate feedback from package review (#1085975)
- Simplify %%summary
- Temporarily drop Compress::LZF format support from cpanel_json_xs client
- Add optional dependencies for module, tests and cpanel_json_xs client
* Wed Apr 9 2014 Paul Howarth <paul@city-fan.org> - 2.3404-1
- Initial RPM version

Просмотреть файл

@ -54,7 +54,7 @@ Requires: perl(:MODULE_COMPAT_%(eval "$(perl -V:version)"; echo $version))
Requires: perl(Dist::CheckConflicts) >= 0.02
# perl-DateTime-Locale used to be bundled with perl-DateTime
# ideally, this would be resolved with
# Requires: perl-DateTime >= 2:0.70-1
# Requires: perl-DateTime >= 0.70-1
# but DateTime::Locale doesn't strictly require DateTime
# and this would introduce circular build dependencies
Conflicts: perl-DateTime <= 1:0.7000-3.fc16
@ -89,6 +89,7 @@ make test
%changelog
* Fri Oct 15 2021 Pawel Winogrodzki <pawelwi@microsoft.com> - 1.25-3
- Initial CBL-Mariner import from Fedora 32 (license: MIT).
- License verified.
* Wed Jan 29 2020 Fedora Release Engineering <releng@fedoraproject.org> - 1.25-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild

Просмотреть файл

@ -6,9 +6,8 @@
%endif
Name: perl-DateTime
Epoch: 2
Version: 1.52
Release: 2%{?dist}
Release: 3%{?dist}
Summary: Date and time object for Perl
License: Artistic 2.0
Vendor: Microsoft Corporation
@ -114,6 +113,10 @@ make test
%{_mandir}/man3/DateTime::Types.3*
%changelog
* Thu Jan 27 2022 Pawel Winogrodzki <pawelwi@microsoft.com> - 1.52-3
- Removing epochs.
- License verified.
* Fri Oct 15 2021 Pawel Winogrodzki <pawelwi@microsoft.com> - 2:1.52-2
- Initial CBL-Mariner import from Fedora 32 (license: MIT).

Просмотреть файл

@ -0,0 +1,29 @@
From a812d071294832e47a3edbadba250616626b95b7 Mon Sep 17 00:00:00 2001
From: Mathieu Bridon <bochecha@fedoraproject.org>
Date: Mon, 24 Jan 2011 16:07:23 +0800
Subject: [PATCH] Don't ask questions at build time.
Builds must not be interactive in Fedora. Let's just use the defaults
and avoid questions.
---
Makefile.PL | 4 +---
1 files changed, 1 insertions(+), 3 deletions(-)
diff --git a/Makefile.PL b/Makefile.PL
index 2a31180..28d8ddc 100644
--- a/Makefile.PL
+++ b/Makefile.PL
@@ -32,9 +32,7 @@ and hope for the best. The defaults should usually do.
EOF
-if (prompt ("Skip further questions and use defaults (y/n)?", "y") =~ /[yY]/) {
- $ENV{PERL_MM_USE_DEFAULT} = 1;
-}
+$ENV{PERL_MM_USE_DEFAULT} = 1;
print <<EOF;
--
1.7.3.4

Просмотреть файл

@ -0,0 +1,23 @@
diff -up ./Makefile.PL.orig ./Makefile.PL
--- ./Makefile.PL.orig 2019-11-24 10:26:02.793736366 +0100
+++ ./Makefile.PL 2019-11-24 10:27:49.699547974 +0100
@@ -9,19 +9,6 @@ sub have_inc($) {
my $DEFINE;
-unless (-e "libev/ev_iouring.c") {
- print <<EOF;
-
-***
-*** ERROR: libev is missing or damaged. If you used a CVS check-out of EV,
-*** you also have to check-out the "libev" module from the same CVS
-*** repository into the EV dir (i.e. EV/libev from outside).
-***
-
-EOF
- exit 1;
-}
-
print <<EOF;
*** *** *** *** *** *** *** *** *** *** *** *** *** *** *** *** *** ***

Просмотреть файл

@ -0,0 +1,5 @@
{
"Signatures": {
"EV-4.33.tar.gz": "4aee8391b88113b42187f91fd49245fdc8e9b193a15ac202f519caae2aa8ea35"
}
}

Просмотреть файл

@ -0,0 +1,251 @@
Summary: Wrapper for the libev high-performance event loop library
Name: perl-EV
Version: 4.33
Release: 8%{?dist}
# Note: The source archive includes a libev/ folder which contents are licensed
# as "BSD or GPLv2+". However, those are removed at build-time and
# perl-EV is instead built against the system-provided libev.
License: GPL+ OR Artistic
Vendor: Microsoft Corporation
Distribution: Mariner
URL: https://metacpan.org/release/EV
Source0: https://cpan.metacpan.org/authors/id/M/ML/MLEHMANN/EV-%{version}.tar.gz
Patch0: perl-EV-4.03-Don-t-ask-questions-at-build-time.patch
Patch1: perl-EV-4.30-Don-t-check-bundled-libev.patch
BuildRequires: gcc
BuildRequires: gdbm-devel
BuildRequires: libev-source >= 4.33
BuildRequires: make
BuildRequires: perl-devel
BuildRequires: perl-generators
BuildRequires: perl(AnyEvent) >= 2.6
BuildRequires: perl(Canary::Stability)
BuildRequires: perl(ExtUtils::MakeMaker) >= 6.76
BuildRequires: perl(common::sense)
Requires: perl(:MODULE_COMPAT_%(eval "`%{_bindir}/perl -V:version`"; echo $version))
%{?perl_default_filter}
%description
This module provides an interface to libev
(<http://software.schmorp.de/pkg/libev.html>). While the included documentation
is comprehensive, one might also consult the documentation of libev itself
(<http://cvs.schmorp.de/libev/ev.html>) for more subtle details on watcher
semantics or some discussion on the available backends, or how to force a
specific backend with "LIBEV_FLAGS", or just about in any case because it has
much more detailed information.
%prep
%setup -q -n EV-%{version}
%patch0 -p1
%patch1
# remove all traces of the bundled libev
rm -fr ./libev
# use the sources from the system libev
mkdir -p ./libev
cp -r %{_datadir}/libev-source/* ./libev/
%build
PERL_CANARY_STABILITY_NOPROMPT=1 %{_bindir}/perl Makefile.PL INSTALLDIRS=vendor OPTIMIZE="%{optflags}" NO_PACKLIST=1 NO_PERLLOCAL=1
%make_build
%install
%make_install
%{_fixperms} %{buildroot}/*
%check
%make_build test
%files
%license COPYING
%doc Changes README
%{perl_vendorarch}/auto/*
%{perl_vendorarch}/EV.pm
%{perl_vendorarch}/EV
%{_mandir}/man3/*.3*
%changelog
* Thu Jan 27 2022 Pawel Winogrodzki <pawelwi@microsoft.com> - 4.33-8
- Initial CBL-Mariner import from Fedora 36 (license: MIT).
- License verified.
* Thu Jul 22 2021 Fedora Release Engineering <releng@fedoraproject.org> - 4.33-7
- Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild
* Fri May 21 2021 Jitka Plesnikova <jplesnik@redhat.com> - 4.33-6
- Perl 5.34 rebuild
* Wed Jan 27 2021 Fedora Release Engineering <releng@fedoraproject.org> - 4.33-5
- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild
* Thu Oct 15 2020 Emmanuel Seyman <emmanuel@seyman.fr> - 4.33-4
- Replace "make pure_install" with %%{make_install}
- Replace calls to make with %%{make_build}
* Tue Jul 28 2020 Fedora Release Engineering <releng@fedoraproject.org> - 4.33-3
- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
* Tue Jun 23 2020 Jitka Plesnikova <jplesnik@redhat.com> - 4.33-2
- Perl 5.32 rebuild
* Sun Mar 22 2020 Emmanuel Seyman <emmanuel@seyman.fr> - 4.33-1
- Update to 4.33
* Wed Jan 29 2020 Fedora Release Engineering <releng@fedoraproject.org> - 4.31-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild
* Sun Jan 12 2020 Emmanuel Seyman <emmanuel@seyman.fr> - 4.31-1
- Update to 4.31
* Sun Nov 24 2019 Emmanuel Seyman <emmanuel@seyman.fr> - 4.30-1
- Update to 4.30
- Replace calls to %%{__perl} with /usr/bin/perl
- Patch Makefile.PLL to not check for bundled EV library
* Tue Jul 30 2019 Emmanuel Seyman <emmanuel@seyman.fr> - 4.27-1
- Update to 4.27
* Fri Jul 26 2019 Fedora Release Engineering <releng@fedoraproject.org> - 4.25-4
- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild
* Fri May 31 2019 Jitka Plesnikova <jplesnik@redhat.com> - 4.25-3
- Perl 5.30 rebuild
* Fri Feb 01 2019 Fedora Release Engineering <releng@fedoraproject.org> - 4.25-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild
* Sun Dec 23 2018 Emmanuel Seyman <emmanuel@seyman.fr> - 4.25-1
- Update to 4.25
* Fri Jul 13 2018 Fedora Release Engineering <releng@fedoraproject.org> - 4.22-11
- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild
* Thu Jun 28 2018 Jitka Plesnikova <jplesnik@redhat.com> - 4.22-10
- Perl 5.28 rebuild
* Thu Mar 1 2018 Florian Weimer <fweimer@redhat.com> - 4.22-9
- Rebuild with new redhat-rpm-config/perl build flags
* Mon Feb 26 2018 Carl George <carl@george.computer> - 4.22-8
- Add BuildRequires for gcc
* Thu Feb 08 2018 Fedora Release Engineering <releng@fedoraproject.org> - 4.22-7
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
* Thu Aug 03 2017 Fedora Release Engineering <releng@fedoraproject.org> - 4.22-6
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Binutils_Mass_Rebuild
* Thu Jul 27 2017 Fedora Release Engineering <releng@fedoraproject.org> - 4.22-5
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild
* Mon Jun 05 2017 Jitka Plesnikova <jplesnik@redhat.com> - 4.22-4
- Perl 5.26 rebuild
* Sat Feb 11 2017 Fedora Release Engineering <releng@fedoraproject.org> - 4.22-3
- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild
* Sun May 15 2016 Jitka Plesnikova <jplesnik@redhat.com> - 4.22-2
- Perl 5.24 rebuild
* Wed Mar 23 2016 Emmanuel Seyman <emmanuel@seyman.fr> - 4.22-1
- Update to 4.22
* Thu Feb 04 2016 Fedora Release Engineering <releng@fedoraproject.org> - 4.21-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild
* Sun Oct 18 2015 Emmanuel Seyman <emmanuel@seyman.fr> - 4.21-1
- Update to 4.21
* Thu Jun 18 2015 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 4.18-6
- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild
* Fri Jun 05 2015 Jitka Plesnikova <jplesnik@redhat.com> - 4.18-5
- Perl 5.22 rebuild
* Tue Sep 30 2014 Mathieu Bridon <bochecha@fedoraproject.org> - 4.18-4
- Bump to rebuild against libev-source 4.19
* Sun Sep 14 2014 Emmanuel Seyman <emmanuel@seyman.fr> - 4.18-3
- Bump to rebuild against libev-source 4.18
* Sun Sep 07 2014 Jitka Plesnikova <jplesnik@redhat.com> - 4.18-2
- Perl 5.20 rebuild
* Sat Sep 06 2014 Emmanuel Seyman <emmanuel@seyman.fr> - 4.18-1
- Update to 4.18
* Wed Sep 03 2014 Jitka Plesnikova <jplesnik@redhat.com> - 4.17-3
- Perl 5.20 rebuild
* Wed Sep 03 2014 Emmanuel Seyman <emmanuel@seyman.fr> - 4.17-2
- Downgrade requirement of libev-source to 4.15
- Truncate RPM Changelog to the 4.xx
* Sun Aug 31 2014 Emmanuel Seyman <emmanuel@seyman.fr> - 4.17-1
- Update to 4.17
* Thu Aug 28 2014 Jitka Plesnikova <jplesnik@redhat.com> - 4.11-7
- Perl 5.20 rebuild
* Sun Aug 17 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 4.11-6
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_22_Mass_Rebuild
* Sat Jun 07 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 4.11-5
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild
* Sat Aug 03 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 4.11-4
- Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild
* Tue Jul 23 2013 Petr Pisar <ppisar@redhat.com> - 4.11-3
- Perl 5.18 rebuild
* Thu Feb 14 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 4.11-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild
* Fri Sep 28 2012 Mathieu Bridon <bochecha@fedoraproject.org> - 4.11-1
- Update to 4.11
* Fri Jul 20 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 4.03-10
- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild
* Thu Jun 14 2012 Petr Pisar <ppisar@redhat.com> - 4.03-9
- Perl 5.16 rebuild
* Fri Jan 13 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 4.03-8
- Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild
* Thu Dec 01 2011 Petr Pisar <ppisar@redhat.com> - 4.03-7
- Build-require exact or higher version of libev-source (bug #759021)
* Mon Jun 20 2011 Marcela Mašláňová <mmaslano@redhat.com> - 4.03-6
- Perl mass rebuild
* Tue Apr 12 2011 Mathieu Bridon <bochecha@fedoraproject.org> - 4.03-5
- Add the correct Obsoletes/Provides to avoid broken deps from the -devel
subpackage removal.
* Thu Apr 07 2011 Mathieu Bridon <bochecha@fedoraproject.org> - 4.03-4
- Readded the header file to the main package, as per guidelines:
-> http://fedoraproject.org/wiki/Packaging/Perl#.h_files_in_module_packages
* Tue Mar 08 2011 Mathieu Bridon <bochecha@fedoraproject.org> - 4.03-3
- Some more fixes as part of the review process:
- Fix the license tag to be only the license of perl-EV, and add a note about
the included libev sources.
- Removed manual cleaning of the buildroot since it has been useless since
Fedora 10 and even EPEL (>=6) doesn't need it now.
* Wed Feb 23 2011 Mathieu Bridon <bochecha@fedoraproject.org> - 4.03-2
- Fixes asked during the review process:
- Filter the private shared EV.so out of the automatic Provides
- Put the header files in a -devel package
- Removed the Buildroot line since it's useless for newer versions of Fedora
and this package can only go in Fedora >= 15 due to its libev dependency)
* Mon Jan 24 2011 Mathieu Bridon <bochecha@fedoraproject.org> - 4.03-1
- Update to 4.03.
- Use the system libev instead of the bundled one.

Просмотреть файл

@ -0,0 +1,5 @@
{
"Signatures": {
"Graphics-ColorNamesLite-WWW-1.14.000.tar.gz": "0b85aa04277a986086970a9e5f7b968c784262bbcb4a2bd9ea0792f892276f33"
}
}

Просмотреть файл

@ -0,0 +1,72 @@
Summary: WWW color names and equivalent RGB values
Name: perl-Graphics-ColorNamesLite-WWW
Version: 1.14.000
Release: 6%{?dist}
License: GPL+ OR Artistic
Vendor: Microsoft Corporation
Distribution: Mariner
URL: https://metacpan.org/release/Graphics-ColorNamesLite-WWW/
Source0: https://cpan.metacpan.org/authors/id/P/PE/PERLANCAR/Graphics-ColorNamesLite-WWW-%{version}.tar.gz
BuildArch: noarch
BuildRequires: make
BuildRequires: perl-generators
BuildRequires: perl-interpreter
BuildRequires: perl(ExtUtils::MakeMaker) >= 6.76
BuildRequires: perl(strict)
BuildRequires: perl(warnings)
%if %{with_check}
BuildRequires: perl(File::Spec)
BuildRequires: perl(IO::Handle)
BuildRequires: perl(IPC::Open3)
BuildRequires: perl(Test::More)
BuildRequires: perl(blib)
%endif
Requires: perl(:MODULE_COMPAT_%(eval "`perl -V:version`"; echo $version))
%description
WWW color names and equivalent RGB values (lite version).
%prep
%setup -q -n Graphics-ColorNamesLite-WWW-%{version}
%build
perl Makefile.PL INSTALLDIRS=vendor NO_PACKLIST=1 NO_PERLLOCAL=1
%make_build
%install
%make_install
%{_fixperms} %{buildroot}/*
%check
unset AUTHOR_TESTING
make test
%files
%license LICENSE
%doc Changes README
%{perl_vendorlib}/*
%{_mandir}/man3/*
%changelog
* Wed Jan 26 2022 Pawel Winogrodzki <pawelwi@microsoft.com> - 1.14.000-6
- Initial CBL-Mariner import from Fedora 36 (license: MIT).
- License verified.
* Thu Jul 22 2021 Fedora Release Engineering <releng@fedoraproject.org> - 1.14.000-5
- Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild
* Fri May 21 2021 Jitka Plesnikova <jplesnik@redhat.com> - 1.14.000-4
- Perl 5.34 rebuild
* Wed Jan 27 2021 Fedora Release Engineering <releng@fedoraproject.org> - 1.14.000-3
- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild
* Tue Jul 28 2020 Fedora Release Engineering <releng@fedoraproject.org> - 1.14.000-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
* Fri Jul 03 2020 Jitka Plesnikova <jplesnik@redhat.com> 1.14.000-1
- Specfile autogenerated by cpanspec 1.78.

Просмотреть файл

@ -0,0 +1,8 @@
--- bin/treescan
+++ bin/treescan
@@ -1,4 +1,4 @@
-#!/opt/bin/perl
+#!/usr/bin/perl
# inspired by treescan by Jamie Lokier <jamie@imbolc.ucc.ie>
# about 40% faster than the original version (on my fs and raid :)

Просмотреть файл

@ -0,0 +1,5 @@
{
"Signatures": {
"IO-AIO-4.76.tar.gz": "39f5044a93ce2114b908afe77a4615881a3d78a0ed53e4502708dd5d4333208f"
}
}

Просмотреть файл

@ -0,0 +1,457 @@
# work around upstream versioning being decimal rather than v-string
%global upstream_version 4.76
%global extraversion %{nil}
Summary: Asynchronous Input/Output
Name: perl-IO-AIO
Version: %{upstream_version}%{extraversion}
Release: 2%{?dist}
License: GPL+ OR Artistic
Vendor: Microsoft Corporation
Distribution: Mariner
URL: https://metacpan.org/release/IO-AIO
Source0: https://cpan.metacpan.org/modules/by-module/IO/IO-AIO-%{upstream_version}.tar.gz
Patch0: IO-AIO-4.4-shellbang.patch
# Module Build
BuildRequires: coreutils
BuildRequires: findutils
BuildRequires: gcc
BuildRequires: make
BuildRequires: perl-devel
BuildRequires: perl-generators
BuildRequires: perl-interpreter
BuildRequires: perl(Canary::Stability) >= 2001
BuildRequires: perl(Carp)
BuildRequires: perl(Config)
BuildRequires: perl(Exporter)
BuildRequires: perl(ExtUtils::MakeMaker)
# Script Runtime
BuildRequires: perl(Getopt::Long)
BuildRequires: perl(Pod::Usage)
BuildRequires: perl(Time::HiRes)
BuildRequires: perl(XSLoader)
BuildRequires: perl(base)
BuildRequires: perl(common::sense)
%if %{with_check}
BuildRequires: perl(Fcntl)
BuildRequires: perl(File::Temp)
BuildRequires: perl(FindBin)
BuildRequires: perl(POSIX)
BuildRequires: perl(Test)
BuildRequires: perl(lib)
BuildRequires: perl(strict)
BuildRequires: perl(vars)
%endif
Requires: perl(:MODULE_COMPAT_%(eval "`perl -V:version`"; echo $version))
Requires: perl(XSLoader)
# Avoid provides for private shared objects
%{?perl_default_filter}
%if "%{upstream_version}%{extraversion}" != "%{upstream_version}"
Provides: perl(IO::AIO) = %{upstream_version}%{extraversion}
%endif
%description
This module implements asynchronous I/O using whatever means your operating
system supports.
%package -n treescan
Summary: Scan directory trees, list dirs/files, stat, sync, grep
Requires: %{name} = %{version}-%{release}
Requires: perl(Pod::Usage)
BuildArch: noarch
%description -n treescan
The treescan command scans directories and their contents recursively. By
default it lists all files and directories (with trailing /), but it can
optionally do various other things.
If no paths are given, treescan will use the current directory.
%prep
%setup -q -n IO-AIO-%{upstream_version}
# Fix shellbang in treescan
%patch0
%build
PERL_CANARY_STABILITY_NOPROMPT=1 perl Makefile.PL \
INSTALLDIRS=vendor OPTIMIZE="%{optflags}"
make %{?_smp_mflags}
%install
make pure_install DESTDIR=%{buildroot}
find %{buildroot} -type f -name .packlist -delete
find %{buildroot} -type f -name '*.bs' -empty -delete
%{_fixperms} -c %{buildroot}
%check
make test
%files
%license COPYING
%doc Changes README
%{perl_vendorarch}/auto/IO/
%{perl_vendorarch}/IO/
%{_mandir}/man3/IO::AIO.3*
%files -n treescan
%{_bindir}/treescan
%{_mandir}/man1/treescan.1*
%changelog
* Thu Jan 27 2022 Pawel Winogrodzki <pawelwi@microsoft.com> - 4.76-2
- Initial CBL-Mariner import from Fedora 36 (license: MIT).
- License verified.
* Wed Jul 28 2021 Paul Howarth <paul@city-fan.org> - 4.76-1
- Update to 4.76
- Add autoconf test for siginfo_t, which is, of course, not available on
Windows
- Disable syscalls on Solaris, as perl seems to provide an incompatible
syscall prototype that clashes with sys/syscall.h
- Add MAP_FIXED_NOREPLACE, MAP_SHARED_VALIDATE, MAP_SYNC and MAP_UNINITIALIZED
* Thu Jul 22 2021 Fedora Release Engineering <releng@fedoraproject.org> - 4.75-4
- Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild
* Fri May 21 2021 Jitka Plesnikova <jplesnik@redhat.com> - 4.75-3
- Perl 5.34 rebuild
* Wed Jan 27 2021 Fedora Release Engineering <releng@fedoraproject.org> - 4.75-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild
* Wed Dec 30 2020 Paul Howarth <paul@city-fan.org> - 4.75-1
- Update to 4.75
- Added pidfd_open, pidfd_getfd and pidfd_send_signal functions
- Rework bin/treescan to avoid recursion; this fixes two bugs where a deep
directory traversal or a lot of command line arguments could cause it to
crash
- Support defining syscall numbers in gendef0
- Added (but not documented) open_tree, AT_* and move_mount flags
- Added (but not documented) waitid-P_*, FSPICK_*, FSOPEN_*, FSCONFIG_*,
MOUNT_ATTR_* constants
* Fri Dec 4 2020 Paul Howarth <paul@city-fan.org> - 4.73-1
- Update to 4.73
- def0.h was not up-to-date, running into musl problems
- IO::AIO::splice and IO::AIO::tee didn't properly return 64 bit values
- Added IO::AIO::accept4
- Added various F_SEAL-related fcntl constants
- Removed experimental marker for fdlimit functions
- fiemap now includes the last segment even if it overflows the end offset,
which is arguably the correct behaviour
- Use %%license unconditionally
* Tue Jul 28 2020 Fedora Release Engineering <releng@fedoraproject.org> - 4.72-6
- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
* Tue Jun 23 2020 Jitka Plesnikova <jplesnik@redhat.com> - 4.72-5
- Perl 5.32 rebuild
* Thu Jan 30 2020 Fedora Release Engineering <releng@fedoraproject.org> - 4.72-4
- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild
* Fri Jul 26 2019 Fedora Release Engineering <releng@fedoraproject.org> - 4.72-3
- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild
* Fri May 31 2019 Jitka Plesnikova <jplesnik@redhat.com> - 4.72-2
- Perl 5.30 rebuild
* Wed Apr 3 2019 Paul Howarth <paul@city-fan.org> - 4.72-1
- Update to 4.72
- libeio: If fd 0 is available do not use it for aio_wd, as it collides with
IO::AIO::CWD
- Added IO::AIO::memfd_create
- Correctly include <sys/uio.h> in the vmsplice test
- Reduce code size by ~7%% on amd64 by declaring more functions as noinline
- Documentation fixes and updates
- Experimental and undocumented preliminary support for synchronous statx
* Sun Mar 10 2019 Paul Howarth <paul@city-fan.org> - 4.71-1
- Update to 4.71
- Due to an error in the linux manpages, the configure tests for readahead,
sync_file_range, splice etc. failed; this has been fixed
* Mon Mar 4 2019 Paul Howarth <paul@city-fan.org> - 4.70-1
- Update to 4.7
- Significantly speed up scandir for the very special case of a non-POSIX
filesystem that nevertheless reports valid dt_type information; the only
known filesystem of this type is currently btrfs, which didn't get its act
together to implement POSIX semantics in all these years
- Add IO::AIO::MCL_ONFAULT for mlockall, add IO::AIO::mlockall
- Neither sys/mkdev.h nor sys/sysmacros.h were included, even when they were
detected by autoconf
* Fri Feb 01 2019 Fedora Release Engineering <releng@fedoraproject.org> - 4.60-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild
* Tue Aug 28 2018 Paul Howarth <paul@city-fan.org> - 4.60-1
- Update to 4.6
- Add st_btime, st_btimesec, st_btimensec and st_gen accessors, mostly for
bsds that expose birthtime and st_gen members (netbsd, freebsd but only
st_gen on openbsd because they compiled their perl without support for
birthtimes)
- Fix madvise and munlock to properly support negative offsets
- Allocate fd for the aio_close at boot time, to guarantee it working later,
rather than calling abort when it fails; this also avoids close-on-exec
race issues after module load
- #undef utime on win32, which might help some reports of utime hangs
- Minor documentation improvements
- Minor configure clean-ups
- Use $Config{perllibs} instead of libs for configure, which might help
people who didn't install all perl dependencies (might break things as
well)
- Remove buildreqs needed only due to use of $Config{libs}
* Wed Aug 15 2018 Paul Howarth <paul@city-fan.org> - 4.54-1
- Update to 4.54
- Include sys/mkdev.h or sys/sysmacros.h if available
- Further tweaks to configure invocation for systems requiring --rpath
- No longer rely on custom paths on win32 platforms
- Try to work around buggy PAGESIZE macro on solaris
* Tue Aug 14 2018 Paul Howarth <paul@city-fan.org> - 4.53-1
- Update to 4.53
- Add $Config{libs} to LIBS for configure, to work around systems with broken
library dependencies
- Add missing include for prctl()
- Add buildreqs needed due to overspecification of libraries in $Config{libs}
* Mon Aug 13 2018 Paul Howarth <paul@city-fan.org> - 4.52-1
- Update to 4.52
- Complete rework of the autoconf framework: IO::AIO now uses its own
config.h, separate from libeio, and tries to test the actual perl
environment, not the standard system environment
- Provide nanosecond-accuracy stat time accessors for both perl and IO::AIO
stat functions
- Removed non-portable C++ functions from eio.c
- Try to fix readdir tests on cygwin spuriously failing
* Wed Aug 1 2018 Paul Howarth <paul@city-fan.org> - 4.50-1
- Update to 4.5
- aio_mtouch: touch all pages as requested, not just the first page
- New function: IO::AIO::mremap - linux-specific mremap, with constants
MREMAP_MAYMOVE and MREMAP_FIXED
- Add O_ACCMODE
- Add (undocumented) MSG_CMSG_CLOEXEC and SOCK_CLOEXEC constants
* Fri Jul 13 2018 Fedora Release Engineering <releng@fedoraproject.org> - 4.40-3
- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild
* Thu Jun 28 2018 Jitka Plesnikova <jplesnik@redhat.com> - 4.40-2
- Perl 5.28 rebuild
* Wed Feb 21 2018 Paul Howarth <paul@city-fan.org> - 4.40-1
- Update to 4.4
- New aio_slurp request
- Add (experimental) IO::AIO::eventfd and timerfd* function
- Add (experimental) IO::AIO::get_fdlimit and IO::AIO::min_fdlimit
- Point out that aio_copy overwrites existing files
- Remove filesystem magic number table from aio_statvfs docs as statvfs
doesn't actually return this info at all (statfs does)
- Add a bunch of (mostly linux-specific) constants for use in ioctls (see
aio_ioctl docs)
- treescan now has a proper manpage and useful --help output
- New option --sync in treescan, to sync everything in a subtree
- Changed default for aio_msync flags to MSYNC_SYNC
- Document offset/length behaviour of mprotect/madvise
- Support linux's renameat2 (via aio_rename2)
- Add aio_rename2, an aio_rename with flags
- Add F_DUPPFD_CLOEXEC, F_OFD_[SG]ETLKW? constants
- Add FALLOC_FL_INSERT_RANGE, FALLOC_FL_UNSHARE_RANGE
- libeio: Use posix_close if available
- libeio: Internal close() calls no longer disturb errno
- Add IO:AIO::FALLOC_FL_UNSHARE
- Update schmorp.h for removal of USE_SOCKETS_AS_HANDLES and better eventfd
detection
- Package treescan, in its own package
- Change license to GPLV2+, since parts of libeio are GPLv2+
- Drop EL-5 support
- Drop BuildRoot: and Group: tags
- Drop explicit buildroot cleaning in %%install section
- Drop explicit %%clean section
* Thu Feb 08 2018 Fedora Release Engineering <releng@fedoraproject.org> - 4.34-7
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
* Thu Aug 03 2017 Fedora Release Engineering <releng@fedoraproject.org> - 4.34-6
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Binutils_Mass_Rebuild
* Thu Jul 27 2017 Fedora Release Engineering <releng@fedoraproject.org> - 4.34-5
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild
* Sun Jun 04 2017 Jitka Plesnikova <jplesnik@redhat.com> - 4.34-4
- Perl 5.26 rebuild
* Sat Feb 11 2017 Fedora Release Engineering <releng@fedoraproject.org> - 4.34-3
- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild
* Sun May 15 2016 Jitka Plesnikova <jplesnik@redhat.com> - 4.34-2
- Perl 5.24 rebuild
* Tue May 3 2016 Paul Howarth <paul@city-fan.org> - 4.34-1
- Update to 4.34
- def0.h was not properly generated during previous release, causing compile
errors on various platforms
- major/minor were accidentally switched
- Removed duplicate definition of MAP_HUGETLB
- Added (untested!) aio_fcntl, aio_ioctl requests
- (libeio) Names set via prctl are truncated to 15 chars + nul, not 16, as
manpages-dev originally claimed
- Drop def0.h patch from previous release, no longer needed
- Simplify find commands using -empty and -delete
* Thu Feb 04 2016 Fedora Release Engineering <releng@fedoraproject.org> - 4.33-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild
* Mon Jan 18 2016 Paul Howarth <paul@city-fan.org> - 4.33-1
- Update to 4.33
- Add IO::AIO::pipe2 function
- Added support for FALLOC_FL_COLLAPSE_RANGE and FALLOC_FL_ZERO_RANGE
constants
- Added support for O_TMPFILE and O_PATH constants
- Added support for MAP_FIXED, MAP_GROWSDOWN, MAP_32BIT, MAP_HUGETLB,
MAP_STACK constants, whether they can be sensibly used or not
- Use NO_INIT where applicable
- Update libecb
- Added stability canary support
- Updated linux super magic table to 4.3.3
- Explicitly BR: perl-devel, needed for EXTERN.h
- Add patch to support building on systems without MAP_STACK or MAP_32BIT
* Thu Jun 18 2015 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 4.32-3
- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild
* Thu Jun 04 2015 Jitka Plesnikova <jplesnik@redhat.com> - 4.32-2
- Perl 5.22 rebuild
* Thu Feb 12 2015 Paul Howarth <paul@city-fan.org> - 4.32-1
- Update to 4.32
- Replace off_t by STRLEN where appropriate; should not result in
user-visible changes
- Update ecb.h for C11 compatibility
- Classify buildreqs by usage
- Use %%license where possible
* Wed Aug 27 2014 Jitka Plesnikova <jplesnik@redhat.com> - 4.31-3
- Perl 5.20 rebuild
* Sun Aug 17 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 4.31-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_22_Mass_Rebuild
* Tue Jun 10 2014 Paul Howarth <paul@city-fan.org> - 4.31-1
- Update to 4.31
- Work around more 5.20 bugs
* Sat Jun 07 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 4.30-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild
* Fri Apr 11 2014 Paul Howarth <paul@city-fan.org> - 4.30-1
- Update to 4.3
- perl5porters broke Async::Interrupt, BDB, EV, IO::AIO and OpenCL without
warning by switching the meaning of USE_SOCKETS_AS_HANDLES in 5.18
- Drop %%defattr, redundant since rpm 4.4
* Sat Jan 25 2014 Paul Howarth <paul@city-fan.org> - 4.20-1
- Update to 4.2 (see Changes file for details)
* Sat Aug 03 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 4.15-6
- Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild
* Thu Jul 18 2013 Petr Pisar <ppisar@redhat.com> - 4.15-5
- Perl 5.18 rebuild
* Thu Feb 14 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 4.15-4
- Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild
* Fri Jul 20 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 4.15-3
- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild
* Tue Jun 12 2012 Petr Pisar <ppisar@redhat.com> - 4.15-2
- Perl 5.16 rebuild
* Tue Apr 10 2012 Paul Howarth <paul@city-fan.org> - 4.15-1
- Update to 4.15:
- Always include linux/types.h for fiemap, for compatibility with ancient
systems
- Experimental support for IO::AIO::splice and ::tee (no aio_...)
- Provide SEEK_HOLE and SEEK_DATA, if available
- Work around (again!) an immensely stupid bug in RHEL, defining autoconf
macros in linux system headers
* Sat Apr 7 2012 Paul Howarth <paul@city-fan.org> - 4.14-1
- Update to 4.14:
- Fix stat structure usage on windows, which caused bogus stat results
- (libeio) make readahead emulation behave more like actual readahead by
never failing
- New request aio_seek
- New request aio_fiemap
- Auto-generate the #ifdef/#define 0 blocks for symbols we export
- BR:/R: Perl core modules that might be dual-lived
- Don't need to remove empty directories from buildroot
* Thu Feb 2 2012 Paul Howarth <paul@city-fan.org> - 4.12-1
- Update to 4.12 (see Changes file for details)
- INCOMPATIBLE CHANGE: fork is no longer supported (indeed, it never was);
see FORK BEHAVIOUR in manpage for details
- BR: perl(Carp)
- Reinstate compatibility with old distributions such as EL-5
- Add back BuildRoot definition and cleaning
- Use DESTDIR rather than PERL_INSTALL_ROOT
- Don't use macros for commands
- Use tabs
* Fri Jan 13 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 3.71-4
- Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild
* Sun Jun 19 2011 Marcela Mašláňová <mmaslano@redhat.com> - 3.71-3
- Perl mass rebuild
* Thu Mar 10 2011 Paul Howarth <paul@city-fan.org> - 3.71-2
- Spec cleanup
- Use %%{?perl_default_filter} instead of our own custom provides filter
* Wed Feb 9 2011 Ruben Kerkhof <ruben@rubenkerkhof.com> - 3.71-1
- Upstream released new version
* Tue Feb 8 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 3.65-3
- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
* Fri Dec 17 2010 Marcela Maslanova <mmaslano@redhat.com> - 3.65-2
- Rebuild to fix problems with vendorarch/lib (#661697)
* Thu Jun 24 2010 Ruben Kerkhof <ruben@rubenkerkhof.com> - 3.65-1
- Upstream released new version
* Sun May 02 2010 Marcela Maslanova <mmaslano@redhat.com> - 3.17-5
- Mass rebuild with perl-5.12.0
* Mon Dec 7 2009 Stepan Kasal <skasal@redhat.com> - 3.17-4
- Rebuild against perl 5.10.1
* Sat Jul 25 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 3.17-3
- Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild
* Thu Feb 26 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 3.17-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild
* Thu Dec 18 2008 Nicolas Chauvet <kwizart@gmail.com> - 3.17-1
- Update to 3.17
* Sun Nov 09 2008 Ruben Kerkhof <ruben@rubenkerkhof.com> - 3.16-1
- Upstream release new version
* Mon Mar 03 2008 Tom "spot" Callaway <tcallawa@redhat.com> - 2.51-2
- Rebuild for new perl (again)
* Sat Feb 09 2008 Ruben Kerkhof <ruben@rubenkerkhof.com> - 2.51-1
- Sync with upstream
* Thu Feb 7 2008 Tom "spot" Callaway <tcallawa@redhat.com> - 2.33-2
- Rebuild for new perl
* Sun May 13 2007 Ruben Kerkhof <ruben@rubenkerkhof.com> - 2.33-1
- Initial import

Просмотреть файл

@ -0,0 +1,5 @@
{
"Signatures": {
"JSON-MaybeXS-1.004003.tar.gz": "5bee3b17ff9dcffd6e99ab8cf7f35747650bfce1dc622e3ad10b85a194462fbf"
}
}

Просмотреть файл

@ -0,0 +1,273 @@
# Note: this package takes the approach of adding a hard dependency on
# upstream's preferred back-end, Cpanel::JSON::XS, rather than using
# a virtual provides/requires arrangement so that any of the supported
# back-ends could be used. This is not only much simpler and does not
# involve modifications to the back-end packages, but it also makes for
# consistent results as we're always using the same, most-tested
# back-end.
Summary: Use Cpanel::JSON::XS with a fallback to JSON::XS and JSON::PP
Name: perl-JSON-MaybeXS
Version: 1.004003
Release: 5%{?dist}
License: GPL+ OR Artistic
Vendor: Microsoft Corporation
Distribution: Mariner
URL: https://metacpan.org/release/JSON-MaybeXS
Source0: https://cpan.metacpan.org/modules/by-module/JSON/JSON-MaybeXS-%{version}.tar.gz
BuildArch: noarch
# Module Build
BuildRequires: coreutils
BuildRequires: make
BuildRequires: perl-generators
BuildRequires: perl-interpreter
BuildRequires: perl(Carp)
# Dependencies of bundled ExtUtils::HasCompiler
BuildRequires: perl(Config)
BuildRequires: perl(Cpanel::JSON::XS) >= 2.3310
BuildRequires: perl(DynaLoader)
BuildRequires: perl(Exporter)
BuildRequires: perl(ExtUtils::MakeMaker) >= 6.76
BuildRequires: perl(ExtUtils::Mksymlists)
BuildRequires: perl(File::Basename)
BuildRequires: perl(File::Spec::Functions)
BuildRequires: perl(File::Temp)
BuildRequires: perl(Scalar::Util)
BuildRequires: perl(Text::ParseWords)
# Module Runtime
BuildRequires: perl(base)
BuildRequires: perl(lib)
BuildRequires: perl(strict)
BuildRequires: perl(warnings)
%if %{with_check}
BuildRequires: perl(JSON::PP) >= 2.27300
BuildRequires: perl(JSON::XS) >= 3.0
BuildRequires: perl(Test::More) >= 0.88
BuildRequires: perl(Test::Needs) >= 0.002006
BuildRequires: perl(if)
%endif
# Runtime
Requires: perl(:MODULE_COMPAT_%(eval "`perl -V:version`"; echo $version))
Requires: perl(Cpanel::JSON::XS) >= 2.3310
%description
This module first checks to see if either Cpanel::JSON::XS or JSON::XS
is already loaded, in which case it uses that module. Otherwise it tries
to load Cpanel::JSON::XS, then JSON::XS, then JSON::PP in order, and
either uses the first module it finds or throws an error.
It then exports the "encode_json" and "decode_json" functions from the
loaded module, along with a "JSON" constant that returns the class name
for calling "new" on.
If you're writing fresh code rather than replacing JSON.pm usage, you
might want to pass options as constructor args rather than calling
mutators, so we provide our own "new" method that supports that.
%prep
%setup -q -n JSON-MaybeXS-%{version}
%build
perl Makefile.PL INSTALLDIRS=vendor NO_PACKLIST=1 NO_PERLLOCAL=1
%make_build
%install
%make_install
%{_fixperms} -c %{buildroot}
%check
make test
%files
%license LICENSE
%doc Changes README
%{perl_vendorlib}/JSON/
%{_mandir}/man3/JSON::MaybeXS.3*
%changelog
* Wed Jan 26 2022 Pawel Winogrodzki <pawelwi@microsoft.com> - 1.004003-5
- Initial CBL-Mariner import from Fedora 36 (license: MIT).
- License verified.
* Thu Jul 22 2021 Fedora Release Engineering <releng@fedoraproject.org> - 1.004003-4
- Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild
* Fri May 21 2021 Jitka Plesnikova <jplesnik@redhat.com> - 1.004003-3
- Perl 5.34 rebuild
* Wed Jan 27 2021 Fedora Release Engineering <releng@fedoraproject.org> - 1.004003-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild
* Fri Nov 13 2020 Paul Howarth <paul@city-fan.org> - 1.004003-1
- Update to 1.004003
- Fix another test that fails when JSON::XS is installed, but below version
3.0
* Tue Jul 28 2020 Fedora Release Engineering <releng@fedoraproject.org> - 1.004002-3
- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
* Tue Jun 23 2020 Jitka Plesnikova <jplesnik@redhat.com> - 1.004002-2
- Perl 5.32 rebuild
* Mon May 18 2020 Paul Howarth <paul@city-fan.org> - 1.004002-1
- Update to 1.004002
- Fix test that fails when JSON::XS is installed, but below version 3.0
(CPAN RT#132578)
* Sat May 2 2020 Paul Howarth <paul@city-fan.org> - 1.004001-1
- Update to 1.004001
- Document when is_bool became available
- Now favouring Cpanel::JSON::XS over JSON::XS in more situations (the former
is always added to prereqs when a compiler is available, although JSON::XS
is still used at runtime if new enough and Cpanel::JSON::XS is not
installed); this makes boolean handling more predictable and consistent
- Package LICENSE file
- Use %%{make_build} and %%{make_install}
* Thu Jan 30 2020 Fedora Release Engineering <releng@fedoraproject.org> - 1.004000-7
- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild
* Fri Jul 26 2019 Fedora Release Engineering <releng@fedoraproject.org> - 1.004000-6
- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild
* Fri May 31 2019 Jitka Plesnikova <jplesnik@redhat.com> - 1.004000-5
- Perl 5.30 rebuild
* Fri Feb 01 2019 Fedora Release Engineering <releng@fedoraproject.org> - 1.004000-4
- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild
* Fri Jul 13 2018 Fedora Release Engineering <releng@fedoraproject.org> - 1.004000-3
- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild
* Thu Jun 28 2018 Jitka Plesnikova <jplesnik@redhat.com> - 1.004000-2
- Perl 5.28 rebuild
* Fri Apr 20 2018 Paul Howarth <paul@city-fan.org> - 1.004000-1
- Update to 1.004000
- Added true and false subs so they can be used via JSON::MaybeXS rather than
only JSON() exported sub
* Thu Feb 08 2018 Fedora Release Engineering <releng@fedoraproject.org> - 1.003010-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
* Mon Jan 29 2018 Paul Howarth <paul@city-fan.org> - 1.003010-1
- Update to 1.003010
- Use bundled ExtUtils::HasCompiler rather than ExtUtils::CBuilder to detect
compiler availability
- Clarify exported JSON in documentation
- This release by HAARG → update source URL
* Thu Jul 27 2017 Fedora Release Engineering <releng@fedoraproject.org> - 1.003009-3
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild
* Mon Jun 05 2017 Jitka Plesnikova <jplesnik@redhat.com> - 1.003009-2
- Perl 5.26 rebuild
* Mon Feb 27 2017 Paul Howarth <paul@city-fan.org> - 1.003009-1
- Update to 1.003009
- Fix tests to no longer rely on . being in @INC (CPAN RT#120404)
* Sat Feb 11 2017 Fedora Release Engineering <releng@fedoraproject.org> - 1.003008-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild
* Mon Oct 3 2016 Paul Howarth <paul@city-fan.org> - 1.003008-1
- Update to 1.003008
- Added an INSTALLATION section to documentation, to clarify the use of
dynamic prerequisites in Makefile.PL
- Minimize prereqs listed in META.json to avoid giving the appearance of XS
prerequisites, and confusing static inspection tools such as metacpan.org
* Mon Sep 12 2016 Paul Howarth <paul@city-fan.org> - 1.003007-1
- Update to 1.003007
- Bump prereq on JSON::PP, to ensure we get the fix for parsing utf8-encoded
values
- We now always upgrade JSON::XS if it is installed and below version 3.0,
due to changes in handling booleans
- Remove test dependency on Test::Without::Module (CPAN RT#115394)
- Simplify find command using -delete
* Sun May 15 2016 Jitka Plesnikova <jplesnik@redhat.com> - 1.003005-5
- Perl 5.24 rebuild
* Thu Feb 04 2016 Fedora Release Engineering <releng@fedoraproject.org> - 1.003005-4
- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild
* Thu Jun 18 2015 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.003005-3
- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild
* Sat Jun 06 2015 Jitka Plesnikova <jplesnik@redhat.com> - 1.003005-2
- Perl 5.22 rebuild
* Mon Mar 23 2015 Paul Howarth <paul@city-fan.org> - 1.003005-1
- Update to 1.003005
- Fix x_contributors metadata that was killing metacpan (see
https://github.com/CPAN-API/cpan-api/issues/401)
* Sun Mar 15 2015 Paul Howarth <paul@city-fan.org> - 1.003004-1
- Update to 1.003004
- Caveat added to documentation about type checking the object returned by
new() (CPAN RT#102733)
* Mon Dec 8 2014 Paul Howarth <paul@city-fan.org> - 1.003003-1
- Update to 1.003003
- Ensure an old Cpanel::JSON::XS is upgraded if it is too old, as it will
always be used in preference to JSON::XS
- Avoid "JSON::XS::Boolean::* redefined" warnings caused by an old JSON::XS
loaded at the same time as a newer Cpanel::JSON::XS
* Sun Nov 16 2014 Paul Howarth <paul@city-fan.org> - 1.003002-1
- Update to 1.003002
- Correctly fix boolean interoperability with older Cpanel::JSON::MaybeXS
* Thu Nov 13 2014 Paul Howarth <paul@city-fan.org> - 1.003001-1
- Update to 1.003001
- Add :legacy tag to support legacy apps
- Fix boolean interoperability with older Cpanel::JSON::MaybeXS
* Wed Oct 22 2014 Paul Howarth <paul@city-fan.org> - 1.002006-1
- Update to 1.002006
- Add some additional test diagnostics, to help find bad version combinations
of JSON backends
* Wed Oct 15 2014 Paul Howarth <paul@city-fan.org> - 1.002005-1
- Update to 1.002005
- Fix "can I haz XS?" logic precedence in Makefile.PL
- Added the ':all' export tag
- Removed dependency on Safe::Isa
- Repository moved to git://git.shadowcat.co.uk/p5sagit/JSON-MaybeXS.git
* Sun Oct 12 2014 Paul Howarth <paul@city-fan.org> - 1.002004-1
- Update to 1.002004
- Support use of PUREPERL_ONLY in Makefile.PL to avoid adding an XS
dependency
- New is_bool() interface
* Wed Oct 8 2014 Paul Howarth <paul@city-fan.org> - 1.002003-1
- Update to 1.002003
- Document how to use booleans
* Fri Aug 29 2014 Jitka Plesnikova <jplesnik@redhat.com> - 1.002002-4
- Perl 5.20 rebuild
* Sat Jun 07 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.002002-3
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild
* Fri May 9 2014 Paul Howarth <paul@city-fan.org> - 1.002002-2
- Sanitize for Fedora submission
* Thu Apr 24 2014 Paul Howarth <paul@city-fan.org> - 1.002002-1
- Update to 1.002002
- More metadata fiddling, to remove the Cpanel::JSON::XS dependency visible
to static analyzers (the prerequisites at install time remain unchanged)
* Wed Apr 23 2014 Paul Howarth <paul@city-fan.org> - 1.002001-1
- Update to 1.002001
- Fix installation on older perls with an older ExtUtils::MakeMaker
(CPAN RT#94964)
- Update patch for building with Test::More < 0.88
* Wed Apr 23 2014 Paul Howarth <paul@city-fan.org> - 1.002000-1
- Initial RPM version

Просмотреть файл

@ -0,0 +1,5 @@
{
"Signatures": {
"Module-Load-Util-0.006.tar.gz": "366eec5fa0c62a263870812bbe018ce04125ad25e68fe97d45c55063704119fc"
}
}

Просмотреть файл

@ -0,0 +1,123 @@
%global __requires_exclude %{?__requires_exclude:%__requires_exclude|}perl\\(Exporter\\)\\s*$
# Filter modules bundled for tests
%global __provides_exclude_from %{?__provides_exclude_from:%__provides_exclude_from|}^%{_libexecdir}
Summary: Some utility routines related to module loading
Name: perl-Module-Load-Util
Version: 0.006
Release: 2%{?dist}
License: GPL+ OR Artistic
Vendor: Microsoft Corporation
Distribution: Mariner
URL: https://metacpan.org/release/Module-Load-Util/
Source0: https://cpan.metacpan.org/authors/id/P/PE/PERLANCAR/Module-Load-Util-%{version}.tar.gz
BuildArch: noarch
BuildRequires: coreutils
BuildRequires: make
BuildRequires: perl-generators
BuildRequires: perl-interpreter
# Run-time
BuildRequires: perl(Exporter) >= 5.57
BuildRequires: perl(ExtUtils::MakeMaker) >= 6.76
BuildRequires: perl(Regexp::Pattern::Perl::Module)
BuildRequires: perl(strict)
BuildRequires: perl(warnings)
%if %{with_check}
BuildRequires: perl(File::Spec)
BuildRequires: perl(FindBin)
BuildRequires: perl(IO::Handle)
BuildRequires: perl(IPC::Open3)
BuildRequires: perl(Test::Exception)
BuildRequires: perl(Test::More) >= 0.98
BuildRequires: perl(blib)
BuildRequires: perl(lib)
%endif
Requires: perl(:MODULE_COMPAT_%(eval "`perl -V:version`"; echo $version))
Requires: perl(Exporter) >= 5.57
%description
This module contains some utility routines related to module loading.
%package tests
Summary: Tests for %{name}
Requires: %{name} = %{?epoch:%{epoch}:}%{version}-%{release}
Requires: perl-Test-Harness
%description tests
Tests from %{name}. Execute them
with "%{_libexecdir}/%{name}/test".
%prep
%setup -q -n Module-Load-Util-%{version}
# Help generators to recognize Perl scripts
for F in t/*.t; do
perl -i -MConfig -ple 'print $Config{startperl} if $. == 1 && !s{\A#!.*perl\b}{$Config{startperl}}' "$F"
chmod +x "$F"
done
%build
perl Makefile.PL INSTALLDIRS=vendor NO_PACKLIST=1 NO_PERLLOCAL=1
%make_build
%install
%make_install
%{_fixperms} %{buildroot}/*
# Install tests
mkdir -p %{buildroot}%{_libexecdir}/%{name}
cp -a t %{buildroot}%{_libexecdir}/%{name}
rm %{buildroot}%{_libexecdir}/%{name}/t/author-*.t
cat > %{buildroot}%{_libexecdir}/%{name}/test << 'EOF'
#!/bin/sh
cd %{_libexecdir}/%{name} && exec prove -I . -r -j "$(getconf _NPROCESSORS_ONLN)"
EOF
chmod +x %{buildroot}%{_libexecdir}/%{name}/test
%check
export HARNESS_OPTIONS=j$(perl -e 'if ($ARGV[0] =~ /.*-j([0-9][0-9]*).*/) {print $1} else {print 1}' -- '%{?_smp_mflags}')
unset AUTHOR_TESTING
make test
%files
%license LICENSE
%doc Changes README
%{perl_vendorlib}/*
%{_mandir}/man3/*
%files tests
%{_libexecdir}/%{name}
%changelog
* Wed Jan 26 2022 Pawel Winogrodzki <pawelwi@microsoft.com> - 0.006-2
- Initial CBL-Mariner import from Fedora 36 (license: MIT).
- License verified.
* Fri Oct 01 2021 Jitka Plesnikova <jplesnik@redhat.com> - 0.006-1
- 0.006 bump
* Thu Sep 30 2021 Jitka Plesnikova <jplesnik@redhat.com> - 0.005-1
- 0.005 bump
- Package tests
* Thu Jul 22 2021 Fedora Release Engineering <releng@fedoraproject.org> - 0.004-3
- Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild
* Fri May 21 2021 Jitka Plesnikova <jplesnik@redhat.com> - 0.004-2
- Perl 5.34 rebuild
* Wed Feb 10 2021 Jitka Plesnikova <jplesnik@redhat.com> - 0.004-1
- 0.004 bump
* Wed Jan 27 2021 Fedora Release Engineering <releng@fedoraproject.org> - 0.003-3
- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild
* Tue Jul 28 2020 Fedora Release Engineering <releng@fedoraproject.org> - 0.003-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
* Fri Jul 03 2020 Jitka Plesnikova <jplesnik@redhat.com> 0.003-1
- Specfile autogenerated by cpanspec 1.78.

Просмотреть файл

@ -0,0 +1,5 @@
{
"Signatures": {
"Regexp-Pattern-Perl-0.006.tar.gz": "79a5852898615ca8141054717d90a2f72c07b364b6736b3d84cc84183ccec2fc"
}
}

Просмотреть файл

@ -0,0 +1,79 @@
Summary: Regexp patterns related to Perl
Name: perl-Regexp-Pattern-Perl
Version: 0.006
Release: 2%{?dist}
License: GPL+ OR Artistic
Vendor: Microsoft Corporation
Distribution: Mariner
URL: https://metacpan.org/release/Regexp-Pattern-Perl/
Source0: https://cpan.metacpan.org/authors/id/P/PE/PERLANCAR/Regexp-Pattern-Perl-%{version}.tar.gz
BuildArch: noarch
BuildRequires: coreutils
BuildRequires: make
BuildRequires: perl-generators
BuildRequires: perl-interpreter
BuildRequires: perl(ExtUtils::MakeMaker) >= 6.76
BuildRequires: perl(strict)
BuildRequires: perl(warnings)
%if %{with_check}
BuildRequires: perl(File::Spec)
BuildRequires: perl(IO::Handle)
BuildRequires: perl(IPC::Open3)
BuildRequires: perl(Test::More)
BuildRequires: perl(blib)
%endif
Requires: perl(:MODULE_COMPAT_%(eval "`perl -V:version`"; echo $version))
%description
Regexp::Pattern is a convention for organizing reusable regex patterns.
%prep
%setup -q -n Regexp-Pattern-Perl-%{version}
%build
perl Makefile.PL INSTALLDIRS=vendor NO_PACKLIST=1 NO_PERLLOCAL=1
%make_build
%install
%make_install
%{_fixperms} %{buildroot}/*
%check
unset AUTHOR_TESTING RELEASE_TESTING
make test
%files
%license LICENSE
%doc Changes README
%{perl_vendorlib}/*
%{_mandir}/man3/*
%changelog
* Wed Jan 26 2022 Pawel Winogrodzki <pawelwi@microsoft.com> - 0.006-2
- Initial CBL-Mariner import from Fedora 36 (license: MIT).
- License verified.
* Mon Dec 20 2021 Jitka Plesnikova <jplesnik@redhat.com> - 0.006-1
- 0.006 bump
* Thu Jul 22 2021 Fedora Release Engineering <releng@fedoraproject.org> - 0.004-4
- Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild
* Fri May 21 2021 Jitka Plesnikova <jplesnik@redhat.com> - 0.004-3
- Perl 5.34 rebuild
* Wed Jan 27 2021 Fedora Release Engineering <releng@fedoraproject.org> - 0.004-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild
* Fri Oct 02 2020 Jitka Plesnikova <jplesnik@redhat.com> - 0.004-1
- 0.004 bump
* Tue Jul 28 2020 Fedora Release Engineering <releng@fedoraproject.org> - 0.002-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
* Fri Jul 03 2020 Jitka Plesnikova <jplesnik@redhat.com> 0.002-1
- Specfile autogenerated by cpanspec 1.78.

Просмотреть файл

@ -0,0 +1,5 @@
{
"Signatures": {
"boolean-0.46.tar.gz": "95c088085c3e83bf680fe6ce16d8264ec26310490f7d1680e416ea7a118f156a"
}
}

Просмотреть файл

@ -0,0 +1,201 @@
Summary: Boolean support for Perl
Name: perl-boolean
Version: 0.46
Release: 17%{?dist}
License: GPL+ OR Artistic
Vendor: Microsoft Corporation
Distribution: Mariner
URL: https://metacpan.org/release/boolean
Source0: https://cpan.metacpan.org/authors/id/I/IN/INGY/boolean-%{version}.tar.gz
BuildArch: noarch
BuildRequires: make
BuildRequires: perl-generators
BuildRequires: perl-interpreter
BuildRequires: perl(:VERSION) >= 5.5.3
BuildRequires: perl(Config)
BuildRequires: perl(Exporter)
BuildRequires: perl(ExtUtils::MakeMaker) >= 6.76
BuildRequires: perl(File::Find)
BuildRequires: perl(JSON::MaybeXS)
BuildRequires: perl(Test::More)
BuildRequires: perl(base)
BuildRequires: perl(lib)
BuildRequires: perl(overload)
BuildRequires: perl(strict)
BuildRequires: perl(threads)
BuildRequires: perl(warnings)
Requires: perl(:MODULE_COMPAT_%(eval "`perl -V:version`"; echo $version))
%description
Most programming languages have a native Boolean data type. Perl does not.
%prep
%autosetup -n boolean-%{version}
%build
perl Makefile.PL INSTALLDIRS=vendor NO_PACKLIST=1 NO_PERLLOCAL=1
%make_build
%install
%make_install
%{_fixperms} %{buildroot}/*
%check
make test
%files
%license LICENSE
%doc Changes README
%{perl_vendorlib}/*
%{_mandir}/man3/*
%changelog
* Wed Jan 26 2022 Pawel Winogrodzki <pawelwi@microsoft.com> - 0.46-17
- Initial CBL-Mariner import from Fedora 36 (license: MIT).
- License verified.
* Fri Jul 23 2021 Fedora Release Engineering <releng@fedoraproject.org> - 0.46-16
- Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild
* Fri May 21 2021 Jitka Plesnikova <jplesnik@redhat.com> - 0.46-15
- Perl 5.34 rebuild
* Wed Jan 27 2021 Fedora Release Engineering <releng@fedoraproject.org> - 0.46-14
- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild
* Tue Jul 28 2020 Fedora Release Engineering <releng@fedoraproject.org> - 0.46-13
- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
* Tue Jun 23 2020 Jitka Plesnikova <jplesnik@redhat.com> - 0.46-12
- Perl 5.32 rebuild
* Thu Jan 30 2020 Fedora Release Engineering <releng@fedoraproject.org> - 0.46-11
- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild
* Fri Jul 26 2019 Fedora Release Engineering <releng@fedoraproject.org> - 0.46-10
- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild
* Fri May 31 2019 Jitka Plesnikova <jplesnik@redhat.com> - 0.46-9
- Perl 5.30 rebuild
* Sat Feb 02 2019 Fedora Release Engineering <releng@fedoraproject.org> - 0.46-8
- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild
* Fri Jul 13 2018 Fedora Release Engineering <releng@fedoraproject.org> - 0.46-7
- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild
* Thu Jun 28 2018 Jitka Plesnikova <jplesnik@redhat.com> - 0.46-6
- Perl 5.28 rebuild
* Fri Feb 09 2018 Fedora Release Engineering <releng@fedoraproject.org> - 0.46-5
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
* Thu Jul 27 2017 Fedora Release Engineering <releng@fedoraproject.org> - 0.46-4
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild
* Mon Jun 05 2017 Jitka Plesnikova <jplesnik@redhat.com> - 0.46-3
- Perl 5.26 rebuild
* Sat Feb 11 2017 Fedora Release Engineering <releng@fedoraproject.org> - 0.46-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild
* Mon Oct 03 2016 Jitka Plesnikova <jplesnik@redhat.com> - 0.46-1
- 0.46 bump
* Sun May 15 2016 Jitka Plesnikova <jplesnik@redhat.com> - 0.45-5
- Perl 5.24 rebuild
* Thu Feb 04 2016 Fedora Release Engineering <releng@fedoraproject.org> - 0.45-4
- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild
* Thu Jun 18 2015 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.45-3
- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild
* Sat Jun 06 2015 Jitka Plesnikova <jplesnik@redhat.com> - 0.45-2
- Perl 5.22 rebuild
* Mon Feb 09 2015 Ken Dreyer <ktdreyer@ktdreyer.com> - 0.45-1
- Update to latest upstream version (RHBZ #1188814)
* Sun Jan 04 2015 Ken Dreyer <ktdreyer@ktdreyer.com> - 0.43-1
- Update to latest upstream version (RHBZ #1178377)
* Wed Nov 12 2014 Ken Dreyer <ktdreyer@ktdreyer.com> - 0.42-1
- update to latest upstream version
* Wed Aug 27 2014 Jitka Plesnikova <jplesnik@redhat.com> - 0.38-2
- Perl 5.20 rebuild
* Thu Jul 31 2014 Jitka Plesnikova <jplesnik@redhat.com> - 0.38-1
- 0.38 bump
* Sat Jun 07 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.30-4
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild
* Sun Aug 04 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.30-3
- Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild
* Thu Jul 18 2013 Petr Pisar <ppisar@redhat.com> - 0.30-2
- Perl 5.18 rebuild
* Fri Apr 19 2013 Iain Arnell <iarnell@gmail.com> 0.30-1
- update to latest upstream version
* Thu Feb 14 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.28-5
- Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild
* Fri Jul 20 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.28-4
- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild
* Mon Jun 11 2012 Petr Pisar <ppisar@redhat.com> - 0.28-3
- Perl 5.16 rebuild
* Sat Jan 14 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.28-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild
* Thu Sep 22 2011 Iain Arnell <iarnell@gmail.com> 0.28-1
- update to latest upstream version
* Wed Jun 29 2011 Iain Arnell <iarnell@gmail.com> 0.27-1
- update to latest upstream version
- remove buildroot and defattr from spec file
* Mon Jun 20 2011 Marcela Mašláňová <mmaslano@redhat.com> - 0.26-3
- Perl mass rebuild
* Wed Feb 09 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.26-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
* Sat Jan 22 2011 Iain Arnell <iarnell@gmail.com> 0.26-1
- update to latest upstream version
* Sun Jan 16 2011 Iain Arnell <iarnell@gmail.com> 0.25-1
- update to latest upstream version
- add new R/BR perl(Readonly)
- add new R perl(Exporter)
* Wed Dec 15 2010 Marcela Maslanova <mmaslano@redhat.com> - 0.23-2
- 661697 rebuild for fixing problems with vendorach/lib
* Wed Sep 22 2010 Iain Arnell <iarnell@gmail.com> 0.23-1
- update to latest upstream version
* Thu Apr 29 2010 Marcela Maslanova <mmaslano@redhat.com> - 0.20-6
- Mass rebuild with perl-5.12.0
* Mon Dec 7 2009 Stepan Kasal <skasal@redhat.com> - 0.20-5
- rebuild against perl 5.10.1
* Sun Jul 26 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.20-4
- Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild
* Thu Feb 26 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.20-3
- Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild
* Wed Nov 19 2008 Iain Arnell <iarnell@gmail.com> 0.20-2
- BR Test::More
* Tue Nov 18 2008 Iain Arnell <iarnell@gmail.com> 0.20-1
- Specfile autogenerated by cpanspec 1.77.

Различия файлов скрыты, потому что одна или несколько строк слишком длинны

Просмотреть файл

@ -709,6 +709,7 @@
"libdwarf",
"libeasyfc",
"libecap",
"libecb",
"libell",
"libEMF",
"libeot",
@ -716,6 +717,7 @@
"libepubgen",
"libesmtp",
"libetonyek",
"libev",
"libevdev",
"libewf",
"libexif",
@ -774,6 +776,7 @@
"liblognorm",
"liblouis",
"liblqr-1",
"liblzf",
"libmad",
"libmediaart",
"libmetalink",
@ -1197,6 +1200,8 @@
"perl-Alien-Libxml2",
"perl-Alien-pkgconf",
"perl-AnyEvent",
"perl-AnyEvent-AIO",
"perl-AnyEvent-BDB",
"perl-App-cpanminus",
"perl-App-FatPacker",
"perl-AppConfig",
@ -1209,13 +1214,16 @@
"perl-B-Keywords",
"perl-B-Lint",
"perl-bareword-filehandles",
"perl-BDB",
"perl-Bit-Vector",
"perl-boolean",
"perl-Browser-Open",
"perl-BSD-Resource",
"perl-Business-ISBN",
"perl-Business-ISBN-Data",
"perl-Capture-Tiny",
"perl-Carp-Clan",
"perl-CBOR-XS",
"perl-Class-Accessor",
"perl-Class-C3",
"perl-Class-C3-XS",
@ -1230,7 +1238,14 @@
"perl-Class-Tiny",
"perl-Class-XSAccessor",
"perl-Clone",
"perl-Color-ANSI-Util",
"perl-Color-RGB-Util",
"perl-ColorThemeBase-Static",
"perl-ColorThemeRole-ANSI",
"perl-ColorThemes-Standard",
"perl-ColorThemeUtil-ANSI",
"perl-Compress-Bzip2",
"perl-Compress-LZF",
"perl-Compress-Raw-Lzma",
"perl-Config-AutoConf",
"perl-Config-INI",
@ -1240,9 +1255,13 @@
"perl-Config-Tiny",
"perl-Const-Fast",
"perl-Convert-ASN1",
"perl-Convert-Bencode",
"perl-Coro",
"perl-Coro-Multicore",
"perl-CPAN-Changes",
"perl-CPAN-DistnameInfo",
"perl-CPAN-Meta-Check",
"perl-Cpanel-JSON-XS",
"perl-Crypt-CBC",
"perl-Crypt-DES",
"perl-Crypt-IDEA",
@ -1302,6 +1321,7 @@
"perl-Encode-Locale",
"perl-Env-ShellWords",
"perl-Error",
"perl-EV",
"perl-Eval-Closure",
"perl-Event",
"perl-Exception-Class",
@ -1343,6 +1363,7 @@
"perl-generators",
"perl-Getopt-ArgvFile",
"perl-gettext",
"perl-Graphics-ColorNamesLite-WWW",
"perl-GSSAPI",
"perl-Guard",
"perl-Hook-LexWrap",
@ -1363,6 +1384,7 @@
"perl-inc-latest",
"perl-indirect",
"perl-Inline-Files",
"perl-IO-AIO",
"perl-IO-All",
"perl-IO-CaptureOutput",
"perl-IO-Compress-Lzma",
@ -1378,6 +1400,7 @@
"perl-IPC-System-Simple",
"perl-JSON",
"perl-JSON-Color",
"perl-JSON-MaybeXS",
"perl-LDAP",
"perl-libwww-perl",
"perl-libxml-perl",
@ -1416,6 +1439,7 @@
"perl-Module-Install-ReadmeMarkdownFromPod",
"perl-Module-Install-Repository",
"perl-Module-Install-TestBase",
"perl-Module-Load-Util",
"perl-Module-Manifest",
"perl-Module-Manifest-Skip",
"perl-Module-Package",
@ -1498,6 +1522,7 @@
"perl-Readonly-XS",
"perl-Ref-Util",
"perl-Ref-Util-XS",
"perl-Regexp-Pattern-Perl",
"perl-Return-MultiLevel",
"perl-Role-Tiny",
"perl-Scope-Guard",
@ -2823,7 +2848,6 @@
"libdnet",
"libedit",
"libestr",
"libev",
"libevent",
"libfastjson",
"libffi",

Просмотреть файл

@ -1,5 +1,5 @@
{
"Signatures": {
"libev-4.24.tar.gz": "973593d3479abdf657674a55afe5f78624b0e440614e2b8cb3a07f16d4d7f821"
"libev-4.33.tar.gz": "507eb7b8d1015fbec5b935f34ebed15bf346bed04a11ab82b8eee848c4205aea"
}
}

Просмотреть файл

@ -1,82 +1,291 @@
Summary: A full-featured and high-performance event loop
%global source_dir %{_datadir}/%{name}-source
%global inst_srcdir %{buildroot}/%{source_dir}
Summary: High-performance event loop/event model with lots of features
Name: libev
Version: 4.24
Version: 4.33
Release: 5%{?dist}
License: BSD-2-Clause
License: BSD OR GPLv2+
Vendor: Microsoft Corporation
Distribution: Mariner
Group: System/Library
URL: http://software.schmorp.de/pkg/libev.html
Source0: http://dist.schmorp.de/libev/Attic/%{name}-%{version}.tar.gz
BuildRequires: pkg-config
BuildRequires: autoconf
BuildRequires: automake
BuildRequires: coreutils
BuildRequires: findutils
BuildRequires: gcc
BuildRequires: libtool
BuildRequires: make
BuildRequires: tar
Provides: bundled(libecb) = 1.05
%description
A full-featured and high-performance event loop that is loosely modelled after libevent, but without its limitations and bugs.
Libev is modeled (very loosely) after libevent and the Event Perl
module, but is faster, scales better and is more correct, and also more
featureful. And also smaller.
%package devel
Summary: Development files for libev
Group: Development/Libraries
Requires: %{name} = %{version}-%{release}
%package devel
Summary: Development headers for libev
Requires: %{name}%{?_isa} = %{version}-%{release}
%description devel
The subpackage includes all development related headers and library for libev
%description devel
This package contains the development headers and libraries for libev.
%package libevent-devel
Summary: Compability development header with libevent for %{name}
Requires: %{name}-devel = %{version}-%{release}
# The event.h file conflicts with one from libevent-devel
Summary: Compatibility development header with libevent for %{name}.
Requires: %{name}-devel%{?_isa} = %{version}-%{release}
# The event.h file actually conflicts with the one from libevent-devel
Conflicts: libevent-devel
%description libevent-devel
This package contains a development header to make libev compatible with libevent.
This package contains a development header to make libev compatible with
libevent.
%package source
Summary: High-performance event loop/event model with lots of features
Provides: bundled(libecb) = 1.05
BuildArch: noarch
%description source
This package contains the source code for libev.
%prep
%setup -q
%autosetup -p0
autoreconf -vfi
%build
%configure --disable-static
make %{?_smp_mflags}
%install
%makeinstall
find %{buildroot} -type f -name "*.la" -delete -print
%configure --disable-static --with-pic
%make_build
%check
make %{?_smp_mflags} -k check
make check
%post -p /sbin/ldconfig
%install
%make_install
rm -vf %{buildroot}%{_libdir}/%{name}.la
# Make the source package
mkdir -p %{inst_srcdir}
find . -type f | grep -E '.*\.(c|h|am|ac|inc|m4|h.in|man.pre|pl|txt)$' | xargs tar cf - | (cd %{inst_srcdir} && tar xf -)
install -p -m 0644 Changes ev.pod LICENSE README %{inst_srcdir}
%ldconfig_scriptlets
%files
%defattr(-,root,root)
%license LICENSE
%{_libdir}/*.so.*
%{_mandir}/*
%doc Changes README
%{_libdir}/%{name}.so.4*
%files devel
%defattr(-,root,root)
%exclude %{_includedir}/event.h
%{_includedir}/*
%{_libdir}/*.so
%{_includedir}/ev++.h
%{_includedir}/ev.h
%{_libdir}/%{name}.so
%{_mandir}/man?/*
%files libevent-devel
%defattr(-,root,root)
%{_includedir}/event.h
%files source
%{source_dir}
%changelog
* Tue Nov 03 2020 Ruying Chen <v-ruyche@microsoft.com> - 4.24-5
- Split libev-libevent-devel subpackage to resolve event.h conflicts with libevent-devel.
* Sat May 09 2020 Nick Samson <nisamson@microsoft.com> - 4.24-4
- Added %%license line automatically
* Wed Apr 08 2020 Joe Schmitt <joschmit@microsoft.com> 4.24-3
- Update Source0 with valid URL.
- Remove sha1 macro.
* Thu Jan 27 2022 Pawel Winogrodzki <pawelwi@microsoft.com> - 4.33-5
- Initial CBL-Mariner import from Fedora 36 (license: MIT).
- License verified.
- Fix changelog styling
* Tue Sep 03 2019 Mateusz Malisz <mamalisz@microsoft.com> 4.24-2
- Initial CBL-Mariner import from Photon (license: Apache2).
* Thu Jul 22 2021 Fedora Release Engineering <releng@fedoraproject.org> - 4.33-4
- Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild
* Mon Apr 03 2017 Harish Udaiya Kumar <hudaiyakumar@vmware.com> 4.24-1
- Initial Version.
* Tue Jan 26 2021 Fedora Release Engineering <releng@fedoraproject.org> - 4.33-3
- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild
* Tue Jul 28 2020 Fedora Release Engineering <releng@fedoraproject.org> - 4.33-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
* Thu Mar 19 2020 Fabian Affolter <mail@fabian-.affolter.ch> - 4.33-1
- Update to latest upstream release 4.33 (rhbz#1814655)
* Wed Jan 29 2020 Fedora Release Engineering <releng@fedoraproject.org> - 4.31-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild
* Thu Jan 09 2020 Fabian Affolter <mail@fabian-.affolter.ch> - 4.31-1
- Update to latest upstream release 4.31 (rhbz#1785861)
* Sun Jul 28 2019 Fedora Release Monitoring <release-monitoring@fedoraproject.org> - 4.27-1
- Update to 4.27 (#1724817)
* Thu Jul 25 2019 Fedora Release Engineering <releng@fedoraproject.org> - 4.25-9
- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild
* Fri Feb 01 2019 Fedora Release Engineering <releng@fedoraproject.org> - 4.25-8
- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild
* Mon Dec 24 2018 Igor Gnatenko <ignatenkobrain@fedoraproject.org> - 4.25-7
- Update to 4.25
* Fri Jul 13 2018 Fedora Release Engineering <releng@fedoraproject.org> - 4.24-7
- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild
* Wed Feb 07 2018 Fedora Release Engineering <releng@fedoraproject.org> - 4.24-6
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
* Sat Feb 03 2018 Igor Gnatenko <ignatenkobrain@fedoraproject.org> - 4.24-5
- Switch to %%ldconfig_scriptlets
* Thu Aug 03 2017 Fedora Release Engineering <releng@fedoraproject.org> - 4.24-4
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Binutils_Mass_Rebuild
* Wed Jul 26 2017 Fedora Release Engineering <releng@fedoraproject.org> - 4.24-3
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild
* Fri Feb 10 2017 Fedora Release Engineering <releng@fedoraproject.org> - 4.24-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild
* Wed Dec 28 2016 Igor Gnatenko <i.gnatenko.brain@gmail.com> - 4.24-1
- Update to 4.24 (RHBZ #1408954)
* Thu Nov 17 2016 Fabian Affolter <mail@fabian-.affolter.ch> - 4.23-1
- Update to latest upstream release 4.23 (rhbz#1395925)
* Mon Mar 28 2016 Igor Gnatenko <i.gnatenko.brain@gmail.com> - 4.22-1
- Update to 4.22 (RHBZ #1234039)
* Thu Feb 04 2016 Fedora Release Engineering <releng@fedoraproject.org> - 4.20-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild
* Sat Oct 17 2015 Fabian Affolter <mail@fabian-.affolter.ch> - 4.20-2
- Remove patch
* Sat Jun 20 2015 Fedora Release Monitoring <release-monitoring@fedoraproject.org> - 4.20-1
- Update to 4.20 (#1234039)
* Wed Jun 17 2015 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 4.19-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild
* Mon Sep 29 2014 Mathieu Bridon <bochecha@fedoraproject.org> - 4.19-1
- Update to 4.19.
* Tue Sep 23 2014 Mathieu Bridon <bochecha@fedoraproject.org> - 4.18-2
- Fix C++ function definitions
https://bugzilla.redhat.com/show_bug.cgi?id=1145190
* Mon Sep 08 2014 Mathieu Bridon <bochecha@fedoraproject.org> - 4.18-1
- Update to 4.18.
* Sun Aug 17 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 4.15-5
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_22_Mass_Rebuild
* Sat Jun 07 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 4.15-4
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild
* Tue Nov 26 2013 Mathieu Bridon <bochecha@fedoraproject.org> - 4.15-3
- Get the package closer to what upstream intended:
- Do not move the headers into a subfolder of /usr/include
- Make a libev-libevent-devel subpackage to contain the libevent
compatibility header, so that only this subpackage conflicts with
libevent-devel, not all of libev-devel
- Drop the pkgconfig file, as upstream rejected it several times already.
* Sun Sep 8 2013 Igor Gnatenko <i.gnatenko.brain@gmail.com> - 4.15-2
- Bump (koji was broken)
* Sun Sep 8 2013 Igor Gnatenko <i.gnatenko.brain@gmail.com> - 4.15-1
- Update to 4.15 (rhbz 987489)
- Fix dates in spec
* Sat Aug 03 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 4.11-3
- Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild
* Fri Feb 08 2013 Mathieu Bridon <bochecha@fedoraproject.org> - 4.11-2
- Make a patch out of Michal's pkgconfig support.
- Modernize the configure.ac file for Automake >= 1.13.
- Respect the Fedora CFLAGS
https://bugzilla.redhat.com/show_bug.cgi?id=908096
* Fri Sep 28 2012 Mathieu Bridon <bochecha@fedoraproject.org> - 4.11-1
- Update to 4.11
* Thu Jul 19 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 4.04-3
- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild
* Fri Jan 13 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 4.04-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild
* Tue Aug 9 2011 Tom Callaway <spot@fedoraproject.org> - 4.04-1
- move man page
- cleanup spec
- update to 4.04
* Mon Jun 13 2011 Matěj Cepl <mcepl@redhat.com> - 4.03-2
- EL5 cannot have noarch subpackages.
* Sat Feb 5 2011 Michal Nowak <mnowak@redhat.com> - 4.03-1
- 4.03; RHBZ#674022
- add a -source subpackage (Mathieu Bridon); RHBZ#672153
* Mon Jan 10 2011 Michal Nowak <mnowak@redhat.com> - 4.01-1
- 4.01
- fix grammar in %%description
* Sat Jan 2 2010 Michal Nowak <mnowak@redhat.com> - 3.90-1
- 3.9
* Mon Aug 10 2009 Michal Nowak <mnowak@redhat.com> - 3.80-1
- 3.8
- always use the most recent automake
- BuildRequires now libtool
* Fri Jul 24 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 3.70-3
- Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild
* Fri Jul 17 2009 Michal Nowak <mnowak@redhat.com> - 3.70-2
- spec file change, which prevented uploading most recent tarball
so the RPM was "3.70" but tarball was from 3.60
* Fri Jul 17 2009 Michal Nowak <mnowak@redhat.com> - 3.70-1
- v3.7
- list libev soname explicitly
* Mon Jun 29 2009 Michal Nowak <mnowak@redhat.com> - 3.60-1
- previous version was called "3.6" but this is broken update
path wrt version "3.53" -- thus bumping to "3.60"
* Thu Apr 30 2009 Michal Nowak <mnowak@redhat.com> - 3.6-1
- 3.60
- fixed few mixed-use-of-spaces-and-tabs warnings in spec file
* Thu Mar 19 2009 Michal Nowak <mnowak@redhat.com> - 3.53-1
- 3.53
* Wed Feb 25 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 3.52-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild
* Wed Jan 07 2009 Michal Nowak <mnowak@redhat.com> - 3.52-1
- 3.52
* Wed Dec 24 2008 Michal Nowak <mnowak@redhat.com> - 3.51-1
- 3.51
* Thu Nov 20 2008 Michal Nowak <mnowak@redhat.com> - 3.49-1
- version bump: 3.49
* Sun Nov 9 2008 Michal Nowak <mnowak@redhat.com> - 3.48-1
- version bump: 3.48
* Mon Oct 6 2008 kwizart <kwizart at gmail.com> - 3.44-1
- bump to 3.44
* Tue Sep 2 2008 kwizart <kwizart at gmail.com> - 3.43-4
- Fix pkgconfig support
* Tue Aug 12 2008 Michal Nowak <mnowak@redhat.com> - 3.43-2
- removed libev.a
- installing with "-p"
- event.h is removed intentionaly, because is there only for
backward compatibility with libevent
* Mon Aug 04 2008 Michal Nowak <mnowak@redhat.com> - 3.43-1
- initial package

Просмотреть файл

@ -9506,6 +9506,16 @@
}
}
},
{
"component": {
"type": "other",
"other": {
"name": "libecb",
"version": "9.30",
"downloadUrl": "http://cvs.schmorp.de/libecb/?view=tar&pathrev=rxvt-unicode-rel-9_30"
}
}
},
{
"component": {
"type": "other",
@ -9601,8 +9611,8 @@
"type": "other",
"other": {
"name": "libev",
"version": "4.24",
"downloadUrl": "http://dist.schmorp.de/libev/Attic/libev-4.24.tar.gz"
"version": "4.33",
"downloadUrl": "http://dist.schmorp.de/libev/Attic/libev-4.33.tar.gz"
}
}
},
@ -10306,6 +10316,16 @@
}
}
},
{
"component": {
"type": "other",
"other": {
"name": "liblzf",
"version": "3.6",
"downloadUrl": "http://dist.schmorp.de/liblzf/liblzf-3.6.tar.gz"
}
}
},
{
"component": {
"type": "other",
@ -16369,6 +16389,26 @@
}
}
},
{
"component": {
"type": "other",
"other": {
"name": "perl-AnyEvent-AIO",
"version": "1.1",
"downloadUrl": "https://cpan.metacpan.org/authors/id/M/ML/MLEHMANN/AnyEvent-AIO-1.1.tar.gz"
}
}
},
{
"component": {
"type": "other",
"other": {
"name": "perl-AnyEvent-BDB",
"version": "1.1",
"downloadUrl": "https://cpan.metacpan.org/authors/id/M/ML/MLEHMANN/AnyEvent-BDB-1.1.tar.gz"
}
}
},
{
"component": {
"type": "other",
@ -16489,6 +16529,16 @@
}
}
},
{
"component": {
"type": "other",
"other": {
"name": "perl-BDB",
"version": "1.92",
"downloadUrl": "https://cpan.metacpan.org/authors/id/M/ML/MLEHMANN/BDB-1.92.tar.gz"
}
}
},
{
"component": {
"type": "other",
@ -16499,6 +16549,16 @@
}
}
},
{
"component": {
"type": "other",
"other": {
"name": "perl-boolean",
"version": "0.46",
"downloadUrl": "https://cpan.metacpan.org/authors/id/I/IN/INGY/boolean-0.46.tar.gz"
}
}
},
{
"component": {
"type": "other",
@ -16569,6 +16629,16 @@
}
}
},
{
"component": {
"type": "other",
"other": {
"name": "perl-CBOR-XS",
"version": "1.86",
"downloadUrl": "https://cpan.metacpan.org/authors/id/M/ML/MLEHMANN/CBOR-XS-1.86.tar.gz"
}
}
},
{
"component": {
"type": "other",
@ -16709,6 +16779,66 @@
}
}
},
{
"component": {
"type": "other",
"other": {
"name": "perl-Color-ANSI-Util",
"version": "0.164",
"downloadUrl": "https://cpan.metacpan.org/authors/id/P/PE/PERLANCAR/Color-ANSI-Util-0.164.tar.gz"
}
}
},
{
"component": {
"type": "other",
"other": {
"name": "perl-Color-RGB-Util",
"version": "0.606",
"downloadUrl": "https://cpan.metacpan.org/authors/id/P/PE/PERLANCAR/Color-RGB-Util-0.606.tar.gz"
}
}
},
{
"component": {
"type": "other",
"other": {
"name": "perl-ColorThemeBase-Static",
"version": "0.008",
"downloadUrl": "https://cpan.metacpan.org/authors/id/P/PE/PERLANCAR/ColorThemeBase-Static-0.008.tar.gz"
}
}
},
{
"component": {
"type": "other",
"other": {
"name": "perl-ColorThemeRole-ANSI",
"version": "0.001",
"downloadUrl": "https://cpan.metacpan.org/authors/id/P/PE/PERLANCAR/ColorThemeRole-ANSI-0.001.tar.gz"
}
}
},
{
"component": {
"type": "other",
"other": {
"name": "perl-ColorThemes-Standard",
"version": "0.003",
"downloadUrl": "https://cpan.metacpan.org/authors/id/P/PE/PERLANCAR/ColorThemes-Standard-0.003.tar.gz"
}
}
},
{
"component": {
"type": "other",
"other": {
"name": "perl-ColorThemeUtil-ANSI",
"version": "0.002",
"downloadUrl": "https://cpan.metacpan.org/authors/id/P/PE/PERLANCAR/ColorThemeUtil-ANSI-0.002.tar.gz"
}
}
},
{
"component": {
"type": "other",
@ -16729,6 +16859,16 @@
}
}
},
{
"component": {
"type": "other",
"other": {
"name": "perl-Compress-LZF",
"version": "3.8",
"downloadUrl": "https://cpan.metacpan.org/modules/by-module/Compress/Compress-LZF-3.8.tar.gz"
}
}
},
{
"component": {
"type": "other",
@ -16819,6 +16959,36 @@
}
}
},
{
"component": {
"type": "other",
"other": {
"name": "perl-Convert-Bencode",
"version": "1.03",
"downloadUrl": "https://cpan.metacpan.org/modules/by-module/Convert/Convert-Bencode-1.03.tar.gz"
}
}
},
{
"component": {
"type": "other",
"other": {
"name": "perl-Coro",
"version": "6.570",
"downloadUrl": "https://cpan.metacpan.org/authors/id/M/ML/MLEHMANN/Coro-6.57.tar.gz"
}
}
},
{
"component": {
"type": "other",
"other": {
"name": "perl-Coro-Multicore",
"version": "1.07",
"downloadUrl": "https://cpan.metacpan.org/authors/id/M/ML/MLEHMANN/Coro-Multicore-1.07.tar.gz"
}
}
},
{
"component": {
"type": "other",
@ -16849,6 +17019,16 @@
}
}
},
{
"component": {
"type": "other",
"other": {
"name": "perl-Cpanel-JSON-XS",
"version": "4.27",
"downloadUrl": "https://cpan.metacpan.org/authors/id/R/RU/RURBAN/Cpanel-JSON-XS-4.27.tar.gz"
}
}
},
{
"component": {
"type": "other",
@ -17479,6 +17659,16 @@
}
}
},
{
"component": {
"type": "other",
"other": {
"name": "perl-EV",
"version": "4.33",
"downloadUrl": "https://cpan.metacpan.org/authors/id/M/ML/MLEHMANN/EV-4.33.tar.gz"
}
}
},
{
"component": {
"type": "other",
@ -17919,6 +18109,16 @@
}
}
},
{
"component": {
"type": "other",
"other": {
"name": "perl-Graphics-ColorNamesLite-WWW",
"version": "1.14.000",
"downloadUrl": "https://cpan.metacpan.org/authors/id/P/PE/PERLANCAR/Graphics-ColorNamesLite-WWW-1.14.000.tar.gz"
}
}
},
{
"component": {
"type": "other",
@ -18119,6 +18319,16 @@
}
}
},
{
"component": {
"type": "other",
"other": {
"name": "perl-IO-AIO",
"version": "4.76",
"downloadUrl": "https://cpan.metacpan.org/modules/by-module/IO/IO-AIO-4.76.tar.gz"
}
}
},
{
"component": {
"type": "other",
@ -18289,6 +18499,16 @@
}
}
},
{
"component": {
"type": "other",
"other": {
"name": "perl-JSON-MaybeXS",
"version": "1.004003",
"downloadUrl": "https://cpan.metacpan.org/modules/by-module/JSON/JSON-MaybeXS-1.004003.tar.gz"
}
}
},
{
"component": {
"type": "other",
@ -18719,6 +18939,16 @@
}
}
},
{
"component": {
"type": "other",
"other": {
"name": "perl-Module-Load-Util",
"version": "0.006",
"downloadUrl": "https://cpan.metacpan.org/authors/id/P/PE/PERLANCAR/Module-Load-Util-0.006.tar.gz"
}
}
},
{
"component": {
"type": "other",
@ -19589,6 +19819,16 @@
}
}
},
{
"component": {
"type": "other",
"other": {
"name": "perl-Regexp-Pattern-Perl",
"version": "0.006",
"downloadUrl": "https://cpan.metacpan.org/authors/id/P/PE/PERLANCAR/Regexp-Pattern-Perl-0.006.tar.gz"
}
}
},
{
"component": {
"type": "other",