[perl] Move macro files into %{_rpmconfigdir}/macros.d
by Petr Pisar
commit 81968d99494027f9a9417d569cf41cf9f0e4ceef
Author: Petr Písař <ppisar(a)redhat.com>
Date: Mon Feb 3 16:10:56 2014 +0100
Move macro files into %{_rpmconfigdir}/macros.d
%{_rpmconfigdir} is available since RPM 4.11.
perl.spec | 17 ++++++++++-------
1 files changed, 10 insertions(+), 7 deletions(-)
---
diff --git a/perl.spec b/perl.spec
index 046c461..285e6bd 100644
--- a/perl.spec
+++ b/perl.spec
@@ -10,8 +10,8 @@
%global dual_life 0
%global rebuild_from_scratch 0
-# This overrides filters from build root (/etc/rpm/macros.perl)
-# intentionally (unversioned perl(DB) is removed and versioned one is kept)
+# This overrides filters from build root (/usr/lib/rpm/macros.d/macros.perl)
+# intentionally (unversioned perl(DB) is removed and versioned one is kept).
# Filter provides from *.pl files, bug #924938
%global __provides_exclude_from .*%{_docdir}|.*%{perl_archlib}/.*\\.pl$|.*%{perl_privlib}/.*\\.pl$
%global __requires_exclude_from %{_docdir}
@@ -19,7 +19,7 @@
# unicore::Name - it's needed by perl, maybe problem of rpm
# FCGI is external dependency after install of perl-CGI, remove it during RC releases
%global __requires_exclude perl\\((VMS|BSD::|Win32|Tk|Mac::|Your::Module::Here|unicore::Name|FCGI)
-# same as we provide in /etc/rpm/macros.perl
+# same as we provide in /usr/lib/rpm/macros.d/macros.perl
%global perl5_testdir %{_libexecdir}/perl5-tests
# We can bootstrap without gdbm
@@ -30,7 +30,7 @@
Name: perl
Version: %{perl_version}
# release number must be even higher, because dual-lived modules will be broken otherwise
-Release: 295%{?dist}
+Release: 296%{?dist}
Epoch: %{perl_epoch}
Summary: Practical Extraction and Report Language
Group: Development/Languages
@@ -2104,8 +2104,8 @@ install -p -m 644 %{SOURCE2} %{build_privlib}/Net/libnet.cfg
#
# perl RPM macros
#
-mkdir -p ${RPM_BUILD_ROOT}%{_sysconfdir}/rpm
-install -p -m 644 %{SOURCE3} ${RPM_BUILD_ROOT}%{_sysconfdir}/rpm/
+mkdir -p ${RPM_BUILD_ROOT}%{_rpmconfigdir}/macros.d
+install -p -m 644 %{SOURCE3} ${RPM_BUILD_ROOT}%{_rpmconfigdir}/macros.d/
#
# Core modules removal
@@ -2831,7 +2831,7 @@ sed \
%doc perl-example.stp
%files macros
-%attr(0644,root,root) %{_sysconfdir}/rpm/macros.perl
+%{_rpmconfigdir}/macros.d/macros.perl
%files tests
%{perl5_testdir}/
@@ -3604,6 +3604,9 @@ sed \
# Old changelog entries are preserved in CVS.
%changelog
+* Mon Feb 03 2014 Petr Pisar <ppisar(a)redhat.com> - 4:5.18.2-296
+- Move macro files into %%{_rpmconfigdir}/macros.d
+
* Wed Jan 29 2014 Petr Pisar <ppisar(a)redhat.com> - 4:5.18.2-295
- Provide perl(CPAN::Meta::Requirements) with six decimal places
10 years, 4 months
[perl-Log-Report-Optional] Import
by Petr Pisar
commit 149f5457e3861b299446f18f7efd4abda9fc7ff0
Author: Petr Písař <ppisar(a)redhat.com>
Date: Mon Feb 3 16:45:18 2014 +0100
Import
.gitignore | 1 +
perl-Log-Report-Optional.spec | 60 +++++++++++++++++++++++++++++++++++++++++
sources | 1 +
3 files changed, 62 insertions(+), 0 deletions(-)
---
diff --git a/.gitignore b/.gitignore
index e69de29..45b58ff 100644
--- a/.gitignore
+++ b/.gitignore
@@ -0,0 +1 @@
+/Log-Report-Optional-1.00.tar.gz
diff --git a/perl-Log-Report-Optional.spec b/perl-Log-Report-Optional.spec
new file mode 100644
index 0000000..bd534cc
--- /dev/null
+++ b/perl-Log-Report-Optional.spec
@@ -0,0 +1,60 @@
+Name: perl-Log-Report-Optional
+Version: 1.00
+Release: 1%{?dist}
+Summary: Base class for large Log::Report and simple Log::Report::Minimal
+License: GPL+ or Artistic
+Group: Development/Libraries
+URL: http://search.cpan.org/dist/Log-Report-Optional/
+Source0: http://www.cpan.org/authors/id/M/MA/MARKOV/Log-Report-Optional-%{version}...
+BuildArch: noarch
+BuildRequires: perl
+BuildRequires: perl(ExtUtils::MakeMaker)
+# Run-time:
+BuildRequires: perl(base)
+BuildRequires: perl(Exporter)
+BuildRequires: perl(List::Util)
+BuildRequires: perl(strict)
+BuildRequires: perl(String::Print) >= 0.13
+BuildRequires: perl(vars)
+BuildRequires: perl(warnings)
+# Tests:
+BuildRequires: perl(Test::More) >= 0.86
+Requires: perl(:MODULE_COMPAT_%(eval "`perl -V:version`"; echo $version))
+Requires: perl(String::Print) >= 0.13
+# This package is a sprout of perl-Log-Report. It replaces part of
+# perl-Log-Report-0.998 and it's required by perl-Log-Report >= 1.01.
+Conflicts: perl-Log-Report < 0.999
+
+# Filter under-specified dependencies
+%global __requires_exclude %{?__requires_exclude:%__requires_exclude|}^perl\\(String::Print\\)$
+
+%description
+This module will allow libraries (helper modules) to have a dependency to a
+small module instead of the full Log-Report distribution. The full power of
+Log::Report is only released when the main program uses that module. In
+that case, the module using the 'Optional' will also use the full
+Log::Report, otherwise the dressed-down Log::Report::Minimal version.
+
+%prep
+%setup -q -n Log-Report-Optional-%{version}
+
+%build
+perl Makefile.PL INSTALLDIRS=vendor
+make %{?_smp_mflags}
+
+%install
+make pure_install DESTDIR=$RPM_BUILD_ROOT
+find $RPM_BUILD_ROOT -type f -name .packlist -exec rm -f {} \;
+%{_fixperms} $RPM_BUILD_ROOT/*
+
+%check
+make test
+
+%files
+%doc ChangeLog README
+%{perl_vendorlib}/*
+%{_mandir}/man3/*
+
+%changelog
+* Fri Jan 31 2014 Petr Pisar <ppisar(a)redhat.com> 1.00-1
+- Specfile autogenerated by cpanspec 1.78.
diff --git a/sources b/sources
index e69de29..aa589fd 100644
--- a/sources
+++ b/sources
@@ -0,0 +1 @@
+19ac502fd361dac0fceab7cb9d1e7dbe Log-Report-Optional-1.00.tar.gz
10 years, 4 months
[perl-DateTime-TimeZone-SystemV] Update to 0.009
by Paul Howarth
commit d71eaad9d821b573d2f88dc23ea2abd8aa695f42
Author: Paul Howarth <paul(a)city-fan.org>
Date: Mon Feb 3 15:40:54 2014 +0000
Update to 0.009
- New upstream release 0.009
- In META.{yml,json}, point to public git repository
- Bugfix: permit time of day for a DST change to extend up to 24:59:59,
which POSIX (unclearly) permits and is actually seen in the current
rule for timezone Asia/Amman
- Support the extended form of the recipe syntax that is used by
version 3 of the tzfile(5) file format
- Bugfix: correct ->offset_for_local_datetime for perpetual-DST ruleset
that can arise with the tzfile3 system
- Don't need to remove empty directories from the buildroot
.gitignore | 3 +--
perl-DateTime-TimeZone-SystemV.spec | 17 ++++++++++++++---
sources | 2 +-
3 files changed, 16 insertions(+), 6 deletions(-)
---
diff --git a/.gitignore b/.gitignore
index e863367..7379f7a 100644
--- a/.gitignore
+++ b/.gitignore
@@ -1,2 +1 @@
-/DateTime-TimeZone-SystemV-0.005.tar.gz
-/DateTime-TimeZone-SystemV-0.006.tar.gz
+/DateTime-TimeZone-SystemV-[0-9.]*.tar.gz
diff --git a/perl-DateTime-TimeZone-SystemV.spec b/perl-DateTime-TimeZone-SystemV.spec
index cabd6b8..32ea416 100644
--- a/perl-DateTime-TimeZone-SystemV.spec
+++ b/perl-DateTime-TimeZone-SystemV.spec
@@ -1,6 +1,6 @@
Name: perl-DateTime-TimeZone-SystemV
-Version: 0.006
-Release: 6%{?dist}
+Version: 0.009
+Release: 1%{?dist}
Summary: System V and POSIX timezone strings
License: GPL+ or Artistic
Group: Development/Libraries
@@ -39,7 +39,6 @@ can be used with DateTime objects.
%install
./Build install destdir=%{buildroot} create_packlist=0
-find %{buildroot} -depth -type d -exec rmdir {} 2>/dev/null \;
%{_fixperms} %{buildroot}/*
@@ -52,6 +51,18 @@ find %{buildroot} -depth -type d -exec rmdir {} 2>/dev/null \;
%{_mandir}/man3/*
%changelog
+* Mon Feb 3 2014 Paul Howarth <paul(a)city-fan.org> - 0.009-1
+- Update to 0.009
+ - In META.{yml,json}, point to public git repository
+ - Bugfix: permit time of day for a DST change to extend up to 24:59:59,
+ which POSIX (unclearly) permits and is actually seen in the current
+ rule for timezone Asia/Amman
+ - Support the extended form of the recipe syntax that is used by
+ version 3 of the tzfile(5) file format
+ - Bugfix: correct ->offset_for_local_datetime for perpetual-DST ruleset
+ that can arise with the tzfile3 system
+- Don't need to remove empty directories from the buildroot
+
* Sat Aug 03 2013 Fedora Release Engineering <rel-eng(a)lists.fedoraproject.org> - 0.006-6
- Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild
diff --git a/sources b/sources
index c89d7e0..6d65e68 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-ab33e9d1cfb688de84e278330ddd5886 DateTime-TimeZone-SystemV-0.006.tar.gz
+9e5f8e93ab09f7c53a59ce76717df93e DateTime-TimeZone-SystemV-0.009.tar.gz
10 years, 4 months
[perl-String-Print] Import
by Petr Pisar
commit 1cf6bb4e04cc25cc3f106f7c619cec50bc283553
Author: Petr Písař <ppisar(a)redhat.com>
Date: Mon Feb 3 16:19:10 2014 +0100
Import
.gitignore | 1 +
perl-String-Print.spec | 53 ++++++++++++++++++++++++++++++++++++++++++++++++
sources | 1 +
3 files changed, 55 insertions(+), 0 deletions(-)
---
diff --git a/.gitignore b/.gitignore
index e69de29..c33095f 100644
--- a/.gitignore
+++ b/.gitignore
@@ -0,0 +1 @@
+/String-Print-0.13.tar.gz
diff --git a/perl-String-Print.spec b/perl-String-Print.spec
new file mode 100644
index 0000000..900e33b
--- /dev/null
+++ b/perl-String-Print.spec
@@ -0,0 +1,53 @@
+Name: perl-String-Print
+Version: 0.13
+Release: 1%{?dist}
+Summary: Alternative for Perl printf
+License: GPL+ or Artistic
+Group: Development/Libraries
+URL: http://search.cpan.org/dist/String-Print/
+Source0: http://www.cpan.org/authors/id/M/MA/MARKOV/String-Print-%{version}.tar.gz
+BuildArch: noarch
+BuildRequires: perl
+BuildRequires: perl(ExtUtils::MakeMaker)
+# Run-time:
+BuildRequires: perl(Encode)
+BuildRequires: perl(locale)
+BuildRequires: perl(strict)
+BuildRequires: perl(Unicode::GCString)
+BuildRequires: perl(vars)
+BuildRequires: perl(warnings)
+# Tests:
+BuildRequires: perl(POSIX)
+BuildRequires: perl(Test::More) >= 0.86
+BuildRequires: perl(utf8)
+Requires: perl(:MODULE_COMPAT_%(eval "`perl -V:version`"; echo $version))
+
+%description
+This module inserts values into (translated) strings. It provides printf
+and sprintf alternatives via both an object oriented and a functional
+interface. It supports translation, user-defined non-string value
+serialization, user-defined modifiers, and correct Unicode string padding.
+
+%prep
+%setup -q -n String-Print-%{version}
+
+%build
+perl Makefile.PL INSTALLDIRS=vendor
+make %{?_smp_mflags}
+
+%install
+make pure_install DESTDIR=$RPM_BUILD_ROOT
+find $RPM_BUILD_ROOT -type f -name .packlist -exec rm -f {} \;
+%{_fixperms} $RPM_BUILD_ROOT/*
+
+%check
+make test
+
+%files
+%doc ChangeLog README
+%{perl_vendorlib}/*
+%{_mandir}/man3/*
+
+%changelog
+* Fri Jan 31 2014 Petr Pisar <ppisar(a)redhat.com> 0.13-1
+- Specfile autogenerated by cpanspec 1.78.
diff --git a/sources b/sources
index e69de29..0d5dc14 100644
--- a/sources
+++ b/sources
@@ -0,0 +1 @@
+6b78922d71eca61ca97619cbecc80c0c String-Print-0.13.tar.gz
10 years, 4 months