public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
From: Paul Howarth <paul@city-fan.org>
To: git-commits@fedoraproject.org
Subject: [rpms/perl-Config-General] epel9: Spec tidy-up
Date: Tue, 17 Nov 2026 18:07:52 GMT [thread overview]
Message-ID: <179493887281.1.5514957805320954185.rpms-perl-Config-General-56631b8201b2@fedoraproject.org> (raw)
A new commit has been pushed.
Repo : rpms/perl-Config-General
Branch : epel9
Commit : 56631b8201b2a35ef6bf5051739c0f00adb9b19f
Author : Paul Howarth <paul@city-fan.org>
Date : 2022-04-10T13:59:35+01:00
Stats : +90/-33 in 2 file(s)
URL : https://src.fedoraproject.org/rpms/perl-Config-General/c/56631b8201b2a35ef6bf5051739c0f00adb9b19f?branch=epel9
Log:
Spec tidy-up
- Use author-independent source URL
- Re-format %description to wrap at 80 columns
- Use patch rather than scripted iconv to fix Changelog character encoding
- Drop redundant buildroot cleaning in %install section
- Simplify find command using -delete
- Fix permissions verbosely
- Make %files list more explicit
---
diff --git a/perl-Config-General-2.63-utf8.patch b/perl-Config-General-2.63-utf8.patch
new file mode 100644
index 0000000..cfdfb4a
--- /dev/null
+++ b/perl-Config-General-2.63-utf8.patch
@@ -0,0 +1,42 @@
+--- Changelog.iso-8859-1
++++ Changelog
+@@ -60,7 +60,7 @@
+ Currently available hooks are:
+ pre_open, pre_read, post_read, pre_parse_value, post_parse_value
+
+- - applied patch by Ville Skytt�, spelling fixes.
++ - applied patch by Ville Skyttä, spelling fixes.
+
+ - fixed rt.cpan.org#85080, more spelling fixes.
+
+@@ -175,7 +175,7 @@
+ - fixed bug in config loader for FileHandle objects, it
+ supports now any compatible object. Hint by Ingo Schmiegel.
+
+- - applied spelling- and speedup patches by Ville Skytt�.
++ - applied spelling- and speedup patches by Ville Skyttä.
+
+ - applied documentation patch by Jordan Macdonald.
+
+@@ -514,10 +514,10 @@
+ </directory>
+
+ - fixed Makefile.PL: it cleans now files generated by 'make test'
+- properly. reported by: Dagfinn Ilmari Manns�ker <ilmari@ilmari.org>
++ properly. reported by: Dagfinn Ilmari Mannsåker <ilmari@ilmari.org>
+
+ - updated MANIFEST (in fact I did this some years ago the last time!)
+- also reported by: Dagfinn Ilmari Manns�ker <ilmari@ilmari.org>
++ also reported by: Dagfinn Ilmari Mannsåker <ilmari@ilmari.org>
+
+
+ 2.24
+@@ -1015,7 +1015,7 @@
+ # perl-master-file: ../../webmin/index.pl ***
+ # End: ***
+
+-rangeh�ngt, damit ich mit C-c d das debugging von jedem File aus
++rangehängt, damit ich mit C-c d das debugging von jedem File aus
+ einschalten kann
+ (siehe mein .emacs file)
+ ----------------------------
diff --git a/perl-Config-General.spec b/perl-Config-General.spec
index e345823..4d1e262 100644
--- a/perl-Config-General.spec
+++ b/perl-Config-General.spec
@@ -1,20 +1,19 @@
Name: perl-Config-General
Version: 2.63
-Release: 17%{?dist}
+Release: 18%{?dist}
Summary: Generic configuration module for Perl
-
License: GPL+ or Artistic
URL: https://metacpan.org/release/Config-General
-Source0: https://cpan.metacpan.org/authors/id/T/TL/TLINDEN/Config-General-%{version}.tar.gz
-Patch0: %{name}-2.50-system-ixhash.patch
-
+Source0: https://cpan.metacpan.org/modules/by-module/Config/Config-General-%{version}.tar.gz
+Patch0: perl-Config-General-2.50-system-ixhash.patch
+Patch1: perl-Config-General-2.63-utf8.patch
BuildArch: noarch
+# Build:
BuildRequires: coreutils
-BuildRequires: glibc-common
BuildRequires: findutils
BuildRequires: make
-BuildRequires: perl-interpreter
BuildRequires: perl-generators
+BuildRequires: perl-interpreter
BuildRequires: perl(ExtUtils::MakeMaker)
# Run-time:
BuildRequires: perl(base)
@@ -30,47 +29,51 @@ BuildRequires: perl(IO::File)
BuildRequires: perl(strict)
BuildRequires: perl(vars)
BuildRequires: perl(warnings)
-# Tests:
+# Test Suite:
BuildRequires: perl(Data::Dumper)
BuildRequires: perl(Test::More)
BuildRequires: perl(Tie::IxHash)
-Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version))
+# Dependencies:
+Requires: perl(:MODULE_COMPAT_%(eval "`perl -V:version`"; echo $version))
%description
-This module opens a config file and parses its contents for
-you. After parsing the module returns a hash structure which contains
-the representation of the config file.
-The format of config files supported by Config::General is inspired by
-the well known Apache config format, in fact, this module is 100%
-read-compatible with Apache config files, but you can also just use simple
-name/value pairs in your config files.
-In addition to the capabilities of an Apache config file it supports
-some enhancements such as here-documents, C-style comments or
-multiline options. It is also possible to save the config back to
-disk, which makes the module a perfect backend for configuration
-interfaces.
-It is possible to use variables in config files and there exists also
-support for object oriented access to the configuration.
+This module opens a config file and parses its contents for you. After parsing
+the module returns a hash structure that contains the representation of the
+config file.
+
+The format of config files supported by Config::General is inspired by the well
+known Apache config format: in fact, this module is 100%% read-compatible with
+Apache config files, but you can also just use simple name/value pairs in your
+config files.
+
+In addition to the capabilities of an Apache config file, it supports some
+enhancements such as here-documents, C-style comments or multi-line options. It
+is also possible to save the config back to disk, which makes the module a
+perfect back-end for configuration interfaces. It is possible to use variables
+in config files and there also exists support for object oriented access to the
+configuration.
%prep
%setup -q -n Config-General-%{version}
+
+# Use system-packaged version of Tie::IxHash rather than the bundled one
+rm -r t/Tie
%patch0 -p1
-rm -r t/Tie # see patch0
-f=Changelog ; iconv -f iso-8859-1 -t utf-8 -o $f.utf8 $f ; mv $f.utf8 $f
+
+# Re-code Changelog to UTF8
+%patch1
%build
-%{__perl} Makefile.PL INSTALLDIRS=vendor
+perl Makefile.PL INSTALLDIRS=vendor
make %{?_smp_mflags}
%install
-rm -rf $RPM_BUILD_ROOT
-make pure_install DESTDIR=$RPM_BUILD_ROOT
-find $RPM_BUILD_ROOT -type f -name .packlist -exec rm -f {} ';'
-find $RPM_BUILD_ROOT -depth -type d -exec rmdir {} 2>/dev/null ';'
-%{_fixperms} $RPM_BUILD_ROOT/*
+make pure_install DESTDIR=%{buildroot}
+find %{buildroot} -type f -name .packlist -delete
+%{_fixperms} -c %{buildroot}
%check
@@ -79,12 +82,24 @@ make test
%files
-%doc Changelog README example.cfg
+%doc Changelog example.cfg README
%{perl_vendorlib}/Config/
-%{_mandir}/man3/Config::*.3*
+%{_mandir}/man3/Config::General.3*
+%{_mandir}/man3/Config::General::Extended.3*
+%{_mandir}/man3/Config::General::Interpolated.3*
%changelog
+* Sun Apr 10 2022 Paul Howarth <paul@city-fan.org> - 2.63-18
+- Spec tidy-up
+ - Use author-independent source URL
+ - Re-format %%description to wrap at 80 columns
+ - Use patch rather than scripted iconv to fix Changelog character encoding
+ - Drop redundant buildroot cleaning in %%install section
+ - Simplify find command using -delete
+ - Fix permissions verbosely
+ - Make %%files list more explicit
+
* Fri Jan 21 2022 Fedora Release Engineering <releng@fedoraproject.org> - 2.63-17
- Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild
reply other threads:[~2026-11-17 18:07 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=179493887281.1.5514957805320954185.rpms-perl-Config-General-56631b8201b2@fedoraproject.org \
--to=paul@city-fan.org \
--cc=git-commits@fedoraproject.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox