From 1ba104a9651c61ec3fca4fd8d24461d455302d02 Mon Sep 17 00:00:00 2001 From: Jitka Plesnikova Date: Thu, 25 Aug 2022 16:42:59 +0200 Subject: [PATCH 1/4] Initial version --- perl-libwww-perl.yaml | 299 ++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 299 insertions(+) create mode 100644 perl-libwww-perl.yaml diff --git a/perl-libwww-perl.yaml b/perl-libwww-perl.yaml new file mode 100644 index 0000000..ccaca4b --- /dev/null +++ b/perl-libwww-perl.yaml @@ -0,0 +1,299 @@ +document: modulemd-packager +version: 3 +data: + name: perl-libwww-perl + stream: '6.67' + summary: A Perl interface to the World-Wide Web + description: > + The libwww-perl collection is a set of Perl modules which provide + a simple and consistent application programming interface to the + World-Wide Web. The main focus of the library is to provide classes + and functions that enable you to write WWW clients. The library also + contains modules that are of more general use and even classes that + help you implement simple HTTP servers. LWP::Protocol::https adds + a support for an HTTPS protocol. + license: [MIT] + configurations: + - context: 'f35p534' + platform: f35 + buildrequires: + perl: ['5.34'] + perl-IO-Socket-SSL: ['2.074'] + requires: + perl: ['5.34'] + perl-IO-Socket-SSL: ['2.074'] + buildopts: + rpms: + macros: | + %_without_perl_Clone_enables_optional_test 1 + %_without_perl_HTML_Tagset_enables_optional_test 1 + %_without_perl_HTTP_Daemon_enables_optional_test 1 + %_without_perl_NTLM_enables_optional_test 1 + %_without_perl_Test_Fatal_enables_extra_test 1 + %_without_perl_Test_Fatal_enables_optional_test 1 + %_without_perl_Try_Tiny_enables_optional_test 1 + - context: 'f36p534' + platform: f36 + buildrequires: + perl: ['5.34'] + perl-IO-Socket-SSL: ['2.074'] + requires: + perl: ['5.34'] + perl-IO-Socket-SSL: ['2.074'] + buildopts: + rpms: + macros: | + %_without_perl_Clone_enables_optional_test 1 + %_without_perl_HTML_Tagset_enables_optional_test 1 + %_without_perl_HTTP_Daemon_enables_optional_test 1 + %_without_perl_NTLM_enables_optional_test 1 + %_without_perl_Test_Fatal_enables_extra_test 1 + %_without_perl_Test_Fatal_enables_optional_test 1 + %_without_perl_Try_Tiny_enables_optional_test 1 + - context: 'f37p534' + platform: f37 + buildrequires: + perl: ['5.34'] + perl-IO-Socket-SSL: ['2.074'] + requires: + perl: ['5.34'] + perl-IO-Socket-SSL: ['2.074'] + buildopts: + rpms: + macros: | + %_without_perl_Clone_enables_optional_test 1 + %_without_perl_HTML_Tagset_enables_optional_test 1 + %_without_perl_HTTP_Daemon_enables_optional_test 1 + %_without_perl_NTLM_enables_optional_test 1 + %_without_perl_Test_Fatal_enables_extra_test 1 + %_without_perl_Test_Fatal_enables_optional_test 1 + %_without_perl_Try_Tiny_enables_optional_test 1 + - context: 'f38p534' + platform: f38 + buildrequires: + perl: ['5.34'] + perl-IO-Socket-SSL: ['2.074'] + requires: + perl: ['5.34'] + perl-IO-Socket-SSL: ['2.074'] + buildopts: + rpms: + macros: | + %_without_perl_Clone_enables_optional_test 1 + %_without_perl_HTML_Tagset_enables_optional_test 1 + %_without_perl_HTTP_Daemon_enables_optional_test 1 + %_without_perl_NTLM_enables_optional_test 1 + %_without_perl_Test_Fatal_enables_extra_test 1 + %_without_perl_Test_Fatal_enables_optional_test 1 + %_without_perl_Try_Tiny_enables_optional_test 1 + - context: 'f35p536' + platform: f35 + buildrequires: + perl: ['5.36'] + perl-IO-Socket-SSL: ['2.074'] + requires: + perl: ['5.36'] + perl-IO-Socket-SSL: ['2.074'] + buildopts: + rpms: + macros: | + %_without_perl_Clone_enables_optional_test 1 + %_without_perl_HTML_Tagset_enables_optional_test 1 + %_without_perl_HTTP_Daemon_enables_optional_test 1 + %_without_perl_NTLM_enables_optional_test 1 + %_without_perl_Test_Fatal_enables_extra_test 1 + %_without_perl_Test_Fatal_enables_optional_test 1 + %_without_perl_Try_Tiny_enables_optional_test 1 + - context: 'f36p536' + platform: f36 + buildrequires: + perl: ['5.36'] + perl-IO-Socket-SSL: ['2.074'] + requires: + perl: ['5.36'] + perl-IO-Socket-SSL: ['2.074'] + buildopts: + rpms: + macros: | + %_without_perl_Clone_enables_optional_test 1 + %_without_perl_HTML_Tagset_enables_optional_test 1 + %_without_perl_HTTP_Daemon_enables_optional_test 1 + %_without_perl_NTLM_enables_optional_test 1 + %_without_perl_Test_Fatal_enables_extra_test 1 + %_without_perl_Test_Fatal_enables_optional_test 1 + %_without_perl_Try_Tiny_enables_optional_test 1 + - context: 'f37p536' + platform: f37 + buildrequires: + perl: ['5.36'] + perl-IO-Socket-SSL: ['2.074'] + requires: + perl: ['5.36'] + perl-IO-Socket-SSL: ['2.074'] + buildopts: + rpms: + macros: | + %_without_perl_Clone_enables_optional_test 1 + %_without_perl_HTML_Tagset_enables_optional_test 1 + %_without_perl_HTTP_Daemon_enables_optional_test 1 + %_without_perl_NTLM_enables_optional_test 1 + %_without_perl_Test_Fatal_enables_extra_test 1 + %_without_perl_Test_Fatal_enables_optional_test 1 + %_without_perl_Try_Tiny_enables_optional_test 1 + - context: 'f38p536' + platform: f38 + buildrequires: + perl: ['5.36'] + perl-IO-Socket-SSL: ['2.074'] + requires: + perl: ['5.36'] + perl-IO-Socket-SSL: ['2.074'] + buildopts: + rpms: + macros: | + %_without_perl_Clone_enables_optional_test 1 + %_without_perl_HTML_Tagset_enables_optional_test 1 + %_without_perl_HTTP_Daemon_enables_optional_test 1 + %_without_perl_NTLM_enables_optional_test 1 + %_without_perl_Test_Fatal_enables_extra_test 1 + %_without_perl_Test_Fatal_enables_optional_test 1 + %_without_perl_Try_Tiny_enables_optional_test 1 + references: + community: https://metacpan.org/release/libwww-perl + profiles: + common: + description: LWP with HTTPS support + rpms: + - perl-libwww-perl + - perl-LWP-Protocol-https + api: + rpms: + - perl-libwww-perl + - perl-LWP-Protocol-https + filter: + rpms: + - perl-B-COW + - perl-ExtUtils-PkgConfig + - perl-HTML-Parser-tests + - perl-HTTP-Daemon + - perl-HTTP-Daemon-tests + - perl-HTTP-Message-tests + - perl-libwww-perl-tests + - perl-Net-HTTP-tests + - perl-Test-Fatal + - perl-Test-Needs + components: + rpms: + perl-B-COW: + rationale: A buil-time dependency. + ref: f37 + buildonly: true + buildorder: 0 + perl-Data-Dump: + rationale: A run-time dependency. + ref: f37 + buildorder: 0 + perl-Digest-HMAC: + rationale: A run-time dependency. + ref: f37 + buildorder: 0 + perl-Encode-Locale: + rationale: A run-time dependency. + ref: f37 + buildorder: 0 + perl-ExtUtils-PkgConfig: + rationale: A build dependency for perl-IO-Compress-Brotli. + ref: f37 + buildonly: true + buildorder: 0 + perl-HTML-Tagset: + rationale: A run-time dependency. + ref: f37 + buildorder: 0 + perl-HTTP-Date: + rationale: A run-time dependency. + ref: f37 + buildorder: 0 + perl-IO-HTML: + rationale: A run-time dependency. + ref: f37 + buildorder: 0 + perl-Mozilla-CA: + rationale: A run-time dependency. + ref: f37 + buildorder: 0 + perl-Net-HTTP: + rationale: A run-time dependency. + ref: f37 + buildorder: 0 + perl-Test-Needs: + rationale: A build dependency. + ref: f37 + buildonly: true + buildorder: 0 + perl-TimeDate: + rationale: A run-time dependency. + ref: f37 + buildorder: 0 + perl-Try-Tiny: + rationale: A run-time dependency. + ref: f37 + buildorder: 0 + perl-WWW-RobotRules: + rationale: A run-time dependency. + ref: f37 + buildorder: 0 + perl-Clone: + rationale: A recommended run-time dependency. + ref: f37 + buildorder: 1 + perl-File-Listing: + rationale: A run-time dependency. + ref: f37 + buildorder: 1 + perl-IO-Compress-Brotli: + rationale: A run-time dependency. + ref: f37 + buildorder: 1 + perl-NTLM: + rationale: A run-time dependency. + ref: f37 + buildorder: 1 + perl-Test-Fatal: + rationale: A build dependency. + ref: f37 + buildonly: true + buildorder: 1 + perl-LWP-MediaTypes: + rationale: A run-time dependency. + ref: f37 + buildorder: 2 + perl-HTTP-Message: + rationale: A run-time dependency. + ref: f37 + buildorder: 3 + perl-HTML-Parser: + rationale: A run-time dependency. + ref: f37 + buildorder: 4 + perl-HTTP-Cookies: + rationale: A run-time dependency. + ref: f37 + buildorder: 4 + perl-HTTP-Daemon: + rationale: A build dependency. + ref: f37 + buildonly: true + buildorder: 4 + perl-HTTP-Negotiate: + rationale: A run-time dependency. + ref: f37 + buildorder: 4 + perl-libwww-perl: + rationale: The API. + ref: f37 + buildorder: 5 + perl-LWP-Protocol-https: + rationale: The API. + ref: f37 + buildorder: 6 From 12ca2bcba787765fc2530ed9f1c01989ed35d3be Mon Sep 17 00:00:00 2001 From: Jitka Plesnikova Date: Sun, 28 Aug 2022 22:31:20 +0200 Subject: [PATCH 2/4] Initial version on module --- perl-libwww-perl.yaml | 57 ++++++++++++++++++++++++++++++++++--------- 1 file changed, 45 insertions(+), 12 deletions(-) diff --git a/perl-libwww-perl.yaml b/perl-libwww-perl.yaml index ccaca4b..bee65bd 100644 --- a/perl-libwww-perl.yaml +++ b/perl-libwww-perl.yaml @@ -31,6 +31,7 @@ data: %_without_perl_NTLM_enables_optional_test 1 %_without_perl_Test_Fatal_enables_extra_test 1 %_without_perl_Test_Fatal_enables_optional_test 1 + %_without_perl_Test_Warnings_enables_optional_test 1 %_without_perl_Try_Tiny_enables_optional_test 1 - context: 'f36p534' platform: f36 @@ -49,6 +50,7 @@ data: %_without_perl_NTLM_enables_optional_test 1 %_without_perl_Test_Fatal_enables_extra_test 1 %_without_perl_Test_Fatal_enables_optional_test 1 + %_without_perl_Test_Warnings_enables_optional_test 1 %_without_perl_Try_Tiny_enables_optional_test 1 - context: 'f37p534' platform: f37 @@ -67,6 +69,7 @@ data: %_without_perl_NTLM_enables_optional_test 1 %_without_perl_Test_Fatal_enables_extra_test 1 %_without_perl_Test_Fatal_enables_optional_test 1 + %_without_perl_Test_Warnings_enables_optional_test 1 %_without_perl_Try_Tiny_enables_optional_test 1 - context: 'f38p534' platform: f38 @@ -85,6 +88,7 @@ data: %_without_perl_NTLM_enables_optional_test 1 %_without_perl_Test_Fatal_enables_extra_test 1 %_without_perl_Test_Fatal_enables_optional_test 1 + %_without_perl_Test_Warnings_enables_optional_test 1 %_without_perl_Try_Tiny_enables_optional_test 1 - context: 'f35p536' platform: f35 @@ -103,6 +107,7 @@ data: %_without_perl_NTLM_enables_optional_test 1 %_without_perl_Test_Fatal_enables_extra_test 1 %_without_perl_Test_Fatal_enables_optional_test 1 + %_without_perl_Test_Warnings_enables_optional_test 1 %_without_perl_Try_Tiny_enables_optional_test 1 - context: 'f36p536' platform: f36 @@ -121,6 +126,7 @@ data: %_without_perl_NTLM_enables_optional_test 1 %_without_perl_Test_Fatal_enables_extra_test 1 %_without_perl_Test_Fatal_enables_optional_test 1 + %_without_perl_Test_Warnings_enables_optional_test 1 %_without_perl_Try_Tiny_enables_optional_test 1 - context: 'f37p536' platform: f37 @@ -139,6 +145,7 @@ data: %_without_perl_NTLM_enables_optional_test 1 %_without_perl_Test_Fatal_enables_extra_test 1 %_without_perl_Test_Fatal_enables_optional_test 1 + %_without_perl_Test_Warnings_enables_optional_test 1 %_without_perl_Try_Tiny_enables_optional_test 1 - context: 'f38p536' platform: f38 @@ -157,6 +164,7 @@ data: %_without_perl_NTLM_enables_optional_test 1 %_without_perl_Test_Fatal_enables_extra_test 1 %_without_perl_Test_Fatal_enables_optional_test 1 + %_without_perl_Test_Warnings_enables_optional_test 1 %_without_perl_Try_Tiny_enables_optional_test 1 references: community: https://metacpan.org/release/libwww-perl @@ -180,8 +188,10 @@ data: - perl-HTTP-Message-tests - perl-libwww-perl-tests - perl-Net-HTTP-tests + - perl-Sub-Uplevel - perl-Test-Fatal - perl-Test-Needs + - perl-Test-Warnings components: rpms: perl-B-COW: @@ -202,7 +212,7 @@ data: ref: f37 buildorder: 0 perl-ExtUtils-PkgConfig: - rationale: A build dependency for perl-IO-Compress-Brotli. + rationale: A build dependency. ref: f37 buildonly: true buildorder: 0 @@ -226,11 +236,21 @@ data: rationale: A run-time dependency. ref: f37 buildorder: 0 + perl-Sub-Uplevel: + rationale: A build dependency. + ref: f37 + buildonly: true + buildorder: 0 perl-Test-Needs: rationale: A build dependency. ref: f37 buildonly: true buildorder: 0 + perl-Test-Warnings: + rationale: A build dependency. + ref: f37 + buildonly: true + buildorder: 0 perl-TimeDate: rationale: A run-time dependency. ref: f37 @@ -251,10 +271,6 @@ data: rationale: A run-time dependency. ref: f37 buildorder: 1 - perl-IO-Compress-Brotli: - rationale: A run-time dependency. - ref: f37 - buildorder: 1 perl-NTLM: rationale: A run-time dependency. ref: f37 @@ -264,36 +280,53 @@ data: ref: f37 buildonly: true buildorder: 1 + perl-Test-Exception: + rationale: A build dependency. + ref: f37 + buildonly: true + buildorder: 1 perl-LWP-MediaTypes: rationale: A run-time dependency. ref: f37 buildorder: 2 - perl-HTTP-Message: + perl-PerlIO-utf8_strict: + rationale: A run-time dependency. + ref: f37 + buildorder: 2 + perl-File-Slurper: rationale: A run-time dependency. ref: f37 buildorder: 3 + perl-IO-Compress-Brotli: + rationale: A run-time dependency. + ref: f37 + buildorder: 4 + perl-HTTP-Message: + rationale: A run-time dependency. + ref: f37 + buildorder: 5 perl-HTML-Parser: rationale: A run-time dependency. ref: f37 - buildorder: 4 + buildorder: 6 perl-HTTP-Cookies: rationale: A run-time dependency. ref: f37 - buildorder: 4 + buildorder: 6 perl-HTTP-Daemon: rationale: A build dependency. ref: f37 buildonly: true - buildorder: 4 + buildorder: 6 perl-HTTP-Negotiate: rationale: A run-time dependency. ref: f37 - buildorder: 4 + buildorder: 6 perl-libwww-perl: rationale: The API. ref: f37 - buildorder: 5 + buildorder: 7 perl-LWP-Protocol-https: rationale: The API. ref: f37 - buildorder: 6 + buildorder: 8 From dfdd38a939a7fcaf9f0b8d4c08434659f938dc11 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Petr=20P=C3=ADsa=C5=99?= Date: Mon, 20 Feb 2023 09:29:48 +0100 Subject: [PATCH 3/4] Add contexts for Fedora 39 --- perl-libwww-perl.yaml | 38 ++++++++++++++++++++++++++++++++++++++ 1 file changed, 38 insertions(+) diff --git a/perl-libwww-perl.yaml b/perl-libwww-perl.yaml index bee65bd..2c2a380 100644 --- a/perl-libwww-perl.yaml +++ b/perl-libwww-perl.yaml @@ -90,6 +90,25 @@ data: %_without_perl_Test_Fatal_enables_optional_test 1 %_without_perl_Test_Warnings_enables_optional_test 1 %_without_perl_Try_Tiny_enables_optional_test 1 + - context: 'f39p534' + platform: f39 + buildrequires: + perl: ['5.34'] + perl-IO-Socket-SSL: ['2.074'] + requires: + perl: ['5.34'] + perl-IO-Socket-SSL: ['2.074'] + buildopts: + rpms: + macros: | + %_without_perl_Clone_enables_optional_test 1 + %_without_perl_HTML_Tagset_enables_optional_test 1 + %_without_perl_HTTP_Daemon_enables_optional_test 1 + %_without_perl_NTLM_enables_optional_test 1 + %_without_perl_Test_Fatal_enables_extra_test 1 + %_without_perl_Test_Fatal_enables_optional_test 1 + %_without_perl_Test_Warnings_enables_optional_test 1 + %_without_perl_Try_Tiny_enables_optional_test 1 - context: 'f35p536' platform: f35 buildrequires: @@ -166,6 +185,25 @@ data: %_without_perl_Test_Fatal_enables_optional_test 1 %_without_perl_Test_Warnings_enables_optional_test 1 %_without_perl_Try_Tiny_enables_optional_test 1 + - context: 'f39p536' + platform: f39 + buildrequires: + perl: ['5.36'] + perl-IO-Socket-SSL: ['2.074'] + requires: + perl: ['5.36'] + perl-IO-Socket-SSL: ['2.074'] + buildopts: + rpms: + macros: | + %_without_perl_Clone_enables_optional_test 1 + %_without_perl_HTML_Tagset_enables_optional_test 1 + %_without_perl_HTTP_Daemon_enables_optional_test 1 + %_without_perl_NTLM_enables_optional_test 1 + %_without_perl_Test_Fatal_enables_extra_test 1 + %_without_perl_Test_Fatal_enables_optional_test 1 + %_without_perl_Test_Warnings_enables_optional_test 1 + %_without_perl_Try_Tiny_enables_optional_test 1 references: community: https://metacpan.org/release/libwww-perl profiles: From 202dde5b2cf4da30c6257345bc159859585f194a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Petr=20P=C3=ADsa=C5=99?= Date: Mon, 20 Feb 2023 09:30:18 +0100 Subject: [PATCH 4/4] Remove contexts for Fedora 35 --- perl-libwww-perl.yaml | 38 -------------------------------------- 1 file changed, 38 deletions(-) diff --git a/perl-libwww-perl.yaml b/perl-libwww-perl.yaml index 2c2a380..6a6262d 100644 --- a/perl-libwww-perl.yaml +++ b/perl-libwww-perl.yaml @@ -14,25 +14,6 @@ data: a support for an HTTPS protocol. license: [MIT] configurations: - - context: 'f35p534' - platform: f35 - buildrequires: - perl: ['5.34'] - perl-IO-Socket-SSL: ['2.074'] - requires: - perl: ['5.34'] - perl-IO-Socket-SSL: ['2.074'] - buildopts: - rpms: - macros: | - %_without_perl_Clone_enables_optional_test 1 - %_without_perl_HTML_Tagset_enables_optional_test 1 - %_without_perl_HTTP_Daemon_enables_optional_test 1 - %_without_perl_NTLM_enables_optional_test 1 - %_without_perl_Test_Fatal_enables_extra_test 1 - %_without_perl_Test_Fatal_enables_optional_test 1 - %_without_perl_Test_Warnings_enables_optional_test 1 - %_without_perl_Try_Tiny_enables_optional_test 1 - context: 'f36p534' platform: f36 buildrequires: @@ -109,25 +90,6 @@ data: %_without_perl_Test_Fatal_enables_optional_test 1 %_without_perl_Test_Warnings_enables_optional_test 1 %_without_perl_Try_Tiny_enables_optional_test 1 - - context: 'f35p536' - platform: f35 - buildrequires: - perl: ['5.36'] - perl-IO-Socket-SSL: ['2.074'] - requires: - perl: ['5.36'] - perl-IO-Socket-SSL: ['2.074'] - buildopts: - rpms: - macros: | - %_without_perl_Clone_enables_optional_test 1 - %_without_perl_HTML_Tagset_enables_optional_test 1 - %_without_perl_HTTP_Daemon_enables_optional_test 1 - %_without_perl_NTLM_enables_optional_test 1 - %_without_perl_Test_Fatal_enables_extra_test 1 - %_without_perl_Test_Fatal_enables_optional_test 1 - %_without_perl_Test_Warnings_enables_optional_test 1 - %_without_perl_Try_Tiny_enables_optional_test 1 - context: 'f36p536' platform: f36 buildrequires: