ppisar pushed to perl-Pod-Perldoc (master). "Introduce a
build-condition on groff (..more)"
by notifications@fedoraproject.org
From 0cd1cd3c77652e3f778702d0bc05d15eb2663038 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Petr=20P=C3=ADsa=C5=99?= <ppisar(a)redhat.com>
Date: Mon, 3 Apr 2017 09:41:45 +0200
Subject: Introduce a build-condition on groff
This allows to build perl without need of groff. The macro
_without_perl_enables_groff has "perl" identifier to compete with
perl.spec because this is a core module.
---
perl-Pod-Perldoc.spec | 13 ++++++++++++-
1 file changed, 12 insertions(+), 1 deletion(-)
diff --git a/perl-Pod-Perldoc.spec b/perl-Pod-Perldoc.spec
index 702d219..5451e59 100644
--- a/perl-Pod-Perldoc.spec
+++ b/perl-Pod-Perldoc.spec
@@ -1,9 +1,13 @@
+# Optional features
+# Tk support
%bcond_without tk
+# Support for groff
+%bcond_without perl_enables_groff
Name: perl-Pod-Perldoc
# let's overwrite the module from perl.srpm
Version: 3.28
-Release: 1%{?dist}
+Release: 2%{?dist}
Summary: Look up Perl documentation in Pod format
License: GPL+ or Artistic
Group: Development/Libraries
@@ -18,8 +22,10 @@ BuildRequires: perl(ExtUtils::MakeMaker)
BuildRequires: perl(strict)
BuildRequires: perl(warnings)
# Run-time:
+%if %{with perl_enables_groff}
# Pod::Perldoc::ToMan executes roff
BuildRequires: groff-base
+%endif
BuildRequires: perl(Carp)
BuildRequires: perl(Config)
BuildRequires: perl(Encode)
@@ -56,8 +62,10 @@ BuildRequires: perl(Tk::Pod)
%endif
%endif
%endif
+%if %{with perl_enables_groff}
# Pod::Perldoc::ToMan executes roff
Requires: groff-base
+%endif
Requires: perl(:MODULE_COMPAT_%(eval "`perl -V:version`"; echo $version))
Requires: perl(File::Temp) >= 0.22
Requires: perl(HTTP::Tiny)
@@ -104,6 +112,9 @@ make test
%{_mandir}/man3/*
%changelog
+* Mon Apr 03 2017 Petr Pisar <ppisar(a)redhat.com> - 3.28-2
+- Introduce a build-condition on groff
+
* Thu Mar 16 2017 Petr Pisar <ppisar(a)redhat.com> - 3.28-1
- 3.28 bump
--
cgit v1.1
https://src.fedoraproject.org/cgit/perl-Pod-Perldoc.git/commit/?h=master&...
7 years, 2 months
ppisar pushed to perl-Pod-Perldoc (master). "Rename a _without_tk
build-condition to _without_perl_Pod_Perldoc_enables_tk_test"
by notifications@fedoraproject.org
From 842e567a333ccfd2b15be93f230d29414be0f581 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Petr=20P=C3=ADsa=C5=99?= <ppisar(a)redhat.com>
Date: Mon, 3 Apr 2017 09:48:22 +0200
Subject: Rename a _without_tk build-condition to
_without_perl_Pod_Perldoc_enables_tk_test
---
perl-Pod-Perldoc.spec | 8 +++++---
1 file changed, 5 insertions(+), 3 deletions(-)
diff --git a/perl-Pod-Perldoc.spec b/perl-Pod-Perldoc.spec
index 5451e59..e0235be 100644
--- a/perl-Pod-Perldoc.spec
+++ b/perl-Pod-Perldoc.spec
@@ -1,6 +1,6 @@
# Optional features
-# Tk support
-%bcond_without tk
+# Run Tk tests
+%bcond_without perl_Pod_Perldoc_enables_tk_test
# Support for groff
%bcond_without perl_enables_groff
@@ -55,7 +55,7 @@ BuildRequires: perl(Test::More)
# Optional tests:
%if !%{defined perl_bootstrap}
%if !( 0%{?rhel} >= 7 )
-%if %{with tk}
+%if %{with perl_Pod_Perldoc_enables_tk_test}
BuildRequires: perl(Tk)
# Tk::FcyEntry is optional
BuildRequires: perl(Tk::Pod)
@@ -114,6 +114,8 @@ make test
%changelog
* Mon Apr 03 2017 Petr Pisar <ppisar(a)redhat.com> - 3.28-2
- Introduce a build-condition on groff
+- Rename a _without_tk build-condition to
+ _without_perl_Pod_Perldoc_enables_tk_test
* Thu Mar 16 2017 Petr Pisar <ppisar(a)redhat.com> - 3.28-1
- 3.28 bump
--
cgit v1.1
https://src.fedoraproject.org/cgit/perl-Pod-Perldoc.git/commit/?h=master&...
7 years, 2 months
ppisar pushed to perl (master). "Introduce build-conditions for groff,
systemtap, syslog tests, and tcsh (..more)"
by notifications@fedoraproject.org
From b14a87313b3dba832191d614c3124677546ce6b0 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Petr=20P=C3=ADsa=C5=99?= <ppisar(a)redhat.com>
Date: Fri, 31 Mar 2017 14:45:52 +0200
Subject: Introduce build-conditions for groff, systemtap, syslog tests, and
tcsh
This allows to build perl without need of groff etc.
groff and systemtap are enabled by default. syslog tests are disabled
by default because they only polute system log. tcsh is disabled by
default because it seems unneeded (and might be removed completely).
---
perl.spec | 40 +++++++++++++++++++++++++++++++++++++++-
1 file changed, 39 insertions(+), 1 deletion(-)
diff --git a/perl.spec b/perl.spec
index e46a4c5..d0ad095 100644
--- a/perl.spec
+++ b/perl.spec
@@ -20,15 +20,24 @@
# same as we provide in /usr/lib/rpm/macros.d/macros.perl
%global perl5_testdir %{_libexecdir}/perl5-tests
+# Optional features
# We can bootstrap without gdbm
%bcond_without gdbm
+# Support for groff, bug #135101
+%bcond_without perl_enables_groff
+# Run syslog tests
+%bcond_with perl_enables_syslog_test
+# SystemTap support
+%bcond_without perl_enables_systemtap
+# <> operator uses File::Glob nowadays. CSH is not needed.
+%bcond_with perl_enables_tcsh
# We can skip %%check phase
%bcond_without test
Name: perl
Version: %{perl_version}
# release number must be even higher, because dual-lived modules will be broken otherwise
-Release: 390%{?dist}
+Release: 391%{?dist}
Epoch: %{perl_epoch}
Summary: Practical Extraction and Report Language
Group: Development/Languages
@@ -346,8 +355,10 @@ BuildRequires: gdbm-devel
%endif
# glibc-common for iconv
BuildRequires: glibc-common
+%if %{with perl_enables_groff}
# Build-require groff tools for populating %%Config correctly, bug #135101
BuildRequires: groff-base
+%endif
BuildRequires: libdb-devel
BuildRequires: make
%if !%{defined perl_bootstrap}
@@ -355,16 +366,22 @@ BuildRequires: perl
BuildRequires: perl-generators
%endif
BuildRequires: sed
+%if %{with perl_enables_systemtap}
BuildRequires: systemtap-sdt-devel
+%endif
BuildRequires: tar
+%if %{with perl_enables_tcsh}
BuildRequires: tcsh
+%endif
BuildRequires: zlib-devel
# For tests
%if %{with test}
BuildRequires: procps
+%if %{with perl_enables_syslog_test}
BuildRequires: rsyslog
%endif
+%endif
# The long line of Perl provides.
@@ -471,7 +488,9 @@ Requires: libdb-devel
Requires: gdbm-devel
%endif
Requires: glibc-devel
+%if %{with perl_enables_systemtap}
Requires: systemtap-sdt-devel
+%endif
Requires: perl(ExtUtils::ParseXS)
Requires: %perl_compat
# Match library and header files when downgrading releases
@@ -2425,8 +2444,10 @@ Group: Development/Libraries
License: GPL+ or Artistic
Epoch: 0
Version: 3.25
+%if %{with perl_enables_groff}
# Pod::Perldoc::ToMan executes roff
Requires: groff-base
+%endif
Requires: %perl_compat
Requires: perl(File::Temp) >= 0.22
Requires: perl(HTTP::Tiny)
@@ -3211,6 +3232,10 @@ echo "RPM Build arch: %{_arch}"
-Dcc='%{__cc}' \
-Dcf_by='Red Hat, Inc.' \
-Dprefix=%{_prefix} \
+%if %{without perl_enables_groff}
+ -Dman1dir="%{_mandir}/man1" \
+ -Dman3dir="%{_mandir}/man3" \
+%endif
-Dvendorprefix=%{_prefix} \
-Dsiteprefix=%{_prefix}/local \
-Dsitelib="%{_prefix}/local/share/perl5" \
@@ -3229,7 +3254,11 @@ echo "RPM Build arch: %{_arch}"
-Duseshrplib \
-Dusethreads \
-Duseithreads \
+%if %{with perl_enables_systemtap}
-Dusedtrace='/usr/bin/dtrace' \
+%else
+ -Uusedtrace \
+%endif
-Duselargefiles \
-Dd_semctl_semun \
-Di_db \
@@ -3362,6 +3391,7 @@ for dir in `find ext/ -type d -name t -maxdepth 2` ; do
tar -cf - $dir | ( cd %{buildroot}%{perl5_testdir}/perl-tests/t && tar -xf - )
done
+%if %{with perl_enables_systemtap}
# Systemtap tapset install
mkdir -p %{buildroot}%{tapsetdir}
%ifarch %{multilib_64_archs}
@@ -3374,6 +3404,7 @@ sed \
-e "s|LIBRARY_PATH|%{_libdir}/%{soname}|" \
%{SOURCE4} \
> %{buildroot}%{tapsetdir}/%{libperl_stp}
+%endif
# TODO: Canonicalize test files (rewrite intrerpreter path, fix permissions)
# XXX: We cannot rewrite ./perl before %%check phase. Otherwise the test
@@ -3445,8 +3476,10 @@ popd
%exclude %{archlib}/CORE/*.h
%exclude %{_libdir}/libperl.so
%exclude %{_mandir}/man1/perlxs*
+%if %{with perl_enables_systemtap}
%exclude %dir %{_datadir}/systemtap
%exclude %dir %{_datadir}/systemtap/tapset
+%endif
# utils
%exclude %{_bindir}/c2ph
@@ -4325,10 +4358,12 @@ popd
%{archlib}/CORE/*.h
%{_libdir}/libperl.so
%{_mandir}/man1/perlxs*
+%if %{with perl_enables_systemtap}
%dir %{_datadir}/systemtap
%dir %{_datadir}/systemtap/tapset
%{tapsetdir}/%{libperl_stp}
%doc perl-example.stp
+%endif
%files macros
%{_rpmconfigdir}/macros.d/macros.perl
@@ -5399,6 +5434,9 @@ popd
# Old changelog entries are preserved in CVS.
%changelog
+* Fri Mar 31 2017 Petr Pisar <ppisar(a)redhat.com> - 4:5.24.1-391
+- Introduce build-conditions for groff, systemtap, syslog tests, and tcsh
+
* Wed Mar 08 2017 Petr Pisar <ppisar(a)redhat.com> - 4:5.24.1-390
- Fix a null-pointer dereference on malformed code (RT#130815)
- Fix an use-after-free in substr() that modifies a magic variable (RT#129340)
--
cgit v1.1
https://src.fedoraproject.org/cgit/perl.git/commit/?h=master&id=b14a87313...
7 years, 2 months
ppisar pushed to perl-srpm-macros (private-f27-modules). "Disable
Perl bootstrap"
by notifications@fedoraproject.org
From 4b86d3dcaca3b041771cdccdcba4f9d31b8f1b2d Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Petr=20P=C3=ADsa=C5=99?= <ppisar(a)redhat.com>
Date: Thu, 30 Mar 2017 15:26:39 +0200
Subject: Disable Perl bootstrap
---
macros.perl-srpm | 2 +-
perl-srpm-macros.spec | 5 ++++-
2 files changed, 5 insertions(+), 2 deletions(-)
diff --git a/macros.perl-srpm b/macros.perl-srpm
index 15dbfbf..e7884e6 100644
--- a/macros.perl-srpm
+++ b/macros.perl-srpm
@@ -13,7 +13,7 @@
# dependencies, for example: perl-Test-Minimum-Version <->
# perl-Perl-Minimum-Version Defined for bootstraping, undefined otherwise.
# Usage: %%if !%%{defined perl_bootstrap} ... %%endif
-%perl_bootstrap 1
+#%%perl_bootstrap 1
Modularity
%_without_perl_enables_groff 1
diff --git a/perl-srpm-macros.spec b/perl-srpm-macros.spec
index 8fbdc55..05dc4ad 100644
--- a/perl-srpm-macros.spec
+++ b/perl-srpm-macros.spec
@@ -1,6 +1,6 @@
Name: perl-srpm-macros
Version: 2
-Release: 1%{?dist}
+Release: 2%{?dist}
Summary: RPM macros for building Perl source package from source repository
Group: Development/Libraries
License: GPLv3+
@@ -19,6 +19,9 @@ install -m 644 -D "%{SOURCE0}" \
%{_rpmconfigdir}/macros.d/macros.perl-srpm
%changelog
+* Thu Mar 30 2017 Petr Pisar <ppisar(a)redhat.com> - 2-2
+- Disable Perl bootstrap
+
* Thu Mar 30 2017 Petr Pisar <ppisar(a)redhat.com> - 2-1
- Enable Perl bootstrap
--
cgit v1.1
https://src.fedoraproject.org/cgit/perl-srpm-macros.git/commit/?h=private...
7 years, 2 months
ppisar pushed to perl-srpm-macros (private-f27-modules). "Revert
"Disable Perl bootstrap" (..more)"
by notifications@fedoraproject.org
From 8dab1bfe71e2772ac5efaa9764b03bb956b7c101 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Petr=20P=C3=ADsa=C5=99?= <ppisar(a)redhat.com>
Date: Mon, 3 Apr 2017 10:09:41 +0200
Subject: Revert "Disable Perl bootstrap"
This reverts commit 05e51e02ebea6c5913d023a5d241147fa427b2f3.
---
macros.perl-srpm | 2 +-
perl-srpm-macros.spec | 5 +----
2 files changed, 2 insertions(+), 5 deletions(-)
diff --git a/macros.perl-srpm b/macros.perl-srpm
index 114c422..fd86296 100644
--- a/macros.perl-srpm
+++ b/macros.perl-srpm
@@ -13,5 +13,5 @@
# dependencies, for example: perl-Test-Minimum-Version <->
# perl-Perl-Minimum-Version Defined for bootstraping, undefined otherwise.
# Usage: %%if !%%{defined perl_bootstrap} ... %%endif
-#%%perl_bootstrap 1
+%perl_bootstrap 1
diff --git a/perl-srpm-macros.spec b/perl-srpm-macros.spec
index 05dc4ad..8fbdc55 100644
--- a/perl-srpm-macros.spec
+++ b/perl-srpm-macros.spec
@@ -1,6 +1,6 @@
Name: perl-srpm-macros
Version: 2
-Release: 2%{?dist}
+Release: 1%{?dist}
Summary: RPM macros for building Perl source package from source repository
Group: Development/Libraries
License: GPLv3+
@@ -19,9 +19,6 @@ install -m 644 -D "%{SOURCE0}" \
%{_rpmconfigdir}/macros.d/macros.perl-srpm
%changelog
-* Thu Mar 30 2017 Petr Pisar <ppisar(a)redhat.com> - 2-2
-- Disable Perl bootstrap
-
* Thu Mar 30 2017 Petr Pisar <ppisar(a)redhat.com> - 2-1
- Enable Perl bootstrap
--
cgit v1.1
https://src.fedoraproject.org/cgit/perl-srpm-macros.git/commit/?h=private...
7 years, 2 months
ppisar pushed to perl-srpm-macros (private-f27-modules). "Disable
optional features unavailable in modularity"
by notifications@fedoraproject.org
From 2afbf3a3a235610cdaff9a32d71d85784b13e8b2 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Petr=20P=C3=ADsa=C5=99?= <ppisar(a)redhat.com>
Date: Mon, 3 Apr 2017 10:10:26 +0200
Subject: Disable optional features unavailable in modularity
---
macros.perl-srpm | 7 +++++++
1 file changed, 7 insertions(+)
diff --git a/macros.perl-srpm b/macros.perl-srpm
index fd86296..15dbfbf 100644
--- a/macros.perl-srpm
+++ b/macros.perl-srpm
@@ -15,3 +15,10 @@
# Usage: %%if !%%{defined perl_bootstrap} ... %%endif
%perl_bootstrap 1
+Modularity
+%_without_perl_enables_groff 1
+%_without_perl_enables_syslog_test 1
+%_without_perl_enables_systemtap 1
+%_without_perl_enables_tcsh 1
+%_without_perl_Pod_Perldoc_enables_tk_test 1
+
--
cgit v1.1
https://src.fedoraproject.org/cgit/perl-srpm-macros.git/commit/?h=private...
7 years, 2 months
jplesnik pushed to perl-Env-C (f26). "0.14 bump"
by notifications@fedoraproject.org
From a7cf409c3925448ee977511fe184f98f8431d498 Mon Sep 17 00:00:00 2001
From: Jitka Plesnikova <jplesnik(a)redhat.com>
Date: Mon, 3 Apr 2017 09:56:53 +0200
Subject: 0.14 bump
---
.gitignore | 1 +
perl-Env-C.spec | 11 ++++++++---
sources | 2 +-
3 files changed, 10 insertions(+), 4 deletions(-)
diff --git a/.gitignore b/.gitignore
index 3ba4e66..327e530 100644
--- a/.gitignore
+++ b/.gitignore
@@ -1,2 +1,3 @@
/Env-C-0.12.tar.gz
/Env-C-0.13.tar.gz
+/Env-C-0.14.tar.gz
diff --git a/perl-Env-C.spec b/perl-Env-C.spec
index b22df4e..9e3da23 100644
--- a/perl-Env-C.spec
+++ b/perl-Env-C.spec
@@ -1,11 +1,13 @@
Name: perl-Env-C
-Version: 0.13
-Release: 6%{?dist}
+Version: 0.14
+Release: 1%{?dist}
Summary: Get/set/unset environment variables on the C level
License: GPL+ or Artistic
Group: Development/Libraries
URL: http://search.cpan.org/dist/Env-C/
Source0: http://www.cpan.org/authors/id/M/MS/MSCHOUT/Env-C-%{version}.tar.gz
+BuildRequires: findutils
+BuildRequires: make
BuildRequires: perl
BuildRequires: perl-devel
BuildRequires: perl-generators
@@ -31,7 +33,7 @@ make %{?_smp_mflags}
%install
make pure_install DESTDIR=$RPM_BUILD_ROOT
-find $RPM_BUILD_ROOT -type f -name '*.bs' -size 0 -exec rm -f {} \;
+find $RPM_BUILD_ROOT -type f -name '*.bs' -size 0 -delete
%{_fixperms} $RPM_BUILD_ROOT/*
%check
@@ -45,6 +47,9 @@ make test
%{_mandir}/man3/*
%changelog
+* Mon Apr 03 2017 Jitka Plesnikova <jplesnik(a)redhat.com> - 0.14-1
+- 0.14 bump
+
* Sat Feb 11 2017 Fedora Release Engineering <releng(a)fedoraproject.org> - 0.13-6
- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild
diff --git a/sources b/sources
index 25a8fda..3cd6ae1 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-65545af6cf2bde95b185289a309ecae6 Env-C-0.13.tar.gz
+SHA512 (Env-C-0.14.tar.gz) = be76a24de1eafd23d3c00d197b51cec7ff48b08cde6a91e058bb7fc004e16616d9c01a093a9f463bc5cb9984118f3d17b4caf02314e887aaf39fbea232e61d67
--
cgit v1.1
https://src.fedoraproject.org/cgit/perl-Env-C.git/commit/?h=f26&id=a7cf40...
7 years, 2 months
jplesnik pushed to perl-Env-C (master). "0.14 bump"
by notifications@fedoraproject.org
From a7cf409c3925448ee977511fe184f98f8431d498 Mon Sep 17 00:00:00 2001
From: Jitka Plesnikova <jplesnik(a)redhat.com>
Date: Mon, 3 Apr 2017 09:56:53 +0200
Subject: 0.14 bump
---
.gitignore | 1 +
perl-Env-C.spec | 11 ++++++++---
sources | 2 +-
3 files changed, 10 insertions(+), 4 deletions(-)
diff --git a/.gitignore b/.gitignore
index 3ba4e66..327e530 100644
--- a/.gitignore
+++ b/.gitignore
@@ -1,2 +1,3 @@
/Env-C-0.12.tar.gz
/Env-C-0.13.tar.gz
+/Env-C-0.14.tar.gz
diff --git a/perl-Env-C.spec b/perl-Env-C.spec
index b22df4e..9e3da23 100644
--- a/perl-Env-C.spec
+++ b/perl-Env-C.spec
@@ -1,11 +1,13 @@
Name: perl-Env-C
-Version: 0.13
-Release: 6%{?dist}
+Version: 0.14
+Release: 1%{?dist}
Summary: Get/set/unset environment variables on the C level
License: GPL+ or Artistic
Group: Development/Libraries
URL: http://search.cpan.org/dist/Env-C/
Source0: http://www.cpan.org/authors/id/M/MS/MSCHOUT/Env-C-%{version}.tar.gz
+BuildRequires: findutils
+BuildRequires: make
BuildRequires: perl
BuildRequires: perl-devel
BuildRequires: perl-generators
@@ -31,7 +33,7 @@ make %{?_smp_mflags}
%install
make pure_install DESTDIR=$RPM_BUILD_ROOT
-find $RPM_BUILD_ROOT -type f -name '*.bs' -size 0 -exec rm -f {} \;
+find $RPM_BUILD_ROOT -type f -name '*.bs' -size 0 -delete
%{_fixperms} $RPM_BUILD_ROOT/*
%check
@@ -45,6 +47,9 @@ make test
%{_mandir}/man3/*
%changelog
+* Mon Apr 03 2017 Jitka Plesnikova <jplesnik(a)redhat.com> - 0.14-1
+- 0.14 bump
+
* Sat Feb 11 2017 Fedora Release Engineering <releng(a)fedoraproject.org> - 0.13-6
- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild
diff --git a/sources b/sources
index 25a8fda..3cd6ae1 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-65545af6cf2bde95b185289a309ecae6 Env-C-0.13.tar.gz
+SHA512 (Env-C-0.14.tar.gz) = be76a24de1eafd23d3c00d197b51cec7ff48b08cde6a91e058bb7fc004e16616d9c01a093a9f463bc5cb9984118f3d17b4caf02314e887aaf39fbea232e61d67
--
cgit v1.1
https://src.fedoraproject.org/cgit/perl-Env-C.git/commit/?h=master&id=a7c...
7 years, 2 months