pghmcfc pushed to perl-Mail-Mbox-MessageParser (master). "Spec clean-up (..more)"

2016-01-26 Thread notifications
From aa87cc42ae4e52fcde96645c8bafc48f07a1c4e1 Mon Sep 17 00:00:00 2001
From: Paul Howarth 
Date: Tue, 26 Jan 2016 10:51:20 +
Subject: Spec clean-up

- Prefer %global over %define
- Drop EL-5 build support as File::Path version is too old there
---
 perl-Mail-Mbox-MessageParser.spec | 19 ++-
 1 file changed, 10 insertions(+), 9 deletions(-)

diff --git a/perl-Mail-Mbox-MessageParser.spec 
b/perl-Mail-Mbox-MessageParser.spec
index dabbca9..f9ddd13 100644
--- a/perl-Mail-Mbox-MessageParser.spec
+++ b/perl-Mail-Mbox-MessageParser.spec
@@ -1,16 +1,17 @@
 Summary:   A fast and simple mbox folder reader
 Name:  perl-Mail-Mbox-MessageParser
 Version:   1.5105
-Release:   3%{?dist}
+Release:   4%{?dist}
 License:   GPLv2
-Group: Development/Libraries
 URL:   http://search.cpan.org/dist/Mail-Mbox-MessageParser/
 Source0:   
http://search.cpan.org/CPAN/authors/id/D/DC/DCOPPIT/Mail-Mbox-MessageParser-%{version}.tar.gz
 Source1:   perl-module-version-filter
-BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(id -nu)
 BuildArch: noarch
 # Module Build
+BuildRequires: coreutils
+BuildRequires: findutils
 BuildRequires: grep, gzip, bzip2, lzip >= 1.3, xz, /usr/bin/diff
+BuildRequires: make
 BuildRequires: perl
 BuildRequires: perl(Config)
 BuildRequires: perl(Cwd)
@@ -56,10 +57,10 @@ information, GNU grep, or highly optimized Perl.
 # Auto provides aren't clever enough for what Mail::Mbox::MessageParser does
 %if 0%{?__perllib_provides:1}
 %global provfilt /bin/sh -c "%{__perllib_provides} | perl -n -s %{SOURCE1} 
-lib=%{_builddir}/%{buildsubdir}/lib"
-%define __perllib_provides %{provfilt}
+%global __perllib_provides %{provfilt}
 %else
 %global provfilt /bin/sh -c "%{__perl_provides} | perl -n -s %{SOURCE1} 
-lib=%{_builddir}/%{buildsubdir}/lib"
-%define __perl_provides %{provfilt}
+%global __perl_provides %{provfilt}
 %endif
 
 %build
@@ -75,7 +76,6 @@ perl Makefile.PL INSTALLDIRS=vendor \
 make %{?_smp_mflags}
 
 %install
-rm -rf %{buildroot}
 make pure_install DESTDIR=%{buildroot}
 find %{buildroot} -type f -name .packlist -exec rm -f {} ';'
 %{_fixperms} %{buildroot}
@@ -83,9 +83,6 @@ find %{buildroot} -type f -name .packlist -exec rm -f {} ';'
 %check
 make test
 
-%clean
-rm -rf %{buildroot}
-
 %files
 %if 0%{?_licensedir:1}
 %license LICENSE
@@ -101,6 +98,10 @@ rm -rf %{buildroot}
 %{_mandir}/man3/Mail::Mbox::MessageParser::Perl.3*
 
 %changelog
+* Tue Jan 26 2016 Paul Howarth  - 1.5105-4
+- Prefer %%global over %%define
+- Drop EL-5 build support as File::Path version is too old there
+
 * Thu Jun 18 2015 Fedora Release Engineering  
- 1.5105-3
 - Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild
 
-- 
cgit v0.11.2



http://pkgs.fedoraproject.org/cgit/perl-Mail-Mbox-MessageParser.git/commit/?h=master=aa87cc42ae4e52fcde96645c8bafc48f07a1c4e1
--
Fedora Extras Perl SIG
http://www.fedoraproject.org/wiki/Extras/SIGs/Perl
perl-devel mailing list
perl-devel@lists.fedoraproject.org
http://lists.fedoraproject.org/admin/lists/perl-devel@lists.fedoraproject.org

ppisar pushed to perl-Gnome2-Canvas (master). "Modernize spec file"

2016-01-26 Thread notifications
From d50ae12ff5474cdf4a341672b66809939d82ca59 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Petr=20P=C3=ADsa=C5=99?= 
Date: Tue, 26 Jan 2016 12:03:14 +0100
Subject: Modernize spec file

---
 .rpmlint|  2 ++
 perl-Gnome2-Canvas.spec | 87 ++---
 2 files changed, 55 insertions(+), 34 deletions(-)
 create mode 100644 .rpmlint

diff --git a/.rpmlint b/.rpmlint
new file mode 100644
index 000..d04de28
--- /dev/null
+++ b/.rpmlint
@@ -0,0 +1,2 @@
+from Config import *
+addFilter("spelling-error .* (antialiased|compositing)");
diff --git a/perl-Gnome2-Canvas.spec b/perl-Gnome2-Canvas.spec
index b483fae..be3519d 100644
--- a/perl-Gnome2-Canvas.spec
+++ b/perl-Gnome2-Canvas.spec
@@ -1,61 +1,77 @@
+%global use_x11_tests 1
+
 Name:   perl-Gnome2-Canvas
 Version:1.002
-Release:29%{?dist}
+Release:30%{?dist}
 Summary:An engine for structured graphics in Gnome2
-
 Group:  Development/Libraries
 License:GPLv2+
 URL:http://search.cpan.org/dist/Gnome2-Canvas/
 Source0:
http://search.cpan.org/CPAN/authors/id/T/TS/TSCH/Gnome2-Canvas-%{version}.tar.gz
-BuildRoot:  %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
-
-BuildRequires:  perl(ExtUtils::Depends), perl(ExtUtils::PkgConfig)
-BuildRequires:  perl(Glib), perl(Glib::MakeHelper), perl(Gtk2)
+BuildRequires:  coreutils
+BuildRequires:  findutils
+BuildRequires:  make
+BuildRequires:  perl
+BuildRequires:  perl(Cwd)
+BuildRequires:  perl(ExtUtils::Depends) >= 0.200
+BuildRequires:  perl(ExtUtils::MakeMaker)
+BuildRequires:  perl(ExtUtils::PkgConfig) >= 1.03
+BuildRequires:  perl(File::Spec)
+BuildRequires:  perl(Glib) >= 1.040
+BuildRequires:  perl(Glib::MakeHelper)
+BuildRequires:  perl(Gtk2) >= 1.040
+BuildRequires:  perl(Gtk2::CodeGen)
+BuildRequires:  perl(strict)
+BuildRequires:  pkgconfig(libgnomecanvas-2.0) >= 2.0.0
+# Run-time:
+BuildRequires:  perl(DynaLoader)
+BuildRequires:  perl(warnings)
+# Tests:
 BuildRequires:  perl(Test::More)
-BuildRequires:  libgnomecanvas-devel >= 2.0.0
-Requires:  perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version))
+# Optional tests:
+%if %{use_x11_tests}
+# X11 tests:
+BuildRequires:  xorg-x11-server-Xvfb
+BuildRequires:  font(:lang=en)
+%endif
+Requires:  perl(:MODULE_COMPAT_%(eval "`perl -V:version`"; echo $version))
+Requires:  perl(Gtk2) >= 1.040
+
+# Filter under-specified dependencies
+%global __requires_exclude 
%{?__requires_exclude:%{__requires_exclude}|}^perl\\(Gtk2\\)$
 
 %description
-The Gnome Canvas is an engine for structured graphics
-that offers a rich imaging model, high-performance 
-rendering, and a powerful, high level API. 
+The Gnome Canvas is an engine for structured graphics that offers a rich
+imaging model, high-performance rendering, and a powerful, high level API.
 
-It offers a choice of two rendering back-ends, 
-one based on GDK for extremely fast display, and 
-another based on Libart, a sophisticated, antialiased, 
-alpha-compositing engine. This widget can be used 
-for flexible display of graphics and for creating
-interactive user interface elements.
+It offers a choice of two rendering back-ends, one based on GDK for extremely
+fast display, and another based on Libart, a sophisticated, antialiased,
+alpha-compositing engine. This widget can be used for flexible display of
+graphics and for creating interactive user interface elements.
 
 
 %prep
 %setup -q -n Gnome2-Canvas-%{version}
 
-
 %build
-%{__perl} Makefile.PL INSTALLDIRS=vendor OPTIMIZE="$RPM_OPT_FLAGS"
+perl Makefile.PL INSTALLDIRS=vendor OPTIMIZE="$RPM_OPT_FLAGS"
 make %{?_smp_mflags}
 
-
 %install
-rm -rf $RPM_BUILD_ROOT
-make pure_install PERL_INSTALL_ROOT=$RPM_BUILD_ROOT
-find $RPM_BUILD_ROOT -type f -name .packlist -exec rm -f {} ';'
-find $RPM_BUILD_ROOT -type d -depth -exec rmdir {} 2>/dev/null ';'
-find $RPM_BUILD_ROOT -type f -name '*.bs' -empty -exec rm -f {} ';'
-chmod -R u+w $RPM_BUILD_ROOT/*
-
+make pure_install DESTDIR=%{buildroot}
+find %{buildroot} -type f -name .packlist -exec rm -f {} ';'
+find %{buildroot} -type f -name '*.bs' -empty -exec rm -f {} ';'
+%{_fixperms} %{buildroot}
 
 %check
-make test
-
-
-%clean
-rm -rf $RPM_BUILD_ROOT
-
+%if %{use_x11_tests}
+xvfb-run -a make test
+%else
+make test
+%endif
 
 %files
-%defattr(-,root,root,-)
+%license LICENSE
 %doc AUTHORS ChangeLog LICENSE NEWS README TODO
 %doc canvas_demo/
 %{perl_vendorarch}/auto/*
@@ -64,6 +80,9 @@ rm -rf $RPM_BUILD_ROOT
 
 
 %changelog
+* Tue Jan 26 2016 Petr Pisar  - 1.002-30
+- Modernize spec file
+
 * Thu Jun 18 2015 Fedora Release Engineering  
- 1.002-29
 - Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild
 
-- 
cgit v0.11.2



http://pkgs.fedoraproject.org/cgit/perl-Gnome2-Canvas.git/commit/?h=master=d50ae12ff5474cdf4a341672b66809939d82ca59
--
Fedora Extras Perl SIG

ppisar pushed to perl-Gnome2-GConf (master). "Modernize spec file"

2016-01-26 Thread notifications
From 94e451272470427c75712b93815f4a7c4a40d40d Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Petr=20P=C3=ADsa=C5=99?= 
Date: Tue, 26 Jan 2016 12:39:13 +0100
Subject: Modernize spec file

---
 perl-Gnome2-GConf.spec | 69 +++---
 1 file changed, 37 insertions(+), 32 deletions(-)

diff --git a/perl-Gnome2-GConf.spec b/perl-Gnome2-GConf.spec
index c7cc594..ea190ea 100644
--- a/perl-Gnome2-GConf.spec
+++ b/perl-Gnome2-GConf.spec
@@ -1,6 +1,6 @@
 Name:   perl-Gnome2-GConf
 Version:1.044
-Release:24%{?dist}
+Release:25%{?dist}
 Summary:Perl wrappers for the GConf configuration engine
 License:LGPLv2+
 Group:  Development/Libraries
@@ -9,19 +9,37 @@ Source0:
http://www.cpan.org/modules/by-module/Gnome2/Gnome2-GConf-%{vers
 # Remove support for gconf_engine_key_is_writable() which has been removed
 # from GConf2, bug #1197692, CPAN RT#91577
 Patch0: Gnome2-GConf-1.044-disable-orbit.patch
-BuildRoot:  %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
-
-## core
-BuildRequires:  perl(Test::More)
-## non-core
-BuildRequires:  perl(Glib) >= 1.120, perl(Glib::MakeHelper), GConf2
+BuildRequires:  coreutils
+BuildRequires:  findutils
+BuildRequires:  make
+BuildRequires:  perl
+BuildRequires:  perl(Cwd)
 BuildRequires:  perl(ExtUtils::Depends) >= 0.2
+BuildRequires:  perl(ExtUtils::MakeMaker)
 BuildRequires:  perl(ExtUtils::PkgConfig) >= 1.03
+BuildRequires:  perl(File::Spec)
+BuildRequires:  pkgconfig(gconf-2.0) >= 2.0.0
+BuildRequires:  perl(Glib) >= 1.120
+BuildRequires:  perl(Glib::CodeGen)
+BuildRequires:  perl(Glib::MakeHelper)
+BuildRequires:  perl(strict)
+BuildRequires:  perl(warnings)
+# Run-time:
+BuildRequires:  perl(Carp)
+BuildRequires:  perl(DynaLoader)
+BuildRequires:  perl(overload)
+# Tests:
+# The tests need D-Bus with X11
+BuildRequires:  dbus-x11
+BuildRequires:  font(:lang=en)
+BuildRequires:  perl(constant)
+BuildRequires:  perl(Test::More)
+BuildRequires:  xorg-x11-server-Xvfb
+Requires:   perl(:MODULE_COMPAT_%(eval "`perl -V:version`"; echo $version))
+Requires:   perl(Glib) >= 1.120
 
-BuildRequires:  GConf2-devel
-
-Requires:   perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo 
$version))
-
+# Filter under-specified dependencies
+%global __requires_exclude 
%{?__requires_exclude:%{__requires_exclude}|}^perl\\(Glib\\)$
 
 %description
 This module allows you to use the GConf configuration system in order to
@@ -30,47 +48,34 @@ powerful configuration manager based on a user daemon that 
handles a set of
 key and value pairs, and notifies any changes of the value to every program
 that monitors those keys. GConf is used by GNOME 2.x.
 
-
 %prep
 %setup -q -n Gnome2-GConf-%{version}
 %patch0 -p1
 
-
 %build
-%{__perl} Makefile.PL INSTALLDIRS=vendor OPTIMIZE="%{optflags}"
+perl Makefile.PL INSTALLDIRS=vendor OPTIMIZE="%{optflags}"
 make %{?_smp_mflags}
 
-cp xs/* .
-
 %install
-rm -rf %{buildroot}
-
-make pure_install PERL_INSTALL_ROOT=%{buildroot}
-
+make pure_install DESTDIR=%{buildroot}
 find %{buildroot} -type f -name .packlist -exec rm -f {} \;
 find %{buildroot} -type f -name '*.bs' -size 0 -exec rm -f {} \;
-find %{buildroot} -depth -type d -exec rmdir {} 2>/dev/null \;
-
 %{_fixperms} %{buildroot}/*
 
-
 %check
-%{?_with_network_tests: make test }
-
-
-%clean
-rm -rf %{buildroot}
-
+xvfb-run -a make test
 
 %files
-%defattr(-,root,root,-)
-%doc AUTHOR ChangeLog doctypes gconf.typemap maps NEWS README examples/ t/
+%doc AUTHOR ChangeLog copyright.pod NEWS README examples
 %{perl_vendorarch}/auto/*
 %{perl_vendorarch}/Gnome2*
 %{_mandir}/man3/*
 
 
 %changelog
+* Tue Jan 26 2016 Petr Pisar  - 1.044-25
+- Modernize spec file
+
 * Thu Jun 18 2015 Fedora Release Engineering  
- 1.044-24
 - Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild
 
@@ -162,7 +167,7 @@ Rebuild for new perl
 
 * Fri Aug 18 2006 Chris Weyl  1.032-2
 - added missing BR
-- tweaked %build to help -debuginfo generation
+- tweaked %%build to help -debuginfo generation
 
 * Sun Aug 13 2006 Chris Weyl  1.032-1
 - Specfile autogenerated by cpanspec 1.68.
-- 
cgit v0.11.2



http://pkgs.fedoraproject.org/cgit/perl-Gnome2-GConf.git/commit/?h=master=94e451272470427c75712b93815f4a7c4a40d40d
--
Fedora Extras Perl SIG
http://www.fedoraproject.org/wiki/Extras/SIGs/Perl
perl-devel mailing list
perl-devel@lists.fedoraproject.org
http://lists.fedoraproject.org/admin/lists/perl-devel@lists.fedoraproject.org

pghmcfc pushed to perl-Hash-Util-FieldHash-Compat (master). "Drop provides filter, no longer needed"

2016-01-26 Thread notifications
From 5194ffea3eeab3ac0bf1d02bf8fb9c86592541a8 Mon Sep 17 00:00:00 2001
From: Paul Howarth 
Date: Tue, 26 Jan 2016 11:43:30 +
Subject: Drop provides filter, no longer needed

---
 perl-Hash-Util-FieldHash-Compat.spec | 12 
 1 file changed, 4 insertions(+), 8 deletions(-)

diff --git a/perl-Hash-Util-FieldHash-Compat.spec 
b/perl-Hash-Util-FieldHash-Compat.spec
index 4b35340..247af83 100644
--- a/perl-Hash-Util-FieldHash-Compat.spec
+++ b/perl-Hash-Util-FieldHash-Compat.spec
@@ -1,6 +1,6 @@
 Name:  perl-Hash-Util-FieldHash-Compat
 Version:   0.10
-Release:   1%{?dist}
+Release:   2%{?dist}
 Summary:   Use Hash::Util::FieldHash or ties, depending on availability
 License:   GPL+ or Artistic
 URL:   http://search.cpan.org/dist/Hash-Util-FieldHash-Compat/
@@ -32,9 +32,6 @@ BuildRequires:perl(Test::More) >= 0.88
 # Runtime
 Requires:  perl(:MODULE_COMPAT_%(eval "`perl -V:version`"; echo $version))
 
-# Filter unversioned provide, leaving just the versioned one (rpm 4.9 onwards)
-%global __provides_exclude ^perl\\(Hash::Util::FieldHash::Compat\\)$
-
 %description
 Under older perls this module provides a drop in compatible API to
 Hash::Util::FieldHash using perltie. When Hash::Util::FieldHash is
@@ -43,10 +40,6 @@ available, it will use that instead.
 %prep
 %setup -q -n Hash-Util-FieldHash-Compat-%{version}
 
-# Filter unversioned provide, leaving just the versioned one (prior to rpm 4.9)
-%global provfilt /bin/sh -c "%{__perl_provides} | grep -Fvx 
'perl(Hash::Util::FieldHash::Compat)'"
-%define __perl_provides %{provfilt}
-
 %build
 perl Makefile.PL INSTALLDIRS=vendor
 make %{?_smp_mflags}
@@ -71,6 +64,9 @@ make test
 %{_mandir}/man3/Hash::Util::FieldHash::Compat::Heavy.3*
 
 %changelog
+* Tue Jan 26 2016 Paul Howarth  - 0.10-2
+- Drop provides filter, no longer needed
+
 * Mon Sep 28 2015 Paul Howarth  - 0.10-1
 - Update to 0.10
   - Fix invalid prereq specification for Heavy implementation (changed in 0.09)
-- 
cgit v0.11.2



http://pkgs.fedoraproject.org/cgit/perl-Hash-Util-FieldHash-Compat.git/commit/?h=master=5194ffea3eeab3ac0bf1d02bf8fb9c86592541a8
--
Fedora Extras Perl SIG
http://www.fedoraproject.org/wiki/Extras/SIGs/Perl
perl-devel mailing list
perl-devel@lists.fedoraproject.org
http://lists.fedoraproject.org/admin/lists/perl-devel@lists.fedoraproject.org

corsepiu pushed to perl-Calendar-Simple (f22). "Modernise spec. (..more)"

2016-01-26 Thread notifications
From 8f19a54eff35da57e72b3a482fc7ed5b47c79b62 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Ralf=20Cors=C3=A9pius?= 
Date: Tue, 26 Jan 2016 12:24:40 +0100
Subject: Modernise spec.

- Update BRs.
- Activate tests.
---
 perl-Calendar-Simple.spec | 28 
 1 file changed, 16 insertions(+), 12 deletions(-)

diff --git a/perl-Calendar-Simple.spec b/perl-Calendar-Simple.spec
index d6fb2cf..4b84f8e 100644
--- a/perl-Calendar-Simple.spec
+++ b/perl-Calendar-Simple.spec
@@ -1,17 +1,23 @@
 Summary:   Perl extension to create simple calendars
 Name:  perl-Calendar-Simple
 Version:   1.21
-Release:   15%{?dist}
+Release:   16%{?dist}
 License:   GPL+ or Artistic
 Group: Development/Libraries
 URL:   http://search.cpan.org/dist/Calendar-Simple/
 Source0:   
http://search.cpan.org/CPAN/authors/id/D/DA/DAVECROSS/Calendar-Simple-%{version}.tar.gz
 BuildArch: noarch
-BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
 
-BuildRequires:  perl(ExtUtils::MakeMaker)
 Requires:  perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo 
$version))
 
+BuildRequires:  perl(ExtUtils::MakeMaker)
+BuildRequires:  perl(Carp)
+BuildRequires:  perl(Exporter)
+BuildRequires:  perl(Time::Local)
+BuildRequires:  perl(base)
+BuildRequires:  perl(strict)
+BuildRequires:  perl(warnings)
+
 # Required by the tests
 BuildRequires: perl(DateTime)
 BuildRequires: perl(Test::Pod)
@@ -25,33 +31,31 @@ Perl extension to create simple calendars.
 chmod -x lib/*/Simple.pm
 
 %build
-%{__perl} Makefile.PL INSTALLDIRS=vendor
+%{__perl} Makefile.PL INSTALLDIRS=vendor NO_PACKLIST=1
 make %{?_smp_mflags}
 
 
 %install
-rm -rf $RPM_BUILD_ROOT
 make pure_install PERL_INSTALL_ROOT=$RPM_BUILD_ROOT
-find $RPM_BUILD_ROOT -type f -name .packlist -exec rm -f {} ';'
 find $RPM_BUILD_ROOT -type d -depth -exec rmdir {} 2>/dev/null ';'
 chmod -R u+w $RPM_BUILD_ROOT/*
 
 
-%clean
-rm -rf $RPM_BUILD_ROOT
-
 %check
-# switch off until Class::ISA will be in buildroot
-#make test
+make test
 
 %files
-%defattr(-,root,root,-)
 %doc Changes README
 %{_bindir}/pcal
 %{perl_vendorlib}/Calendar
 %{_mandir}/man3/*
 
 %changelog
+* Tue Jan 26 2016 Ralf Corsépius  - 1.21-16
+- Modernise spec.
+- Update BRs.
+- Activate tests.
+
 * Thu Jun 18 2015 Fedora Release Engineering  
- 1.21-15
 - Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild
 
-- 
cgit v0.11.2



http://pkgs.fedoraproject.org/cgit/perl-Calendar-Simple.git/commit/?h=f22=8f19a54eff35da57e72b3a482fc7ed5b47c79b62
--
Fedora Extras Perl SIG
http://www.fedoraproject.org/wiki/Extras/SIGs/Perl
perl-devel mailing list
perl-devel@lists.fedoraproject.org
http://lists.fedoraproject.org/admin/lists/perl-devel@lists.fedoraproject.org

corsepiu pushed to perl-Calendar-Simple (f22). "- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild"

2016-01-26 Thread notifications
From 977628c8230bffa6bb323d1a0368d606ed6fd9c6 Mon Sep 17 00:00:00 2001
From: Dennis Gilmore 
Date: Thu, 18 Jun 2015 01:38:28 +
Subject: - Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild

---
 perl-Calendar-Simple.spec | 5 -
 1 file changed, 4 insertions(+), 1 deletion(-)

diff --git a/perl-Calendar-Simple.spec b/perl-Calendar-Simple.spec
index 2cf6f5b..d6fb2cf 100644
--- a/perl-Calendar-Simple.spec
+++ b/perl-Calendar-Simple.spec
@@ -1,7 +1,7 @@
 Summary:   Perl extension to create simple calendars
 Name:  perl-Calendar-Simple
 Version:   1.21
-Release:   14%{?dist}
+Release:   15%{?dist}
 License:   GPL+ or Artistic
 Group: Development/Libraries
 URL:   http://search.cpan.org/dist/Calendar-Simple/
@@ -52,6 +52,9 @@ rm -rf $RPM_BUILD_ROOT
 %{_mandir}/man3/*
 
 %changelog
+* Thu Jun 18 2015 Fedora Release Engineering  
- 1.21-15
+- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild
+
 * Sat Jun 06 2015 Jitka Plesnikova  - 1.21-14
 - Perl 5.22 rebuild
 
-- 
cgit v0.11.2



http://pkgs.fedoraproject.org/cgit/perl-Calendar-Simple.git/commit/?h=f22=977628c8230bffa6bb323d1a0368d606ed6fd9c6
--
Fedora Extras Perl SIG
http://www.fedoraproject.org/wiki/Extras/SIGs/Perl
perl-devel mailing list
perl-devel@lists.fedoraproject.org
http://lists.fedoraproject.org/admin/lists/perl-devel@lists.fedoraproject.org

corsepiu pushed to perl-Calendar-Simple (f22). "Perl 5.22 rebuild"

2016-01-26 Thread notifications
From fa669ce78545463eb6ee399db1a13793c98f3bf4 Mon Sep 17 00:00:00 2001
From: Jitka Plesnikova 
Date: Sat, 6 Jun 2015 21:42:50 +0200
Subject: Perl 5.22 rebuild

---
 perl-Calendar-Simple.spec | 5 -
 1 file changed, 4 insertions(+), 1 deletion(-)

diff --git a/perl-Calendar-Simple.spec b/perl-Calendar-Simple.spec
index 5bdd092..2cf6f5b 100644
--- a/perl-Calendar-Simple.spec
+++ b/perl-Calendar-Simple.spec
@@ -1,7 +1,7 @@
 Summary:   Perl extension to create simple calendars
 Name:  perl-Calendar-Simple
 Version:   1.21
-Release:   13%{?dist}
+Release:   14%{?dist}
 License:   GPL+ or Artistic
 Group: Development/Libraries
 URL:   http://search.cpan.org/dist/Calendar-Simple/
@@ -52,6 +52,9 @@ rm -rf $RPM_BUILD_ROOT
 %{_mandir}/man3/*
 
 %changelog
+* Sat Jun 06 2015 Jitka Plesnikova  - 1.21-14
+- Perl 5.22 rebuild
+
 * Fri Aug 29 2014 Jitka Plesnikova  - 1.21-13
 - Perl 5.20 rebuild
 
-- 
cgit v0.11.2



http://pkgs.fedoraproject.org/cgit/perl-Calendar-Simple.git/commit/?h=f22=fa669ce78545463eb6ee399db1a13793c98f3bf4
--
Fedora Extras Perl SIG
http://www.fedoraproject.org/wiki/Extras/SIGs/Perl
perl-devel mailing list
perl-devel@lists.fedoraproject.org
http://lists.fedoraproject.org/admin/lists/perl-devel@lists.fedoraproject.org

[Bug 1301800] perl-XML-XPath-1.26 is available

2016-01-26 Thread bugzilla
https://bugzilla.redhat.com/show_bug.cgi?id=1301800

Jitka Plesnikova  changed:

   What|Removed |Added

 Status|NEW |CLOSED
   Fixed In Version||perl-XML-XPath-1.26-1.fc24
 Resolution|--- |RAWHIDE
Last Closed||2016-01-26 04:08:57



-- 
You are receiving this mail because:
You are on the CC list for the bug.
--
Fedora Extras Perl SIG
http://www.fedoraproject.org/wiki/Extras/SIGs/Perl
perl-devel mailing list
perl-devel@lists.fedoraproject.org
http://lists.fedoraproject.org/admin/lists/perl-devel@lists.fedoraproject.org

corsepiu pushed to perl-capitalization (master). "Modernize spec. (..more)"

2016-01-26 Thread notifications
From bf1c57b90ac925d3f626aec65076b71ba76cb30b Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Ralf=20Cors=C3=A9pius?= 
Date: Tue, 26 Jan 2016 13:10:13 +0100
Subject: Modernize spec.

- Fix bogus %changelog dates.
---
 perl-capitalization.spec | 20 
 1 file changed, 8 insertions(+), 12 deletions(-)

diff --git a/perl-capitalization.spec b/perl-capitalization.spec
index fa92f40..4218342 100644
--- a/perl-capitalization.spec
+++ b/perl-capitalization.spec
@@ -1,13 +1,12 @@
 Name:   perl-capitalization
 Version:0.03
-Release:23%{?dist}
+Release:24%{?dist}
 Summary:No capitalization on method names
 
 Group:  Development/Libraries
 License:GPL+ or Artistic
 URL:http://search.cpan.org/dist/capitalization
 Source0:
http://search.cpan.org/CPAN/authors/id/M/MI/MIYAGAWA/capitalization-%{version}.tar.gz
-BuildRoot:  %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
 
 BuildArch:  noarch
 Requires:  perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version))
@@ -24,14 +23,12 @@ BuildRequires:  perl(Test::More)
 
 
 %build
-%{__perl} Makefile.PL INSTALLDIRS=vendor
+%{__perl} Makefile.PL INSTALLDIRS=vendor NO_PACKLIST=1
 make %{?_smp_mflags}
 
 
 %install
-rm -rf $RPM_BUILD_ROOT
 make pure_install PERL_INSTALL_ROOT=$RPM_BUILD_ROOT
-find $RPM_BUILD_ROOT -type f -name .packlist -exec rm -f {} ';'
 find $RPM_BUILD_ROOT -type d -depth -exec rmdir {} 2>/dev/null ';'
 chmod -R u+w $RPM_BUILD_ROOT/*
 
@@ -40,18 +37,17 @@ chmod -R u+w $RPM_BUILD_ROOT/*
 make test
 
 
-%clean
-rm -rf $RPM_BUILD_ROOT
-
-
 %files
-%defattr(-,root,root,-)
 %doc Changes
 %{perl_vendorlib}/*
 %{_mandir}/man3/*.3*
 
 
 %changelog
+* Tue Jan 26 2016 Ralf Corsépius  - 0.03-24
+- Modernize spec.
+- Fix bogus %%changelog dates.
+
 * Thu Jun 18 2015 Fedora Release Engineering  
- 0.03-23
 - Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild
 
@@ -116,13 +112,13 @@ rm -rf $RPM_BUILD_ROOT
 * Wed Mar 01 2006 Ralf Corsépius  - 0.03-3
 - Rebuild for perl-5.8.8.
 
-* Wed Oct 21 2005  Ralf Corsépius 
+* Fri Oct 21 2005  Ralf Corsépius 
 - Fix URL.
 
 * Wed Oct 19 2005  Ralf Corsépius  - 0.03-2
 - Add Paul's proposals.
 
-* Tue Oct 10 2005  Ralf Corsépius  - 0.03-1
+* Mon Oct 10 2005  Ralf Corsépius  - 0.03-1
 - Initial package.
 - FE submission.
  
-- 
cgit v0.11.2



http://pkgs.fedoraproject.org/cgit/perl-capitalization.git/commit/?h=master=bf1c57b90ac925d3f626aec65076b71ba76cb30b
--
Fedora Extras Perl SIG
http://www.fedoraproject.org/wiki/Extras/SIGs/Perl
perl-devel mailing list
perl-devel@lists.fedoraproject.org
http://lists.fedoraproject.org/admin/lists/perl-devel@lists.fedoraproject.org

ppisar pushed to perl-File-PathList (master). "Modernize spec file"

2016-01-26 Thread notifications
From 13eba93b7997ed0f9236d9c48c484a0ce49fef5e Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Petr=20P=C3=ADsa=C5=99?= 
Date: Tue, 26 Jan 2016 10:11:36 +0100
Subject: Modernize spec file

---
 .rpmlint|  2 ++
 perl-File-PathList.spec | 40 
 2 files changed, 26 insertions(+), 16 deletions(-)
 create mode 100644 .rpmlint

diff --git a/.rpmlint b/.rpmlint
new file mode 100644
index 000..cf4213b
--- /dev/null
+++ b/.rpmlint
@@ -0,0 +1,2 @@
+from Config import *
+addFilter("spelling-error .* classpaths");
diff --git a/perl-File-PathList.spec b/perl-File-PathList.spec
index fb6f268..8e9f271 100644
--- a/perl-File-PathList.spec
+++ b/perl-File-PathList.spec
@@ -1,32 +1,35 @@
 Name:   perl-File-PathList
 Version:1.04
-Release:13%{?dist}
+Release:14%{?dist}
 Summary:Find a file within a set of paths (like @INC or Java 
classpaths)
 License:GPL+ or Artistic
 Group:  Development/Libraries
 URL:http://search.cpan.org/dist/File-PathList/
 Source0:
http://www.cpan.org/authors/id/A/AD/ADAMK/File-PathList-%{version}.tar.gz
 BuildArch:  noarch
+BuildRequires:  coreutils
+BuildRequires:  findutils
+BuildRequires:  make
+BuildRequires:  perl
+BuildRequires:  perl(inc::Module::Install) >= 0.76
+BuildRequires:  perl(Module::Install::Metadata)
+BuildRequires:  perl(Module::Install::WriteAll)
+BuildRequires:  sed
+# Run-time:
 BuildRequires:  perl(File::Spec) >= 0.80
 BuildRequires:  perl(File::Spec::Unix)
-BuildRequires:  perl(ExtUtils::MakeMaker)
 BuildRequires:  perl(Params::Util) >= 0.24
+BuildRequires:  perl(strict)
+BuildRequires:  perl(vars)
 # Tests only:
 BuildRequires:  perl(File::Spec::Functions)
 BuildRequires:  perl(Test::More) >= 0.47
-Requires:   perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo 
$version))
+Requires:   perl(:MODULE_COMPAT_%(eval "`perl -V:version`"; echo $version))
 Requires:   perl(File::Spec) >= 0.80
 Requires:   perl(Params::Util) >= 0.24
 
 # Remove underspecified dependencies
-# RPM 4.8 style:
-%filter_from_requires /^perl(File::Spec)\s*$/d
-%filter_from_requires /^perl(Params::Util)\s*$/d
-%filter_setup
-# RPM 4.9 style:
-%global __requires_exclude 
%{?__requires_exclude:__requires_exclude|}^perl\\(File::Spec\\)\\s*$
-%global __requires_exclude %__requires_exclude|^perl\\(Params::Util\\)\\s*$
-
+%global __requires_exclude 
%{?__requires_exclude:%__requires_exclude|}^perl\\((File::Spec|Params::Util)\\)$
 
 %description
 Many systems that map generic relative paths to absolute paths do so with a
@@ -38,27 +41,32 @@ localized version in the process of looking up the path.
 
 %prep
 %setup -q -n File-PathList-%{version}
+# Remove bundled modules
+rm -r ./inc
+sed -i -e '/^inc\//d' MANIFEST
 
 %build
-%{__perl} Makefile.PL INSTALLDIRS=vendor
+perl Makefile.PL INSTALLDIRS=vendor
 make %{?_smp_mflags}
 
 %install
-make pure_install PERL_INSTALL_ROOT=$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/*
 
 %check
 make test
 
 %files
-%defattr(-,root,root,-)
-%doc Changes LICENSE README
+%license LICENSE
+%doc Changes README
 %{perl_vendorlib}/*
 %{_mandir}/man3/*
 
 %changelog
+* Tue Jan 26 2016 Petr Pisar  - 1.04-14
+- Modernize spec file
+
 * Thu Jun 18 2015 Fedora Release Engineering  
- 1.04-13
 - Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild
 
-- 
cgit v0.11.2



http://pkgs.fedoraproject.org/cgit/perl-File-PathList.git/commit/?h=master=13eba93b7997ed0f9236d9c48c484a0ce49fef5e
--
Fedora Extras Perl SIG
http://www.fedoraproject.org/wiki/Extras/SIGs/Perl
perl-devel mailing list
perl-devel@lists.fedoraproject.org
http://lists.fedoraproject.org/admin/lists/perl-devel@lists.fedoraproject.org

Re: Bugzilla cleanup

2016-01-26 Thread Jan Kurik
Hi,

as announced a month ago, I just closed approx. 200 bugs as EOL. The
list of closed bugs is available in CSV format [1].
If you think any of the closed bugs is still valid and should remain
open, please re-open it and assign it to a supported release (F22,
F23) or to rawhide.

[1] https://fedorapeople.org/~jkurik/EOL-2016-01-26.csv

Best Regards,
Jan

On Tue, Dec 22, 2015 at 12:45 PM, Jan Kurik  wrote:
> Hi Fedora people,
>
> during some cleanup I have found several hundreds bugs which are
> assigned to EOL releases and are still open (typically reopened). The
> oldest one, I have found, was for Fedora Core 5. As we can not provide
> fixes for EOL releases I provided all the bugs with the following
> comment:
>
> 
> This bug is currently assigned to an unsupported release. If you think
> this bug is still valid and should remain open, please re-assign it to
> a supported release (F22, F23) or to rawhide.
> Bugs which will be assigned to an unsupported release are going to be
> closed as EOL (End Of Life) on January 26th, 2016.
> 
>
> If you are owner of such a bug, please make sure the bug is assigned
> to a supported release or closed as EOL, before we start with rebasing
> rawhide to F24.
>
> Thanks a lot for your help.
> Marry Christmas and Happy New year,
> Jan
> --
> Jan Kuřík
> Platform & Fedora Program Manager
> Red Hat Czech s.r.o., Purkynova 99/71, 612 45 Brno, Czech Republic



-- 
Jan Kuřík
Platform & Fedora Program Manager
Red Hat Czech s.r.o., Purkynova 99/71, 612 45 Brno, Czech Republic
--
devel mailing list
devel@lists.fedoraproject.org
http://lists.fedoraproject.org/admin/lists/devel@lists.fedoraproject.org

Re: Needless use of %defattr (in 4464 packages)

2016-01-26 Thread Richard W.M. Jones
On Mon, Jan 25, 2016 at 04:34:55PM -0600, Jason L Tibbitts III wrote:
> gtkglarea2 (rjones, rathann)

Done + a few other spec file cleanups.

> ioport (rjones)

Done.

> nekovm (rjones, andyli)

Done.

> ocaml-autoconf (rjones)
> ocaml-camomile (rjones)
> ocaml-p3l (rjones)

All done.

> rpmdepsize (jussilehtola, rjones)

This package is going to be orphaned soon so I didn't bother to
fix it.

> techtalk-pse (rjones)

Done.

> vhostmd (rjones)

Done.

Rich.

-- 
Richard Jones, Virtualization Group, Red Hat http://people.redhat.com/~rjones
Read my programming and virtualization blog: http://rwmj.wordpress.com
virt-df lists disk usage of guests without needing to install any
software inside the virtual machine.  Supports Linux and Windows.
http://people.redhat.com/~rjones/virt-df/
--
devel mailing list
devel@lists.fedoraproject.org
http://lists.fedoraproject.org/admin/lists/devel@lists.fedoraproject.org

corsepiu pushed to perl-Authen-Simple-Passwd (master). "Modernize spec."

2016-01-26 Thread notifications
From cbc92764d4fa03a32c2167857e1be2fdbb0daf01 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Ralf=20Cors=C3=A9pius?= 
Date: Tue, 26 Jan 2016 12:12:10 +0100
Subject: Modernize spec.

---
 perl-Authen-Simple-Passwd.spec | 12 
 1 file changed, 4 insertions(+), 8 deletions(-)

diff --git a/perl-Authen-Simple-Passwd.spec b/perl-Authen-Simple-Passwd.spec
index a7c0eb4..5c5767c 100644
--- a/perl-Authen-Simple-Passwd.spec
+++ b/perl-Authen-Simple-Passwd.spec
@@ -1,12 +1,11 @@
 Name:   perl-Authen-Simple-Passwd
 Version:0.6
-Release:13%{?dist}
+Release:14%{?dist}
 Summary:Simple Passwd authentication
 License:GPL+ or Artistic
 Group:  Development/Libraries
 URL:http://search.cpan.org/dist/Authen-Simple-Passwd/
 Source0:
http://www.cpan.org/authors/id/C/CH/CHANSEN/Authen-Simple-Passwd-%{version}.tar.gz
-BuildRoot:  %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
 BuildArch:  noarch
 BuildRequires:  perl(Authen::Simple) >= 0.3
 BuildRequires:  perl(Module::Build)
@@ -33,8 +32,6 @@ Authenticate against a passwd file.
 ./Build
 
 %install
-rm -rf $RPM_BUILD_ROOT
-
 ./Build install destdir=$RPM_BUILD_ROOT create_packlist=0
 find $RPM_BUILD_ROOT -depth -type d -exec rmdir {} 2>/dev/null \;
 
@@ -43,16 +40,15 @@ find $RPM_BUILD_ROOT -depth -type d -exec rmdir {} 
2>/dev/null \;
 %check
 TEST_POD=1 ./Build test
 
-%clean
-rm -rf $RPM_BUILD_ROOT
-
 %files
-%defattr(-,root,root,-)
 %doc Changes README
 %{perl_vendorlib}/*
 %{_mandir}/man3/*
 
 %changelog
+* Tue Jan 26 2016 Ralf Corsépius  - 0.6-14
+- Modernize spec.
+
 * Thu Jun 18 2015 Fedora Release Engineering  
- 0.6-13
 - Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild
 
-- 
cgit v0.11.2



http://pkgs.fedoraproject.org/cgit/perl-Authen-Simple-Passwd.git/commit/?h=master=cbc92764d4fa03a32c2167857e1be2fdbb0daf01
--
Fedora Extras Perl SIG
http://www.fedoraproject.org/wiki/Extras/SIGs/Perl
perl-devel mailing list
perl-devel@lists.fedoraproject.org
http://lists.fedoraproject.org/admin/lists/perl-devel@lists.fedoraproject.org

jplesnik pushed to perl-XML-XPath (master). "1.26 bump"

2016-01-26 Thread notifications
From 8020acc547e09eda67c5384230a7cfb5e57091c4 Mon Sep 17 00:00:00 2001
From: Jitka Plesnikova 
Date: Tue, 26 Jan 2016 10:07:38 +0100
Subject: 1.26 bump

---
 .gitignore  | 1 +
 perl-XML-XPath.spec | 8 +++-
 sources | 2 +-
 3 files changed, 9 insertions(+), 2 deletions(-)

diff --git a/.gitignore b/.gitignore
index 4921476..47e58b0 100644
--- a/.gitignore
+++ b/.gitignore
@@ -5,3 +5,4 @@ XML-XPath-1.13.tar.gz
 /XML-XPath-1.22.tar.gz
 /XML-XPath-1.24.tar.gz
 /XML-XPath-1.25.tar.gz
+/XML-XPath-1.26.tar.gz
diff --git a/perl-XML-XPath.spec b/perl-XML-XPath.spec
index c851bff..6826412 100644
--- a/perl-XML-XPath.spec
+++ b/perl-XML-XPath.spec
@@ -1,5 +1,5 @@
 Name:   perl-XML-XPath
-Version:1.25
+Version:1.26
 Release:1%{?dist}
 Summary:XPath parser and evaluator for Perl
 License:Artistic 2.0
@@ -26,6 +26,9 @@ BuildRequires:  perl(XML::Parser) >= 2.23
 # Tests
 BuildRequires:  perl(Test)
 BuildRequires:  perl(Test::More)
+# Optional tests
+BuildRequires:  perl(Test::CPAN::Meta)
+BuildRequires:  perl(Test::CPAN::Meta::JSON)
 
 Requires:   perl(:MODULE_COMPAT_%(eval "`perl -V:version`"; echo $version))
 Requires:   perl(POSIX)
@@ -68,6 +71,9 @@ make test
 %{_mandir}/man3/*.3*
 
 %changelog
+* Tue Jan 26 2016 Jitka Plesnikova  - 1.26-1
+- 1.26 bump
+
 * Thu Jan 21 2016 Jitka Plesnikova  - 1.25-1
 - 1.25 bump
 
diff --git a/sources b/sources
index a335d86..d819c4e 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-a586abd19e91d38df4d17ff940777dc3  XML-XPath-1.25.tar.gz
+b7ac5784975235ee3f1cfb40a9fe0067  XML-XPath-1.26.tar.gz
-- 
cgit v0.11.2



http://pkgs.fedoraproject.org/cgit/perl-XML-XPath.git/commit/?h=master=8020acc547e09eda67c5384230a7cfb5e57091c4
--
Fedora Extras Perl SIG
http://www.fedoraproject.org/wiki/Extras/SIGs/Perl
perl-devel mailing list
perl-devel@lists.fedoraproject.org
http://lists.fedoraproject.org/admin/lists/perl-devel@lists.fedoraproject.org

[Bug 1300658] Please provide a package for EPEL7

2016-01-26 Thread bugzilla
https://bugzilla.redhat.com/show_bug.cgi?id=1300658



--- Comment #5 from Ruben Kerkhof  ---
Great, thanks a lot!

-- 
You are receiving this mail because:
You are on the CC list for the bug.
--
Fedora Extras Perl SIG
http://www.fedoraproject.org/wiki/Extras/SIGs/Perl
perl-devel mailing list
perl-devel@lists.fedoraproject.org
http://lists.fedoraproject.org/admin/lists/perl-devel@lists.fedoraproject.org

jorti pushed to amavisd-new (f23). "Remove %defattr"

2016-01-26 Thread notifications
From f67ebb4923cfe150d6e058b25262642134ff40c4 Mon Sep 17 00:00:00 2001
From: Juan Orti Alcaine 
Date: Tue, 26 Jan 2016 13:08:27 +0100
Subject: Remove %defattr

---
 amavisd-new.spec | 2 --
 1 file changed, 2 deletions(-)

diff --git a/amavisd-new.spec b/amavisd-new.spec
index 1078c4c..5275bb3 100644
--- a/amavisd-new.spec
+++ b/amavisd-new.spec
@@ -270,7 +270,6 @@ systemctl start amavisd-clean-quarantine.timer >/dev/null 
2>&1 || :
 %systemd_postun_with_restart amavisd-snmp-zmq.service
 
 %files
-%defattr(-,root,root,-)
 %doc AAAREADME.first LDAP.schema LDAP.ldif RELEASE_NOTES TODO INSTALL
 %doc README_FILES test-messages amavisd.conf-* amavisd-custom.conf
 %license LICENSE
@@ -298,7 +297,6 @@ systemctl start amavisd-clean-quarantine.timer >/dev/null 
2>&1 || :
 %dir %attr(770,amavis,clamupdate) %{_localstatedir}/run/clamd.amavisd
 
 %files snmp
-%defattr(-,root,root,-)
 %doc AMAVIS-MIB.txt
 %{_unitdir}/amavisd-snmp.service
 %{_sbindir}/amavisd-snmp-subagent
-- 
cgit v0.11.2



http://pkgs.fedoraproject.org/cgit/amavisd-new.git/commit/?h=f23=f67ebb4923cfe150d6e058b25262642134ff40c4
--
Fedora Extras Perl SIG
http://www.fedoraproject.org/wiki/Extras/SIGs/Perl
perl-devel mailing list
perl-devel@lists.fedoraproject.org
http://lists.fedoraproject.org/admin/lists/perl-devel@lists.fedoraproject.org

jorti pushed to amavisd-new (master). "Remove %defattr"

2016-01-26 Thread notifications
From f67ebb4923cfe150d6e058b25262642134ff40c4 Mon Sep 17 00:00:00 2001
From: Juan Orti Alcaine 
Date: Tue, 26 Jan 2016 13:08:27 +0100
Subject: Remove %defattr

---
 amavisd-new.spec | 2 --
 1 file changed, 2 deletions(-)

diff --git a/amavisd-new.spec b/amavisd-new.spec
index 1078c4c..5275bb3 100644
--- a/amavisd-new.spec
+++ b/amavisd-new.spec
@@ -270,7 +270,6 @@ systemctl start amavisd-clean-quarantine.timer >/dev/null 
2>&1 || :
 %systemd_postun_with_restart amavisd-snmp-zmq.service
 
 %files
-%defattr(-,root,root,-)
 %doc AAAREADME.first LDAP.schema LDAP.ldif RELEASE_NOTES TODO INSTALL
 %doc README_FILES test-messages amavisd.conf-* amavisd-custom.conf
 %license LICENSE
@@ -298,7 +297,6 @@ systemctl start amavisd-clean-quarantine.timer >/dev/null 
2>&1 || :
 %dir %attr(770,amavis,clamupdate) %{_localstatedir}/run/clamd.amavisd
 
 %files snmp
-%defattr(-,root,root,-)
 %doc AMAVIS-MIB.txt
 %{_unitdir}/amavisd-snmp.service
 %{_sbindir}/amavisd-snmp-subagent
-- 
cgit v0.11.2



http://pkgs.fedoraproject.org/cgit/amavisd-new.git/commit/?h=master=f67ebb4923cfe150d6e058b25262642134ff40c4
--
Fedora Extras Perl SIG
http://www.fedoraproject.org/wiki/Extras/SIGs/Perl
perl-devel mailing list
perl-devel@lists.fedoraproject.org
http://lists.fedoraproject.org/admin/lists/perl-devel@lists.fedoraproject.org

jorti pushed to amavisd-new (f23). "Make clamav a weak dependency and co-own /etc/clamd.d"

2016-01-26 Thread notifications
From 7810b92cd5bb2442e89364459b619fc8a0ba5b00 Mon Sep 17 00:00:00 2001
From: Juan Orti Alcaine 
Date: Mon, 23 Nov 2015 16:42:49 +0100
Subject: Make clamav a weak dependency and co-own /etc/clamd.d

---
 amavisd-new.spec | 10 +++---
 1 file changed, 7 insertions(+), 3 deletions(-)

diff --git a/amavisd-new.spec b/amavisd-new.spec
index 79b1ef0..1078c4c 100644
--- a/amavisd-new.spec
+++ b/amavisd-new.spec
@@ -3,7 +3,7 @@
 Summary:Email filter with virus scanner and spamassassin support
 Name:   amavisd-new
 Version:2.10.1
-Release:5%{?prerelease:.%{prerelease}}%{?dist}
+Release:6%{?prerelease:.%{prerelease}}%{?dist}
 # LDAP schema is GFDL, some helpers are BSD, core is GPLv2+
 License:GPLv2+ and BSD and GFDL
 Group:  Applications/System
@@ -32,8 +32,7 @@ Patch3: amavisd-new-2.8.0-init_network.patch
 BuildRoot:  %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
 BuildArch:  noarch
 BuildRequires:  systemd
-Requires:   clamav-server
-Requires:   clamav-server-systemd
+Recommends: clamav-server-systemd
 Requires:   tmpwatch
 Requires:   binutils
 Requires:   altermime
@@ -198,6 +197,7 @@ install -D -p -m 644 %{SOURCE14} 
$RPM_BUILD_ROOT%{_unitdir}/amavisd-clean-quaran
 install -D -p -m 644 %{SOURCE15} $RPM_BUILD_ROOT%{_unitdir}/amavis-mc.service
 install -D -p -m 644 %{SOURCE16} 
$RPM_BUILD_ROOT%{_unitdir}/amavisd-snmp-zmq.service
 
+mkdir -p -m 0755 $RPM_BUILD_ROOT%{_sysconfdir}/clamd.d
 install -D -p -m 644 amavisd.conf 
$RPM_BUILD_ROOT%{_sysconfdir}/amavisd/amavisd.conf
 install -D -p -m 644 %{SOURCE2} 
$RPM_BUILD_ROOT%{_sysconfdir}/clamd.d/amavisd.conf
 
@@ -280,6 +280,7 @@ systemctl start amavisd-clean-quarantine.timer >/dev/null 
2>&1 || :
 %{_unitdir}/amavisd-clean-tmp.timer
 %{_unitdir}/amavisd-clean-quarantine.service
 %{_unitdir}/amavisd-clean-quarantine.timer
+%dir %{_sysconfdir}/clamd.d
 %config(noreplace) %{_sysconfdir}/amavisd/amavisd.conf
 %config(noreplace) %{_sysconfdir}/clamd.d/amavisd.conf
 %{_sbindir}/amavisd
@@ -313,6 +314,9 @@ systemctl start amavisd-clean-quarantine.timer >/dev/null 
2>&1 || :
 %{_sbindir}/amavisd-snmp-subagent-zmq
 
 %changelog
+* Mon Nov 23 2015 Juan Orti Alcaine  2.10.1-6
+- Make clamav a weak dependency and co-own /etc/clamd.d (RHBZ#1265922)
+
 * Tue Jun 16 2015 Fedora Release Engineering  
- 2.10.1-5
 - Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild
 
-- 
cgit v0.11.2



http://pkgs.fedoraproject.org/cgit/amavisd-new.git/commit/?h=f23=7810b92cd5bb2442e89364459b619fc8a0ba5b00
--
Fedora Extras Perl SIG
http://www.fedoraproject.org/wiki/Extras/SIGs/Perl
perl-devel mailing list
perl-devel@lists.fedoraproject.org
http://lists.fedoraproject.org/admin/lists/perl-devel@lists.fedoraproject.org

yaneti pushed to perl-POE-Component-Server-Bayeux (master). "Remove defattr"

2016-01-26 Thread notifications
From 956f1f1673732dfae71590fe085e981cbd5fc601 Mon Sep 17 00:00:00 2001
From: Yanko Kaneti 
Date: Tue, 26 Jan 2016 10:55:39 +0200
Subject: Remove defattr

---
 perl-POE-Component-Server-Bayeux.spec | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

diff --git a/perl-POE-Component-Server-Bayeux.spec 
b/perl-POE-Component-Server-Bayeux.spec
index c8badbf..4798552 100644
--- a/perl-POE-Component-Server-Bayeux.spec
+++ b/perl-POE-Component-Server-Bayeux.spec
@@ -59,12 +59,14 @@ find $RPM_BUILD_ROOT -depth -type d -exec rmdir {} 
2>/dev/null \;
 rm -rf $RPM_BUILD_ROOT
 
 %files
-%defattr(-,root,root,-)
 %doc Changes README htdocs
 %{perl_vendorlib}/*
 %{_mandir}/man3/*
 
 %changelog
+* Tue Jan 26 2016 Yanko Kaneti 
+- Remove defattr.
+
 * Thu Jun 18 2015 Fedora Release Engineering  
- 0.04-15
 - Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild
 
-- 
cgit v0.11.2



http://pkgs.fedoraproject.org/cgit/perl-POE-Component-Server-Bayeux.git/commit/?h=master=956f1f1673732dfae71590fe085e981cbd5fc601
--
Fedora Extras Perl SIG
http://www.fedoraproject.org/wiki/Extras/SIGs/Perl
perl-devel mailing list
perl-devel@lists.fedoraproject.org
http://lists.fedoraproject.org/admin/lists/perl-devel@lists.fedoraproject.org

yaneti pushed to perl-POE-Filter-Transparent-SMTP (master). "Remove defattr. Use license."

2016-01-26 Thread notifications
From 294e8eb9172665b7fa8233fbc2203fc23bed49ea Mon Sep 17 00:00:00 2001
From: Yanko Kaneti 
Date: Tue, 26 Jan 2016 10:56:47 +0200
Subject: Remove defattr. Use license.

---
 perl-POE-Filter-Transparent-SMTP.spec | 7 +--
 1 file changed, 5 insertions(+), 2 deletions(-)

diff --git a/perl-POE-Filter-Transparent-SMTP.spec 
b/perl-POE-Filter-Transparent-SMTP.spec
index e2811a4..f931a2a 100644
--- a/perl-POE-Filter-Transparent-SMTP.spec
+++ b/perl-POE-Filter-Transparent-SMTP.spec
@@ -46,12 +46,15 @@ make test
 rm -rf %{buildroot}
 
 %files
-%defattr(-,root,root,-)
-%doc Changes README LICENSE
+%doc Changes README
+%license LICENSE
 %{perl_vendorlib}/*
 %{_mandir}/man3/*
 
 %changelog
+* Tue Jan 26 2016 Yanko Kaneti 
+- Remove defattr. Use license.
+
 * Thu Jun 18 2015 Fedora Release Engineering  
- 0.2-22
 - Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild
 
-- 
cgit v0.11.2



http://pkgs.fedoraproject.org/cgit/perl-POE-Filter-Transparent-SMTP.git/commit/?h=master=294e8eb9172665b7fa8233fbc2203fc23bed49ea
--
Fedora Extras Perl SIG
http://www.fedoraproject.org/wiki/Extras/SIGs/Perl
perl-devel mailing list
perl-devel@lists.fedoraproject.org
http://lists.fedoraproject.org/admin/lists/perl-devel@lists.fedoraproject.org

jplesnik uploaded XML-XPath-1.26.tar.gz for perl-XML-XPath

2016-01-26 Thread notifications
b7ac5784975235ee3f1cfb40a9fe0067  XML-XPath-1.26.tar.gz

http://pkgs.fedoraproject.org/lookaside/pkgs/perl-XML-XPath/XML-XPath-1.26.tar.gz/md5/b7ac5784975235ee3f1cfb40a9fe0067/XML-XPath-1.26.tar.gz
--
Fedora Extras Perl SIG
http://www.fedoraproject.org/wiki/Extras/SIGs/Perl
perl-devel mailing list
perl-devel@lists.fedoraproject.org
http://lists.fedoraproject.org/admin/lists/perl-devel@lists.fedoraproject.org

corsepiu pushed to perl-Algorithm-Dependency (master). "Remove %defattr. (..more)"

2016-01-26 Thread notifications
From 3b2e530952e3b254da705f395098fd99feb85448 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Ralf=20Cors=C3=A9pius?= 
Date: Tue, 26 Jan 2016 10:23:27 +0100
Subject: Remove %defattr.

- Add %license.
- Use NO_PACKLIST.
---
 perl-Algorithm-Dependency.spec | 14 +-
 1 file changed, 9 insertions(+), 5 deletions(-)

diff --git a/perl-Algorithm-Dependency.spec b/perl-Algorithm-Dependency.spec
index f0c132e..f3647cc 100644
--- a/perl-Algorithm-Dependency.spec
+++ b/perl-Algorithm-Dependency.spec
@@ -1,6 +1,6 @@
 Name:  perl-Algorithm-Dependency
 Version:   1.110
-Release:   19%{?dist}
+Release:   20%{?dist}
 Summary:   Algorithmic framework for implementing dependency trees
 License:   GPL+ or Artistic
 Group: Development/Libraries
@@ -30,12 +30,11 @@ items in the set, and require actions on them as well.
 %setup -q -n Algorithm-Dependency-%{version}
 
 %build
-%{__perl} Makefile.PL INSTALLDIRS=vendor
+%{__perl} Makefile.PL INSTALLDIRS=vendor NO_PACKLIST=1
 make %{?_smp_mflags}
 
 %install
 make pure_install PERL_INSTALL_ROOT=$RPM_BUILD_ROOT
-find $RPM_BUILD_ROOT -type f -name .packlist -exec rm -f {} ';'
 find $RPM_BUILD_ROOT -type d -depth -exec rmdir {} 2>/dev/null ';'
 chmod -R u+w $RPM_BUILD_ROOT/*
 
@@ -43,12 +42,17 @@ chmod -R u+w $RPM_BUILD_ROOT/*
 make test AUTOMATED_TESTING=1
 
 %files
-%defattr(-,root,root,-)
-%doc Changes LICENSE
+%doc Changes
+%license LICENSE
 %{perl_vendorlib}/Algorithm
 %{_mandir}/man3/*
 
 %changelog
+* Tue Jan 26 2016 Ralf Corsépius  - 1.110-20
+- Remove %%defattr.
+- Add %%license.
+- Use NO_PACKLIST.
+
 * Thu Jun 18 2015 Fedora Release Engineering  
- 1.110-19
 - Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild
 
-- 
cgit v0.11.2



http://pkgs.fedoraproject.org/cgit/perl-Algorithm-Dependency.git/commit/?h=master=3b2e530952e3b254da705f395098fd99feb85448
--
Fedora Extras Perl SIG
http://www.fedoraproject.org/wiki/Extras/SIGs/Perl
perl-devel mailing list
perl-devel@lists.fedoraproject.org
http://lists.fedoraproject.org/admin/lists/perl-devel@lists.fedoraproject.org

Re: nss_myhostname as default in Fedora

2016-01-26 Thread Florian Weimer
On 01/26/2016 08:58 AM, Petr Spacek wrote:
> So, please, do not push "gateway." or any other single-label name forward. It
> will cause trouble sooner or later.

I think “_gateway” or “gateway_” would work, despite being a single
label.  We could give this one priority over DNS, even.

Florian
--
devel mailing list
devel@lists.fedoraproject.org
http://lists.fedoraproject.org/admin/lists/devel@lists.fedoraproject.org

Re: nss_myhostname as default in Fedora

2016-01-26 Thread Lennart Poettering
On Tue, 26.01.16 08:58, Petr Spacek (pspa...@redhat.com) wrote:

> I disagree with your disagreement. We have only 1 shared namespace for this
> world, and like it or not, the root zone (and thus all single-label names in
> it) is managed by ICANN.

Well, did you actually read the earlier discussions in this thread?

Again: it is well-known that single-label (aka "dotless domains") are
supposed to be interpreted in a local context, using domain search
paths, LLMNR and other local configuration. This is widely documented
by various Internet bodies, for example here:

https://www.iab.org/documents/correspondence-reports-documents/2013-2/iab-statement-dotless-domains-considered-harmful/

We only synthesize an address for the single-label name "gateway", not
for the whole domain, or stuff below it. We do not synthesize anything
for names with multiple dots, thus we are not in conflict with
documented Internet specifications, we simply locally define one of
those single-label names, fully in line with what the specs suggest.

> Fritzbox already did the mistake and used "box." as fake TLD for their
> "gateways", and this is going to cause trouble because Amazon bought
> box. TLD [1].

Firstly, it's a very different case, because the fritzbox does not
touch any single-label name! The zone they fake (and where the first
address RRs are located) is actually "fritz.box", and not "box". In
fact, they fake exactly nothing, not even a SOA RR for "box". 

(The fact that they did it this way actually buys them a
get-out-of-jail-free-card for the DNSSEC situation: as long as they
buy the fritz.box domain as soon as .box is delegated one day, they
can simply leave it unsigned, and then their routers can continue to
do what they want with it... But that's very much unrelated to the
discussion around single-label names here.)

(Also, as a matter of fact, not that it would matter much: you'll see
that the Amazon application has been withdrawn, just scroll down on
that page.)

> "gateway." (as any other single-label name) can face the same faith one day,
> when somebody decides to spend $$$ and buy it. Training anyone to rely on
> "gateway" or any other single-label name is a bad idea.

Nope. because IAB and ICANN and others made clear that single-label
domains are supposed to be resolved in local context, and gateway
hence is local.

> agateway.local." is okay, because RFC 6762 reserved "local." for
> this purpose.

Nope! .local is the TLD for MulticastDNS, nothing else.

AFAICS not a single claim in your mail is correct...

Lennart

-- 
Lennart Poettering, Red Hat
--
devel mailing list
devel@lists.fedoraproject.org
http://lists.fedoraproject.org/admin/lists/devel@lists.fedoraproject.org

jorti pushed to amavisd-new (el5). "Remove %defattr"

2016-01-26 Thread notifications
From c081d5f41e4fe3491fa3fc37afb7002bbbaf2595 Mon Sep 17 00:00:00 2001
From: Juan Orti Alcaine 
Date: Tue, 26 Jan 2016 13:07:32 +0100
Subject: Remove %defattr

---
 amavisd-new.spec | 1 -
 1 file changed, 1 deletion(-)

diff --git a/amavisd-new.spec b/amavisd-new.spec
index 8654d5d..db342d2 100644
--- a/amavisd-new.spec
+++ b/amavisd-new.spec
@@ -147,7 +147,6 @@ fi
 /sbin/service amavisd condrestart || :
 
 %files
-%defattr(-,root,root)
 %doc AAAREADME.first LDAP.schema LICENSE RELEASE_NOTES TODO
 %doc README_FILES test-messages amavisd.conf-*
 %dir %{_sysconfdir}/amavisd/
-- 
cgit v0.11.2



http://pkgs.fedoraproject.org/cgit/amavisd-new.git/commit/?h=el5=c081d5f41e4fe3491fa3fc37afb7002bbbaf2595
--
Fedora Extras Perl SIG
http://www.fedoraproject.org/wiki/Extras/SIGs/Perl
perl-devel mailing list
perl-devel@lists.fedoraproject.org
http://lists.fedoraproject.org/admin/lists/perl-devel@lists.fedoraproject.org

Re: Needless use of %defattr (in 4464 packages)

2016-01-26 Thread Michael Schwendt
On Tue, 26 Jan 2016 10:48:28 +0200, Ville Skyttä wrote:

> On Tue, Jan 26, 2016 at 9:35 AM, Petr Pisar  wrote:
> > This can bring bugs because, as noted in the orignal message, some
> > people use to change wrong permissions coming from %install section.  
> 
> Can you give a concrete example where doing this actually accomplishes
> something with rpmbuild >= 4.4? I can't immediately think of one; I
> don't see how "wrong permissions from %install" would end up in the
> package as files with non-root user/group. AFAIU rpmbuild >= 4.4 sets
> %defattr(-,root,root,-) by default and repeating immediately at start
> of %files is a no-op.

It refers to this bit in the original post,

  | or even to reset to the default after using different values,

which is the case where somebody sets a _non-default_ %defattr for
some lines before explicitly setting the %defattr defaults again for
the remaining lines. IOW, the packager uses a custom %defattr instead
of %attr or chmod in %install.
--
devel mailing list
devel@lists.fedoraproject.org
http://lists.fedoraproject.org/admin/lists/devel@lists.fedoraproject.org

ppisar pushed to perl-Gearman-Client-Async (master). "Modernize spec file"

2016-01-26 Thread notifications
From 9bd02e79a417e8105bdf9629024a3dd4c262f422 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Petr=20P=C3=ADsa=C5=99?= 
Date: Tue, 26 Jan 2016 10:32:29 +0100
Subject: Modernize spec file

---
 perl-Gearman-Client-Async.spec | 32 ++--
 1 file changed, 14 insertions(+), 18 deletions(-)

diff --git a/perl-Gearman-Client-Async.spec b/perl-Gearman-Client-Async.spec
index 52b5d07..5a09ac3 100644
--- a/perl-Gearman-Client-Async.spec
+++ b/perl-Gearman-Client-Async.spec
@@ -1,14 +1,15 @@
 Name:   perl-Gearman-Client-Async
 Version:0.94
-Release:21%{?dist}
+Release:22%{?dist}
 Summary:Asynchronous Client for the Gearman distributed job system
 License:GPL+ or Artistic
 Group:  Development/Libraries
 URL:http://search.cpan.org/dist/Gearman-Client-Async/
 Source0:
http://www.cpan.org/authors/id/B/BR/BRADFITZ/Gearman-Client-Async-%{version}.tar.gz
-BuildRoot:  %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
 BuildArch:  noarch
-
+BuildRequires:  coreutils
+BuildRequires:  findutils
+BuildRequires:  make
 BuildRequires:  perl
 BuildRequires:  perl(ExtUtils::MakeMaker)
 # Run-time:
@@ -38,7 +39,7 @@ BuildRequires:  perl(IO::Socket::INET)
 BuildRequires:  perl(lib)
 BuildRequires:  perl(POSIX)
 BuildRequires:  perl(Test::More)
-Requires:   perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo 
$version))
+Requires:   perl(:MODULE_COMPAT_%(eval "`perl -V:version`"; echo $version))
 
 # Filter double Requires:
 %global __requires_exclude 
%{?__requires_exclude:%__requires_exclude|}^perl\\(Danga::Socket\\)$
@@ -50,9 +51,8 @@ Asynchronous Client for the Gearman distributed job system
 %setup -q -n Gearman-Client-Async-%{version}
 
 %build
-%{__perl} Makefile.PL INSTALLDIRS=vendor
+perl Makefile.PL INSTALLDIRS=vendor
 make %{?_smp_mflags}
-
 mv README.txt README
 
 %check
@@ -65,25 +65,19 @@ rm t/err8.t
 make test
 
 %install
-rm -rf %{buildroot}
-
-make pure_install PERL_INSTALL_ROOT=%{buildroot}
-
+make pure_install DESTDIR=%{buildroot}
 find %{buildroot} -type f -name .packlist -exec rm -f {} \;
-find %{buildroot} -depth -type d -exec rmdir {} 2>/dev/null \;
-
 %{_fixperms} %{buildroot}/*
 
-%clean
-rm -rf %{buildroot}
-
 %files
-%defattr(-,root,root,-)
 %doc CHANGES README TODO
 %{perl_vendorlib}/*
 %{_mandir}/man3/*
 
 %changelog
+* Tue Jan 26 2016 Petr Pisar  - 0.94-22
+- Modernize spec file
+
 * Thu Jun 18 2015 Fedora Release Engineering  
- 0.94-21
 - Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild
 
@@ -140,10 +134,12 @@ rm -rf %{buildroot}
 * Thu Feb 07 2008 Tom "spot" Callaway  0.94-4
 - rebuild for new perl
 
-* Mon Jun 09 2007 Ruben Kerkhof  0.94-3
+* Thu Jul 12 2007 Ruben Kerkhof  0.94-3
 - Disable test which fails on x86_64 (#246356)
-* Mon Jun 02 2007 Ruben Kerkhof  0.94-2
+
+* Thu Jul 12 2007 Ruben Kerkhof  0.94-2
 - Enabled tests
 - Added necessary BuilRequires for F-8
+
 * Sun May 20 2007 Ruben Kerkhof  0.94-1
 - Specfile autogenerated by cpanspec 1.69.1.
-- 
cgit v0.11.2



http://pkgs.fedoraproject.org/cgit/perl-Gearman-Client-Async.git/commit/?h=master=9bd02e79a417e8105bdf9629024a3dd4c262f422
--
Fedora Extras Perl SIG
http://www.fedoraproject.org/wiki/Extras/SIGs/Perl
perl-devel mailing list
perl-devel@lists.fedoraproject.org
http://lists.fedoraproject.org/admin/lists/perl-devel@lists.fedoraproject.org

Re: Needless use of %defattr (in 4464 packages)

2016-01-26 Thread Ville Skyttä
On Tue, Jan 26, 2016 at 11:12 AM, Michael Schwendt  wrote:
> On Tue, 26 Jan 2016 10:48:28 +0200, Ville Skyttä wrote:
>
>> On Tue, Jan 26, 2016 at 9:35 AM, Petr Pisar  wrote:
>> > This can bring bugs because, as noted in the orignal message, some
>> > people use to change wrong permissions coming from %install section.
>>
>> Can you give a concrete example where doing this actually accomplishes
>> something with rpmbuild >= 4.4? I can't immediately think of one; I
>> don't see how "wrong permissions from %install" would end up in the
>> package as files with non-root user/group. AFAIU rpmbuild >= 4.4 sets
>> %defattr(-,root,root,-) by default and repeating immediately at start
>> of %files is a no-op.
>
> It refers to this bit in the original post,
>
>   | or even to reset to the default after using different values,

Sure, in *those* cases simply removing them would be wrong. But
whether by "This" above Petr refers to that particular case, or to
that removing a %defattr(-,root,root,-) _immediately after %files_
(which is not the case of resetting to defaults after using different
values) would cause bugs is not at all clear to me based on the
message parts he quoted. The original post's general case is the one
immediately after %files, that's what was grepped according to the
poster.
--
devel mailing list
devel@lists.fedoraproject.org
http://lists.fedoraproject.org/admin/lists/devel@lists.fedoraproject.org

corsepiu pushed to perl-Calendar-Simple (master). "Modernise spec. (..more)"

2016-01-26 Thread notifications
From 8f19a54eff35da57e72b3a482fc7ed5b47c79b62 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Ralf=20Cors=C3=A9pius?= 
Date: Tue, 26 Jan 2016 12:24:40 +0100
Subject: Modernise spec.

- Update BRs.
- Activate tests.
---
 perl-Calendar-Simple.spec | 28 
 1 file changed, 16 insertions(+), 12 deletions(-)

diff --git a/perl-Calendar-Simple.spec b/perl-Calendar-Simple.spec
index d6fb2cf..4b84f8e 100644
--- a/perl-Calendar-Simple.spec
+++ b/perl-Calendar-Simple.spec
@@ -1,17 +1,23 @@
 Summary:   Perl extension to create simple calendars
 Name:  perl-Calendar-Simple
 Version:   1.21
-Release:   15%{?dist}
+Release:   16%{?dist}
 License:   GPL+ or Artistic
 Group: Development/Libraries
 URL:   http://search.cpan.org/dist/Calendar-Simple/
 Source0:   
http://search.cpan.org/CPAN/authors/id/D/DA/DAVECROSS/Calendar-Simple-%{version}.tar.gz
 BuildArch: noarch
-BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
 
-BuildRequires:  perl(ExtUtils::MakeMaker)
 Requires:  perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo 
$version))
 
+BuildRequires:  perl(ExtUtils::MakeMaker)
+BuildRequires:  perl(Carp)
+BuildRequires:  perl(Exporter)
+BuildRequires:  perl(Time::Local)
+BuildRequires:  perl(base)
+BuildRequires:  perl(strict)
+BuildRequires:  perl(warnings)
+
 # Required by the tests
 BuildRequires: perl(DateTime)
 BuildRequires: perl(Test::Pod)
@@ -25,33 +31,31 @@ Perl extension to create simple calendars.
 chmod -x lib/*/Simple.pm
 
 %build
-%{__perl} Makefile.PL INSTALLDIRS=vendor
+%{__perl} Makefile.PL INSTALLDIRS=vendor NO_PACKLIST=1
 make %{?_smp_mflags}
 
 
 %install
-rm -rf $RPM_BUILD_ROOT
 make pure_install PERL_INSTALL_ROOT=$RPM_BUILD_ROOT
-find $RPM_BUILD_ROOT -type f -name .packlist -exec rm -f {} ';'
 find $RPM_BUILD_ROOT -type d -depth -exec rmdir {} 2>/dev/null ';'
 chmod -R u+w $RPM_BUILD_ROOT/*
 
 
-%clean
-rm -rf $RPM_BUILD_ROOT
-
 %check
-# switch off until Class::ISA will be in buildroot
-#make test
+make test
 
 %files
-%defattr(-,root,root,-)
 %doc Changes README
 %{_bindir}/pcal
 %{perl_vendorlib}/Calendar
 %{_mandir}/man3/*
 
 %changelog
+* Tue Jan 26 2016 Ralf Corsépius  - 1.21-16
+- Modernise spec.
+- Update BRs.
+- Activate tests.
+
 * Thu Jun 18 2015 Fedora Release Engineering  
- 1.21-15
 - Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild
 
-- 
cgit v0.11.2



http://pkgs.fedoraproject.org/cgit/perl-Calendar-Simple.git/commit/?h=master=8f19a54eff35da57e72b3a482fc7ed5b47c79b62
--
Fedora Extras Perl SIG
http://www.fedoraproject.org/wiki/Extras/SIGs/Perl
perl-devel mailing list
perl-devel@lists.fedoraproject.org
http://lists.fedoraproject.org/admin/lists/perl-devel@lists.fedoraproject.org

pghmcfc pushed to perl-Hash-Util-FieldHash-Compat (perl-Hash-Util-FieldHash-Compat-0.10-2.fc24). "Drop provides filter, no longer needed"

2016-01-26 Thread notifications
From 5194ffea3eeab3ac0bf1d02bf8fb9c86592541a8 Mon Sep 17 00:00:00 2001
From: Paul Howarth 
Date: Tue, 26 Jan 2016 11:43:30 +
Subject: Drop provides filter, no longer needed

---
 perl-Hash-Util-FieldHash-Compat.spec | 12 
 1 file changed, 4 insertions(+), 8 deletions(-)

diff --git a/perl-Hash-Util-FieldHash-Compat.spec 
b/perl-Hash-Util-FieldHash-Compat.spec
index 4b35340..247af83 100644
--- a/perl-Hash-Util-FieldHash-Compat.spec
+++ b/perl-Hash-Util-FieldHash-Compat.spec
@@ -1,6 +1,6 @@
 Name:  perl-Hash-Util-FieldHash-Compat
 Version:   0.10
-Release:   1%{?dist}
+Release:   2%{?dist}
 Summary:   Use Hash::Util::FieldHash or ties, depending on availability
 License:   GPL+ or Artistic
 URL:   http://search.cpan.org/dist/Hash-Util-FieldHash-Compat/
@@ -32,9 +32,6 @@ BuildRequires:perl(Test::More) >= 0.88
 # Runtime
 Requires:  perl(:MODULE_COMPAT_%(eval "`perl -V:version`"; echo $version))
 
-# Filter unversioned provide, leaving just the versioned one (rpm 4.9 onwards)
-%global __provides_exclude ^perl\\(Hash::Util::FieldHash::Compat\\)$
-
 %description
 Under older perls this module provides a drop in compatible API to
 Hash::Util::FieldHash using perltie. When Hash::Util::FieldHash is
@@ -43,10 +40,6 @@ available, it will use that instead.
 %prep
 %setup -q -n Hash-Util-FieldHash-Compat-%{version}
 
-# Filter unversioned provide, leaving just the versioned one (prior to rpm 4.9)
-%global provfilt /bin/sh -c "%{__perl_provides} | grep -Fvx 
'perl(Hash::Util::FieldHash::Compat)'"
-%define __perl_provides %{provfilt}
-
 %build
 perl Makefile.PL INSTALLDIRS=vendor
 make %{?_smp_mflags}
@@ -71,6 +64,9 @@ make test
 %{_mandir}/man3/Hash::Util::FieldHash::Compat::Heavy.3*
 
 %changelog
+* Tue Jan 26 2016 Paul Howarth  - 0.10-2
+- Drop provides filter, no longer needed
+
 * Mon Sep 28 2015 Paul Howarth  - 0.10-1
 - Update to 0.10
   - Fix invalid prereq specification for Heavy implementation (changed in 0.09)
-- 
cgit v0.11.2



http://pkgs.fedoraproject.org/cgit/perl-Hash-Util-FieldHash-Compat.git/commit/?h=perl-Hash-Util-FieldHash-Compat-0.10-2.fc24=5194ffea3eeab3ac0bf1d02bf8fb9c86592541a8
--
Fedora Extras Perl SIG
http://www.fedoraproject.org/wiki/Extras/SIGs/Perl
perl-devel mailing list
perl-devel@lists.fedoraproject.org
http://lists.fedoraproject.org/admin/lists/perl-devel@lists.fedoraproject.org

corsepiu pushed to perl-Calendar-Simple (f22). "Cleanup merger"

2016-01-26 Thread notifications
From 481f329205434dbdfd2b6c94f3244840e052ec22 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Ralf=20Cors=C3=A9pius?= 
Date: Tue, 26 Jan 2016 12:56:44 +0100
Subject: Cleanup merger

---
 perl-Calendar-Simple.spec | 6 --
 1 file changed, 6 deletions(-)

diff --git a/perl-Calendar-Simple.spec b/perl-Calendar-Simple.spec
index 4b84f8e..c621752 100644
--- a/perl-Calendar-Simple.spec
+++ b/perl-Calendar-Simple.spec
@@ -56,12 +56,6 @@ make test
 - Update BRs.
 - Activate tests.
 
-* Thu Jun 18 2015 Fedora Release Engineering  
- 1.21-15
-- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild
-
-* Sat Jun 06 2015 Jitka Plesnikova  - 1.21-14
-- Perl 5.22 rebuild
-
 * Fri Aug 29 2014 Jitka Plesnikova  - 1.21-13
 - Perl 5.20 rebuild
 
-- 
cgit v0.11.2



http://pkgs.fedoraproject.org/cgit/perl-Calendar-Simple.git/commit/?h=f22=481f329205434dbdfd2b6c94f3244840e052ec22
--
Fedora Extras Perl SIG
http://www.fedoraproject.org/wiki/Extras/SIGs/Perl
perl-devel mailing list
perl-devel@lists.fedoraproject.org
http://lists.fedoraproject.org/admin/lists/perl-devel@lists.fedoraproject.org

Re: Build root prepared by DNF is way larger

2016-01-26 Thread Peter Robinson
>> > So it appears this thread was probably not enough. Which keeps us with
>> > interesting state where mock by default does not install weak
>> > dependencies where Koji installs them. It causes interesting issues 
>> > already.
>>
>> mock/koji not installing weak dependencies == anything wanting ruby
>> being broken.
>>
>> Reason: "ruby" suggests "rubypick" which suggests "ruby".
>>
>> Packages buildrequire "ruby" but do not get "rubypick" installed (or if
>> they are lucky they get) so are unable to find Ruby because there is no
>> "/bin/ruby" executable.
>
> If ruby needs ruby-pick to work, then ruby-pick must not be a weak
> dependency of ruby, but a hard one.
>
> The koji buildroot really should only install hard dependencies. The
> buildroot is supposed to be the minimal possible set needed to build
> the package. If a package that would be installed as a weak dependency
> of one of the build dependencies is needed to build the package, that
> packa is a build dependency too.

That's incorrect. EG a package has optional Ruby bindings, it doesn't
need ruby to build but if ruby isn't present the ruby binding sub
package is empty. The buildroot should have all that is needed to
build the desired functionality, nothing more nothing less.

Peter
--
devel mailing list
devel@lists.fedoraproject.org
http://lists.fedoraproject.org/admin/lists/devel@lists.fedoraproject.org

Re: Build root prepared by DNF is way larger

2016-01-26 Thread Dan Horák
On Tue, 26 Jan 2016 10:18:08 +
Peter Robinson  wrote:

> >> > So it appears this thread was probably not enough. Which keeps
> >> > us with interesting state where mock by default does not install
> >> > weak dependencies where Koji installs them. It causes
> >> > interesting issues already.
> >>
> >> mock/koji not installing weak dependencies == anything wanting ruby
> >> being broken.
> >>
> >> Reason: "ruby" suggests "rubypick" which suggests "ruby".
> >>
> >> Packages buildrequire "ruby" but do not get "rubypick" installed
> >> (or if they are lucky they get) so are unable to find Ruby because
> >> there is no "/bin/ruby" executable.
> >
> > If ruby needs ruby-pick to work, then ruby-pick must not be a weak
> > dependency of ruby, but a hard one.
> >
> > The koji buildroot really should only install hard dependencies. The
> > buildroot is supposed to be the minimal possible set needed to build
> > the package. If a package that would be installed as a weak
> > dependency of one of the build dependencies is needed to build the
> > package, that packa is a build dependency too.
> 
> That's incorrect. EG a package has optional Ruby bindings, it doesn't
> need ruby to build but if ruby isn't present the ruby binding sub
> package is empty. The buildroot should have all that is needed to
> build the desired functionality, nothing more nothing less.

+1, distribution buildsystem should include all needed deps, including
weak, to build full featured result, but the users then can decide if
they want the bare minimum or to include some the weak deps.


Dan
--
devel mailing list
devel@lists.fedoraproject.org
http://lists.fedoraproject.org/admin/lists/devel@lists.fedoraproject.org

corsepiu pushed to perl-Cache-Simple-TimedExpiry (master). "Modernise spec."

2016-01-26 Thread notifications
From 7a10c125b7d00c208781cc2b4632302ce6f38d44 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Ralf=20Cors=C3=A9pius?= 
Date: Tue, 26 Jan 2016 12:17:11 +0100
Subject: Modernise spec.

---
 perl-Cache-Simple-TimedExpiry.spec | 12 
 1 file changed, 4 insertions(+), 8 deletions(-)

diff --git a/perl-Cache-Simple-TimedExpiry.spec 
b/perl-Cache-Simple-TimedExpiry.spec
index 572346c..2a3da7c 100644
--- a/perl-Cache-Simple-TimedExpiry.spec
+++ b/perl-Cache-Simple-TimedExpiry.spec
@@ -6,7 +6,6 @@ License:GPL+ or Artistic
 Group: Development/Libraries
 URL:   http://search.cpan.org/dist/Cache-Simple-TimedExpiry/
 Source0:   
http://www.cpan.org/authors/id/J/JE/JESSE/Cache-Simple-TimedExpiry-%{version}.tar.gz
-BuildRoot:  %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
 BuildArch: noarch
 
 BuildRequires: perl(Test::More)
@@ -20,29 +19,26 @@ A lightweight cache with timed expiration
 %setup -q -n Cache-Simple-TimedExpiry-%{version}
 
 %build
-%{__perl} Makefile.PL INSTALLDIRS=vendor
+%{__perl} Makefile.PL INSTALLDIRS=vendor NO_PACKLIST=1
 make %{?_smp_mflags}
 
 %install
-rm -rf $RPM_BUILD_ROOT
 make pure_install PERL_INSTALL_ROOT=$RPM_BUILD_ROOT
-find $RPM_BUILD_ROOT -type f -name .packlist -exec rm -f {} ';'
 find $RPM_BUILD_ROOT -type d -depth -exec rmdir {} 2>/dev/null ';'
 chmod -R u+w $RPM_BUILD_ROOT/*
 
-%clean
-rm -rf $RPM_BUILD_ROOT
-
 %check
 make test
 
 %files
-%defattr(-,root,root,-)
 %doc Changes
 %{perl_vendorlib}/Cache
 %{_mandir}/man3/*
 
 %changelog
+* Tue Jan 26 2016 Ralf Corsépius  - 0.27-22
+- Modernise spec.
+
 * Thu Jun 18 2015 Fedora Release Engineering  
- 0.27-21
 - Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild
 
-- 
cgit v0.11.2



http://pkgs.fedoraproject.org/cgit/perl-Cache-Simple-TimedExpiry.git/commit/?h=master=7a10c125b7d00c208781cc2b4632302ce6f38d44
--
Fedora Extras Perl SIG
http://www.fedoraproject.org/wiki/Extras/SIGs/Perl
perl-devel mailing list
perl-devel@lists.fedoraproject.org
http://lists.fedoraproject.org/admin/lists/perl-devel@lists.fedoraproject.org

Re: dnf dependency information for koji builds

2016-01-26 Thread Honza Šilhan
> From: "Mikolaj Izdebski" 
> On 01/25/2016 11:37 AM, Michael Schroeder wrote:
> > On Sat, Jan 23, 2016 at 04:26:43PM +0100, Dan Horák wrote:
> >> On Sat, 23 Jan 2016 08:14:44 -0700
> >> Orion Poplawski  wrote:
> >>
> >>> It would be very helpful to have information on what packages are
> >>> pulling in what dependencies in the root.log of koji builds.  Is this
> >>> possible with dnf?
> >>
> >> I'm worried it's similar to the issue discussed in
> >> https://bugzilla.redhat.com/show_bug.cgi?id=1148627 where libsolv
> >> provides only the top level result.
> > 
> > It's not libsolv that only provides the top level result. libsolv provides
> > all the needed data, it's dnf/hawkey that only displays the top level.
> > 
> > Regarding the pulled in dependencies, libsolv also provides that, but
> > hawkey doesn't have an API for it (yet?).
> 
> It is possible to reconstruct dependency graph from hawkey sack.

The API where you can inspect the depsolver decisions and multiple
results with solutions is missing.

> From: "Mikolaj Izdebski" 
> 
> On 01/23/2016 04:14 PM, Orion Poplawski wrote:
> > It would be very helpful to have information on what packages are
> > pulling in what dependencies in the root.log of koji builds.  Is this
> > possible with dnf?
> 
> I've quickly hacked a proof-of-concept script to do that:
> 
>   https://gist.github.com/mizdebsk/21e5fd776aa4ba577582
> 
> The script is ran with taskId of buildArch Koji task as argument.
> It should print on stdout list of packages in buildroot with dependency
> information. Each line of output is in form:
> 
>   A: B, C, D
> 
> which means that package A pulled in packages B, C and D.
> The script can be easily adjusted to do more interesting stuff.

Thanks for sharing this. Your approach reconstructs packages from *fully 
resolved* 
transaction only. With considering weak dependencies in the chain it becomes 
more
complicated.

The depsolver steps should be accessible from DNF along no matter whether the 
transaction
was successfully resolved or not. It's on the agenda.


Honza
--
devel mailing list
devel@lists.fedoraproject.org
http://lists.fedoraproject.org/admin/lists/devel@lists.fedoraproject.org

corsepiu pushed to perl-Calendar-Simple (f23). "Modernise spec. (..more)"

2016-01-26 Thread notifications
From 8f19a54eff35da57e72b3a482fc7ed5b47c79b62 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Ralf=20Cors=C3=A9pius?= 
Date: Tue, 26 Jan 2016 12:24:40 +0100
Subject: Modernise spec.

- Update BRs.
- Activate tests.
---
 perl-Calendar-Simple.spec | 28 
 1 file changed, 16 insertions(+), 12 deletions(-)

diff --git a/perl-Calendar-Simple.spec b/perl-Calendar-Simple.spec
index d6fb2cf..4b84f8e 100644
--- a/perl-Calendar-Simple.spec
+++ b/perl-Calendar-Simple.spec
@@ -1,17 +1,23 @@
 Summary:   Perl extension to create simple calendars
 Name:  perl-Calendar-Simple
 Version:   1.21
-Release:   15%{?dist}
+Release:   16%{?dist}
 License:   GPL+ or Artistic
 Group: Development/Libraries
 URL:   http://search.cpan.org/dist/Calendar-Simple/
 Source0:   
http://search.cpan.org/CPAN/authors/id/D/DA/DAVECROSS/Calendar-Simple-%{version}.tar.gz
 BuildArch: noarch
-BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
 
-BuildRequires:  perl(ExtUtils::MakeMaker)
 Requires:  perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo 
$version))
 
+BuildRequires:  perl(ExtUtils::MakeMaker)
+BuildRequires:  perl(Carp)
+BuildRequires:  perl(Exporter)
+BuildRequires:  perl(Time::Local)
+BuildRequires:  perl(base)
+BuildRequires:  perl(strict)
+BuildRequires:  perl(warnings)
+
 # Required by the tests
 BuildRequires: perl(DateTime)
 BuildRequires: perl(Test::Pod)
@@ -25,33 +31,31 @@ Perl extension to create simple calendars.
 chmod -x lib/*/Simple.pm
 
 %build
-%{__perl} Makefile.PL INSTALLDIRS=vendor
+%{__perl} Makefile.PL INSTALLDIRS=vendor NO_PACKLIST=1
 make %{?_smp_mflags}
 
 
 %install
-rm -rf $RPM_BUILD_ROOT
 make pure_install PERL_INSTALL_ROOT=$RPM_BUILD_ROOT
-find $RPM_BUILD_ROOT -type f -name .packlist -exec rm -f {} ';'
 find $RPM_BUILD_ROOT -type d -depth -exec rmdir {} 2>/dev/null ';'
 chmod -R u+w $RPM_BUILD_ROOT/*
 
 
-%clean
-rm -rf $RPM_BUILD_ROOT
-
 %check
-# switch off until Class::ISA will be in buildroot
-#make test
+make test
 
 %files
-%defattr(-,root,root,-)
 %doc Changes README
 %{_bindir}/pcal
 %{perl_vendorlib}/Calendar
 %{_mandir}/man3/*
 
 %changelog
+* Tue Jan 26 2016 Ralf Corsépius  - 1.21-16
+- Modernise spec.
+- Update BRs.
+- Activate tests.
+
 * Thu Jun 18 2015 Fedora Release Engineering  
- 1.21-15
 - Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild
 
-- 
cgit v0.11.2



http://pkgs.fedoraproject.org/cgit/perl-Calendar-Simple.git/commit/?h=f23=8f19a54eff35da57e72b3a482fc7ed5b47c79b62
--
Fedora Extras Perl SIG
http://www.fedoraproject.org/wiki/Extras/SIGs/Perl
perl-devel mailing list
perl-devel@lists.fedoraproject.org
http://lists.fedoraproject.org/admin/lists/perl-devel@lists.fedoraproject.org

Re: nss_myhostname as default in Fedora

2016-01-26 Thread Florian Weimer
On 01/26/2016 12:45 PM, Lennart Poettering wrote:
> On Tue, 26.01.16 08:58, Petr Spacek (pspa...@redhat.com) wrote:
> 
>> I disagree with your disagreement. We have only 1 shared namespace for this
>> world, and like it or not, the root zone (and thus all single-label names in
>> it) is managed by ICANN.
> 
> Well, did you actually read the earlier discussions in this thread?
> 
> Again: it is well-known that single-label (aka "dotless domains") are
> supposed to be interpreted in a local context, using domain search
> paths, LLMNR and other local configuration.

This is irrelevant for the concerns Petr and others have voiced.

You cannot use priorities to resolve namespace collisions.  The
collision still exists with the low-priority synthesized “gateway” name
we have today.  The name is not a stable reference to the address of the
default gateway because of its low priority.  This makes it unreliable,
difficult to use, and unsuitable for documentation and other user
guidance.  Changing it to something that does not collide with names in
the DNS namespace (such as “_gateway”) would change that because we
could give it higher priority and make sure that it is a stable name for
the gateway addresses.

Florian
--
devel mailing list
devel@lists.fedoraproject.org
http://lists.fedoraproject.org/admin/lists/devel@lists.fedoraproject.org

jorti pushed to amavisd-new (epel7). "Remove %defattr"

2016-01-26 Thread notifications
From e8036af8cba99cb5d2abdaf72a78ee01c472bf6e Mon Sep 17 00:00:00 2001
From: Juan Orti Alcaine 
Date: Tue, 26 Jan 2016 13:22:57 +0100
Subject: Remove %defattr

---
 amavisd-new.spec | 2 --
 1 file changed, 2 deletions(-)

diff --git a/amavisd-new.spec b/amavisd-new.spec
index 75ba8ae..1db37f6 100644
--- a/amavisd-new.spec
+++ b/amavisd-new.spec
@@ -271,7 +271,6 @@ systemctl start amavisd-clean-quarantine.timer >/dev/null 
2>&1 || :
 %systemd_postun_with_restart amavisd-snmp-zmq.service
 
 %files
-%defattr(-,root,root,-)
 %doc AAAREADME.first LDAP.schema LDAP.ldif RELEASE_NOTES TODO INSTALL
 %doc README_FILES test-messages amavisd.conf-* amavisd-custom.conf
 %license LICENSE
@@ -299,7 +298,6 @@ systemctl start amavisd-clean-quarantine.timer >/dev/null 
2>&1 || :
 %dir %attr(770,amavis,clamupdate) %{_localstatedir}/run/clamd.amavisd
 
 %files snmp
-%defattr(-,root,root,-)
 %doc AMAVIS-MIB.txt
 %{_unitdir}/amavisd-snmp.service
 %{_sbindir}/amavisd-snmp-subagent
-- 
cgit v0.11.2



http://pkgs.fedoraproject.org/cgit/amavisd-new.git/commit/?h=epel7=e8036af8cba99cb5d2abdaf72a78ee01c472bf6e
--
Fedora Extras Perl SIG
http://www.fedoraproject.org/wiki/Extras/SIGs/Perl
perl-devel mailing list
perl-devel@lists.fedoraproject.org
http://lists.fedoraproject.org/admin/lists/perl-devel@lists.fedoraproject.org

jorti pushed to amavisd-new (el6). "Remove %defattr"

2016-01-26 Thread notifications
From 89d07ca25cf0cb4898246e9449c0e17cb4a357be Mon Sep 17 00:00:00 2001
From: Juan Orti Alcaine 
Date: Tue, 26 Jan 2016 13:24:23 +0100
Subject: Remove %defattr

---
 amavisd-new.spec | 2 --
 1 file changed, 2 deletions(-)

diff --git a/amavisd-new.spec b/amavisd-new.spec
index dacaf1a..c13927d 100644
--- a/amavisd-new.spec
+++ b/amavisd-new.spec
@@ -201,7 +201,6 @@ if [ $1 -ne 0 ]; then
 fi
 
 %files
-%defattr(-,root,root,-)
 %doc AAAREADME.first LDAP.schema LDAP.ldif LICENSE RELEASE_NOTES
 %doc README_FILES test-messages amavisd.conf-*
 %dir %{_sysconfdir}/amavisd/
@@ -229,7 +228,6 @@ fi
 %endif
 
 %files snmp
-%defattr(-,root,root,-)
 %doc AMAVIS-MIB.txt
 %attr(755,root,root) %{_initrddir}/amavisd-snmp
 %{_sbindir}/amavisd-snmp-subagent
-- 
cgit v0.11.2



http://pkgs.fedoraproject.org/cgit/amavisd-new.git/commit/?h=el6=89d07ca25cf0cb4898246e9449c0e17cb4a357be
--
Fedora Extras Perl SIG
http://www.fedoraproject.org/wiki/Extras/SIGs/Perl
perl-devel mailing list
perl-devel@lists.fedoraproject.org
http://lists.fedoraproject.org/admin/lists/perl-devel@lists.fedoraproject.org

ppisar pushed to perl-Perl-Critic-Nits (master). "Modernize spec file"

2016-01-26 Thread notifications
From 921b306c32454056dde04361fdbc59118a644d67 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Petr=20P=C3=ADsa=C5=99?= 
Date: Wed, 27 Jan 2016 08:32:57 +0100
Subject: Modernize spec file

---
 .rpmlint   |  2 ++
 perl-Perl-Critic-Nits.spec | 45 +++--
 2 files changed, 33 insertions(+), 14 deletions(-)
 create mode 100644 .rpmlint

diff --git a/.rpmlint b/.rpmlint
new file mode 100644
index 000..a22e845
--- /dev/null
+++ b/.rpmlint
@@ -0,0 +1,2 @@
+from Config import *
+addFilter("spelling-error .* 
(ProhibitAccessOfPrivateData|ValuesAndExpressions)");
diff --git a/perl-Perl-Critic-Nits.spec b/perl-Perl-Critic-Nits.spec
index 4bb434d..deea307 100644
--- a/perl-Perl-Critic-Nits.spec
+++ b/perl-Perl-Critic-Nits.spec
@@ -1,50 +1,67 @@
 Name:   perl-Perl-Critic-Nits
 Version:1.0.0
-Release:12%{?dist}
+Release:13%{?dist}
 Summary:Policies of nits I like to pick
 License:GPL+ or Artistic
 Group:  Development/Libraries
 URL:http://search.cpan.org/dist/Perl-Critic-Nits/
 Source0:
http://www.cpan.org/authors/id/K/KC/KCOWGILL/Perl-Critic-Nits-v%{version}.tar.gz
 BuildArch:  noarch
+BuildRequires:  coreutils
+BuildRequires:  findutils
+BuildRequires:  make
+BuildRequires:  perl
 BuildRequires:  perl(ExtUtils::MakeMaker)
-BuildRequires:  perl(Perl::Critic) >= 1.07
-# Missing in META.yml
+BuildRequires:  perl(strict)
+BuildRequires:  perl(warnings)
+# Run-time:
+BuildRequires:  perl(base)
+BuildRequires:  perl(Perl::Critic::Policy) >= 1.07
+BuildRequires:  perl(Perl::Critic::Utils)
 BuildRequires:  perl(Readonly)
+BuildRequires:  perl(strict)
+BuildRequires:  perl(version)
+# Tests:
+BuildRequires:  perl(File::Find)
+BuildRequires:  perl(File::Spec)
+BuildRequires:  perl(Perl::Critic::TestUtils)
 BuildRequires:  perl(Test::More)
-Requires:   perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo 
$version))
-# Plug-in for perlcritics/Test::More. Require them.
-Requires:   perl(Perl::Critic) >= 1.07
-Requires:   perl(Test::More)
+# Test::Perl::Critic not used
+Requires:   perl(:MODULE_COMPAT_%(eval "`perl -V:version`"; echo $version))
+Requires:   perl(Perl::Critic::Policy) >= 1.07
+
+# Filter under-specified dependencies
+%global __requires_exclude 
%{?__requires_exclude:%{__requires_exclude}|}^perl\\(Perl::Critic::Policy\\)$
 
 %description
-The included policy is:
-Perl::Critic::Policy::ValuesAndExpressions::ProhibitAccessOfPrivateData
-(Prohibits direct access to a hash-based object's hash).
+The included policy is
+Perl::Critic::Policy::ValuesAndExpressions::ProhibitAccessOfPrivateData.
+It prohibits direct access to a hash-based object's hash.
 
 %prep
 %setup -q -n Perl-Critic-Nits-v%{version}
 
 %build
-%{__perl} Makefile.PL INSTALLDIRS=perl
+perl Makefile.PL INSTALLDIRS=perl
 make %{?_smp_mflags}
 
 %install
-make pure_install PERL_INSTALL_ROOT=$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/*
 
 %check
 make test
 
 %files
-%defattr(-,root,root,-)
 %doc Changes README
 %{perl_privlib}/*
 %{_mandir}/man3/*
 
 %changelog
+* Wed Jan 27 2016 Petr Pisar  - 1.0.0-13
+- Modernize spec file
+
 * Thu Jun 18 2015 Fedora Release Engineering  
- 1.0.0-12
 - Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild
 
-- 
cgit v0.11.2



http://pkgs.fedoraproject.org/cgit/perl-Perl-Critic-Nits.git/commit/?h=master=921b306c32454056dde04361fdbc59118a644d67
--
Fedora Extras Perl SIG
http://www.fedoraproject.org/wiki/Extras/SIGs/Perl
perl-devel mailing list
perl-devel@lists.fedoraproject.org
http://lists.fedoraproject.org/admin/lists/perl-devel@lists.fedoraproject.org

corsepiu pushed to perl-Module-Refresh (master). "Remove %defattr. (..more)"

2016-01-26 Thread notifications
From f2a69d66a81bd98378c8551f05ec75c865721ea9 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Ralf=20Cors=C3=A9pius?= 
Date: Wed, 27 Jan 2016 05:27:49 +0100
Subject: Remove %defattr.

- Modernize spec.
- Don't use bundled inc::Module::Install.
---
 perl-Module-Refresh.spec | 18 --
 1 file changed, 12 insertions(+), 6 deletions(-)

diff --git a/perl-Module-Refresh.spec b/perl-Module-Refresh.spec
index d3f1c05..4b5b5da 100644
--- a/perl-Module-Refresh.spec
+++ b/perl-Module-Refresh.spec
@@ -1,19 +1,21 @@
 Name:  perl-Module-Refresh
 Version:   0.17
-Release:   12%{?dist}
+Release:   13%{?dist}
 Summary:   Refresh %INC files when updated on disk
 License:   GPL+ or Artistic
 Group: Development/Libraries
 URL:   http://search.cpan.org/dist/Module-Refresh/
 Source0:   
http://www.cpan.org/modules/by-module/Module/Module-Refresh-%{version}.tar.gz
 
-BuildRequires: perl(Cwd)
 BuildRequires: perl(ExtUtils::MakeMaker)
-BuildRequires: perl(ExtUtils::MM_Unix)
+
 # Tests:
 BuildRequires: perl(File::Temp) >= 0.19
 BuildRequires: perl(Path::Class)
 BuildRequires: perl(Test::More)
+
+BuildRequires:  perl(inc::Module::Install)
+
 Requires:  perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo 
$version))
 BuildArch: noarch
 
@@ -24,14 +26,14 @@ development when working in a persistent environment.
 
 %prep
 %setup -q -n Module-Refresh-%{version}
+rm -r inc
 
 %build
-%{__perl} Makefile.PL INSTALLDIRS=vendor
+%{__perl} Makefile.PL INSTALLDIRS=vendor NO_PACKLIST=1
 make %{?_smp_mflags}
 
 %install
 make pure_install PERL_INSTALL_ROOT=$RPM_BUILD_ROOT
-find $RPM_BUILD_ROOT -type f -name .packlist -exec rm -f {} ';'
 find $RPM_BUILD_ROOT -type d -depth -exec rmdir {} 2>/dev/null ';'
 chmod -R u+w $RPM_BUILD_ROOT/*
 
@@ -39,12 +41,16 @@ chmod -R u+w $RPM_BUILD_ROOT/*
 make test
 
 %files
-%defattr(-,root,root,-)
 %doc Changes
 %{perl_vendorlib}/Module
 %{_mandir}/man3/*
 
 %changelog
+* Wed Jan 27 2016 Ralf Corsépius  - 0.17-13
+- Remove %%defattr.
+- Modernize spec.
+- Don't use bundled inc::Module::Install.
+
 * Thu Jun 18 2015 Fedora Release Engineering  
- 0.17-12
 - Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild
 
-- 
cgit v0.11.2



http://pkgs.fedoraproject.org/cgit/perl-Module-Refresh.git/commit/?h=master=f2a69d66a81bd98378c8551f05ec75c865721ea9
--
Fedora Extras Perl SIG
http://www.fedoraproject.org/wiki/Extras/SIGs/Perl
perl-devel mailing list
perl-devel@lists.fedoraproject.org
http://lists.fedoraproject.org/admin/lists/perl-devel@lists.fedoraproject.org

corsepiu pushed to perl-Log-Dispatch-Perl (master). "Remove %defattr. (..more)"

2016-01-26 Thread notifications
From f75f0e75acba29b39c2613957fb803a401120fba Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Ralf=20Cors=C3=A9pius?= 
Date: Wed, 27 Jan 2016 06:00:54 +0100
Subject: Remove %defattr.

- Modernize spec.
---
 perl-Log-Dispatch-Perl.spec | 11 ++-
 1 file changed, 6 insertions(+), 5 deletions(-)

diff --git a/perl-Log-Dispatch-Perl.spec b/perl-Log-Dispatch-Perl.spec
index bc987f9..b9d009c 100644
--- a/perl-Log-Dispatch-Perl.spec
+++ b/perl-Log-Dispatch-Perl.spec
@@ -1,6 +1,6 @@
 Name:   perl-Log-Dispatch-Perl
 Version:0.04
-Release:10%{?dist}
+Release:11%{?dist}
 Summary:Use core Perl functions for logging
 License:GPL+ or Artistic
 Group:  Development/Libraries
@@ -24,13 +24,11 @@ with "die" and "croak".
 %setup -q -n Log-Dispatch-Perl-%{version}
 
 %build
-%{__perl} Makefile.PL INSTALLDIRS=vendor
+%{__perl} Makefile.PL INSTALLDIRS=vendor NO_PACKLIST=1
 make %{?_smp_mflags}
 
 %install
 make pure_install PERL_INSTALL_ROOT=$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/*
@@ -39,12 +37,15 @@ find $RPM_BUILD_ROOT -depth -type d -exec rmdir {} 
2>/dev/null \;
 make test
 
 %files
-%defattr(-,root,root,-)
 %doc CHANGELOG README TODO VERSION
 %{perl_vendorlib}/*
 %{_mandir}/man3/*
 
 %changelog
+* Wed Jan 27 2016 Ralf Corsépius  - 0.04-11
+- Remove %%defattr.
+- Modernize spec.
+
 * Thu Jun 18 2015 Fedora Release Engineering  
- 0.04-10
 - Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild
 
-- 
cgit v0.11.2



http://pkgs.fedoraproject.org/cgit/perl-Log-Dispatch-Perl.git/commit/?h=master=f75f0e75acba29b39c2613957fb803a401120fba
--
Fedora Extras Perl SIG
http://www.fedoraproject.org/wiki/Extras/SIGs/Perl
perl-devel mailing list
perl-devel@lists.fedoraproject.org
http://lists.fedoraproject.org/admin/lists/perl-devel@lists.fedoraproject.org

Crash caused by hardening flags

2016-01-26 Thread Michael Catanzaro
Hi,

GNOME Chess in F23 has been crashing when promoting pawns. This is easy
to reproduce by turning off the computer player in Preferences,
starting a new game, and just moving pawns across the board. It turns
out to be due to our new hardening flags.

This is https://bugzilla.redhat.com/show_bug.cgi?id=1280470

The hardening flags seem to somehow be breaking a GObject signal
accumulator, where the signal is emitted from a libtool convenience
library, but the value is returned from outside the convenience
library.

My workaround is just to add %undefine _hardened_build to the specfile,
because I have no clue what else to do.

I wonder if other applications are experiencing similar crashes.

Michael
--
devel mailing list
devel@lists.fedoraproject.org
http://lists.fedoraproject.org/admin/lists/devel@lists.fedoraproject.org

corsepiu pushed to perl-Test-ClassAPI (master). "Remove %defattr. (..more)"

2016-01-26 Thread notifications
From 50d1692325ab8dc56fb5fdf6ee1e5c7334cc7779 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Ralf=20Cors=C3=A9pius?= 
Date: Wed, 27 Jan 2016 06:20:26 +0100
Subject: Remove %defattr.

- Add %license.
- Modernize spec.
- Don't remove 99_pmv.t.
- Fix bogus changelog date.
---
 perl-Test-ClassAPI.spec | 27 +++
 1 file changed, 15 insertions(+), 12 deletions(-)

diff --git a/perl-Test-ClassAPI.spec b/perl-Test-ClassAPI.spec
index 86ef5d4..030e996 100644
--- a/perl-Test-ClassAPI.spec
+++ b/perl-Test-ClassAPI.spec
@@ -1,12 +1,11 @@
 Name:  perl-Test-ClassAPI
 Version:   1.06
-Release:   23%{?dist}
+Release:   24%{?dist}
 Summary:   Provides basic first-pass API testing for large class trees
 License:   GPL+ or Artistic
 Group: Development/Libraries
 URL:   http://search.cpan.org/dist/Test-ClassAPI/
 Source0:   
http://search.cpan.org/CPAN/authors/id/A/AD/ADAMK/Test-ClassAPI-%{version}.tar.gz
-BuildRoot:  %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
 
 Requires:  perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo 
$version))
 BuildArch: noarch
@@ -15,6 +14,9 @@ BuildRequires:  perl(ExtUtils::MakeMaker)
 BuildRequires:  perl(Config::Tiny) >= 2.00
 BuildRequires:  perl(Class::Inspector) >= 1.12
 BuildRequires:  perl(File::Spec) >= 0.83
+BuildRequires:  perl(Test::More) >= 0.47
+BuildRequires:  perl(strict)
+BuildRequires:  perl(vars)
 
 # Explictly required by lib/Test/ClassAPI.pm
 BuildRequires:  perl(Params::Util) >= 1.00
@@ -41,33 +43,34 @@ This module aims to provide such a capability.
 %setup -q -n Test-ClassAPI-%{version}
 
 %build
-%{__perl} Makefile.PL INSTALLDIRS=vendor
+%{__perl} Makefile.PL INSTALLDIRS=vendor NO_PACKLIST=1
 make %{?_smp_mflags}
 
 %install
-rm -rf $RPM_BUILD_ROOT
 make pure_install PERL_INSTALL_ROOT=$RPM_BUILD_ROOT
-find $RPM_BUILD_ROOT -type f -name .packlist -exec rm -f {} ';'
 find $RPM_BUILD_ROOT -type d -depth -exec rmdir {} 2>/dev/null ';'
 chmod -R u+w $RPM_BUILD_ROOT/*
 
-%clean
-rm -rf $RPM_BUILD_ROOT
 
 %check
 %if !%{defined perl_bootstrap}
-# remove until fix of Perl::MinimalVersion and version.pm
-rm -rf t/99_pmv.t
 make test AUTOMATED_TESTING=1
 %endif
 
 %files
-%defattr(-,root,root,-)
-%doc Changes LICENSE
+%doc Changes
+%license LICENSE
 %{perl_vendorlib}/Test
 %{_mandir}/man3/*
 
 %changelog
+* Wed Jan 27 2016 Ralf Corsépius  - 1.06-24
+- Remove %%defattr.
+- Add %%license.
+- Modernize spec.
+- Don't remove 99_pmv.t.
+- Fix bogus changelog date.
+
 * Thu Jun 18 2015 Fedora Release Engineering  
- 1.06-23
 - Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild
 
@@ -172,7 +175,7 @@ make test AUTOMATED_TESTING=1
 * Wed Mar 01 2006 Ralf Corsépius  - 1.02-3
 - Rebuild for perl-5.8.8.
 
-* Tue Sep 14 2005 Ralf Corsepius  - 1.02-2
+* Wed Sep 14 2005 Ralf Corsepius  - 1.02-2
 - New %%summary.
 - Extend %%description.
 - Don't put README into %%doc (Redundant to man page).
-- 
cgit v0.11.2



http://pkgs.fedoraproject.org/cgit/perl-Test-ClassAPI.git/commit/?h=master=50d1692325ab8dc56fb5fdf6ee1e5c7334cc7779
--
Fedora Extras Perl SIG
http://www.fedoraproject.org/wiki/Extras/SIGs/Perl
perl-devel mailing list
perl-devel@lists.fedoraproject.org
http://lists.fedoraproject.org/admin/lists/perl-devel@lists.fedoraproject.org

corsepiu pushed to perl-Test-HTTP-Server-Simple (master). "Remove %defattr. (..more)"

2016-01-26 Thread notifications
From c120816ed8b6b31f189ddd8591e9a54ae48bdd84 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Ralf=20Cors=C3=A9pius?= 
Date: Wed, 27 Jan 2016 05:06:38 +0100
Subject: Remove %defattr.

- Modernize spec.
---
 perl-Test-HTTP-Server-Simple.spec | 17 ++---
 1 file changed, 6 insertions(+), 11 deletions(-)

diff --git a/perl-Test-HTTP-Server-Simple.spec 
b/perl-Test-HTTP-Server-Simple.spec
index 9fedc9a..e386dda 100644
--- a/perl-Test-HTTP-Server-Simple.spec
+++ b/perl-Test-HTTP-Server-Simple.spec
@@ -1,13 +1,12 @@
 Name:   perl-Test-HTTP-Server-Simple
 Version:0.11
-Release:16%{?dist}
+Release:17%{?dist}
 Summary:Test::More functions for HTTP::Server::Simple
 License:GPL+ or Artistic
 Group:  Development/Libraries
 URL:http://search.cpan.org/dist/Test-HTTP-Server-Simple/
 
 Source0:
http://www.cpan.org/authors/id/A/AL/ALEXMV/Test-HTTP-Server-Simple-%{version}.tar.gz
-BuildRoot:  %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
 BuildArch:  noarch
 BuildRequires:  perl(ExtUtils::MakeMaker)
 BuildRequires:  perl(HTTP::Server::Simple)
@@ -29,15 +28,11 @@ server. Currently, it provides only one such method: 
started_ok.
 %setup -q -n Test-HTTP-Server-Simple-%{version}
 
 %build
-%{__perl} Makefile.PL INSTALLDIRS=vendor
+%{__perl} Makefile.PL INSTALLDIRS=vendor NO_PACKLIST=1
 make %{?_smp_mflags}
 
 %install
-rm -rf $RPM_BUILD_ROOT
-
 make pure_install PERL_INSTALL_ROOT=$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/*
@@ -45,16 +40,16 @@ find $RPM_BUILD_ROOT -depth -type d -exec rmdir {} 
2>/dev/null \;
 %check
 make test
 
-%clean
-rm -rf $RPM_BUILD_ROOT
-
 %files
-%defattr(-,root,root,-)
 %doc Changes README
 %{perl_vendorlib}/*
 %{_mandir}/man3/*
 
 %changelog
+* Wed Jan 27 2016 Ralf Corsépius  - 0.11-17
+- Remove %%defattr.
+- Modernize spec.
+
 * Thu Jun 18 2015 Fedora Release Engineering  
- 0.11-16
 - Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild
 
-- 
cgit v0.11.2



http://pkgs.fedoraproject.org/cgit/perl-Test-HTTP-Server-Simple.git/commit/?h=master=c120816ed8b6b31f189ddd8591e9a54ae48bdd84
--
Fedora Extras Perl SIG
http://www.fedoraproject.org/wiki/Extras/SIGs/Perl
perl-devel mailing list
perl-devel@lists.fedoraproject.org
http://lists.fedoraproject.org/admin/lists/perl-devel@lists.fedoraproject.org

corsepiu pushed to perl-Module-Versions-Report (master). "Remove %defattr. (..more)"

2016-01-26 Thread notifications
From 580e1f21787553212989cb87d00d5da6a3f8349e Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Ralf=20Cors=C3=A9pius?= 
Date: Wed, 27 Jan 2016 05:40:07 +0100
Subject: Remove %defattr.

- Modernize spec.
---
 perl-Module-Versions-Report.spec | 16 ++--
 1 file changed, 6 insertions(+), 10 deletions(-)

diff --git a/perl-Module-Versions-Report.spec b/perl-Module-Versions-Report.spec
index 0657394..f51eb60 100644
--- a/perl-Module-Versions-Report.spec
+++ b/perl-Module-Versions-Report.spec
@@ -1,13 +1,12 @@
 Name:   perl-Module-Versions-Report
 Version:1.06
-Release:19%{?dist}
+Release:20%{?dist}
 Summary:Report versions of all modules in memory
 
 Group:  Development/Libraries
 License:GPL+ or Artistic
 URL:http://search.cpan.org/dist/Module-Versions-Report/
 Source0:
http://search.cpan.org/CPAN/authors/id/J/JE/JESSE/Module-Versions-Report-%{version}.tar.gz
-BuildRoot:  %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
 
 BuildArch:  noarch
 BuildRequires:  coreutils
@@ -33,14 +32,12 @@ detailing the all modules in memory, and noting the version 
of each
 
 
 %build
-%{__perl} Makefile.PL INSTALLDIRS=vendor
+%{__perl} Makefile.PL INSTALLDIRS=vendor NO_PACKLIST=1
 make %{?_smp_mflags}
 
 
 %install
-rm -rf $RPM_BUILD_ROOT
 make pure_install PERL_INSTALL_ROOT=$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/*
 
@@ -49,18 +46,17 @@ find $RPM_BUILD_ROOT -depth -type d -exec rmdir {} 
2>/dev/null ';'
 make test
 
 
-%clean
-rm -rf $RPM_BUILD_ROOT
-
-
 %files
-%defattr(-,root,root,-)
 %doc ChangeLog README
 %{perl_vendorlib}/Module/
 %{_mandir}/man3/*.3pm*
 
 
 %changelog
+* Wed Jan 27 2016 Ralf Corsépius  - 1.06-20
+- Remove %%defattr.
+- Modernize spec.
+
 * Thu Oct 15 2015 Petr Pisar  - 1.06-19
 - Specify all dependencies
 
-- 
cgit v0.11.2



http://pkgs.fedoraproject.org/cgit/perl-Module-Versions-Report.git/commit/?h=master=580e1f21787553212989cb87d00d5da6a3f8349e
--
Fedora Extras Perl SIG
http://www.fedoraproject.org/wiki/Extras/SIGs/Perl
perl-devel mailing list
perl-devel@lists.fedoraproject.org
http://lists.fedoraproject.org/admin/lists/perl-devel@lists.fedoraproject.org

corsepiu pushed to perl-Log-Any-Adapter-Dispatch (master). "Remove %defattr. (..more)"

2016-01-26 Thread notifications
From c0bcc501e3bacde08c7885a06d1e471ddb02ef72 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Ralf=20Cors=C3=A9pius?= 
Date: Wed, 27 Jan 2016 05:55:33 +0100
Subject: Remove %defattr.

- Modernize spec.
---
 perl-Log-Any-Adapter-Dispatch.spec | 22 --
 1 file changed, 12 insertions(+), 10 deletions(-)

diff --git a/perl-Log-Any-Adapter-Dispatch.spec 
b/perl-Log-Any-Adapter-Dispatch.spec
index 8a80191..75d1caa 100644
--- a/perl-Log-Any-Adapter-Dispatch.spec
+++ b/perl-Log-Any-Adapter-Dispatch.spec
@@ -1,37 +1,38 @@
 Name:   perl-Log-Any-Adapter-Dispatch
 Version:0.06
-Release:13%{?dist}
+Release:14%{?dist}
 Summary:Log::Any::Adapter::Dispatch Perl module
 License:GPL+ or Artistic
 Group:  Development/Libraries
 URL:http://search.cpan.org/dist/Log-Any-Adapter-Dispatch/
 Source0:
http://www.cpan.org/authors/id/J/JS/JSWARTZ/Log-Any-Adapter-Dispatch-%{version}.tar.gz
-BuildRoot:  %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
+
 BuildArch:  noarch
 BuildRequires:  perl(ExtUtils::MakeMaker)
 BuildRequires:  perl(Log::Any::Adapter)
 BuildRequires:  perl(Log::Dispatch) >= 2.26
 BuildRequires:  perl(Test::More)
+BuildRequires:  perl(inc::Module::Install)
+
 Requires:   perl(Log::Dispatch) >= 2.26
 Requires:   perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo 
$version))
 
+%global __requires_exclude 
%{?__requires_exclude:%__requires_exclude|}^perl\\(Log::Dispatch\\)$
+
 %description
 This Log::Any adapter uses Log::Dispatch for logging.
 
 %prep
 %setup -q -n Log-Any-Adapter-Dispatch-%{version}
+rm -r inc
 
 %build
 # --skipdeps causes ExtUtils::AutoInstall not to try auto-installing
-%{__perl} Makefile.PL INSTALLDIRS=vendor  --skipdeps
+%{__perl} Makefile.PL INSTALLDIRS=vendor  --skipdeps NO_PACKLIST=1
 make %{?_smp_mflags}
 
 %install
-rm -rf $RPM_BUILD_ROOT
-
 make pure_install PERL_INSTALL_ROOT=$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/*
@@ -39,16 +40,17 @@ find $RPM_BUILD_ROOT -depth -type d -exec rmdir {} 
2>/dev/null \;
 %check
 make test
 
-%clean
-rm -rf $RPM_BUILD_ROOT
 
 %files
-%defattr(-,root,root,-)
 %doc Changes README
 %{perl_vendorlib}/*
 %{_mandir}/man3/*
 
 %changelog
+* Wed Jan 27 2016 Ralf Corsépius  - 0.06-14
+- Remove %%defattr.
+- Modernize spec.
+
 * Thu Jun 18 2015 Fedora Release Engineering  
- 0.06-13
 - Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild
 
-- 
cgit v0.11.2



http://pkgs.fedoraproject.org/cgit/perl-Log-Any-Adapter-Dispatch.git/commit/?h=master=c0bcc501e3bacde08c7885a06d1e471ddb02ef72
--
Fedora Extras Perl SIG
http://www.fedoraproject.org/wiki/Extras/SIGs/Perl
perl-devel mailing list
perl-devel@lists.fedoraproject.org
http://lists.fedoraproject.org/admin/lists/perl-devel@lists.fedoraproject.org

corsepiu pushed to perl-Test-CheckManifest (master). "Remove %defattr. (..more)"

2016-01-26 Thread notifications
From d018ba1d569442185c87cfaa6bb0326545ac9846 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Ralf=20Cors=C3=A9pius?= 
Date: Wed, 27 Jan 2016 06:08:14 +0100
Subject: Remove %defattr.

- Modernize spec.
- Add %license.
- Add more BR:s.
---
 perl-Test-CheckManifest.spec | 24 ++--
 1 file changed, 18 insertions(+), 6 deletions(-)

diff --git a/perl-Test-CheckManifest.spec b/perl-Test-CheckManifest.spec
index d94b528..5ee7b1e 100644
--- a/perl-Test-CheckManifest.spec
+++ b/perl-Test-CheckManifest.spec
@@ -1,6 +1,6 @@
 Name:   perl-Test-CheckManifest
 Version:1.29
-Release:3%{?dist}
+Release:4%{?dist}
 Summary:Check if your Manifest matches your distro
 License:Artistic 2.0
 Group:  Development/Libraries
@@ -8,6 +8,14 @@ URL:http://search.cpan.org/dist/Test-CheckManifest/
 Source0:
http://www.cpan.org/authors/id/R/RE/RENEEB/Test-CheckManifest-%{version}.tar.gz
 BuildArch:  noarch
 BuildRequires:  perl(ExtUtils::MakeMaker)
+BuildRequires:  perl(Carp)
+BuildRequires:  perl(Cwd)
+BuildRequires:  perl(File::Basename)
+BuildRequires:  perl(File::Find)
+BuildRequires:  perl(File::Spec)
+BuildRequires:  perl(strict)
+BuildRequires:  perl(warnings)
+
 BuildRequires:  perl(Test::Builder)
 BuildRequires:  perl(Test::Pod) >= 1.00
 BuildRequires:  perl(Test::Pod::Coverage) >= 1.08
@@ -26,15 +34,13 @@ distribution.
 
 %build
 cd Test-CheckManifest-%{version}
-%{__perl} Makefile.PL INSTALLDIRS=vendor
+%{__perl} Makefile.PL INSTALLDIRS=vendor NO_PACKLIST=1
 make %{?_smp_mflags}
 cd ..
 
 %install
 cd Test-CheckManifest-%{version}
 make pure_install PERL_INSTALL_ROOT=$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/*
@@ -46,12 +52,18 @@ make test
 cd ..
 
 %files
-%defattr(-,root,root,-)
-%doc Test-CheckManifest-%{version}/Changes 
Test-CheckManifest-%{version}/README Test-CheckManifest-%{version}/LICENSE
+%doc Test-CheckManifest-%{version}/Changes Test-CheckManifest-%{version}/README
+%license Test-CheckManifest-%{version}/LICENSE
 %{perl_vendorlib}/*
 %{_mandir}/man3/*
 
 %changelog
+* Wed Jan 27 2016 Ralf Corsépius  - 1.29-4
+- Remove %%defattr.
+- Modernize spec.
+- Add %%license.
+- Add more BR:s.
+
 * Thu Jun 18 2015 Fedora Release Engineering  
- 1.29-3
 - Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild
 
-- 
cgit v0.11.2



http://pkgs.fedoraproject.org/cgit/perl-Test-CheckManifest.git/commit/?h=master=d018ba1d569442185c87cfaa6bb0326545ac9846
--
Fedora Extras Perl SIG
http://www.fedoraproject.org/wiki/Extras/SIGs/Perl
perl-devel mailing list
perl-devel@lists.fedoraproject.org
http://lists.fedoraproject.org/admin/lists/perl-devel@lists.fedoraproject.org

Re: Xulrunner - intent to remove from Fedora 24

2016-01-26 Thread Yaakov Selkowitz

On 2016-01-26 18:11, Peter Robinson wrote:

does anyone use the xulrunner package? (and gecko-devel actually).
Mozilla
does not maintain it any more and the XUL as technology is going to be
removed/deprecated. I'd like to remove the package from Fedora 24.


PackageKit has a npapi plugin that I'm guessing is soon going to stop
working. When that happens I guess we can drop this dep.


If xulrunner is removed, then something else will need to provide npapi-sdk
in order to continue to build browser plugins.


Will browser plugins still exist when these changes go through?


They are moving to Web Extensions for those sort of things basically
the same as Chrome uses.


What is the plan for the GNOME Shell browser plugin (which is required 
for extensions.gnome.org)?


--
Yaakov Selkowitz
Associate Software Engineer, ARM
Red Hat, Inc.
--
devel mailing list
devel@lists.fedoraproject.org
http://lists.fedoraproject.org/admin/lists/devel@lists.fedoraproject.org

ppisar pushed to perl-Perl-Critic-Compatibility (master). "Modernize spec file"

2016-01-26 Thread notifications
From 3d47ec8de2217f7bfd7eccb785903495245dc503 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Petr=20P=C3=ADsa=C5=99?= 
Date: Wed, 27 Jan 2016 08:20:36 +0100
Subject: Modernize spec file

---
 perl-Perl-Critic-Compatibility.spec | 40 ++---
 1 file changed, 28 insertions(+), 12 deletions(-)

diff --git a/perl-Perl-Critic-Compatibility.spec 
b/perl-Perl-Critic-Compatibility.spec
index c04fd4f..bb64e9d 100644
--- a/perl-Perl-Critic-Compatibility.spec
+++ b/perl-Perl-Critic-Compatibility.spec
@@ -1,22 +1,36 @@
 Name:   perl-Perl-Critic-Compatibility
 Version:1.001
-Release:12%{?dist}
+Release:13%{?dist}
 Summary:Perl::Critic policies for compatibility with Perl versions
 License:GPL+ or Artistic
 Group:  Development/Libraries
 URL:http://search.cpan.org/dist/Perl-Critic-Compatibility/
 Source0:
http://www.cpan.org/authors/id/E/EL/ELLIOTJS/Perl-Critic-Compatibility-%{version}.tar.gz
 BuildArch:  noarch
-BuildRequires:  perl(Module::Build)
+BuildRequires:  coreutils
+BuildRequires:  findutils
+BuildRequires:  make
+BuildRequires:  perl
+BuildRequires:  perl(ExtUtils::MakeMaker)
+# Run-time:
+BuildRequires:  perl(base)
 # Perl::Critic 1.083_001 rounded to 3 decimal digits
-BuildRequires:  perl(Perl::Critic) >= 1.084
+BuildRequires:  perl(Perl::Critic::Policy) >= 1.084
+BuildRequires:  perl(Perl::Critic::Utils)
 BuildRequires:  perl(Readonly)
+BuildRequires:  perl(strict)
 BuildRequires:  perl(version)
-# Tests only:
+BuildRequires:  perl(warnings)
+# Tests:
+BuildRequires:  perl(Carp)
+BuildRequires:  perl(English)
 BuildRequires:  perl(Test::More)
-Requires:   perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo 
$version))
+Requires:   perl(:MODULE_COMPAT_%(eval "`perl -V:version`"; echo $version))
 # Perl::Critic 1.083_001 rounded to 3 decimal digits
-Requires:   perl(Perl::Critic) >= 1.084
+Requires:   perl(Perl::Critic::Policy) >= 1.084
+
+# Remove under-specified dependencies
+%global __requires_exclude 
%{?__requires_exclude:%{__requires_exclude}|}^perl\\(Perl::Critic::Policy\\)$
 
 %description
 Some Perl::Critic policies that will help you keep your code compatible with
@@ -27,24 +41,26 @@ This includes both backward and forward compatibility.
 %setup -q -n Perl-Critic-Compatibility-%{version}
 
 %build
-%{__perl} Build.PL installdirs=core
-./Build
+perl Makefile.PL INSTALLDIRS=vendor
+make %{?_smp_mflags}
 
 %install
-./Build install destdir=$RPM_BUILD_ROOT create_packlist=0
-find $RPM_BUILD_ROOT -depth -type d -exec rmdir {} 2>/dev/null \;
+make pure_install DESTDIR=$RPM_BUILD_ROOT
+find $RPM_BUILD_ROOT -type f -name .packlist -exec rm -f {} \;
 %{_fixperms} $RPM_BUILD_ROOT/*
 
 %check
-./Build test
+make test
 
 %files
-%defattr(-,root,root,-)
 %doc Changes README
 %{perl_privlib}/*
 %{_mandir}/man3/*
 
 %changelog
+* Wed Jan 27 2016 Petr Pisar  - 1.001-13
+- Modernize spec file
+
 * Thu Jun 18 2015 Fedora Release Engineering  
- 1.001-12
 - Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild
 
-- 
cgit v0.11.2



http://pkgs.fedoraproject.org/cgit/perl-Perl-Critic-Compatibility.git/commit/?h=master=3d47ec8de2217f7bfd7eccb785903495245dc503
--
Fedora Extras Perl SIG
http://www.fedoraproject.org/wiki/Extras/SIGs/Perl
perl-devel mailing list
perl-devel@lists.fedoraproject.org
http://lists.fedoraproject.org/admin/lists/perl-devel@lists.fedoraproject.org

ppisar pushed to perl-Perl-Critic-Storable (master). "Modernize spec file"

2016-01-26 Thread notifications
From c712024283d5fdab2e9aaeec9053c59892e7476b Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Petr=20P=C3=ADsa=C5=99?= 
Date: Wed, 27 Jan 2016 08:39:14 +0100
Subject: Modernize spec file

---
 perl-Perl-Critic-Storable.spec | 29 +++--
 1 file changed, 19 insertions(+), 10 deletions(-)

diff --git a/perl-Perl-Critic-Storable.spec b/perl-Perl-Critic-Storable.spec
index 228ed2e..5c28fba 100644
--- a/perl-Perl-Critic-Storable.spec
+++ b/perl-Perl-Critic-Storable.spec
@@ -1,19 +1,27 @@
 Name:   perl-Perl-Critic-Storable
 Version:0.01
-Release:13%{?dist}
+Release:14%{?dist}
 Summary:Policy for Storable.pm
 License:GPL+ or Artistic
 Group:  Development/Libraries
 URL:http://search.cpan.org/dist/Perl-Critic-Storable/
 Source0:
http://www.cpan.org/authors/id/M/MA/MATTD/Perl-Critic-Storable-%{version}.tar.gz
 BuildArch:  noarch
+BuildRequires:  coreutils
+BuildRequires:  findutils
+BuildRequires:  make
+BuildRequires:  perl
 BuildRequires:  perl(ExtUtils::MakeMaker)
-BuildRequires:  perl(Perl::Critic)
+# Run-time:
+BuildRequires:  perl(base)
+BuildRequires:  perl(Perl::Critic::Policy)
+BuildRequires:  perl(Perl::Critic::Utils)
+BuildRequires:  perl(strict)
+BuildRequires:  perl(warnings)
+# Tests:
+BuildRequires:  perl(Perl::Critic::TestUtils)
 BuildRequires:  perl(Test::More)
-Requires:   perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo 
$version))
-# Plug-in for perlcritic/Test::More. Require them.
-Requires:   perl(Perl::Critic)
-Requires:   perl(Test::More)
+Requires:   perl(:MODULE_COMPAT_%(eval "`perl -V:version`"; echo $version))
 
 %description
 An additional Perl::Critic policy for using the Storable module.
@@ -22,25 +30,26 @@ An additional Perl::Critic policy for using the Storable 
module.
 %setup -q -n Perl-Critic-Storable-%{version}
 
 %build
-%{__perl} Makefile.PL INSTALLDIRS=perl
+perl Makefile.PL INSTALLDIRS=perl
 make %{?_smp_mflags}
 
 %install
-make pure_install PERL_INSTALL_ROOT=$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/*
 
 %check
 make test
 
 %files
-%defattr(-,root,root,-)
 %doc Changes README
 %{perl_privlib}/*
 %{_mandir}/man3/*
 
 %changelog
+* Wed Jan 27 2016 Petr Pisar  - 0.01-14
+- Modernize spec file
+
 * Thu Jun 18 2015 Fedora Release Engineering  
- 0.01-13
 - Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild
 
-- 
cgit v0.11.2



http://pkgs.fedoraproject.org/cgit/perl-Perl-Critic-Storable.git/commit/?h=master=c712024283d5fdab2e9aaeec9053c59892e7476b
--
Fedora Extras Perl SIG
http://www.fedoraproject.org/wiki/Extras/SIGs/Perl
perl-devel mailing list
perl-devel@lists.fedoraproject.org
http://lists.fedoraproject.org/admin/lists/perl-devel@lists.fedoraproject.org

Re: Crash caused by hardening flags

2016-01-26 Thread Florian Weimer
On 01/27/2016 05:44 AM, Michael Catanzaro wrote:
> Hi,
> 
> GNOME Chess in F23 has been crashing when promoting pawns. This is easy
> to reproduce by turning off the computer player in Preferences,
> starting a new game, and just moving pawns across the board. It turns
> out to be due to our new hardening flags.
> 
> This is https://bugzilla.redhat.com/show_bug.cgi?id=1280470
> 
> The hardening flags seem to somehow be breaking a GObject signal
> accumulator, where the signal is emitted from a libtool convenience
> library, but the value is returned from outside the convenience
> library.
> 
> My workaround is just to add %undefine _hardened_build to the specfile,
> because I have no clue what else to do.
> 
> I wonder if other applications are experiencing similar crashes.

We had similar issues when signal callbacks are called through incorrect
function types.  Here is an example:

  

The backtrace with its register dump suggests that the upper 32 bits of
the return value from the signal were clipped.  Unfortunately, the glib
signals mechanism does not have compile-time or run-time type checks, so
it can easily happen, but is somewhat difficult to track down.

It seems that g_cclosure_user_marshal_ENUM__VOID invokes the callback
with an int return value, but the registered callback
(_chess_application_show_promotion_type_selector_chess_scene_choose_promotion_type)
has a return type of PieceType *.

Any change in register allocation can make this bug appear and
disappear, it's not related to the hardening flags.

Florian
--
devel mailing list
devel@lists.fedoraproject.org
http://lists.fedoraproject.org/admin/lists/devel@lists.fedoraproject.org

corsepiu pushed to perl-Test-Log-Dispatch (master). "Remove %defattr. (..more)"

2016-01-26 Thread notifications
From 6e53265f4ca5b59f2787086abb3659dbd3248070 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Ralf=20Cors=C3=A9pius?= 
Date: Wed, 27 Jan 2016 04:50:07 +0100
Subject: Remove %defattr.

- Cleanup spec.
- Modernize spec.
- Don't use bundled inc::Module::Install.
---
 perl-Test-Log-Dispatch.spec | 22 --
 1 file changed, 12 insertions(+), 10 deletions(-)

diff --git a/perl-Test-Log-Dispatch.spec b/perl-Test-Log-Dispatch.spec
index 46e0dec..d643ecf 100644
--- a/perl-Test-Log-Dispatch.spec
+++ b/perl-Test-Log-Dispatch.spec
@@ -1,6 +1,6 @@
 Name:   perl-Test-Log-Dispatch
 Version:0.03
-Release:14%{?dist}
+Release:15%{?dist}
 Summary:Test what you are logging
 License:GPL+ or Artistic
 Group:  Development/Libraries
@@ -13,12 +13,10 @@ BuildRequires:  perl(List::MoreUtils)
 BuildRequires:  perl(Log::Dispatch::Array)
 BuildRequires:  perl(Test::More)
 BuildRequires:  perl(Test::Tester)
-Requires:   perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo 
$version))
 
-%if 0%{?fedora} < 15
-# Fedora < 15's rpm misses this
-Requires:  perl(Log::Dispatch)
-%endif
+BuildRequires:  perl(inc::Module::Install)
+
+Requires:   perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo 
$version))
 
 %description
 Test::Log::Dispatch is a Log::Dispatch object that keeps track of
@@ -27,15 +25,14 @@ what has been logged.
 
 %prep
 %setup -q -n Test-Log-Dispatch-%{version}
+rm -r inc
 
 %build
-%{__perl} Makefile.PL INSTALLDIRS=vendor --skipdeps
+%{__perl} Makefile.PL INSTALLDIRS=vendor --skipdeps NO_PACKLIST=1
 make %{?_smp_mflags}
 
 %install
 make pure_install PERL_INSTALL_ROOT=$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/*
@@ -44,12 +41,17 @@ find $RPM_BUILD_ROOT -depth -type d -exec rmdir {} 
2>/dev/null \;
 make test
 
 %files
-%defattr(-,root,root,-)
 %doc Changes README
 %{perl_vendorlib}/*
 %{_mandir}/man3/*
 
 %changelog
+* Wed Jan 27 2016 Ralf Corsépius  - 0.03-15
+- Remove %%defattr.
+- Cleanup spec.
+- Modernize spec.
+- Don't use bundled inc::Module::Install.
+
 * Thu Jun 18 2015 Fedora Release Engineering  
- 0.03-14
 - Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild
 
-- 
cgit v0.11.2



http://pkgs.fedoraproject.org/cgit/perl-Test-Log-Dispatch.git/commit/?h=master=6e53265f4ca5b59f2787086abb3659dbd3248070
--
Fedora Extras Perl SIG
http://www.fedoraproject.org/wiki/Extras/SIGs/Perl
perl-devel mailing list
perl-devel@lists.fedoraproject.org
http://lists.fedoraproject.org/admin/lists/perl-devel@lists.fedoraproject.org

corsepiu pushed to perl-Test-HTTP-Server-Simple-StashWarnings (master). "Remove %defattr. (..more)"

2016-01-26 Thread notifications
From 0c3b65c340a01dfdb470f5424b73c16feaa8f34d Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Ralf=20Cors=C3=A9pius?= 
Date: Wed, 27 Jan 2016 06:42:11 +0100
Subject: Remove %defattr.

- Modernize spec.
- Fix bogus changelog entry.
- Don't use bundled inc.
---
 perl-Test-HTTP-Server-Simple-StashWarnings.spec | 34 ++---
 1 file changed, 19 insertions(+), 15 deletions(-)

diff --git a/perl-Test-HTTP-Server-Simple-StashWarnings.spec 
b/perl-Test-HTTP-Server-Simple-StashWarnings.spec
index 3c0a705..74e6f34 100644
--- a/perl-Test-HTTP-Server-Simple-StashWarnings.spec
+++ b/perl-Test-HTTP-Server-Simple-StashWarnings.spec
@@ -1,20 +1,25 @@
 Name:   perl-Test-HTTP-Server-Simple-StashWarnings
 Version:0.04
-Release:17%{?dist}
+Release:18%{?dist}
 Summary:Catch your forked server's warnings
 License:GPL+ or Artistic
 Group:  Development/Libraries
 URL:
http://search.cpan.org/dist/Test-HTTP-Server-Simple-StashWarnings/
 Source0:
http://www.cpan.org/authors/id/J/JE/JESSE/Test-HTTP-Server-Simple-StashWarnings-%{version}.tar.gz
-BuildRoot:  %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
 BuildArch:  noarch
-BuildRequires:  perl >= 1:5.8.0
-BuildRequires:  perl(CGI)
+
 BuildRequires:  perl(ExtUtils::MakeMaker)
 BuildRequires:  perl(HTTP::Server::Simple) >= 0.34
 BuildRequires:  perl(Test::HTTP::Server::Simple)
 BuildRequires:  perl(WWW::Mechanize)
-Requires:   perl(Test::HTTP::Server::Simple)
+BuildRequires:  perl(NEXT)
+BuildRequires:  perl(Storable)
+BuildRequires:  perl(base)
+BuildRequires:  perl(strict)
+BuildRequires:  perl(warnings)
+
+BuildRequires:  perl(inc::Module::Install)
+
 Requires:   perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo 
$version))
 
 %description
@@ -23,17 +28,14 @@ should warn the user when something is amiss.
 
 %prep
 %setup -q -n Test-HTTP-Server-Simple-StashWarnings-%{version}
+rm -r inc
 
 %build
-%{__perl} Makefile.PL INSTALLDIRS=vendor
+%{__perl} Makefile.PL INSTALLDIRS=vendor NO_PACKLIST=1
 make %{?_smp_mflags}
 
 %install
-rm -rf $RPM_BUILD_ROOT
-
 make pure_install PERL_INSTALL_ROOT=$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/*
@@ -41,16 +43,18 @@ find $RPM_BUILD_ROOT -depth -type d -exec rmdir {} 
2>/dev/null \;
 %check
 make test
 
-%clean
-rm -rf $RPM_BUILD_ROOT
-
 %files
-%defattr(-,root,root,-)
 %doc Changes
 %{perl_vendorlib}/*
 %{_mandir}/man3/*
 
 %changelog
+* Wed Jan 27 2016 Ralf Corsépius  - 0.04-18
+- Remove %%defattr.
+- Modernize spec.
+- Fix bogus changelog entry.
+- Don't use bundled inc.
+
 * Thu Jun 18 2015 Fedora Release Engineering  
- 0.04-17
 - Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild
 
@@ -87,7 +91,7 @@ rm -rf $RPM_BUILD_ROOT
 * Wed Feb 09 2011 Fedora Release Engineering  
- 0.04-6
 - Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
 
-* Mon Dec 08 2010 Ralf Corsépius corse...@fedoraproject.org> - 0.04-5
+* Wed Dec 08 2010 Ralf Corsépius  - 0.04-5
 - Add BR: perl(CGI) (Fix FTBFS: BZ 660808).
 
 * Thu May 06 2010 Marcela Maslanova  - 0.04-4
-- 
cgit v0.11.2



http://pkgs.fedoraproject.org/cgit/perl-Test-HTTP-Server-Simple-StashWarnings.git/commit/?h=master=0c3b65c340a01dfdb470f5424b73c16feaa8f34d
--
Fedora Extras Perl SIG
http://www.fedoraproject.org/wiki/Extras/SIGs/Perl
perl-devel mailing list
perl-devel@lists.fedoraproject.org
http://lists.fedoraproject.org/admin/lists/perl-devel@lists.fedoraproject.org

Re: Crash caused by hardening flags

2016-01-26 Thread Jerry Vonau


> On January 26, 2016 at 10:44 PM Michael Catanzaro 
> wrote:
> 
> 
> Hi,
> 
> GNOME Chess in F23 has been crashing when promoting pawns. This is easy
> to reproduce by turning off the computer player in Preferences,
> starting a new game, and just moving pawns across the board. It turns
> out to be due to our new hardening flags.
> 
> This is https://bugzilla.redhat.com/show_bug.cgi?id=1280470
> 
> The hardening flags seem to somehow be breaking a GObject signal
> accumulator, where the signal is emitted from a libtool convenience
> library, but the value is returned from outside the convenience
> library.
> 
> My workaround is just to add %undefine _hardened_build to the specfile,
> because I have no clue what else to do.
> 
> I wonder if other applications are experiencing similar crashes.
> 

Not that I'm sure what the root cause is but sounds a bit like what
sugar-toolkit-gtk3 did that that comes to the top of my head:

https://bodhi.fedoraproject.org/updates/FEDORA-2015-15309

JerryV
--
devel mailing list
devel@lists.fedoraproject.org
http://lists.fedoraproject.org/admin/lists/devel@lists.fedoraproject.org

corsepiu pushed to perl-Test-ClassAPI (master). "Don't use bundled inc::Module::Install."

2016-01-26 Thread notifications
From deb8c40dd8353aa8d610ed27f1c16ed2665de759 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Ralf=20Cors=C3=A9pius?= 
Date: Wed, 27 Jan 2016 06:23:18 +0100
Subject: Don't use bundled inc::Module::Install.

---
 perl-Test-ClassAPI.spec | 8 +++-
 1 file changed, 7 insertions(+), 1 deletion(-)

diff --git a/perl-Test-ClassAPI.spec b/perl-Test-ClassAPI.spec
index 030e996..ca45b51 100644
--- a/perl-Test-ClassAPI.spec
+++ b/perl-Test-ClassAPI.spec
@@ -1,6 +1,6 @@
 Name:  perl-Test-ClassAPI
 Version:   1.06
-Release:   24%{?dist}
+Release:   25%{?dist}
 Summary:   Provides basic first-pass API testing for large class trees
 License:   GPL+ or Artistic
 Group: Development/Libraries
@@ -18,6 +18,8 @@ BuildRequires:  perl(Test::More) >= 0.47
 BuildRequires:  perl(strict)
 BuildRequires:  perl(vars)
 
+BuildRequires:  perl(inc::Module::Install)
+
 # Explictly required by lib/Test/ClassAPI.pm
 BuildRequires:  perl(Params::Util) >= 1.00
 
@@ -41,6 +43,7 @@ This module aims to provide such a capability.
 
 %prep
 %setup -q -n Test-ClassAPI-%{version}
+rm -r inc
 
 %build
 %{__perl} Makefile.PL INSTALLDIRS=vendor NO_PACKLIST=1
@@ -64,6 +67,9 @@ make test AUTOMATED_TESTING=1
 %{_mandir}/man3/*
 
 %changelog
+* Wed Jan 27 2016 Ralf Corsépius  - 1.06-25
+- Don't use bundled inc::Module::Install.
+
 * Wed Jan 27 2016 Ralf Corsépius  - 1.06-24
 - Remove %%defattr.
 - Add %%license.
-- 
cgit v0.11.2



http://pkgs.fedoraproject.org/cgit/perl-Test-ClassAPI.git/commit/?h=master=deb8c40dd8353aa8d610ed27f1c16ed2665de759
--
Fedora Extras Perl SIG
http://www.fedoraproject.org/wiki/Extras/SIGs/Perl
perl-devel mailing list
perl-devel@lists.fedoraproject.org
http://lists.fedoraproject.org/admin/lists/perl-devel@lists.fedoraproject.org

ppisar pushed to perl-Array-RefElem (master). "Modernize spec file"

2016-01-26 Thread notifications
From fe16cab77b5aa3f60e019d7016e7ef03f9997cb9 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Petr=20P=C3=ADsa=C5=99?= 
Date: Tue, 26 Jan 2016 09:15:20 +0100
Subject: Modernize spec file

---
 perl-Array-RefElem.spec | 34 +++---
 1 file changed, 19 insertions(+), 15 deletions(-)

diff --git a/perl-Array-RefElem.spec b/perl-Array-RefElem.spec
index 0b5b420..d7f2681 100644
--- a/perl-Array-RefElem.spec
+++ b/perl-Array-RefElem.spec
@@ -1,15 +1,25 @@
 Name:   perl-Array-RefElem
 Version:1.00
-Release:20%{?dist}
+Release:21%{?dist}
 Summary:Set up array elements as aliases
 License:GPL+ or Artistic
 Group:  Development/Libraries
 URL:http://search.cpan.org/dist/Array-RefElem/
 Source0:
http://www.cpan.org/authors/id/G/GA/GAAS/Array-RefElem-%{version}.tar.gz
-BuildRoot:  %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
-Requires:   perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo 
$version))
-
+Requires:   perl(:MODULE_COMPAT_%(eval "`perl -V:version`"; echo $version))
+BuildRequires:  coreutils
+BuildRequires:  findutils
+BuildRequires:  make
+BuildRequires:  perl
+BuildRequires:  perl-devel
 BuildRequires:  perl(ExtUtils::MakeMaker)
+# Run-time:
+BuildRequires:  perl(DynaLoader)
+BuildRequires:  perl(Exporter)
+BuildRequires:  perl(strict)
+BuildRequires:  perl(vars)
+# Tests:
+# Devel::Peek not used
 
 %description
 This module gives direct access to some of the internal Perl routines that
@@ -19,34 +29,28 @@ let you store things in arrays and hashes.
 %setup -q -n Array-RefElem-%{version}
 
 %build
-%{__perl} Makefile.PL INSTALLDIRS=vendor OPTIMIZE="%{optflags}"
+perl Makefile.PL INSTALLDIRS=vendor OPTIMIZE="%{optflags}"
 make %{?_smp_mflags}
 
 %install
-rm -rf %{buildroot}
-
-make pure_install PERL_INSTALL_ROOT=%{buildroot}
-
+make pure_install DESTDIR=%{buildroot}
 find %{buildroot} -type f -name .packlist -exec rm -f {} + 
 find %{buildroot} -type f -name '*.bs' -size 0 -exec rm -f {} +
-find %{buildroot} -depth -type d -exec rmdir {} 2>/dev/null \;
-
 %{_fixperms} %{buildroot}/*
 
 %check
 make test
 
-%clean
-rm -rf %{buildroot}
-
 %files
-%defattr(-,root,root,-)
 %doc Changes README t/
 %{perl_vendorarch}/auto/*
 %{perl_vendorarch}/Array*
 %{_mandir}/man3/*
 
 %changelog
+* Tue Jan 26 2016 Petr Pisar  - 1.00-21
+- Modernize spec file
+
 * Thu Jun 18 2015 Fedora Release Engineering  
- 1.00-20
 - Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild
 
-- 
cgit v0.11.2



http://pkgs.fedoraproject.org/cgit/perl-Array-RefElem.git/commit/?h=master=fe16cab77b5aa3f60e019d7016e7ef03f9997cb9
--
Fedora Extras Perl SIG
http://www.fedoraproject.org/wiki/Extras/SIGs/Perl
perl-devel mailing list
perl-devel@lists.fedoraproject.org
http://lists.fedoraproject.org/admin/lists/perl-devel@lists.fedoraproject.org

Re: Needless use of %defattr (in 4464 packages)

2016-01-26 Thread Ville Skyttä
On Tue, Jan 26, 2016 at 9:35 AM, Petr Pisar  wrote:
> This can bring bugs because, as noted in the orignal message, some
> people use to change wrong permissions coming from %install section.

Can you give a concrete example where doing this actually accomplishes
something with rpmbuild >= 4.4? I can't immediately think of one; I
don't see how "wrong permissions from %install" would end up in the
package as files with non-root user/group. AFAIU rpmbuild >= 4.4 sets
%defattr(-,root,root,-) by default and repeating immediately at start
of %files is a no-op.
--
devel mailing list
devel@lists.fedoraproject.org
http://lists.fedoraproject.org/admin/lists/devel@lists.fedoraproject.org

yaneti pushed to perl-POE-Component-Log4perl (master). "Remove defattr"

2016-01-26 Thread notifications
From 4890605f7c70bf4809b511b92ff5adc90b8b1c87 Mon Sep 17 00:00:00 2001
From: Yanko Kaneti 
Date: Tue, 26 Jan 2016 10:54:17 +0200
Subject: Remove defattr

---
 perl-POE-Component-Log4perl.spec | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

diff --git a/perl-POE-Component-Log4perl.spec b/perl-POE-Component-Log4perl.spec
index 61c22dc..830bb36 100644
--- a/perl-POE-Component-Log4perl.spec
+++ b/perl-POE-Component-Log4perl.spec
@@ -44,13 +44,15 @@ rm -rf %{buildroot}
 
 
 %files
-%defattr(-,root,root,-)
 %doc Changes README 
 %{perl_vendorlib}/*
 %{_mandir}/man3/*.3*
 
 
 %changelog
+* Tue Jan 26 2016 Yanko Kaneti 
+- Remove defattr.
+
 * Thu Jun 18 2015 Fedora Release Engineering  
- 0.03-16
 - Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild
 
-- 
cgit v0.11.2



http://pkgs.fedoraproject.org/cgit/perl-POE-Component-Log4perl.git/commit/?h=master=4890605f7c70bf4809b511b92ff5adc90b8b1c87
--
Fedora Extras Perl SIG
http://www.fedoraproject.org/wiki/Extras/SIGs/Perl
perl-devel mailing list
perl-devel@lists.fedoraproject.org
http://lists.fedoraproject.org/admin/lists/perl-devel@lists.fedoraproject.org

Re: hawaii

2016-01-26 Thread Vít Ondruch
Dne 25.1.2016 v 17:55 Sérgio Basto napsal(a):
> Hi,
>
> On Seg, 2016-01-25 at 13:40 +0100, Vít Ondruch wrote:
>> Dne 22.1.2016 v 21:12 Pier Luigi Fiorini napsal(a):
>>> 2016-01-22 20:58 GMT+01:00 Kevin Fenzi :
 On Fri, 22 Jan 2016 19:46:12 -
 " mastaiza"  wrote:

> Yes hawaii-shell .
> Here on this page
> https://fedoraproject.org/wiki/Changes/Hawaii_Desktop specify
 this
> command.
 Yeah, that change is marked (as you can see at the bottom) as
 Incomplete.

 So, it's never been finished and formally submitted.

 You should mail the Owner(s) directly asking if they plan to
 continue
 or if the command is expected to work yet.

 kevin


>>> All significant packages are now available except for the settings
>>> application that is under review.
>>> Mean time I'll read what's supposed to be the next step to formally
>>> submit the change.
>>>
>> Just in case:
>>
>> https://fedoraproject.org/wiki/Changes/Policy
>>
>> And you might be interested in schedule especially:
>>
>> https://fedoraproject.org/wiki/Releases/24/Schedule
>>
>> since the proposal submission deadline is 2016-02-02.
> At least, you may provide some instructions to install it ... 
>  
> https://fedoraproject.org/wiki/Changes/Hawaii_Desktop#User_Experience
>
> dnf install @hawaii
> Warning: Group 'hawaii' does not exist.

May be the group can be added by change owner:


https://fedorahosted.org/comps/
https://git.fedorahosted.org/cgit/comps.git/tree/comps-f24.xml.in


Vít
--
devel mailing list
devel@lists.fedoraproject.org
http://lists.fedoraproject.org/admin/lists/devel@lists.fedoraproject.org

yaneti pushed to perl-POE-Component-Client-SMTP (master). "Remove defattr. Use license."

2016-01-26 Thread notifications
From fc011bfea1c0b7884dcf24f302adf68595ca17c1 Mon Sep 17 00:00:00 2001
From: Yanko Kaneti 
Date: Tue, 26 Jan 2016 10:52:25 +0200
Subject: Remove defattr. Use license.

---
 perl-POE-Component-Client-SMTP.spec | 7 +--
 1 file changed, 5 insertions(+), 2 deletions(-)

diff --git a/perl-POE-Component-Client-SMTP.spec 
b/perl-POE-Component-Client-SMTP.spec
index 62f888d..33db1f6 100644
--- a/perl-POE-Component-Client-SMTP.spec
+++ b/perl-POE-Component-Client-SMTP.spec
@@ -52,14 +52,17 @@ rm -rf %{buildroot}
 
 
 %files
-%defattr(-,root,root,-)
-%doc LICENSE README Changes COPYING TODO eg
+%doc README Changes TODO eg
+%license LICENSE COPYING
 
 %{perl_vendorlib}/*
 %{_mandir}/man3/*.3*
 
 
 %changelog
+* Tue Jan 26 2016 Yanko Kaneti 
+- Remove defattr. Use license.
+
 * Thu Jun 18 2015 Fedora Release Engineering  
- 0.22-16
 - Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild
 
-- 
cgit v0.11.2



http://pkgs.fedoraproject.org/cgit/perl-POE-Component-Client-SMTP.git/commit/?h=master=fc011bfea1c0b7884dcf24f302adf68595ca17c1
--
Fedora Extras Perl SIG
http://www.fedoraproject.org/wiki/Extras/SIGs/Perl
perl-devel mailing list
perl-devel@lists.fedoraproject.org
http://lists.fedoraproject.org/admin/lists/perl-devel@lists.fedoraproject.org

ppisar pushed to perl-criticism (master). "Modernize spec file"

2016-01-26 Thread notifications
From e967d2c6e24dcef5673a2f9d274fdc32f5b41164 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Petr=20P=C3=ADsa=C5=99?= 
Date: Tue, 26 Jan 2016 09:51:50 +0100
Subject: Modernize spec file

---
 .rpmlint|  2 ++
 perl-criticism.spec | 37 -
 2 files changed, 26 insertions(+), 13 deletions(-)
 create mode 100644 .rpmlint

diff --git a/.rpmlint b/.rpmlint
new file mode 100644
index 000..36cc9db
--- /dev/null
+++ b/.rpmlint
@@ -0,0 +1,2 @@
+from Config import *
+addFilter("spelling-error .* pragma");
diff --git a/perl-criticism.spec b/perl-criticism.spec
index 61e1921..2171696 100644
--- a/perl-criticism.spec
+++ b/perl-criticism.spec
@@ -1,23 +1,32 @@
 Name:   perl-criticism
 Version:1.02
-Release:12%{?dist}
+Release:13%{?dist}
 Summary:Perl pragma to enforce coding standards and best-practices
 License:GPL+ or Artistic
 Group:  Development/Libraries
 URL:http://search.cpan.org/dist/criticism/
 Source0:
http://www.cpan.org/authors/id/T/TH/THALJEF/criticism/criticism-%{version}.tar.gz
 BuildArch:  noarch
-BuildRequires:  perl(Module::Build)
+BuildRequires:  coreutils
+BuildRequires:  make
+BuildRequires:  perl
+BuildRequires:  perl(ExtUtils::MakeMaker) >= 6.76
+BuildRequires:  perl(strict)
+BuildRequires:  perl(warnings)
+# Run-time:
+BuildRequires:  perl(Carp)
+BuildRequires:  perl(English)
 BuildRequires:  perl(Perl::Critic) >= 1.089
+BuildRequires:  perl(Perl::Critic::Violation)
 # Tests:
-BuildRequires:  perl(English)
-BuildRequires:  perl(FindBin)
 BuildRequires:  perl(File::Basename)
 BuildRequires:  perl(File::Spec::Functions)
+BuildRequires:  perl(FindBin)
 BuildRequires:  perl(IO::String)
 BuildRequires:  perl(Test::More)
-Requires:   perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo 
$version))
+Requires:   perl(:MODULE_COMPAT_%(eval "`perl -V:version`"; echo $version))
 Requires:   perl(Perl::Critic) >= 1.089
+Requires:   perl(Perl::Critic::Violation)
 
 %description
 This pragma enforces coding standards and promotes best-practices by
@@ -33,24 +42,26 @@ criticism just fails silently.
 chmod 644 lib/*.pm
 
 %build
-%{__perl} Build.PL installdirs=vendor
-./Build
+perl Makefile.PL INSTALLDIRS=vendor NO_PACKLIST=1
+make %{?_smp_mflags}
 
 %install
-./Build install destdir=$RPM_BUILD_ROOT create_packlist=0
-find $RPM_BUILD_ROOT -depth -type d -exec rmdir {} 2>/dev/null \;
-%{_fixperms} $RPM_BUILD_ROOT/*
+make pure_install DESTDIR=%{buildroot}
+%{_fixperms} %{buildroot}/*
 
 %check
-./Build test
+make test
 
 %files
-%defattr(-,root,root,-)
-%doc Changes LICENSE README
+%license LICENSE
+%doc Changes README
 %{perl_vendorlib}/*
 %{_mandir}/man3/*
 
 %changelog
+* Tue Jan 26 2016 Petr Pisar  - 1.02-13
+- Modernize spec file
+
 * Thu Jun 18 2015 Fedora Release Engineering  
- 1.02-12
 - Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild
 
-- 
cgit v0.11.2



http://pkgs.fedoraproject.org/cgit/perl-criticism.git/commit/?h=master=e967d2c6e24dcef5673a2f9d274fdc32f5b41164
--
Fedora Extras Perl SIG
http://www.fedoraproject.org/wiki/Extras/SIGs/Perl
perl-devel mailing list
perl-devel@lists.fedoraproject.org
http://lists.fedoraproject.org/admin/lists/perl-devel@lists.fedoraproject.org

Re: Build root prepared by DNF is way larger

2016-01-26 Thread Vít Ondruch
Dne 25.1.2016 v 18:58 Mattias Ellert napsal(a):
> mån 2016-01-25 klockan 18:09 +0100 skrev Marcin Juszkiewicz:
>> W dniu 25.01.2016 o 17:03, Vít Ondruch pisze:
>>> So it appears this thread was probably not enough. Which keeps us with
>>> interesting state where mock by default does not install weak
>>> dependencies where Koji installs them. It causes interesting issues already.
>> mock/koji not installing weak dependencies == anything wanting ruby 
>> being broken.

Yep, I know. Believe or not, this is precisely how I found out that Koji
installs the weak dependencies while mock does not.
>>
>> Reason: "ruby" suggests "rubypick" which suggests "ruby".
>>
>> Packages buildrequire "ruby" but do not get "rubypick" installed (or if 
>> they are lucky they get) so are unable to find Ruby because there is no 
>> "/bin/ruby" executable.
> If ruby needs ruby-pick to work, then ruby-pick must not be a weak
> dependency of ruby, but a hard one.

The thing is that ruby does not need rubypick to work, but you have to
call ruby-mri instead of ruby in this case. This of course allows you to
avoid rubypick on your system in case you really know what you are doing.

For some moment, I was thinking to add rubypick as dependency of
ruby-devel, but decided against it (at least for the time being), since
there are several reasons for the situation and multiple ways how to fix
it. Just several examples which comes to my mind:

1) There are chances that the build does not need the ruby executable at
all, since it just want to have headers for build.
2) The configure script can be configured what Ruby executable should be
called.
3) There can be explicit BR: /usr/bin/ruby

I'd love to take this opportunity to gain knowledge how all these
projects are actually using Ruby.


Vít
--
devel mailing list
devel@lists.fedoraproject.org
http://lists.fedoraproject.org/admin/lists/devel@lists.fedoraproject.org

ppisar pushed to perl-Class-Factory (master). "Modernize spec file"

2016-01-26 Thread notifications
From e121578d1b7d81537bd071e74c211adbe5e629de Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Petr=20P=C3=ADsa=C5=99?= 
Date: Tue, 26 Jan 2016 09:38:42 +0100
Subject: Modernize spec file

---
 perl-Class-Factory.spec | 33 +++--
 1 file changed, 19 insertions(+), 14 deletions(-)

diff --git a/perl-Class-Factory.spec b/perl-Class-Factory.spec
index efcd81d..6ea13a4 100644
--- a/perl-Class-Factory.spec
+++ b/perl-Class-Factory.spec
@@ -1,16 +1,27 @@
 Name:   perl-Class-Factory
 Version:1.06
-Release:18%{?dist}
+Release:19%{?dist}
 Summary:Base class for dynamic factory classes
 # see lib/Class/Factory.pm
 License:GPL+ or Artistic
 Group:  Development/Libraries
 URL:http://search.cpan.org/dist/Class-Factory/
 Source0:
http://www.cpan.org/authors/id/P/PH/PHRED/Class-Factory-%{version}.tar.gz
-BuildRoot:  %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
 BuildArch:  noarch
+BuildRequires:  coreutils
+BuildRequires:  findutils
+BuildRequires:  make
+BuildRequires:  perl
 BuildRequires:  perl(ExtUtils::MakeMaker)
-Requires:   perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo 
$version))
+# Run-time:
+BuildRequires:  perl(strict)
+# Tests:
+BuildRequires:  perl(base)
+BuildRequires:  perl(lib)
+BuildRequires:  perl(Test::More) >= 0.62
+# Optional tests:
+# Devel::Cover not used
+Requires:   perl(:MODULE_COMPAT_%(eval "`perl -V:version`"; echo $version))
 
 %description
 This is a simple module that factory classes can use to generate new types
@@ -21,32 +32,26 @@ of objects.
 %setup -q -n Class-Factory-%{version}
 
 %build
-%{__perl} Makefile.PL INSTALLDIRS=vendor
+perl Makefile.PL INSTALLDIRS=vendor
 make %{?_smp_mflags}
 
 %install
-rm -rf %{buildroot}
-
-make pure_install PERL_INSTALL_ROOT=%{buildroot}
-
+make pure_install DESTDIR=%{buildroot}
 find %{buildroot} -type f -name .packlist -exec rm -f {} \;
-find %{buildroot} -depth -type d -exec rmdir {} 2>/dev/null \;
-
 %{_fixperms} %{buildroot}/*
 
 %check
 make test
 
-%clean
-rm -rf %{buildroot}
-
 %files
-%defattr(-,root,root,-)
 %doc Changes README
 %{perl_vendorlib}/*
 %{_mandir}/man3/*
 
 %changelog
+* Tue Jan 26 2016 Petr Pisar  - 1.06-19
+- Modernize spec file
+
 * Thu Jun 18 2015 Fedora Release Engineering  
- 1.06-18
 - Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild
 
-- 
cgit v0.11.2



http://pkgs.fedoraproject.org/cgit/perl-Class-Factory.git/commit/?h=master=e121578d1b7d81537bd071e74c211adbe5e629de
--
Fedora Extras Perl SIG
http://www.fedoraproject.org/wiki/Extras/SIGs/Perl
perl-devel mailing list
perl-devel@lists.fedoraproject.org
http://lists.fedoraproject.org/admin/lists/perl-devel@lists.fedoraproject.org

psabata pushed to perl-Algorithm-IncludeExclude (master). "Package cleanup"

2016-01-26 Thread notifications
From 20dd0114a2c6da002b188d62b2d26b42c3768e6f Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Petr=20=C5=A0abata?= 
Date: Tue, 26 Jan 2016 14:21:26 +0100
Subject: Package cleanup

---
 perl-Algorithm-IncludeExclude.spec | 50 +++---
 1 file changed, 30 insertions(+), 20 deletions(-)

diff --git a/perl-Algorithm-IncludeExclude.spec 
b/perl-Algorithm-IncludeExclude.spec
index c9556c9..9849290 100644
--- a/perl-Algorithm-IncludeExclude.spec
+++ b/perl-Algorithm-IncludeExclude.spec
@@ -1,19 +1,36 @@
 Name:   perl-Algorithm-IncludeExclude
 Version:0.01
-Release:17%{?dist}
+Release:18%{?dist}
 Summary:Build and evaluate include/exclude lists
 License:GPL+ or Artistic
-Group:  Development/Libraries
 URL:http://search.cpan.org/dist/Algorithm-IncludeExclude/
 Source0:
http://www.cpan.org/authors/id/J/JR/JROCKWAY/Algorithm-IncludeExclude-%{version}.tar.gz
-BuildRoot:  %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
 BuildArch:  noarch
-BuildRequires:  perl(ExtUtils::MakeMaker)
+# Build
+BuildRequires:  make
+BuildRequires:  perl
+BuildRequires:  perl(Carp)
+BuildRequires:  perl(Config)
+BuildRequires:  perl(CPAN)
+BuildRequires:  perl(Cwd)
+BuildRequires:  perl(ExtUtils::MakeMaker) >= 6.76
+BuildRequires:  perl(ExtUtils::MM_Unix)
+BuildRequires:  perl(File::Find)
+BuildRequires:  perl(File::Path)
+BuildRequires:  perl(File::Spec)
+BuildRequires:  perl(FindBin)
+BuildRequires:  perl(strict)
+BuildRequires:  perl(vars)
+BuildRequires:  perl(warnings)
+# Runtime
+# -
+# Tests only
 BuildRequires:  perl(Test::Exception)
 BuildRequires:  perl(Test::More)
-BuildRequires:  perl(Test::Pod)
-BuildRequires:  perl(Test::Pod::Coverage)
-Requires:   perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo 
$version))
+# Optional tests only
+BuildRequires:  perl(Test::Pod) >= 1.14
+BuildRequires:  perl(Test::Pod::Coverage) >= 1.04
+Requires:   perl(:MODULE_COMPAT_%(eval "$(perl -V:version)"; echo 
$version))
 
 %description
 Algorithm::IncludeExclude lets you define a tree of include / exclude rules and
@@ -23,32 +40,25 @@ then allows you to determine the best rule for a given path.
 %setup -q -n Algorithm-IncludeExclude-%{version}
 
 %build
-%{__perl} Makefile.PL INSTALLDIRS=vendor
+perl Makefile.PL INSTALLDIRS=vendor NO_PACKLIST=1
 make %{?_smp_mflags}
 
 %install
-rm -rf $RPM_BUILD_ROOT
-
-make pure_install PERL_INSTALL_ROOT=$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}
+%{_fixperms} %{buildroot}/*
 
 %check
 make test
 
-%clean
-rm -rf $RPM_BUILD_ROOT
-
 %files
-%defattr(-,root,root,-)
 %doc Changes README
 %{perl_vendorlib}/*
 %{_mandir}/man3/*
 
 %changelog
+* Tue Jan 26 2016 Petr Šabata  - 0.01-18
+- Package cleanup
+
 * Thu Jun 18 2015 Fedora Release Engineering  
- 0.01-17
 - Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild
 
-- 
cgit v0.11.2



http://pkgs.fedoraproject.org/cgit/perl-Algorithm-IncludeExclude.git/commit/?h=master=20dd0114a2c6da002b188d62b2d26b42c3768e6f
--
Fedora Extras Perl SIG
http://www.fedoraproject.org/wiki/Extras/SIGs/Perl
perl-devel mailing list
perl-devel@lists.fedoraproject.org
http://lists.fedoraproject.org/admin/lists/perl-devel@lists.fedoraproject.org

corsepiu pushed to perl-File-Slurp (master). "Remove %defattr. (..more)"

2016-01-26 Thread notifications
From 4833cf0347fe2c8820d19a15ae7a0ec5ec2dffb4 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Ralf=20Cors=C3=A9pius?= 
Date: Tue, 26 Jan 2016 14:21:11 +0100
Subject: Remove %defattr.

- Modernize spec.
---
 perl-File-Slurp.spec | 10 ++
 1 file changed, 6 insertions(+), 4 deletions(-)

diff --git a/perl-File-Slurp.spec b/perl-File-Slurp.spec
index f6df424..e092d97 100644
--- a/perl-File-Slurp.spec
+++ b/perl-File-Slurp.spec
@@ -1,6 +1,6 @@
 Name:  perl-File-Slurp
 Version:   .19
-Release:   12%{?dist}
+Release:   13%{?dist}
 Summary:   Efficient Reading/Writing of Complete Files
 License:   GPL+ or Artistic
 Group: Development/Libraries
@@ -43,12 +43,11 @@ find \( -executable -a -type f \) -exec chmod -x {} \;
 %{__perl} -pi -e 's|^#!/usr/local/bin/perl\b|#!%{__perl}|' 
extras/slurp_bench.pl
 
 %build
-%{__perl} Makefile.PL INSTALLDIRS=vendor
+%{__perl} Makefile.PL INSTALLDIRS=vendor NO_PACKLIST=1
 make %{?_smp_mflags}
 
 %install
 make pure_install PERL_INSTALL_ROOT=$RPM_BUILD_ROOT
-find $RPM_BUILD_ROOT -type f -name .packlist -exec rm -f {} ';'
 find $RPM_BUILD_ROOT -type d -depth -exec rmdir {} 2>/dev/null ';'
 chmod -R u+w $RPM_BUILD_ROOT/*
 
@@ -56,13 +55,16 @@ chmod -R u+w $RPM_BUILD_ROOT/*
 make test
 
 %files
-%defattr(-,root,root,-)
 # For license text(s), see the perl package.
 %doc Changes README extras/
 %{perl_vendorlib}/File
 %{_mandir}/man3/*
 
 %changelog
+* Tue Jan 26 2016 Ralf Corsépius  - .19-13
+- Remove %%defattr.
+- Modernize spec.
+
 * Thu Jun 18 2015 Fedora Release Engineering  
- .19-12
 - Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild
 
-- 
cgit v0.11.2



http://pkgs.fedoraproject.org/cgit/perl-File-Slurp.git/commit/?h=master=4833cf0347fe2c8820d19a15ae7a0ec5ec2dffb4
--
Fedora Extras Perl SIG
http://www.fedoraproject.org/wiki/Extras/SIGs/Perl
perl-devel mailing list
perl-devel@lists.fedoraproject.org
http://lists.fedoraproject.org/admin/lists/perl-devel@lists.fedoraproject.org

psabata pushed to perl-Algorithm-Merge (master). "Package cleanup"

2016-01-26 Thread notifications
From 408f4d8dc11206721c2e8cc9ed2b950853bee6f2 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Petr=20=C5=A0abata?= 
Date: Tue, 26 Jan 2016 14:31:28 +0100
Subject: Package cleanup

---
 perl-Algorithm-Merge.spec | 40 
 1 file changed, 20 insertions(+), 20 deletions(-)

diff --git a/perl-Algorithm-Merge.spec b/perl-Algorithm-Merge.spec
index 64d5e16..2e63ab8 100644
--- a/perl-Algorithm-Merge.spec
+++ b/perl-Algorithm-Merge.spec
@@ -1,25 +1,32 @@
 Name:   perl-Algorithm-Merge
 Version:0.08
-Release:17%{?dist}
+Release:18%{?dist}
 Summary:Three-way merge and diff
 License:GPL+ or Artistic
-Group:  Development/Libraries
 URL:http://search.cpan.org/dist/Algorithm-Merge/
 Source0:
http://www.cpan.org/authors/id/J/JS/JSMITH/Algorithm-Merge-%{version}.tar.gz
-BuildRoot:  %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
 BuildArch:  noarch
-BuildRequires:  perl(ExtUtils::MakeMaker)
-# Run-time
+# Build
+BuildRequires:  make
+BuildRequires:  perl
+BuildRequires:  perl(ExtUtils::MakeMaker) >= 6.76
+# Runtime
 BuildRequires:  perl(Algorithm::Diff) >= 1
 BuildRequires:  perl(Carp)
 BuildRequires:  perl(constant)
 BuildRequires:  perl(Data::Dumper)
 BuildRequires:  perl(Exporter)
-# Tests
+BuildRequires:  perl(strict)
+BuildRequires:  perl(vars)
+# Tests only
 BuildRequires:  perl(Test::More)
-Requires:   perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo 
$version))
+BuildRequires:  perl(warnings)
+Requires:   perl(:MODULE_COMPAT_%(eval "$(perl -V:version)"; echo 
$version))
+Requires:   perl(Algorithm::Diff) >= 1
 Requires:   perl(Exporter)
 
+%global __requires_exclude 
%{?__requires_exclude:%__requires_exclude|}^perl\\(Algorithm::Diff\\)$
+
 %description
 This module complements Algorithm::Diff by providing three-way merge and diff
 functions.
@@ -28,32 +35,25 @@ functions.
 %setup -q -n Algorithm-Merge-%{version}
 
 %build
-%{__perl} Makefile.PL INSTALLDIRS=vendor
+perl Makefile.PL INSTALLDIRS=vendor NO_PACKLIST=1
 make %{?_smp_mflags}
 
 %install
-rm -rf $RPM_BUILD_ROOT
-
-make pure_install PERL_INSTALL_ROOT=$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}
+%{_fixperms} %{buildroot}/*
 
 %check
 make test
 
-%clean
-rm -rf $RPM_BUILD_ROOT
-
 %files
-%defattr(-,root,root,-)
 %doc CHANGES README
 %{perl_vendorlib}/*
 %{_mandir}/man3/*
 
 %changelog
+* Tue Jan 26 2016 Petr Šabata  - 0.08-18
+- Package cleanup
+
 * Thu Jun 18 2015 Fedora Release Engineering  
- 0.08-17
 - Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild
 
-- 
cgit v0.11.2



http://pkgs.fedoraproject.org/cgit/perl-Algorithm-Merge.git/commit/?h=master=408f4d8dc11206721c2e8cc9ed2b950853bee6f2
--
Fedora Extras Perl SIG
http://www.fedoraproject.org/wiki/Extras/SIGs/Perl
perl-devel mailing list
perl-devel@lists.fedoraproject.org
http://lists.fedoraproject.org/admin/lists/perl-devel@lists.fedoraproject.org

ppisar pushed to perl-Gtk2-Ex-CalendarButton (master). "Modernize spec file"

2016-01-26 Thread notifications
From c5acba341ac8370d673a61e253c79d78e42013fc Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Petr=20P=C3=ADsa=C5=99?= 
Date: Tue, 26 Jan 2016 14:45:43 +0100
Subject: Modernize spec file

---
 .rpmlint |  2 ++
 perl-Gtk2-Ex-CalendarButton.spec | 53 
 2 files changed, 29 insertions(+), 26 deletions(-)
 create mode 100644 .rpmlint

diff --git a/.rpmlint b/.rpmlint
new file mode 100644
index 000..3656803
--- /dev/null
+++ b/.rpmlint
@@ -0,0 +1,2 @@
+from Config import *
+addFilter("spelling-error .* (taskbar)");
diff --git a/perl-Gtk2-Ex-CalendarButton.spec b/perl-Gtk2-Ex-CalendarButton.spec
index 66951e7..b6e5eb9 100644
--- a/perl-Gtk2-Ex-CalendarButton.spec
+++ b/perl-Gtk2-Ex-CalendarButton.spec
@@ -1,63 +1,64 @@
 Name:   perl-Gtk2-Ex-CalendarButton
 Version:0.01
-Release:22%{?dist}
+Release:23%{?dist}
 Summary:Gtk2::Ex::CalendarButton Perl module
 License:GPL+ or Artistic
 Group:  Development/Libraries
 URL:http://search.cpan.org/dist/Gtk2-Ex-CalendarButton/
 Source0:
http://www.cpan.org/authors/id/O/OF/OFEYAIKON/Gtk2-Ex-CalendarButton-%{version}.tar.gz
-BuildRoot:  %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
 BuildArch:  noarch
-Requires:   perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo 
$version))
-
-# core
-BuildRequires:  perl(Data::Dumper)
+BuildRequires:  coreutils
+BuildRequires:  findutils
+BuildRequires:  make
+BuildRequires:  perl
+BuildRequires:  perl(Config)
 BuildRequires:  perl(ExtUtils::MakeMaker)
-BuildRequires:  perl(Test::More)
-# cpan
+BuildRequires:  perl(strict)
+BuildRequires:  perl(warnings)
+# Run-time:
+BuildRequires:  perl(Data::Dumper)
 BuildRequires:  perl(Glib)
 BuildRequires:  perl(Gtk2)
-# test
+# Tests:
+BuildRequires:  font(:lang=en)
+BuildRequires:  perl(Gtk2::TestHelper)
+BuildRequires:  perl(Test::More)
+BuildRequires:  xorg-x11-server-Xvfb
+Requires:   perl(:MODULE_COMPAT_%(eval "`perl -V:version`"; echo $version))
 
 %description
 I realized that I was constantly re-creating a simple widget that will pop-up
-and Gtk2::Calendar when clicked. Just like the datetime display on your
+a Gtk2::Calendar when clicked. Just like the date-time display on your
 desktop taskbar. This package is my attempt to extract the portion of code
-required to create a button-click-calender.
+required to create a button-click-calendar.
 
 %prep
 %setup -q -n Gtk2-Ex-CalendarButton-%{version}
-
-#find t/ -type f -exec perl -pi -e 's|\r||' {} +
-find t/ -type f -exec perl -pi -e 's|\r||; s|^#!perl|#!/usr/bin/perl|' {} +
+find t/ -type f -exec \
+perl -MConfig -pi -e 's|\r||; s|^#!perl|$Config{startperl}|' {} +
 
 %build
-%{__perl} Makefile.PL INSTALLDIRS=vendor
+perl Makefile.PL INSTALLDIRS=vendor
 make %{?_smp_mflags}
 
 %install
-rm -rf %{buildroot}
-
-make pure_install PERL_INSTALL_ROOT=%{buildroot}
-
+make pure_install DESTDIR=%{buildroot}
 find %{buildroot} -type f -name .packlist -exec rm -f {} \;
-find %{buildroot} -depth -type d -exec rmdir {} 2>/dev/null \;
-
 %{_fixperms} %{buildroot}/*
 
 %check
-%{?_with_display_tests: make test }
-
-%clean
-rm -rf %{buildroot}
+xvfb-run -a make test
 
 %files
-%defattr(-,root,root,-)
+# Package tests as documentation because the offical documentation is brief
 %doc Changes README t/
 %{perl_vendorlib}/*
 %{_mandir}/man3/*
 
 %changelog
+* Tue Jan 26 2016 Petr Pisar  - 0.01-23
+- Modernize spec file
+
 * Thu Jun 18 2015 Fedora Release Engineering  
- 0.01-22
 - Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild
 
-- 
cgit v0.11.2



http://pkgs.fedoraproject.org/cgit/perl-Gtk2-Ex-CalendarButton.git/commit/?h=master=c5acba341ac8370d673a61e253c79d78e42013fc
--
Fedora Extras Perl SIG
http://www.fedoraproject.org/wiki/Extras/SIGs/Perl
perl-devel mailing list
perl-devel@lists.fedoraproject.org
http://lists.fedoraproject.org/admin/lists/perl-devel@lists.fedoraproject.org

psabata pushed to perl-Authen-PAM (master). "Package cleanup"

2016-01-26 Thread notifications
From 1b221859849e3d6665d5a699dc1a556059219fd2 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Petr=20=C5=A0abata?= 
Date: Tue, 26 Jan 2016 14:46:23 +0100
Subject: Package cleanup

---
 perl-Authen-PAM.spec | 42 +++---
 1 file changed, 23 insertions(+), 19 deletions(-)

diff --git a/perl-Authen-PAM.spec b/perl-Authen-PAM.spec
index 1ce4685..e1ec5c3 100644
--- a/perl-Authen-PAM.spec
+++ b/perl-Authen-PAM.spec
@@ -1,15 +1,26 @@
 Name:   perl-Authen-PAM
 Version:0.16
-Release:23%{?dist}
+Release:24%{?dist}
 Summary:Authen::PAM Perl module
 License:GPL+ or Artistic
-Group:  Development/Libraries
 URL:http://search.cpan.org/dist/Authen-PAM/
 Source0:
http://www.cpan.org/authors/id/N/NI/NIKIP/Authen-PAM-%{version}.tar.gz
-BuildRoot:  %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
+# Build
+BuildRequires:  findutils
+BuildRequires:  gcc
+BuildRequires:  make
 BuildRequires:  pam-devel
-BuildRequires:  perl(ExtUtils::MakeMaker)
-Requires:   perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo 
$version))
+BuildRequires:  perl
+BuildRequires:  perl-devel
+BuildRequires:  perl(Config)
+BuildRequires:  perl(ExtUtils::MakeMaker) >= 6.76
+# Runtime
+# -
+# Tests only
+%{?_with_check:BuildRequires:  perl(POSIX)}
+%{?_with_check:BuildRequires:  perl(strict)}
+%{?_with_check:BuildRequires:  perl(vars)}
+Requires:   perl(:MODULE_COMPAT_%(eval "$(perl -V:version)"; echo 
$version))
 
 %description
 This module provides a Perl interface to the PAM library.
@@ -18,35 +29,28 @@ This module provides a Perl interface to the PAM library.
 %setup -q -n Authen-PAM-%{version}
 
 %build
-%{__perl} Makefile.PL INSTALLDIRS=vendor OPTIMIZE="$RPM_OPT_FLAGS"
+perl Makefile.PL INSTALLDIRS=vendor OPTIMIZE="%{optflags}" NO_PACKLIST=1
 make %{?_smp_mflags}
 
 %install
-rm -rf $RPM_BUILD_ROOT
-
-make pure_install PERL_INSTALL_ROOT=$RPM_BUILD_ROOT
-
-find $RPM_BUILD_ROOT -type f -name .packlist -exec rm -f {} \;
-find $RPM_BUILD_ROOT -type f -name '*.bs' -size 0 -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 '*.bs' -size 0 -delete
+%{_fixperms} %{buildroot}/*
 
 # Tests are interactive.
 %check
 %{?_with_check:make test}
 
-%clean
-rm -rf $RPM_BUILD_ROOT
-
 %files
-%defattr(-,root,root,-)
 %doc Changes README
 %{perl_vendorarch}/auto/*
 %{perl_vendorarch}/Authen
 %{_mandir}/man3/*
 
 %changelog
+* Tue Jan 26 2016 Petr Šabata  - 0.16-24
+- Package cleanup
+
 * Thu Jun 18 2015 Fedora Release Engineering  
- 0.16-23
 - Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild
 
-- 
cgit v0.11.2



http://pkgs.fedoraproject.org/cgit/perl-Authen-PAM.git/commit/?h=master=1b221859849e3d6665d5a699dc1a556059219fd2
--
Fedora Extras Perl SIG
http://www.fedoraproject.org/wiki/Extras/SIGs/Perl
perl-devel mailing list
perl-devel@lists.fedoraproject.org
http://lists.fedoraproject.org/admin/lists/perl-devel@lists.fedoraproject.org

corsepiu pushed to perl-Font-AFM (master). "Modernize spec."

2016-01-26 Thread notifications
From eaa649f49c29409f2e214711caa477b5230dfd11 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Ralf=20Cors=C3=A9pius?= 
Date: Tue, 26 Jan 2016 14:46:31 +0100
Subject: Modernize spec.

---
 perl-Font-AFM.spec | 17 ++---
 1 file changed, 6 insertions(+), 11 deletions(-)

diff --git a/perl-Font-AFM.spec b/perl-Font-AFM.spec
index 50cf2d1..e70ae04 100644
--- a/perl-Font-AFM.spec
+++ b/perl-Font-AFM.spec
@@ -1,6 +1,6 @@
 Name:   perl-Font-AFM
 Version:1.20
-Release:   19%{?dist}
+Release:   20%{?dist}
 Summary:Perl interface to Adobe Font Metrics files
 
 Group: Development/Libraries
@@ -8,9 +8,7 @@ License:(GPL+ or Artistic) and Copyright only
 URL:   http://search.cpan.org/dist/Font-AFM/
 Source0:   
http://www.cpan.org/authors/id/G/GA/GAAS/Font-AFM-%{version}.tar.gz
 
-BuildRoot:  %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
-
-Requires:  perl(:MODULE_COMPAT_%(eval "`perl -V:version`"; echo $version))
+Requires:  perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version))
 
 BuildArch:  noarch
 
@@ -27,31 +25,28 @@ Interface to Adobe Font Metrics files
 sed -i -e 's,Helvetica,phvr,g' t/afm.t
 
 %build
-perl Makefile.PL INSTALLDIRS=vendor
+%{__perl} Makefile.PL INSTALLDIRS=vendor NO_PACKLIST=1
 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 {} ';'
 chmod -R u+w $RPM_BUILD_ROOT/*
 
 
 %check
 make test METRICS=%{_datadir}/a2ps/afm
 
-%clean
-rm -rf $RPM_BUILD_ROOT
-
 
 %files
-%defattr(-,root,root,-)
 %doc Changes README
 %{perl_vendorlib}/Font
 %{_mandir}/man3/Font*
 
 %changelog
+* Tue Jan 26 2016 Ralf Corsépius  - 1.20-20
+- Modernize spec.
+
 * Thu Jun 18 2015 Fedora Release Engineering  
- 1.20-19
 - Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild
 
-- 
cgit v0.11.2



http://pkgs.fedoraproject.org/cgit/perl-Font-AFM.git/commit/?h=master=eaa649f49c29409f2e214711caa477b5230dfd11
--
Fedora Extras Perl SIG
http://www.fedoraproject.org/wiki/Extras/SIGs/Perl
perl-devel mailing list
perl-devel@lists.fedoraproject.org
http://lists.fedoraproject.org/admin/lists/perl-devel@lists.fedoraproject.org

ppisar pushed to perl-Gtk2-Ex-Carp (master). "Modernize spec file"

2016-01-26 Thread notifications
From 4616e6355ec9fc7a113515f573d0248bb82a8255 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Petr=20P=C3=ADsa=C5=99?= 
Date: Tue, 26 Jan 2016 15:10:49 +0100
Subject: Modernize spec file

---
 perl-Gtk2-Ex-Carp.spec | 55 --
 1 file changed, 31 insertions(+), 24 deletions(-)

diff --git a/perl-Gtk2-Ex-Carp.spec b/perl-Gtk2-Ex-Carp.spec
index 9567d72..bc54279 100644
--- a/perl-Gtk2-Ex-Carp.spec
+++ b/perl-Gtk2-Ex-Carp.spec
@@ -1,16 +1,36 @@
 Name:   perl-Gtk2-Ex-Carp
 Version:0.01
-Release:24%{?dist}
+Release:25%{?dist}
 Summary:GTK+ friendly die() and warn() functions
 License:GPL+ or Artistic
 Group:  Development/Libraries
 URL:http://search.cpan.org/dist/Gtk2-Ex-Carp/
 Source0:
http://www.cpan.org/authors/id/G/GB/GBROWN/Gtk2-Ex-Carp-%{version}.tar.gz
-BuildRoot:  %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
 BuildArch:  noarch
-BuildRequires:  perl, perl(ExtUtils::MakeMaker)
+BuildRequires:  coreutils
+BuildRequires:  findutils
+BuildRequires:  make
+BuildRequires:  perl
+BuildRequires:  perl(ExtUtils::MakeMaker)
+# Run-time:
+BuildRequires:  perl(base)
+BuildRequires:  perl(Carp)
+BuildRequires:  perl(Exporter)
+BuildRequires:  perl(File::Spec)
 BuildRequires:  perl(Gtk2)
-Requires:   perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo 
$version))
+BuildRequires:  perl(Gtk2::Dialog)
+BuildRequires:  perl(Gtk2::Pango)
+BuildRequires:  perl(strict)
+BuildRequires:  perl(vars)
+BuildRequires:  perl(warnings)
+# Optional run-time:
+# Locale::gettext
+# Tests:
+BuildRequires:  font(:lang=en)
+BuildRequires:  perl(Test)
+BuildRequires:  xorg-x11-server-Xvfb
+Requires:   perl(:MODULE_COMPAT_%(eval "`perl -V:version`"; echo $version))
+Requires:   perl(warnings)
 
 %description
 This module exports four functions, of which two override the standard
@@ -18,43 +38,30 @@ die() and warn() functions, and two which allow for 
extended error
 reporting. When called, these functions display a user-friendly message
 dialog window.
 
-%{?perl_default_filter:
-%filter_from_requires /perl(Gtk2::Dialog)/d
-%{?perl_default_filter}
-}
-%global __requires_exclude 
%{?__requires_exclude:%__requires_exclude|}perl\\(Gtk2::Dialog\\)
-
 %prep
 %setup -q -n Gtk2-Ex-Carp-%{version}
 
 %build
-%{__perl} Makefile.PL INSTALLDIRS=vendor
+perl Makefile.PL INSTALLDIRS=vendor
 make %{?_smp_mflags}
 
 %install
-rm -rf %{buildroot}
-
-make pure_install PERL_INSTALL_ROOT=%{buildroot}
-
+make pure_install DESTDIR=%{buildroot}
 find %{buildroot} -type f -name .packlist -exec rm -f {} \;
-find %{buildroot} -depth -type d -exec rmdir {} 2>/dev/null \;
-
 %{_fixperms} %{buildroot}/*
 
 %check
-# no $DISPLAY in mock; tests fail!
-[ "x$DISPLAY" == "x" ] || make test
-
-%clean
-rm -rf %{buildroot}
+xvfb-run -a make test
 
 %files
-%defattr(-,root,root,-)
 %doc README
 %{perl_vendorlib}/*
 %{_mandir}/man3/*
 
 %changelog
+* Tue Jan 26 2016 Petr Pisar  - 0.01-25
+- Modernize spec file
+
 * Thu Jun 18 2015 Fedora Release Engineering  
- 0.01-24
 - Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild
 
@@ -85,7 +92,7 @@ rm -rf %{buildroot}
 * Fri Jan 13 2012 Fedora Release Engineering  
- 0.01-15
 - Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild
 
-* Mon Jun 25 2011 Marcela Mašláňová  - 0.01-14
+* Mon Jul 25 2011 Marcela Mašláňová  - 0.01-14
 - add new filter, fix filter - thanks to Paul Howarth
 
 * Tue Jun 21 2011 Marcela Mašláňová  - 0.01-12
-- 
cgit v0.11.2



http://pkgs.fedoraproject.org/cgit/perl-Gtk2-Ex-Carp.git/commit/?h=master=4616e6355ec9fc7a113515f573d0248bb82a8255
--
Fedora Extras Perl SIG
http://www.fedoraproject.org/wiki/Extras/SIGs/Perl
perl-devel mailing list
perl-devel@lists.fedoraproject.org
http://lists.fedoraproject.org/admin/lists/perl-devel@lists.fedoraproject.org

psabata pushed to perl-Carp-Clan-Share (master). "Package cleanup"

2016-01-26 Thread notifications
From 10c527a48ad1a8fb1a18be1f8c220eed60280b75 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Petr=20=C5=A0abata?= 
Date: Tue, 26 Jan 2016 15:24:01 +0100
Subject: Package cleanup

---
 perl-Carp-Clan-Share.spec | 43 +--
 1 file changed, 25 insertions(+), 18 deletions(-)

diff --git a/perl-Carp-Clan-Share.spec b/perl-Carp-Clan-Share.spec
index 789f7ed..c99b800 100644
--- a/perl-Carp-Clan-Share.spec
+++ b/perl-Carp-Clan-Share.spec
@@ -1,17 +1,31 @@
 Name:   perl-Carp-Clan-Share
 Version:0.013
-Release:17%{?dist}
+Release:18%{?dist}
 Summary:Share your Carp::Clan settings with your whole Clan
 License:GPL+ or Artistic
-Group:  Development/Libraries
 URL:http://search.cpan.org/dist/Carp-Clan-Share/
 Source0:
http://www.cpan.org/authors/id/R/RK/RKRIMEN/Carp-Clan-Share-%{version}.tar.gz
-BuildRoot:  %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
 BuildArch:  noarch
+# Build
+BuildRequires:  make
+BuildRequires:  perl
+BuildRequires:  perl(Config)
+BuildRequires:  perl(Cwd)
+BuildRequires:  perl(ExtUtils::MakeMaker) >= 6.76
+BuildRequires:  perl(ExtUtils::MM_Unix)
+BuildRequires:  perl(File::Find)
+BuildRequires:  perl(File::Path)
+BuildRequires:  perl(File::Spec)
+BuildRequires:  perl(FindBin)
+BuildRequires:  perl(strict)
+BuildRequires:  perl(vars)
+# Runtime
 BuildRequires:  perl(Carp::Clan)
-BuildRequires:  perl(ExtUtils::MakeMaker)
+BuildRequires:  perl(warnings)
+# Tests only
+BuildRequires:  perl(lib)
 BuildRequires:  perl(Test::More)
-Requires:   perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo 
$version))
+Requires:   perl(:MODULE_COMPAT_%(eval "$(perl -V:version)"; echo 
$version))
 
 %description
 This is a very lightweight helper module (actually just an import method)
@@ -21,32 +35,25 @@ that will automagically create a __PACKAGE__::Carp module 
for you.
 %setup -q -n Carp-Clan-Share-%{version}
 
 %build
-%{__perl} Makefile.PL INSTALLDIRS=vendor
+perl Makefile.PL INSTALLDIRS=vendor NO_PACKLIST=1
 make %{?_smp_mflags}
 
 %install
-rm -rf $RPM_BUILD_ROOT
-
-make pure_install PERL_INSTALL_ROOT=$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}
+%{_fixperms} %{buildroot}/*
 
 %check
 make test
 
-%clean
-rm -rf $RPM_BUILD_ROOT
-
 %files
-%defattr(-,root,root,-)
 %doc Changes README
 %{perl_vendorlib}/*
 %{_mandir}/man3/*
 
 %changelog
+* Tue Jan 26 2016 Petr Šabata  - 0.013-18
+- Package cleanup
+
 * Thu Jun 18 2015 Fedora Release Engineering  
- 0.013-17
 - Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild
 
-- 
cgit v0.11.2



http://pkgs.fedoraproject.org/cgit/perl-Carp-Clan-Share.git/commit/?h=master=10c527a48ad1a8fb1a18be1f8c220eed60280b75
--
Fedora Extras Perl SIG
http://www.fedoraproject.org/wiki/Extras/SIGs/Perl
perl-devel mailing list
perl-devel@lists.fedoraproject.org
http://lists.fedoraproject.org/admin/lists/perl-devel@lists.fedoraproject.org

ppisar pushed to perl-Gtk2-GladeXML (master). "Modernize spec file"

2016-01-26 Thread notifications
From f29a75554fa9d2cab569979b078e0907c5a8601f Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Petr=20P=C3=ADsa=C5=99?= 
Date: Tue, 26 Jan 2016 15:29:54 +0100
Subject: Modernize spec file

---
 .rpmlint|  2 ++
 perl-Gtk2-GladeXML.spec | 92 +++--
 2 files changed, 52 insertions(+), 42 deletions(-)
 create mode 100644 .rpmlint

diff --git a/.rpmlint b/.rpmlint
new file mode 100644
index 000..c011e13
--- /dev/null
+++ b/.rpmlint
@@ -0,0 +1,2 @@
+from Config import *
+addFilter("spelling-error .* libglade");
diff --git a/perl-Gtk2-GladeXML.spec b/perl-Gtk2-GladeXML.spec
index 42370ce..f5bedc5 100644
--- a/perl-Gtk2-GladeXML.spec
+++ b/perl-Gtk2-GladeXML.spec
@@ -1,76 +1,81 @@
+%global use_x11_tests 1
+
 Name:   perl-Gtk2-GladeXML
 Version:1.007
-Release:21%{?dist}
+Release:22%{?dist}
 Summary:Create user interfaces directly from Glade XML files
-
 Group:  Development/Libraries
 License:LGPLv2+
 URL:http://search.cpan.org/dist/Gtk2-GladeXML/
 Source0:
http://search.cpan.org/CPAN/authors/id/T/TS/TSCH/Gtk2-GladeXML-%{version}.tar.gz
-BuildRoot:  %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
-Requires:  perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version))
-
-# non-perl
-BuildRequires:  libglade2-devel >= 2.0.0
-
-BuildRequires:  perl(ExtUtils::MakeMaker)
+BuildRequires:  coreutils
+BuildRequires:  findutils
+BuildRequires:  make
+BuildRequires:  perl
+BuildRequires:  perl(Cwd)
 BuildRequires:  perl(ExtUtils::Depends) >= 0.300
-BuildRequires:  perl(ExtUtils::PkgConfig)
-BuildRequires:  perl(Glib)
+BuildRequires:  perl(ExtUtils::MakeMaker)
+BuildRequires:  perl(ExtUtils::PkgConfig) >= 1.000
+BuildRequires:  perl(File::Spec)
+BuildRequires:  perl(Glib) >= 1.020
 BuildRequires:  perl(Glib::MakeHelper)
-BuildRequires:  perl(Gtk2)
+BuildRequires:  perl(Gtk2) >= 1.000
+BuildRequires:  perl(strict)
+BuildRequires:  pkgconfig(libglade-2.0) >= 2.0.0
+# Run-time:
+BuildRequires:  perl(DynaLoader)
+BuildRequires:  perl(warnings)
+# Tests:
+BuildRequires:  perl(Data::Dumper)
 BuildRequires:  perl(Test::More)
+# Optional tests:
+%if %{use_x11_tests}
+BuildRequires:  xorg-x11-server-Xvfb
+BuildRequires:  font(:lang=en)
+%endif
+Requires:  perl(:MODULE_COMPAT_%(eval "`perl -V:version`"; echo $version))
+Requires:  perl(Gtk2) >= 1.000
 
 %{?perl_default_filter}
+# Remove under-specified dependencies
+%global __requires_exclude 
%{?__requires_exclude:%{__requires_exclude}|}^perl\\(Gtk2\\)$
 
 %description
-Glade is a free user interface builder for GTK+ and GNOME. 
-After designing a user interface with glade-2 the layout 
-and configuration are saved in an XML file. libglade is a 
-library which knows how to build and hook up the user interface 
-described in the Glade XML file at application run time.
-
-This extension module binds libglade to Perl so you can 
-create and manipulate user interfaces in Perl code in 
-conjunction with Gtk2 and even Gnome2. Better yet you can 
-load a file's contents into a PERL scalar do a few magical 
-regular expressions to customize things and the load up the app. 
-It doesn't get any easier.
+Glade is a free user interface builder for GTK+ and GNOME. After designing
+a user interface with glade-2 the layout and configuration are saved in an XML
+file. libglade is a library which knows how to build and hook up the user
+interface described in the Glade XML file at application run time.
 
+This extension module binds libglade to Perl so you can create and manipulate
+user interfaces in Perl code in conjunction with Gtk2 and even Gnome2. Better
+yet you can load a file's contents into a Perl scalar do a few magical regular
+expressions to customize things and the load up the app. It doesn't get any
+easier.
 
 %prep
 %setup -q -n Gtk2-GladeXML-%{version}
-
 chmod -c -x examples/*
 
 %build
-%{__perl} Makefile.PL INSTALLDIRS=vendor OPTIMIZE="%{optflags}"
+perl Makefile.PL INSTALLDIRS=vendor OPTIMIZE="%{optflags}"
 make %{?_smp_mflags}
 
-
 %install
-rm -rf %{buildroot}
-
-make pure_install PERL_INSTALL_ROOT=%{buildroot}
-
+make pure_install DESTDIR=%{buildroot}
 find %{buildroot} -type f -name .packlist -exec rm -f {} ';'
-find %{buildroot} -type d -depth -exec rmdir {} 2>/dev/null ';'
 find %{buildroot} -type f -name '*.bs' -empty -exec rm -f {} ';'
-
 %{_fixperms} %{buildroot}/*
 
-
 %check
-make test
-
-
-%clean
-rm -rf %{buildroot}
-
+%if %{use_x11_tests}
+xvfb-run -a make test
+%else
+make test
+%endif
 
 %files
-%defattr(-,root,root,-)
-%doc AUTHORS ChangeLog LICENSE NEWS README
+%license LICENSE
+%doc AUTHORS ChangeLog NEWS README
 %doc examples/
 %{perl_vendorarch}/auto/Gtk2/
 %{perl_vendorarch}/Gtk2*
@@ -78,6 +83,9 @@ rm -rf %{buildroot}
 
 
 %changelog
+* Tue Jan 26 2016 Petr Pisar  - 1.007-22
+- Modernize spec file
+
 * Thu Jun 18 2015 Fedora Release Engineering 

psabata pushed to perl-Class-Container (master). "Package cleanup"

2016-01-26 Thread notifications
From b5d4eb06ccc109747ca439b514889aa05ff238f0 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Petr=20=C5=A0abata?= 
Date: Tue, 26 Jan 2016 15:32:39 +0100
Subject: Package cleanup

---
 perl-Class-Container.spec | 46 +++---
 1 file changed, 19 insertions(+), 27 deletions(-)

diff --git a/perl-Class-Container.spec b/perl-Class-Container.spec
index 3902057..954d473 100644
--- a/perl-Class-Container.spec
+++ b/perl-Class-Container.spec
@@ -1,28 +1,30 @@
 Name:   perl-Class-Container
 Version:0.12
-Release:26%{?dist}
+Release:27%{?dist}
 Summary:Class::Container Perl module
 License:GPL+ or Artistic
-Group:  Development/Libraries
 URL:http://search.cpan.org/dist/Class-Container/
 Source0:
http://www.cpan.org/authors/id/K/KW/KWILLIAMS/Class-Container-%{version}.tar.gz
-BuildRoot:  %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
 BuildArch:  noarch
-BuildRequires:  coreutils
-BuildRequires:  findutils
+# Build
 BuildRequires:  make
 BuildRequires:  perl
-BuildRequires:  perl(B::Deparse)
+BuildRequires:  perl(ExtUtils::MakeMaker) >= 6.76
+# Runtime
+# XXX: BuildRequires:  perl(B::Deparse)
 BuildRequires:  perl(Carp)
-BuildRequires:  perl(ExtUtils::MakeMaker)
-BuildRequires:  perl(File::Spec)
 BuildRequires:  perl(Params::Validate) >= 0.23
 BuildRequires:  perl(Scalar::Util)
 BuildRequires:  perl(strict)
+# Tests only
+BuildRequires:  perl(File::Spec)
 BuildRequires:  perl(Test)
-BuildRequires: perl-Pod-Perldoc
+Requires:   perl(:MODULE_COMPAT_%(eval "$(perl -V:version)"; echo 
$version))
+Requires:   perl(B::Deparse)
 Requires:   perl(Params::Validate) >= 0.23
-Requires:   perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo 
$version))
+Recommends: perl(Scalar::Util)
+
+%global __requires_exclude 
%{?__requires_exclude:%__requires_exclude|}^perl\\(Params::Validate\\)$
 
 %description
 This class facilitates building frameworks of several classes that
@@ -50,35 +52,25 @@ The main features of "Class::Container" are:
 %setup -q -n Class-Container-%{version}
 
 %build
-%{__perl} Makefile.PL INSTALLDIRS=vendor
+perl Makefile.PL INSTALLDIRS=vendor NO_PACKLIST=1
 make %{?_smp_mflags}
 
 %install
-rm -rf $RPM_BUILD_ROOT
-
-make pure_install PERL_INSTALL_ROOT=$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/*
-
-perldoc -t perlgpl > COPYING
-perldoc -t perlartistic > Artistic
+make pure_install DESTDIR=%{buildroot}
+%{_fixperms} %{buildroot}/*
 
 %check
 make test
 
-%clean
-rm -rf $RPM_BUILD_ROOT
-
 %files
-%defattr(-,root,root,-)
-%doc Changes README COPYING Artistic
+%doc Changes README
 %{perl_vendorlib}/*
 %{_mandir}/man3/*
 
 %changelog
+* Tue Jan 26 2016 Petr Šabata  - 0.12-27
+- Package cleanup
+
 * Wed Oct 14 2015 Jitka Plesnikova  - 0.12-26
 - Specify all dependencies
 
-- 
cgit v0.11.2



http://pkgs.fedoraproject.org/cgit/perl-Class-Container.git/commit/?h=master=b5d4eb06ccc109747ca439b514889aa05ff238f0
--
Fedora Extras Perl SIG
http://www.fedoraproject.org/wiki/Extras/SIGs/Perl
perl-devel mailing list
perl-devel@lists.fedoraproject.org
http://lists.fedoraproject.org/admin/lists/perl-devel@lists.fedoraproject.org

psabata pushed to perl-Class-DBI-Plugin-DeepAbstractSearch (master). "Package cleanup"

2016-01-26 Thread notifications
From f45ffb7b0cc4c8bf909d4dc9493c9648e7e78def Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Petr=20=C5=A0abata?= 
Date: Tue, 26 Jan 2016 15:50:54 +0100
Subject: Package cleanup

---
 perl-Class-DBI-Plugin-DeepAbstractSearch.spec | 77 ++-
 1 file changed, 39 insertions(+), 38 deletions(-)

diff --git a/perl-Class-DBI-Plugin-DeepAbstractSearch.spec 
b/perl-Class-DBI-Plugin-DeepAbstractSearch.spec
index 9be00c1..0418d27 100644
--- a/perl-Class-DBI-Plugin-DeepAbstractSearch.spec
+++ b/perl-Class-DBI-Plugin-DeepAbstractSearch.spec
@@ -1,63 +1,65 @@
-Name:   perl-Class-DBI-Plugin-DeepAbstractSearch 
-Version:0.08 
-Release:18%{?dist}
-# lib/Class/DBI/Plugin/DeepAbstractSearch.pm -> GPL+ or Artistic
-License:GPL+ or Artistic 
-Group:  Development/Libraries
-Summary:SQL::Abstract for Class::DBI 
-Source: 
http://search.cpan.org/CPAN/authors/id/S/SR/SRIHA/Class-DBI-Plugin-DeepAbstractSearch-%{version}.tar.gz
 
-Url:http://search.cpan.org/dist/Class-DBI-Plugin-DeepAbstractSearch
-BuildRoot:  %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) 
-Requires:   perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo 
$version))
-BuildArch:  noarch
-
-BuildRequires: perl(Class::DBI) >= 0.96
-BuildRequires: perl(Class::DBI::Plugin) >= 0.02
-BuildRequires: perl(ExtUtils::MakeMaker)
-BuildRequires: perl(SQL::Abstract) >= 1.18
-BuildRequires: perl(Test::More) >= 0.32
-
-# not picked up -- "use base"
-Requires:  perl(Class::DBI)
-Requires:  perl(Class::DBI::Plugin)
+Name:   perl-Class-DBI-Plugin-DeepAbstractSearch
+Version:0.08
+Release:19%{?dist}
+License:GPL+ or Artistic
+Summary:SQL::Abstract for Class::DBI
+Source: 
http://search.cpan.org/CPAN/authors/id/S/SR/SRIHA/Class-DBI-Plugin-DeepAbstractSearch-%{version}.tar.gz
+Url:http://search.cpan.org/dist/Class-DBI-Plugin-DeepAbstractSearch
+BuildArch:  noarch
+# Build
+BuildRequires:  coreutils
+BuildRequires:  findutils
+BuildRequires:  make
+BuildRequires:  perl
+BuildRequires:  perl(ExtUtils::MakeMaker) >= 6.76
+# Runtime
+BuildRequires:  perl(base)
+BuildRequires:  perl(Class::DBI::Plugin) >= 0.02
+BuildRequires:  perl(SQL::Abstract) >= 1.18
+BuildRequires:  perl(strict)
+BuildRequires:  perl(warnings)
+# Tests only
+BuildRequires:  perl(Class::DBI) >= 0.96
+BuildRequires:  perl(Test::More) >= 0.32
+Requires:   perl(:MODULE_COMPAT_%(eval "$(perl -V:version)"; echo 
$version))
+Requires:   perl(Class::DBI) >= 0.96
+Requires:   perl(Class::DBI::Plugin) >= 0.02
+Requires:   perl(SQL::Abstract) >= 1.18
+
+%global __requires_exclude 
%{?__requires_exclude:%__requires_exclude|}^perl\\(Class::DBI::Plugin\\)$
+%global __requires_exclude %__requires_exclude|^perl\\(SQL::Abstract\\)$
 
 %description
 This plugin provides a SQL::Abstract search method for Class::DBI.  It
-is similar to Class::DBI::AbstractSearch, but allows you to search and 
+is similar to Class::DBI::AbstractSearch, but allows you to search and
 sort by fields from joined tables.
 
 
 %prep
 %setup -q -n Class-DBI-Plugin-DeepAbstractSearch-%{version}
-find . -type f -exec chmod -c -x  {} ';'
-find . -type f -exec perl -pi -e 's/\r//' {} ';'
+find . -type f -exec chmod -c -x {} +
+find . -type f -exec perl -pi -e 's/\r//' {} +
 
 %build
-%{__perl} Makefile.PL INSTALLDIRS=vendor
+perl Makefile.PL INSTALLDIRS=vendor NO_PACKLIST=1
 make %{?_smp_mflags}
 
 %install
-rm -rf %{buildroot}
-
-make pure_install PERL_INSTALL_ROOT=%{buildroot}
-find %{buildroot} -type f -name .packlist -exec rm -f {} ';'
-find %{buildroot} -depth -type d -exec rmdir {} 2>/dev/null ';'
-
+make pure_install DESTDIR=%{buildroot}
 %{_fixperms} %{buildroot}/*
 
 %check
 make test
 
-%clean
-rm -rf %{buildroot} 
-
 %files
-%defattr(-,root,root,-)
-%doc Changes README 
+%doc Changes README
 %{perl_vendorlib}/*
 %{_mandir}/man3/*.3*
 
 %changelog
+* Tue Jan 26 2016 Petr Šabata  - 0.08-19
+- Package cleanup
+
 * Thu Jun 18 2015 Fedora Release Engineering  
- 0.08-18
 - Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild
 
@@ -115,4 +117,3 @@ rm -rf %{buildroot}
 * Sat May 23 2009 Chris Weyl  0.08-0
 - initial RPM packaging
 - generated with cpan2dist (CPANPLUS::Dist::RPM version 0.0.8)
-
-- 
cgit v0.11.2



http://pkgs.fedoraproject.org/cgit/perl-Class-DBI-Plugin-DeepAbstractSearch.git/commit/?h=master=f45ffb7b0cc4c8bf909d4dc9493c9648e7e78def
--
Fedora Extras Perl SIG
http://www.fedoraproject.org/wiki/Extras/SIGs/Perl
perl-devel mailing list
perl-devel@lists.fedoraproject.org
http://lists.fedoraproject.org/admin/lists/perl-devel@lists.fedoraproject.org

psabata pushed to perl-Context-Preserve (master). "Package cleanup"

2016-01-26 Thread notifications
From 0c51077581dfe8187723bd573d66a139fcdf21ee Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Petr=20=C5=A0abata?= 
Date: Tue, 26 Jan 2016 15:59:42 +0100
Subject: Package cleanup

---
 perl-Context-Preserve.spec | 49 --
 1 file changed, 26 insertions(+), 23 deletions(-)

diff --git a/perl-Context-Preserve.spec b/perl-Context-Preserve.spec
index 6e90195..cbc4c77 100644
--- a/perl-Context-Preserve.spec
+++ b/perl-Context-Preserve.spec
@@ -1,23 +1,34 @@
 Name:   perl-Context-Preserve
 Summary:Run code after a subroutine call, preserving context
 Version:0.01
-Release:15%{?dist}
+Release:16%{?dist}
 License:GPL+ or Artistic
-Group:  Development/Libraries
-Source0:
http://search.cpan.org/CPAN/authors/id/J/JR/JROCKWAY/Context-Preserve-%{version}.tar.gz
 
+Source0:
http://search.cpan.org/CPAN/authors/id/J/JR/JROCKWAY/Context-Preserve-%{version}.tar.gz
 URL:http://search.cpan.org/dist/Context-Preserve
-BuildRoot:  %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
-Requires:   perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo 
$version))
 BuildArch:  noarch
-
+# Build
+BuildRequires:  make
+BuildRequires:  perl
+BuildRequires:  perl(Config)
+BuildRequires:  perl(Cwd)
+BuildRequires:  perl(ExtUtils::MakeMaker) >= 6.76
+BuildRequires:  perl(ExtUtils::MM_Unix)
+BuildRequires:  perl(File::Find)
+BuildRequires:  perl(File::Path)
+BuildRequires:  perl(File::Spec)
+BuildRequires:  perl(FindBin)
+BuildRequires:  perl(strict)
+BuildRequires:  perl(vars)
+# Runtime
+BuildRequires:  perl(base)
+BuildRequires:  perl(Carp)
 BuildRequires:  perl(Exporter)
-BuildRequires:  perl(ExtUtils::MakeMaker)
+BuildRequires:  perl(warnings)
+# Tests only
 BuildRequires:  perl(ok)
 BuildRequires:  perl(Test::Exception)
 BuildRequires:  perl(Test::More)
-
-%{?perl_default_filter}
-%{?perl_default_subpackage_tests}
+Requires:   perl(:MODULE_COMPAT_%(eval "$(perl -V:version)"; echo 
$version))
 
 %description
 Sometimes you need to call a function, get the results, act on the
@@ -39,31 +50,25 @@ was called in.
 %setup -q -n Context-Preserve-%{version}
 
 %build
-%{__perl} Makefile.PL INSTALLDIRS=vendor
+perl Makefile.PL INSTALLDIRS=vendor NO_PACKLIST=1
 make %{?_smp_mflags}
 
 %install
-rm -rf %{buildroot}
-
 make pure_install DESTDIR=%{buildroot}
-find %{buildroot} -type f -name .packlist -exec rm -f {} ';'
-find %{buildroot} -depth -type d -exec rmdir {} 2>/dev/null ';'
-
 %{_fixperms} %{buildroot}/*
 
 %check
 make test
 
-%clean
-rm -rf %{buildroot}
-
 %files
-%defattr(-,root,root,-)
-%doc README Changes 
+%doc README Changes
 %{perl_vendorlib}/*
 %{_mandir}/man3/*.3*
 
 %changelog
+* Tue Jan 26 2016 Petr Šabata  - 0.01-16
+- Package cleanup
+
 * Thu Jun 18 2015 Fedora Release Engineering  
- 0.01-15
 - Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild
 
@@ -108,5 +113,3 @@ rm -rf %{buildroot}
 
 * Fri Mar 05 2010 Chris Weyl  0.01-1
 - specfile by Fedora::App::MaintainerTools 0.004
-
-
-- 
cgit v0.11.2



http://pkgs.fedoraproject.org/cgit/perl-Context-Preserve.git/commit/?h=master=0c51077581dfe8187723bd573d66a139fcdf21ee
--
Fedora Extras Perl SIG
http://www.fedoraproject.org/wiki/Extras/SIGs/Perl
perl-devel mailing list
perl-devel@lists.fedoraproject.org
http://lists.fedoraproject.org/admin/lists/perl-devel@lists.fedoraproject.org

ppisar pushed to perl-Gtk2-Sexy (master). "Modernize spec file"

2016-01-26 Thread notifications
From bad86e9a6f37710d49651438bd1a04678584c109 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Petr=20P=C3=ADsa=C5=99?= 
Date: Tue, 26 Jan 2016 16:01:58 +0100
Subject: Modernize spec file

---
 perl-Gtk2-Sexy.spec | 78 +++--
 1 file changed, 46 insertions(+), 32 deletions(-)

diff --git a/perl-Gtk2-Sexy.spec b/perl-Gtk2-Sexy.spec
index 56a1656..743a39e 100644
--- a/perl-Gtk2-Sexy.spec
+++ b/perl-Gtk2-Sexy.spec
@@ -1,31 +1,48 @@
+%global use_x11_tests 1
+
 Name:   perl-Gtk2-Sexy
 Version:0.05
-Release:22%{?dist}
+Release:23%{?dist}
 Summary:Perl interface to the sexy widget collection 
-
 Group:  Development/Libraries
 License:LGPLv2+
 URL:http://search.cpan.org/dist/Gtk2-Sexy/
-Source0: 
http://search.cpan.org/CPAN/authors/id/F/FL/FLORA/Gtk2-Sexy-%{version}.tar.gz   
 
-BuildRoot:  %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
-Requires:   perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo 
$version))
-
-# non-perl
-BuildRequires:  libsexy-devel
-BuildRequires:  libxml2-devel
-
-BuildRequires:  perl(Glib::MakeHelper)
-BuildRequires:  perl(Gtk2::CodeGen)
+Source0:
http://search.cpan.org/CPAN/authors/id/F/FL/FLORA/Gtk2-Sexy-%{version}.tar.gz
+BuildRequires:  coreutils
+BuildRequires:  findutils
+BuildRequires:  make
+BuildRequires:  perl
+BuildRequires:  perl(base)
+BuildRequires:  perl(Cwd)
 BuildRequires:  perl(ExtUtils::Depends)
 BuildRequires:  perl(ExtUtils::PkgConfig)
-# test
+BuildRequires:  perl(File::Spec)
+BuildRequires:  perl(Glib::MakeHelper)
+BuildRequires:  perl(Gtk2)
+BuildRequires:  perl(Gtk2::CodeGen)
+BuildRequires:  perl(inc::Module::Install)
+BuildRequires:  perl(lib)
+BuildRequires:  perl(Module::Install::Base)
+BuildRequires:  perl(Module::Install::Metadata)
+BuildRequires:  perl(Module::Install::ExtraTests)
+BuildRequires:  perl(Module::Install::WriteAll)
+BuildRequires:  perl(strict)
+BuildRequires:  perl(warnings)
+BuildRequires:  pkgconfig(libsexy)
+BuildRequires:  sed
+# Run-time:
+BuildRequires:  perl(DynaLoader)
+# Tests:
 BuildRequires:  perl(Gtk2::TestHelper)
-BuildRequires:  perl(Test::More)
-
-Requires:  perl(Gtk2)
+# Optional tests:
+%if %{use_x11_tests}
+# X11 tests:
+BuildRequires:  xorg-x11-server-Xvfb
+BuildRequires:  font(:lang=en)
+%endif
+Requires:   perl(:MODULE_COMPAT_%(eval "`perl -V:version`"; echo $version))
 
 %{?perl_default_filter}
-%{?perl_default_subpackage_tests}
 
 %description
 This module allows a perl developer to access the widgets of the sexy widget
@@ -33,36 +50,30 @@ collection.
 
 %prep
 %setup -q -n Gtk2-Sexy-%{version}
-
 # keep rpmlint happy...
 chmod -x examples/*
+# Remove bundled modules
+rm -r inc
+sed -i -e '/^inc\//d' MANIFEST
 
 %build
-%{__perl} Makefile.PL INSTALLDIRS=vendor OPTIMIZE="%{optflags}"
+perl Makefile.PL INSTALLDIRS=vendor OPTIMIZE="%{optflags}"
 make %{?_smp_mflags}
 
-# make -debuginfo whole
-cp xs/* .
-
 %install
-rm -rf %{buildroot}
 make pure_install DESTDIR=%{buildroot}
 find %{buildroot} -type f -name .packlist -exec rm -f {} ';'
 find %{buildroot} -type f -name '*.bs' -a -size 0 -exec rm -f {} ';'
-find %{buildroot} -type d -depth -exec rmdir {} 2>/dev/null ';'
 %{_fixperms} %{buildroot}/*
 
-
 %check
-make test
-
-
-%clean
-rm -rf %{buildroot}
-
+%if %{use_x11_tests}
+xvfb-run -a make test
+%else
+make test
+%endif
 
 %files
-%defattr(-,root,root,-)
 %doc ChangeLog examples/ README
 %{perl_vendorarch}/*
 %exclude %dir %{perl_vendorarch}/auto
@@ -70,6 +81,9 @@ rm -rf %{buildroot}
 
 
 %changelog
+* Tue Jan 26 2016 Petr Pisar  - 0.05-23
+- Modernize spec file
+
 * Thu Jun 18 2015 Fedora Release Engineering  
- 0.05-22
 - Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild
 
-- 
cgit v0.11.2



http://pkgs.fedoraproject.org/cgit/perl-Gtk2-Sexy.git/commit/?h=master=bad86e9a6f37710d49651438bd1a04678584c109
--
Fedora Extras Perl SIG
http://www.fedoraproject.org/wiki/Extras/SIGs/Perl
perl-devel mailing list
perl-devel@lists.fedoraproject.org
http://lists.fedoraproject.org/admin/lists/perl-devel@lists.fedoraproject.org

corsepiu pushed to perl-GDTextUtil (master). "Remove %defattr. (..more)"

2016-01-26 Thread notifications
From e1218dfc0704a507f274968d7c6e63d8bc93a958 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Ralf=20Cors=C3=A9pius?= 
Date: Tue, 26 Jan 2016 16:06:01 +0100
Subject: Remove %defattr.

- Modernise spec.
- Fix bogus date in %changelog entry.
---
 perl-GDTextUtil.spec | 19 ---
 1 file changed, 8 insertions(+), 11 deletions(-)

diff --git a/perl-GDTextUtil.spec b/perl-GDTextUtil.spec
index 8a054a6..95ce7cd 100644
--- a/perl-GDTextUtil.spec
+++ b/perl-GDTextUtil.spec
@@ -1,13 +1,12 @@
 Name:   perl-GDTextUtil
 Version:0.86
-Release:29%{?dist}
+Release:30%{?dist}
 Summary:Text utilities for use with GD
 
 Group:  Development/Libraries
 License:GPL+ or Artistic
 URL:http://search.cpan.org/dist/GDTextUtil/
 Source0:
http://www.cpan.org/authors/id/M/MV/MVERB/GDTextUtil-%{version}.tar.gz
-BuildRoot:  %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
 
 BuildArch:  noarch
 BuildRequires:  perl(GD)
@@ -29,14 +28,12 @@ provides some utility in aligning and wrapping your string.
 
 
 %build
-%{__perl} Makefile.PL INSTALLDIRS=vendor
+%{__perl} Makefile.PL INSTALLDIRS=vendor NO_PACKLIST=1
 make %{?_smp_mflags}
 
 
 %install
-rm -rf $RPM_BUILD_ROOT
 make pure_install PERL_INSTALL_ROOT=$RPM_BUILD_ROOT
-find $RPM_BUILD_ROOT -type f -name .packlist -exec rm -f {} ';'
 find $RPM_BUILD_ROOT -type d -depth -exec rmdir {} 2>/dev/null ';'
 chmod -R u+w $RPM_BUILD_ROOT/*
 
@@ -45,18 +42,18 @@ chmod -R u+w $RPM_BUILD_ROOT/*
 make test
 
 
-%clean
-rm -rf $RPM_BUILD_ROOT
-
-
 %files
-%defattr(-,root,root,-)
 %doc Changes README demo/
 %{perl_vendorlib}/GD/
 %{_mandir}/man3/*.3pm*
 
 
 %changelog
+* Tue Jan 26 2016 Ralf Corsépius  - 0.86-30
+- Remove %%defattr.
+- Modernise spec.
+- Fix bogus date in %%changelog entry.
+
 * Thu Jun 18 2015 Fedora Release Engineering  
- 0.86-29
 - Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild
 
@@ -133,7 +130,7 @@ rm -rf $RPM_BUILD_ROOT
 * Thu Dec 22 2005 Jose Pedro Oliveira  - 0.86-6
 - Dist tag.
 
-* Fri Apr  7 2005 Michael Schwendt  - 0.86-5
+* Wed Apr  6 2005 Michael Schwendt  - 0.86-5
 - rebuilt
 
 * Sun Jul 11 2004 Jose Pedro Oliveira  - 0:0.86-0.fdr.4
-- 
cgit v0.11.2



http://pkgs.fedoraproject.org/cgit/perl-GDTextUtil.git/commit/?h=master=e1218dfc0704a507f274968d7c6e63d8bc93a958
--
Fedora Extras Perl SIG
http://www.fedoraproject.org/wiki/Extras/SIGs/Perl
perl-devel mailing list
perl-devel@lists.fedoraproject.org
http://lists.fedoraproject.org/admin/lists/perl-devel@lists.fedoraproject.org

corsepiu pushed to perl-HTML-Mason-PSGIHandler (master). "Remove %defattr. (..more)"

2016-01-26 Thread notifications
From e181475afd746a05bf5ef4eb7ccc9c0e477264bb Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Ralf=20Cors=C3=A9pius?= 
Date: Tue, 26 Jan 2016 16:10:50 +0100
Subject: Remove %defattr.

- Modernize spec.
---
 perl-HTML-Mason-PSGIHandler.spec | 14 --
 1 file changed, 8 insertions(+), 6 deletions(-)

diff --git a/perl-HTML-Mason-PSGIHandler.spec b/perl-HTML-Mason-PSGIHandler.spec
index a0cb112..08e52c7 100644
--- a/perl-HTML-Mason-PSGIHandler.spec
+++ b/perl-HTML-Mason-PSGIHandler.spec
@@ -1,6 +1,6 @@
 Name:   perl-HTML-Mason-PSGIHandler
 Version:0.53
-Release:5%{?dist}
+Release:6%{?dist}
 Summary:PSGI handler for HTML::Mason
 License:GPL+ or Artistic
 URL:http://search.cpan.org/dist/HTML-Mason-PSGIHandler/
@@ -22,13 +22,11 @@ web servers that support PSGI.
 %setup -q -n HTML-Mason-PSGIHandler-%{version}
 
 %build
-%{__perl} Makefile.PL INSTALLDIRS=vendor
+%{__perl} Makefile.PL INSTALLDIRS=vendor NO_PACKLIST=1
 make %{?_smp_mflags}
 
 %install
 make pure_install PERL_INSTALL_ROOT=$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/*
@@ -37,12 +35,16 @@ find $RPM_BUILD_ROOT -depth -type d -exec rmdir {} 
2>/dev/null \;
 make test
 
 %files
-%defattr(-,root,root,-)
-%doc Changes LICENSE README
+%doc Changes README
+%license LICENSE
 %{perl_vendorlib}/*
 %{_mandir}/man3/*
 
 %changelog
+* Tue Jan 26 2016 Ralf Corsépius  - 0.53-6
+- Remove %defattr.
+- Modernize spec.
+
 * Thu Jun 18 2015 Fedora Release Engineering  
- 0.53-5
 - Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild
 
-- 
cgit v0.11.2



http://pkgs.fedoraproject.org/cgit/perl-HTML-Mason-PSGIHandler.git/commit/?h=master=e181475afd746a05bf5ef4eb7ccc9c0e477264bb
--
Fedora Extras Perl SIG
http://www.fedoraproject.org/wiki/Extras/SIGs/Perl
perl-devel mailing list
perl-devel@lists.fedoraproject.org
http://lists.fedoraproject.org/admin/lists/perl-devel@lists.fedoraproject.org

psabata pushed to perl-Convert-ASCII-Armour (master). "Package cleanup"

2016-01-26 Thread notifications
From d11aa51fec31b91df23ee9b30609d16de2553195 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Petr=20=C5=A0abata?= 
Date: Tue, 26 Jan 2016 16:20:03 +0100
Subject: Package cleanup

---
 perl-Convert-ASCII-Armour.spec | 41 +
 1 file changed, 17 insertions(+), 24 deletions(-)

diff --git a/perl-Convert-ASCII-Armour.spec b/perl-Convert-ASCII-Armour.spec
index 3300e77..349a568 100644
--- a/perl-Convert-ASCII-Armour.spec
+++ b/perl-Convert-ASCII-Armour.spec
@@ -1,23 +1,23 @@
 Name:   perl-Convert-ASCII-Armour
 Version:1.4
-Release:25%{?dist}
+Release:26%{?dist}
 Summary:Convert binary octets into ASCII armoured messages
 License:GPL+ or Artistic
-Group:  Development/Libraries
 URL:http://search.cpan.org/dist/Convert-ASCII-Armour/
 Source0:
http://www.cpan.org/authors/id/V/VI/VIPUL/Convert-ASCII-Armour-%{version}.tar.gz
-BuildRoot:  %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
 BuildArch:  noarch
-BuildRequires:  perl(ExtUtils::MakeMaker)
 BuildRequires: perl-Pod-Perldoc
-# Run-time:
-BuildRequires:  perl(lib)
+BuildRequires:  perl(ExtUtils::MakeMaker) >= 6.76
+# Runtime
 BuildRequires:  perl(Compress::Zlib)
 BuildRequires: perl(Digest::MD5)
+BuildRequires:  perl(lib)
 BuildRequires: perl(MIME::Base64)
-# Tests:
+BuildRequires:  perl(strict)
+BuildRequires:  perl(vars)
+# Tests only
 BuildRequires:  perl(Data::Dumper)
-Requires:   perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo 
$version))
+Requires:   perl(:MODULE_COMPAT_%(eval "$(perl -V:version)"; echo 
$version))
 
 %description
 This module converts hashes of binary octets into ASCII messages
@@ -29,38 +29,31 @@ compatible with PGP.
 %setup -q -n Convert-ASCII-Armour-%{version}
 
 for file in lib/Convert/ASCII/*.pm ; do
-%{__perl} -pi -e '$_=undef if (/^\#\!/ and $.==1)' $file
+  perl -pi -e '$_=undef if (/^\#\!/ and $.==1)' $file
 done
 
 %build
-%{__perl} Makefile.PL INSTALLDIRS=vendor
+perl Makefile.PL INSTALLDIRS=vendor NO_PACKLIST=1
 make %{?_smp_mflags}
 
 %install
-rm -rf $RPM_BUILD_ROOT
-
-make pure_install PERL_INSTALL_ROOT=$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}
+%{_fixperms} %{buildroot}/*
+# Shipping just ARTISTIC would be misleading
 perldoc -t perlgpl > COPYING
 
 %check
 make test
 
-%clean
-rm -rf $RPM_BUILD_ROOT
-
 %files
-%defattr(-,root,root,-)
-%doc ARTISTIC COPYING
+%license ARTISTIC COPYING
 %{perl_vendorlib}/*
 %{_mandir}/man3/*
 
 %changelog
+* Tue Jan 26 2016 Petr Šabata  - 1.4-26
+- Package cleanup
+
 * Thu Jun 18 2015 Fedora Release Engineering  
- 1.4-25
 - Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild
 
-- 
cgit v0.11.2



http://pkgs.fedoraproject.org/cgit/perl-Convert-ASCII-Armour.git/commit/?h=master=d11aa51fec31b91df23ee9b30609d16de2553195
--
Fedora Extras Perl SIG
http://www.fedoraproject.org/wiki/Extras/SIGs/Perl
perl-devel mailing list
perl-devel@lists.fedoraproject.org
http://lists.fedoraproject.org/admin/lists/perl-devel@lists.fedoraproject.org

psabata pushed to perl-Convert-Bencode (master). "Package cleanup"

2016-01-26 Thread notifications
From 90de23b092a09a61ac348543fdc95640111bc923 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Petr=20=C5=A0abata?= 
Date: Tue, 26 Jan 2016 16:25:02 +0100
Subject: Package cleanup

---
 perl-Convert-Bencode.spec | 31 ++-
 1 file changed, 18 insertions(+), 13 deletions(-)

diff --git a/perl-Convert-Bencode.spec b/perl-Convert-Bencode.spec
index 886bde3..be2bf92 100644
--- a/perl-Convert-Bencode.spec
+++ b/perl-Convert-Bencode.spec
@@ -1,18 +1,24 @@
 Name:   perl-Convert-Bencode
 Version:1.03
-Release:13%{?dist}
+Release:14%{?dist}
 Summary:Functions for converting to/from bencoded strings
 License:GPL+ or Artistic
-Group:  Development/Libraries
 URL:http://search.cpan.org/dist/Convert-Bencode/
 Source0:
http://www.cpan.org/authors/id/O/OR/ORCLEV/Convert-Bencode-%{version}.tar.gz
 BuildArch:  noarch
+# Build
+BuildRequires:  make
+BuildRequires:  perl
+BuildRequires:  perl(ExtUtils::MakeMaker) >= 6.76
+# Runtime
+BuildRequires:  perl(bytes)
 BuildRequires:  perl(Exporter)
-BuildRequires:  perl(ExtUtils::MakeMaker)
+BuildRequires:  perl(locale)
+BuildRequires:  perl(strict)
+BuildRequires:  perl(warnings)
+# Tests only
 BuildRequires:  perl(Test::More) >= 0.45
-Requires:   perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo 
$version))
-
-%{?perl_default_filter}
+Requires:   perl(:MODULE_COMPAT_%(eval "$(perl -V:version)"; echo 
$version))
 
 %description
 This module provides two functions, bencode and bdecode, which encode and
@@ -22,27 +28,26 @@ decode bencoded strings respectively.
 %setup -q -n Convert-Bencode-%{version}
 
 %build
-%{__perl} Makefile.PL INSTALLDIRS=vendor
+perl Makefile.PL INSTALLDIRS=vendor NO_PACKLIST=1
 make %{?_smp_mflags}
 
 %install
 make pure_install DESTDIR=%{buildroot}
-
-find %{buildroot} -type f -name .packlist -exec rm -f {} \;
-find %{buildroot} -depth -type d -exec rmdir {} 2>/dev/null \;
-
 %{_fixperms} %{buildroot}/*
 
 %check
 make test
 
 %files
-%defattr(-,root,root,-)
-%doc Changes LICENSE README Todo
+%license LICENSE
+%doc Changes README Todo
 %{perl_vendorlib}/*
 %{_mandir}/man3/*
 
 %changelog
+* Tue Jan 26 2016 Petr Šabata  - 1.03-14
+- Package cleanup
+
 * Thu Jun 18 2015 Fedora Release Engineering  
- 1.03-13
 - Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild
 
-- 
cgit v0.11.2



http://pkgs.fedoraproject.org/cgit/perl-Convert-Bencode.git/commit/?h=master=90de23b092a09a61ac348543fdc95640111bc923
--
Fedora Extras Perl SIG
http://www.fedoraproject.org/wiki/Extras/SIGs/Perl
perl-devel mailing list
perl-devel@lists.fedoraproject.org
http://lists.fedoraproject.org/admin/lists/perl-devel@lists.fedoraproject.org

ppisar pushed to perl-Gtk2-TrayIcon (master). "Modernize spec file"

2016-01-26 Thread notifications
From bf0e8bc532f0feb3b918a751ddc052c3eeab00a2 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Petr=20P=C3=ADsa=C5=99?= 
Date: Tue, 26 Jan 2016 16:26:08 +0100
Subject: Modernize spec file

---
 perl-Gtk2-TrayIcon.spec | 83 ++---
 1 file changed, 44 insertions(+), 39 deletions(-)

diff --git a/perl-Gtk2-TrayIcon.spec b/perl-Gtk2-TrayIcon.spec
index 39c51db..09aae94 100644
--- a/perl-Gtk2-TrayIcon.spec
+++ b/perl-Gtk2-TrayIcon.spec
@@ -1,36 +1,48 @@
-# Note:  The tests for this perl dist. are disabled by default, as they
-# require display access and would thus fail in the buildsys' mock
-# environments.  To build locally while enabling tests, either:
-#
-#   rpmbuild ... --define '_with_display_tests 1' ...
-#   rpmbuild ... --with display_tests ...
-#   define _with_display_tests 1 in your ~/.rpmmacros
-#
-# Note that right now, the only way to run tests locally from a cvs sandbox
-# "make noarch" type scenario is the third one.
-
+%global use_x11_tests 1
 
 Name:   perl-Gtk2-TrayIcon
 Version:0.06
-Release:24%{?dist}
+Release:25%{?dist}
 Summary:Perl interface to the EggTrayIcon library 
-
 Group:  Development/Libraries
 License:LGPLv2+ 
 URL:http://search.cpan.org/dist/Gtk2-TrayIcon
 Source0:
http://www.cpan.org/modules/by-module/Gtk2/Gtk2-TrayIcon-%{version}.tar.gz  
  
-BuildRoot:  %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
-Requires:  perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version))
-
-# non-perl
+BuildRequires:  coreutils
+BuildRequires:  findutils
+# gcc for string.h
+BuildRequires:  gcc
 BuildRequires:  gtk2-devel
-# core
-BuildRequires:  perl(ExtUtils::MakeMaker)
-# cpan
+BuildRequires:  make
+BuildRequires:  perl
+BuildRequires:  perl(Cwd)
 BuildRequires:  perl(ExtUtils::Depends)
+BuildRequires:  perl(ExtUtils::MakeMaker)
 BuildRequires:  perl(ExtUtils::PkgConfig)
-BuildRequires:  perl(Gtk2) >= 1.00
+BuildRequires:  perl(File::Spec)
+BuildRequires:  perl(Glib) >= 1.00
 BuildRequires:  perl(Glib::MakeHelper)
+BuildRequires:  perl(Gtk2) >= 1.00
+BuildRequires:  perl(Gtk2::CodeGen)
+BuildRequires:  pkgconfig(gtk+-2.0)
+# xorg-x11-proto-devel for X11/Xatom.h
+BuildRequires:  xorg-x11-proto-devel
+# Run-time:
+BuildRequires:  perl(DynaLoader)
+BuildRequires:  perl(strict)
+BuildRequires:  perl(warnings)
+# Tests:
+BuildRequires:  perl(Gtk2::TestHelper)
+# Optional tests:
+%if %{use_x11_tests}
+BuildRequires:  xorg-x11-server-Xvfb
+BuildRequires:  font(:lang=en)
+%endif
+Requires:   perl(:MODULE_COMPAT_%(eval "`perl -V:version`"; echo $version))
+Requires:   perl(Gtk2) >= 1.00
+
+# Remove under-specified dependencies
+%global __requires_exclude 
%{?__requires_exclude:%{__requires_exclude}|}^perl\\(Gtk2\\)$
 
 %description
 This module allows a Perl developer to embed an arbitrary widget in a System
@@ -39,41 +51,34 @@ Tray like the Gnome notification area.
 %prep
 %setup -q -n Gtk2-TrayIcon-%{version}
 
-
 %build
-%{__perl} Makefile.PL INSTALLDIRS=vendor OPTIMIZE="%{optflags}"
+perl Makefile.PL INSTALLDIRS=vendor OPTIMIZE="%{optflags}"
 make %{?_smp_mflags}
 
-
 %install
-rm -rf %{buildroot}
-
-make pure_install PERL_INSTALL_ROOT=%{buildroot}
+make pure_install DESTDIR=%{buildroot}
 find %{buildroot} -type f -name .packlist -exec rm -f {} ';'
 find %{buildroot} -type f -name '*.bs' -a -size 0 -exec rm -f {} ';'
-find %{buildroot} -type d -depth -exec rmdir {} 2>/dev/null ';'
-
 %{_fixperms} %{buildroot}/*
 
-
 %check
-# see top of spec
-%{?_with_display_tests: make test}
-
-
-%clean
-rm -rf %{buildroot}
-
+%if %{use_x11_tests}
+xvfb-run -a make test
+%else
+make test
+%endif
 
 %files
-%defattr(-,root,root,-)
-%doc TODO examples/ t/
+%doc examples ChangeLog README TODO
 %{perl_vendorarch}/auto/*
 %{perl_vendorarch}/Gtk2
 %{_mandir}/man3/*.3*
 
 
 %changelog
+* Tue Jan 26 2016 Petr Pisar  - 0.06-25
+- Modernize spec file
+
 * Thu Jun 18 2015 Fedora Release Engineering  
- 0.06-24
 - Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild
 
-- 
cgit v0.11.2



http://pkgs.fedoraproject.org/cgit/perl-Gtk2-TrayIcon.git/commit/?h=master=bf0e8bc532f0feb3b918a751ddc052c3eeab00a2
--
Fedora Extras Perl SIG
http://www.fedoraproject.org/wiki/Extras/SIGs/Perl
perl-devel mailing list
perl-devel@lists.fedoraproject.org
http://lists.fedoraproject.org/admin/lists/perl-devel@lists.fedoraproject.org

corsepiu pushed to perl-HTML-Quoted (master). "Remove %defattr. (..more)"

2016-01-26 Thread notifications
From 1b89dedc0c7bd9982b59bae14b93d866d50e8d3e Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Ralf=20Cors=C3=A9pius?= 
Date: Tue, 26 Jan 2016 16:34:59 +0100
Subject: Remove %defattr.

- Modernize spec.
- Remove inc/.
---
 perl-HTML-Quoted.spec | 20 +++-
 1 file changed, 15 insertions(+), 5 deletions(-)

diff --git a/perl-HTML-Quoted.spec b/perl-HTML-Quoted.spec
index bf2a973..78816de 100644
--- a/perl-HTML-Quoted.spec
+++ b/perl-HTML-Quoted.spec
@@ -1,6 +1,6 @@
 Name:   perl-HTML-Quoted
 Version:0.04
-Release:7%{?dist}
+Release:8%{?dist}
 Summary:Extract structure of quoted HTML mail message
 License:GPL+ or Artistic
 Group:  Development/Libraries
@@ -11,6 +11,13 @@ BuildRequires:  perl(ExtUtils::MakeMaker)
 BuildRequires:  perl(HTML::Parser) >= 3.0
 BuildRequires:  perl(Test::More)
 BuildRequires:  perl(Data::Dumper)
+BuildRequires:  perl(base)
+BuildRequires:  perl(strict)
+BuildRequires:  perl(warnings)
+
+BuildRequires:  perl(inc::Module::Install)
+BuildRequires:  perl(Module::Install::ReadmeFromPod)
+
 Requires:   perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo 
$version))
 
 %description
@@ -18,15 +25,14 @@ Extract structure of quoted HTML mail message.
 
 %prep
 %setup -q -n HTML-Quoted-%{version}
+rm -r inc
 
 %build
-%{__perl} Makefile.PL INSTALLDIRS=vendor
+%{__perl} Makefile.PL INSTALLDIRS=vendor NO_PACKLIST=1
 make %{?_smp_mflags}
 
 %install
 make pure_install PERL_INSTALL_ROOT=$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/*
@@ -35,12 +41,16 @@ find $RPM_BUILD_ROOT -depth -type d -exec rmdir {} 
2>/dev/null \;
 make test
 
 %files
-%defattr(-,root,root,-)
 %doc Changes README
 %{perl_vendorlib}/*
 %{_mandir}/man3/*
 
 %changelog
+* Tue Jan 26 2016 Ralf Corsépius  - 0.04-8
+- Remove %defattr.
+- Modernize spec.
+- Remove inc/.
+
 * Thu Jun 18 2015 Fedora Release Engineering  
- 0.04-7
 - Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild
 
-- 
cgit v0.11.2



http://pkgs.fedoraproject.org/cgit/perl-HTML-Quoted.git/commit/?h=master=1b89dedc0c7bd9982b59bae14b93d866d50e8d3e
--
Fedora Extras Perl SIG
http://www.fedoraproject.org/wiki/Extras/SIGs/Perl
perl-devel mailing list
perl-devel@lists.fedoraproject.org
http://lists.fedoraproject.org/admin/lists/perl-devel@lists.fedoraproject.org

psabata pushed to perl-Convert-Bencode_XS (master). "Package cleanup"

2016-01-26 Thread notifications
From 94825396a52010109b313d7338d8b6d65f720d50 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Petr=20=C5=A0abata?= 
Date: Tue, 26 Jan 2016 16:37:46 +0100
Subject: Package cleanup

---
 perl-Convert-Bencode_XS.spec | 35 ++-
 1 file changed, 22 insertions(+), 13 deletions(-)

diff --git a/perl-Convert-Bencode_XS.spec b/perl-Convert-Bencode_XS.spec
index d055c61..03d7b1e 100644
--- a/perl-Convert-Bencode_XS.spec
+++ b/perl-Convert-Bencode_XS.spec
@@ -1,17 +1,28 @@
 Name:   perl-Convert-Bencode_XS
 Version:0.06
-Release:14%{?dist}
+Release:15%{?dist}
 Summary:Faster conversions to/from Bencode format
 License:GPL+ or Artistic
-Group:  Development/Libraries
 URL:http://search.cpan.org/dist/Convert-Bencode_XS/
 Source0:
http://www.cpan.org/authors/id/I/IW/IWADE/Convert-Bencode_XS-%{version}.tar.gz
+# Build
+BuildRequires:  findutils
+BuildRequires:  gcc
+BuildRequires:  make
+BuildRequires:  perl
+BuildRequires:  perl-devel
+BuildRequires:  perl(ExtUtils::MakeMaker) >= 6.76
+# Runtime
+BuildRequires:  perl(base)
+BuildRequires:  perl(Carp)
+BuildRequires:  perl(DynaLoader)
 BuildRequires:  perl(Exporter)
-BuildRequires:  perl(ExtUtils::MakeMaker)
+BuildRequires:  perl(strict)
+# Tests only
 BuildRequires:  perl(Test::More)
-Requires:   perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo 
$version))
-
-%{?perl_default_filter}
+# Optional tests only
+BuildRequires:  perl(Devel::Leak)
+Requires:   perl(:MODULE_COMPAT_%(eval "$(perl -V:version)"; echo 
$version))
 
 %description
 This module provides two functions, bencode and bdecode, which encode and
@@ -21,16 +32,12 @@ decode bencoded strings respectively.
 %setup -q -n Convert-Bencode_XS-%{version}
 
 %build
-%{__perl} Makefile.PL INSTALLDIRS=vendor OPTIMIZE="%{optflags}"
+perl Makefile.PL INSTALLDIRS=vendor OPTIMIZE="%{optflags}" NO_PACKLIST=1
 make %{?_smp_mflags}
 
 %install
 make pure_install DESTDIR=%{buildroot}
-
-find %{buildroot} -type f -name .packlist -exec rm -f {} \;
-find %{buildroot} -type f -name '*.bs' -size 0 -exec rm -f {} \;
-find %{buildroot} -depth -type d -exec rmdir {} 2>/dev/null \;
-
+find %{buildroot} -type f -name '*.bs' -size 0 -delete
 %{_fixperms} %{buildroot}/*
 
 %check
@@ -38,13 +45,15 @@ find %{buildroot} -depth -type d -exec rmdir {} 2>/dev/null 
\;
 PERL_PERTURB_KEYS=0 make test
 
 %files
-%defattr(-,root,root,-)
 %doc Changes README
 %{perl_vendorarch}/auto/*
 %{perl_vendorarch}/Convert*
 %{_mandir}/man3/*
 
 %changelog
+* Tue Jan 26 2016 Petr Šabata  - 0.06-15
+- Package cleanup
+
 * Thu Jun 18 2015 Fedora Release Engineering  
- 0.06-14
 - Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild
 
-- 
cgit v0.11.2



http://pkgs.fedoraproject.org/cgit/perl-Convert-Bencode_XS.git/commit/?h=master=94825396a52010109b313d7338d8b6d65f720d50
--
Fedora Extras Perl SIG
http://www.fedoraproject.org/wiki/Extras/SIGs/Perl
perl-devel mailing list
perl-devel@lists.fedoraproject.org
http://lists.fedoraproject.org/admin/lists/perl-devel@lists.fedoraproject.org

ppisar pushed to perl-HTTP-Parser (master). "Modernize spec file"

2016-01-26 Thread notifications
From 11cb6e2845577dbca5f285affb98cbce1769a8e7 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Petr=20P=C3=ADsa=C5=99?= 
Date: Tue, 26 Jan 2016 16:39:10 +0100
Subject: Modernize spec file

---
 .rpmlint  |  2 ++
 perl-HTTP-Parser.spec | 26 +-
 2 files changed, 19 insertions(+), 9 deletions(-)
 create mode 100644 .rpmlint

diff --git a/.rpmlint b/.rpmlint
new file mode 100644
index 000..4df716a
--- /dev/null
+++ b/.rpmlint
@@ -0,0 +1,2 @@
+from Config import *
+addFilter("spelling-error .* chunked");
diff --git a/perl-HTTP-Parser.spec b/perl-HTTP-Parser.spec
index a32f9e1..60fa6a6 100644
--- a/perl-HTTP-Parser.spec
+++ b/perl-HTTP-Parser.spec
@@ -1,48 +1,56 @@
 Name:   perl-HTTP-Parser
 Version:0.06
-Release:12%{?dist}
+Release:13%{?dist}
 Summary:Parse HTTP/1.1 request into HTTP::Request/Response object
 License:GPL+ or Artistic
 Group:  Development/Libraries
 URL:http://search.cpan.org/dist/HTTP-Parser/
 Source0:
http://www.cpan.org/authors/id/E/ED/EDECA/HTTP-Parser-%{version}.tar.gz
 BuildArch:  noarch
+BuildRequires:  coreutils
+BuildRequires:  findutils
+BuildRequires:  make
+BuildRequires:  perl
 BuildRequires:  perl(ExtUtils::MakeMaker)
+# Run-time:
 BuildRequires:  perl(HTTP::Request)
 BuildRequires:  perl(HTTP::Response)
-BuildRequires:  perl(Test::More)
+BuildRequires:  perl(strict)
 BuildRequires:  perl(URI)
-Requires:   perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo 
$version))
+# Tests:
+BuildRequires:  perl(Test::More)
+Requires:   perl(:MODULE_COMPAT_%(eval "`perl -V:version`"; echo $version))
 
 %description
 This is an HTTP request parser. It takes chunks of text as received and
 returns a 'hint' as to what is required, or returns the HTTP::Request when
-a complete request has been read. HTTP/1.1 chunking is supported. It dies
-if it finds an error.
+a complete request has been read. HTTP/1.1 chunked transfer encoding is
+supported. It dies if it finds an error.
 
 %prep
 %setup -q -n HTTP-Parser-%{version}
 
 %build
-%{__perl} Makefile.PL INSTALLDIRS=vendor
+perl Makefile.PL INSTALLDIRS=vendor
 make %{?_smp_mflags}
 
 %install
-make pure_install PERL_INSTALL_ROOT=$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/*
 
 %check
 make test
 
 %files
-%defattr(-,root,root,-)
 %doc Changes README
 %{perl_vendorlib}/*
 %{_mandir}/man3/*
 
 %changelog
+* Tue Jan 26 2016 Petr Pisar  - 0.06-13
+- Modernize spec file
+
 * Thu Jun 18 2015 Fedora Release Engineering  
- 0.06-12
 - Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild
 
-- 
cgit v0.11.2



http://pkgs.fedoraproject.org/cgit/perl-HTTP-Parser.git/commit/?h=master=11cb6e2845577dbca5f285affb98cbce1769a8e7
--
Fedora Extras Perl SIG
http://www.fedoraproject.org/wiki/Extras/SIGs/Perl
perl-devel mailing list
perl-devel@lists.fedoraproject.org
http://lists.fedoraproject.org/admin/lists/perl-devel@lists.fedoraproject.org

[Bug 1297365] Upgrade perl-Date-Holidays-DE to 1.7

2016-01-26 Thread bugzilla
https://bugzilla.redhat.com/show_bug.cgi?id=1297365



--- Comment #14 from Fedora Update System  ---
perl-Date-Holidays-DE-1.7-1.el5 has been pushed to the Fedora EPEL 5 stable
repository. If problems still persist, please make note of it in this bug
report.

-- 
You are receiving this mail because:
You are on the CC list for the bug.
--
Fedora Extras Perl SIG
http://www.fedoraproject.org/wiki/Extras/SIGs/Perl
perl-devel mailing list
perl-devel@lists.fedoraproject.org
http://lists.fedoraproject.org/admin/lists/perl-devel@lists.fedoraproject.org

[Bug 1297365] Upgrade perl-Date-Holidays-DE to 1.7

2016-01-26 Thread bugzilla
https://bugzilla.redhat.com/show_bug.cgi?id=1297365

Fedora Update System  changed:

   What|Removed |Added

   Fixed In Version|perl-Date-Holidays-DE-1.7-1 |perl-Date-Holidays-DE-1.7-1
   |.fc23   |.fc23
   |perl-Date-Holidays-DE-1.7-1 |perl-Date-Holidays-DE-1.7-1
   |.fc22   |.fc22
   ||perl-Date-Holidays-DE-1.7-1
   ||.el5



-- 
You are receiving this mail because:
You are on the CC list for the bug.
--
Fedora Extras Perl SIG
http://www.fedoraproject.org/wiki/Extras/SIGs/Perl
perl-devel mailing list
perl-devel@lists.fedoraproject.org
http://lists.fedoraproject.org/admin/lists/perl-devel@lists.fedoraproject.org

corsepiu pushed to perl-HTTP-Response-Encoding (master). "Remove %defattr. (..more)"

2016-01-26 Thread notifications
From 71a1e863f156f5e72dfe9fcab95adf777b46db15 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Ralf=20Cors=C3=A9pius?= 
Date: Tue, 26 Jan 2016 16:41:55 +0100
Subject: Remove %defattr.

- Modernize spec.
---
 perl-HTTP-Response-Encoding.spec | 17 ++---
 1 file changed, 6 insertions(+), 11 deletions(-)

diff --git a/perl-HTTP-Response-Encoding.spec b/perl-HTTP-Response-Encoding.spec
index d25c80d..441a46c 100644
--- a/perl-HTTP-Response-Encoding.spec
+++ b/perl-HTTP-Response-Encoding.spec
@@ -1,12 +1,11 @@
 Name:   perl-HTTP-Response-Encoding
 Version:0.06
-Release:17%{?dist}
+Release:18%{?dist}
 Summary:HTTP::Response::Encoding Perl module
 License:GPL+ or Artistic
 Group:  Development/Libraries
 URL:http://search.cpan.org/dist/HTTP-Response-Encoding/
 Source0:
http://www.cpan.org/authors/id/D/DA/DANKOGAI/HTTP-Response-Encoding-%{version}.tar.gz
-BuildRoot:  %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
 BuildArch:  noarch
 BuildRequires:  perl(ExtUtils::MakeMaker)
 BuildRequires:  perl(HTTP::Response)
@@ -26,15 +25,11 @@ Adds encoding() to HTTP::Response.
 %setup -q -n HTTP-Response-Encoding-%{version}
 
 %build
-%{__perl} Makefile.PL INSTALLDIRS=vendor
+%{__perl} Makefile.PL INSTALLDIRS=vendor NO_PACKLIST=1
 make %{?_smp_mflags}
 
 %install
-rm -rf $RPM_BUILD_ROOT
-
 make pure_install PERL_INSTALL_ROOT=$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/*
@@ -42,16 +37,16 @@ find $RPM_BUILD_ROOT -depth -type d -exec rmdir {} 
2>/dev/null \;
 %check
 make test
 
-%clean
-rm -rf $RPM_BUILD_ROOT
-
 %files
-%defattr(-,root,root,-)
 %doc Changes README
 %{perl_vendorlib}/*
 %{_mandir}/man3/*
 
 %changelog
+* Tue Jan 26 2016 Ralf Corsépius  - 0.06-18
+- Remove %%defattr.
+- Modernize spec.
+
 * Thu Jun 18 2015 Fedora Release Engineering  
- 0.06-17
 - Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild
 
-- 
cgit v0.11.2



http://pkgs.fedoraproject.org/cgit/perl-HTTP-Response-Encoding.git/commit/?h=master=71a1e863f156f5e72dfe9fcab95adf777b46db15
--
Fedora Extras Perl SIG
http://www.fedoraproject.org/wiki/Extras/SIGs/Perl
perl-devel mailing list
perl-devel@lists.fedoraproject.org
http://lists.fedoraproject.org/admin/lists/perl-devel@lists.fedoraproject.org

psabata pushed to perl-Crypt-CAST5_PP (master). "Package cleanup"

2016-01-26 Thread notifications
From 2b453124432d4bd57efd43c4c4e11380c31d0e55 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Petr=20=C5=A0abata?= 
Date: Tue, 26 Jan 2016 16:49:16 +0100
Subject: Package cleanup

---
 perl-Crypt-CAST5_PP.spec | 36 +---
 1 file changed, 21 insertions(+), 15 deletions(-)

diff --git a/perl-Crypt-CAST5_PP.spec b/perl-Crypt-CAST5_PP.spec
index b57ae26..d9d7a69 100644
--- a/perl-Crypt-CAST5_PP.spec
+++ b/perl-Crypt-CAST5_PP.spec
@@ -1,19 +1,27 @@
 Name:   perl-Crypt-CAST5_PP
 Version:1.04
-Release:20%{?dist}
+Release:21%{?dist}
 Summary:CAST5 block cipher in pure Perl
 License:GPL+ or Artistic
-Group:  Development/Libraries
 URL:http://search.cpan.org/dist/Crypt-CAST5_PP/
 Source0:
http://www.cpan.org/modules/by-module/Crypt/Crypt-CAST5_PP-%{version}.tar.gz
 BuildArch:  noarch
-BuildRequires:  perl(ExtUtils::MakeMaker)
+# Build
+BuildRequires:  make
+BuildRequires:  perl
+BuildRequires:  perl(ExtUtils::MakeMaker) >= 6.76
+# Runtime
+BuildRequires:  perl(AutoLoader)
+BuildRequires:  perl(Carp)
+BuildRequires:  perl(integer)
+BuildRequires:  perl(strict)
+BuildRequires:  perl(vars)
+# Tests only
 BuildRequires:  perl(Test::More) >= 0.47
+# Optional tests only
+BuildRequires:  perl(Crypt::CBC) >= 1.22
 BuildRequires:  perl(Test::Taint)
-BuildRequires:  perl(Crypt::CBC)
-Requires:   perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo 
$version))
-
-%{?perl_default_filter}
+Requires:   perl(:MODULE_COMPAT_%(eval "$(perl -V:version)"; echo 
$version))
 
 %description
 This module provides a pure Perl implementation of the CAST5 block cipher.
@@ -24,27 +32,25 @@ procedure developed by C. Adams and S. Tavares.
 %setup -q -n Crypt-CAST5_PP-%{version}
 
 %build
-%{__perl} Makefile.PL INSTALLDIRS=vendor
+perl Makefile.PL INSTALLDIRS=vendor NO_PACKLIST=1
 make %{?_smp_mflags}
 
 %install
-make pure_install PERL_INSTALL_ROOT=$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}
+%{_fixperms} %{buildroot}/*
 
 %check
 make test
 
 %files
-%defattr(-,root,root,-)
 %doc Changes mkschedule README
 %{perl_vendorlib}/*
 %{_mandir}/man3/*
 
 %changelog
+* Tue Jan 26 2016 Petr Šabata  - 1.04-21
+- Package cleanup
+
 * Thu Jun 18 2015 Fedora Release Engineering  
- 1.04-20
 - Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild
 
-- 
cgit v0.11.2



http://pkgs.fedoraproject.org/cgit/perl-Crypt-CAST5_PP.git/commit/?h=master=2b453124432d4bd57efd43c4c4e11380c31d0e55
--
Fedora Extras Perl SIG
http://www.fedoraproject.org/wiki/Extras/SIGs/Perl
perl-devel mailing list
perl-devel@lists.fedoraproject.org
http://lists.fedoraproject.org/admin/lists/perl-devel@lists.fedoraproject.org

corsepiu pushed to perl-HTTP-Server-Simple-Mason (master). "Remove %defattr. (..more)"

2016-01-26 Thread notifications
From 6936afef8336e083922a7b27f3e2934cfbc2b128 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Ralf=20Cors=C3=A9pius?= 
Date: Tue, 26 Jan 2016 16:49:11 +0100
Subject: Remove %defattr.

- Modernize spec.
---
 perl-HTTP-Server-Simple-Mason.spec | 15 ++-
 1 file changed, 6 insertions(+), 9 deletions(-)

diff --git a/perl-HTTP-Server-Simple-Mason.spec 
b/perl-HTTP-Server-Simple-Mason.spec
index 42963d8..a22e6f4 100644
--- a/perl-HTTP-Server-Simple-Mason.spec
+++ b/perl-HTTP-Server-Simple-Mason.spec
@@ -1,12 +1,11 @@
 Name:  perl-HTTP-Server-Simple-Mason
 Version:   0.14
-Release:   13%{?dist}
+Release:   14%{?dist}
 Summary:   HTTP::Server::Simple::Mason Perl module
 License:   GPL+ or Artistic
 Group: Development/Libraries
 URL:   http://search.cpan.org/dist/HTTP-Server-Simple-Mason/
 Source:
http://search.cpan.org/CPAN/authors/id/J/JE/JESSE/HTTP-Server-Simple-Mason-%{version}.tar.gz
-BuildRoot:  %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
 
 Requires:  perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version))
 BuildArch: noarch
@@ -32,29 +31,27 @@ An abstract baseclass for a standalone mason server
 %setup -q -n HTTP-Server-Simple-Mason-%{version}
 
 %build
-%{__perl} Makefile.PL INSTALLDIRS=vendor
+%{__perl} Makefile.PL INSTALLDIRS=vendor NO_PACKLIST=1
 make %{?_smp_mflags}
 
 %install
-rm -rf $RPM_BUILD_ROOT
 make pure_install PERL_INSTALL_ROOT=$RPM_BUILD_ROOT
-find $RPM_BUILD_ROOT -type f -name .packlist -exec rm -f {} ';'
 find $RPM_BUILD_ROOT -type d -depth -exec rmdir {} 2>/dev/null ';'
 chmod -R u+w $RPM_BUILD_ROOT/*
 
-%clean
-rm -rf $RPM_BUILD_ROOT
-
 %check
 make test
 
 %files
-%defattr(-,root,root,-)
 %doc Changes ex
 %{perl_vendorlib}/HTTP
 %{_mandir}/man3/*
 
 %changelog
+* Tue Jan 26 2016 Ralf Corsépius  - 0.14-14
+- Remove %%defattr.
+- Modernize spec.
+
 * Thu Jun 18 2015 Fedora Release Engineering  
- 0.14-13
 - Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild
 
-- 
cgit v0.11.2



http://pkgs.fedoraproject.org/cgit/perl-HTTP-Server-Simple-Mason.git/commit/?h=master=6936afef8336e083922a7b27f3e2934cfbc2b128
--
Fedora Extras Perl SIG
http://www.fedoraproject.org/wiki/Extras/SIGs/Perl
perl-devel mailing list
perl-devel@lists.fedoraproject.org
http://lists.fedoraproject.org/admin/lists/perl-devel@lists.fedoraproject.org

psabata pushed to perl-Crypt-DES_EDE3 (master). "Package cleanup"

2016-01-26 Thread notifications
From 628d1354f9547f4c68a88f4fe0657dc77b28824b Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Petr=20=C5=A0abata?= 
Date: Tue, 26 Jan 2016 16:56:44 +0100
Subject: Package cleanup

---
 perl-Crypt-DES_EDE3.spec | 42 +++---
 1 file changed, 15 insertions(+), 27 deletions(-)

diff --git a/perl-Crypt-DES_EDE3.spec b/perl-Crypt-DES_EDE3.spec
index d8b5bd9..5da8d99 100644
--- a/perl-Crypt-DES_EDE3.spec
+++ b/perl-Crypt-DES_EDE3.spec
@@ -1,24 +1,22 @@
 Name:   perl-Crypt-DES_EDE3
 Version:0.01
-Release:25%{?dist}
+Release:26%{?dist}
 Summary:Triple-DES EDE encryption/decryption module
 License:GPL+ or Artistic
-Group:  Development/Libraries
 URL:http://search.cpan.org/dist/Crypt-DES_EDE3/
 Source0:
http://www.cpan.org/authors/id/B/BT/BTROTT/Crypt-DES_EDE3-%{version}.tar.gz
-BuildRoot:  %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
 BuildArch:  noarch
-BuildRequires:  coreutils
-BuildRequires:  findutils
+# Build
 BuildRequires:  make
 BuildRequires:  perl
-BuildRequires:  perl(Crypt::DES)
-BuildRequires:  perl(ExtUtils::MakeMaker)
+BuildRequires:  perl(ExtUtils::MakeMaker) >= 6.76
 BuildRequires:  perl(strict)
-BuildRequires:  perl(Test)
+# Runtime
+BuildRequires:  perl(Crypt::DES)
 BuildRequires:  perl(vars)
-BuildRequires: perl-Pod-Perldoc
-Requires:   perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo 
$version))
+# Tests only
+BuildRequires:  perl(Test)
+Requires:   perl(:MODULE_COMPAT_%(eval "$(perl -V:version)"; echo 
$version))
 
 %description
 This is Crypt::DES_EDE3, a module implementing Triple-DES EDE
@@ -28,35 +26,25 @@ This is Crypt::DES_EDE3, a module implementing Triple-DES 
EDE
 %setup -q -n Crypt-DES_EDE3-%{version}
 
 %build
-%{__perl} Makefile.PL INSTALLDIRS=vendor
+perl Makefile.PL INSTALLDIRS=vendor NO_PACKLIST=1
 make %{?_smp_mflags}
 
 %install
-rm -rf $RPM_BUILD_ROOT
-
-make pure_install PERL_INSTALL_ROOT=$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/*
-
-perldoc -t perlgpl > COPYING
-perldoc -t perlartistic > Artistic
+make pure_install DESTDIR=%{buildroot}
+%{_fixperms} %{buildroot}/*
 
 %check
 make test
 
-%clean
-rm -rf $RPM_BUILD_ROOT
-
 %files
-%defattr(-,root,root,-)
-%doc Changes README COPYING Artistic
+%doc Changes README
 %{perl_vendorlib}/*
 %{_mandir}/man3/*
 
 %changelog
+* Tue Jan 26 2016 Petr Šabata  - 0.01-26
+- Package cleanup
+
 * Wed Oct 14 2015 Jitka Plesnikova  - 0.01-25
 - Specify all dependencies
 
-- 
cgit v0.11.2



http://pkgs.fedoraproject.org/cgit/perl-Crypt-DES_EDE3.git/commit/?h=master=628d1354f9547f4c68a88f4fe0657dc77b28824b
--
Fedora Extras Perl SIG
http://www.fedoraproject.org/wiki/Extras/SIGs/Perl
perl-devel mailing list
perl-devel@lists.fedoraproject.org
http://lists.fedoraproject.org/admin/lists/perl-devel@lists.fedoraproject.org

ppisar pushed to perl-Linux-Inotify2 (master). "Modernize spec file"

2016-01-26 Thread notifications
From 0b248e7a65f4cf88b406a01aed84367f59c95544 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Petr=20P=C3=ADsa=C5=99?= 
Date: Tue, 26 Jan 2016 16:57:06 +0100
Subject: Modernize spec file

---
 .rpmlint |  2 ++
 auto.ini |  2 --
 perl-Linux-Inotify2.spec | 57 ++--
 3 files changed, 33 insertions(+), 28 deletions(-)
 create mode 100644 .rpmlint
 delete mode 100644 auto.ini

diff --git a/.rpmlint b/.rpmlint
new file mode 100644
index 000..ce4ed84
--- /dev/null
+++ b/.rpmlint
@@ -0,0 +1,2 @@
+from Config import *
+addFilter("spelling-error .* (Inotify|Scalable)");
diff --git a/auto.ini b/auto.ini
deleted file mode 100644
index 26dfabd..000
--- a/auto.ini
+++ /dev/null
@@ -1,2 +0,0 @@
-[add_build_requires]
-perl(Test::Simple)=0
diff --git a/perl-Linux-Inotify2.spec b/perl-Linux-Inotify2.spec
index 7fed8c8..06e5208 100644
--- a/perl-Linux-Inotify2.spec
+++ b/perl-Linux-Inotify2.spec
@@ -1,67 +1,72 @@
 Name:   perl-Linux-Inotify2 
 Summary:Scalable directory/file change notification 
 Version:1.22
-Release:12%{?dist}
+Release:13%{?dist}
 License:GPL+ or Artistic
 Group:  Development/Libraries
 Source0:
http://search.cpan.org/CPAN/authors/id/M/ML/MLEHMANN/Linux-Inotify2-%{version}.tar.gz
 
 URL:http://search.cpan.org/dist/Linux-Inotify2
-BuildRoot:  %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
-Requires:   perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo 
$version))
-
-BuildRequires:  perl(common::sense)
+BuildRequires:  coreutils
+BuildRequires:  findutils
+BuildRequires:  gcc
+BuildRequires:  perl
+BuildRequires:  perl-devel
+BuildRequires:  perl(Config)
 BuildRequires:  perl(ExtUtils::MakeMaker)
+# Run-time:
+BuildRequires:  perl(base)
+BuildRequires:  perl(Carp)
+BuildRequires:  perl(common::sense)
+BuildRequires:  perl(Exporter)
+BuildRequires:  perl(Fcntl)
+BuildRequires:  perl(Scalar::Util)
+BuildRequires:  perl(XSLoader)
+# Tests:
 BuildRequires:  perl(Test::Simple)
-
-Requires:   perl(common::sense)
-
+Requires:   perl(:MODULE_COMPAT_%(eval "`perl -V:version`"; echo $version))
+Requires:   perl(XSLoader)
 
 %{?perl_default_filter}
 
 %description
-This module implements an interface to the Linux 2.6.13+
-Inotify file/directory change notification sytem.  It has a 
-number of advantages over the Linux::Inotify module: 
+This module implements an interface to the Linux 2.6.13+ Inotify
+file/directory change notification system. It has a number of advantages over
+the Linux::Inotify module: 
- it is portable (Linux::Inotify only works on x86)
-   - the equivalent of fullname works correctly
+   - the equivalent of full name works correctly
- it is better documented
-   - it has callback-style interface, which is better suited for
- integration.
+   - it has callback-style interface, which is better suited for integration.
 
 %prep
 %setup -q -n Linux-Inotify2-%{version}
-
 find . -type f -exec chmod -c -x {} ';'
-find eg/ -type f -exec perl -pi -e 's|^#!/opt/bin/perl|#!%{__perl}|' {} ';'
+find eg/ -type f -exec \
+perl -MConfig -pi -e 's|^#!/opt/bin/perl|$Config{startperl}|' {} ';'
 
 %build
-%{__perl} Makefile.PL INSTALLDIRS=vendor OPTIMIZE="%{optflags}"
+perl Makefile.PL INSTALLDIRS=vendor OPTIMIZE="%{optflags}"
 make %{?_smp_mflags}
 
 %install
-rm -rf %{buildroot}
-
 make pure_install DESTDIR=%{buildroot}
 find %{buildroot} -type f -name .packlist -exec rm -f {} ';'
 find %{buildroot} -type f -name '*.bs' -a -size 0 -exec rm -f {} ';'
-find %{buildroot} -depth -type d -exec rmdir {} 2>/dev/null ';'
-
 %{_fixperms} %{buildroot}/*
 
 %check
 make test
 
-%clean
-rm -rf %{buildroot} 
-
 %files
-%defattr(-,root,root,-)
-%doc README Changes COPYING eg/
+%license COPYING
+%doc Changes README eg/
 %{perl_vendorarch}/*
 %exclude %dir %{perl_vendorarch}/auto
 %{_mandir}/man3/*.3*
 
 %changelog
+* Tue Jan 26 2016 Petr Pisar  - 1.22-13
+- Modernize spec file
+
 * Thu Jun 18 2015 Fedora Release Engineering  
- 1.22-12
 - Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild
 
-- 
cgit v0.11.2



http://pkgs.fedoraproject.org/cgit/perl-Linux-Inotify2.git/commit/?h=master=0b248e7a65f4cf88b406a01aed84367f59c95544
--
Fedora Extras Perl SIG
http://www.fedoraproject.org/wiki/Extras/SIGs/Perl
perl-devel mailing list
perl-devel@lists.fedoraproject.org
http://lists.fedoraproject.org/admin/lists/perl-devel@lists.fedoraproject.org

jplesnik uploaded Business-Stripe-0.05.tar.gz for perl-Business-Stripe

2016-01-26 Thread notifications
7f9866ce08d1b058a46c050f1b5cad21  Business-Stripe-0.05.tar.gz

http://pkgs.fedoraproject.org/lookaside/pkgs/perl-Business-Stripe/Business-Stripe-0.05.tar.gz/md5/7f9866ce08d1b058a46c050f1b5cad21/Business-Stripe-0.05.tar.gz
--
Fedora Extras Perl SIG
http://www.fedoraproject.org/wiki/Extras/SIGs/Perl
perl-devel mailing list
perl-devel@lists.fedoraproject.org
http://lists.fedoraproject.org/admin/lists/perl-devel@lists.fedoraproject.org

jplesnik pushed to perl-Business-Stripe (master). "0.05 bump"

2016-01-26 Thread notifications
From 121f7329b8687fbec064517958b4905bcfa9add1 Mon Sep 17 00:00:00 2001
From: Jitka Plesnikova 
Date: Tue, 26 Jan 2016 17:00:35 +0100
Subject: 0.05 bump

---
 .gitignore|  1 +
 perl-Business-Stripe.spec | 14 +-
 sources   |  2 +-
 3 files changed, 11 insertions(+), 6 deletions(-)

diff --git a/.gitignore b/.gitignore
index 6ca5126..42ebde2 100644
--- a/.gitignore
+++ b/.gitignore
@@ -1 +1,2 @@
 /Business-Stripe-0.04.tar.gz
+/Business-Stripe-0.05.tar.gz
diff --git a/perl-Business-Stripe.spec b/perl-Business-Stripe.spec
index d8af643..068ff35 100644
--- a/perl-Business-Stripe.spec
+++ b/perl-Business-Stripe.spec
@@ -1,18 +1,21 @@
 Name:   perl-Business-Stripe
-Version:0.04
-Release:5%{?dist}
+Version:0.05
+Release:1%{?dist}
 Summary:Interface for Stripe payment system
 License:GPL+ or Artistic
 Group:  Development/Libraries
 URL:http://search.cpan.org/dist/Business-Stripe/
 Source0:
http://www.cpan.org/modules/by-module/Business/Business-Stripe-%{version}.tar.gz
 BuildArch:  noarch
+BuildRequires:  coreutils
+BuildRequires:  findutils
+BuildRequires:  make
 BuildRequires:  perl
 BuildRequires:  perl(constant)
 BuildRequires:  perl(ExtUtils::MakeMaker)
 BuildRequires:  perl(strict)
 BuildRequires:  perl(Test::More)
-BuildRequires:  perl(Test::Pod)
+BuildRequires:  perl(Test::Pod) >= 1.22
 BuildRequires:  perl(warnings)
 Requires:   perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo 
$version))
 
@@ -24,8 +27,6 @@ not have bindings can be access through the generic api 
method.
 %setup -q -n Business-Stripe-%{version}
 # remove symlink
 rm README.pod
-# remove pod testing.  it is currently failing incorrectly
-rm t/pod.t
 
 %build
 %{__perl} Makefile.PL INSTALLDIRS=vendor
@@ -47,6 +48,9 @@ make test
 %{_mandir}/man3/*
 
 %changelog
+* Tue Jan 26 2016 Jitka Plesnikova  - 0.05-1
+- 0.05 bump
+
 * Thu Jun 18 2015 Fedora Release Engineering  
- 0.04-5
 - Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild
 
diff --git a/sources b/sources
index b7b3f8a..2509420 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-8b5f4ce603b0799eff447187757332a8  Business-Stripe-0.04.tar.gz
+7f9866ce08d1b058a46c050f1b5cad21  Business-Stripe-0.05.tar.gz
-- 
cgit v0.11.2



http://pkgs.fedoraproject.org/cgit/perl-Business-Stripe.git/commit/?h=master=121f7329b8687fbec064517958b4905bcfa9add1
--
Fedora Extras Perl SIG
http://www.fedoraproject.org/wiki/Extras/SIGs/Perl
perl-devel mailing list
perl-devel@lists.fedoraproject.org
http://lists.fedoraproject.org/admin/lists/perl-devel@lists.fedoraproject.org

[Bug 1282782] perl-Business-Stripe-0.05 is available

2016-01-26 Thread bugzilla
https://bugzilla.redhat.com/show_bug.cgi?id=1282782



--- Comment #3 from Upstream Release Monitoring 
 ---
jplesnik's perl-Business-Stripe-0.05-1.fc24 completed
http://koji.fedoraproject.org/koji/buildinfo?buildID=713940

-- 
You are receiving this mail because:
You are on the CC list for the bug.
--
Fedora Extras Perl SIG
http://www.fedoraproject.org/wiki/Extras/SIGs/Perl
perl-devel mailing list
perl-devel@lists.fedoraproject.org
http://lists.fedoraproject.org/admin/lists/perl-devel@lists.fedoraproject.org

[Bug 1282782] perl-Business-Stripe-0.05 is available

2016-01-26 Thread bugzilla
https://bugzilla.redhat.com/show_bug.cgi?id=1282782

Jitka Plesnikova  changed:

   What|Removed |Added

 Status|NEW |CLOSED
 CC||jples...@redhat.com
   Fixed In Version||perl-Business-Stripe-0.05-1
   ||.fc24
 Resolution|--- |RAWHIDE
Last Closed||2016-01-26 11:07:35



-- 
You are receiving this mail because:
You are on the CC list for the bug.
--
Fedora Extras Perl SIG
http://www.fedoraproject.org/wiki/Extras/SIGs/Perl
perl-devel mailing list
perl-devel@lists.fedoraproject.org
http://lists.fedoraproject.org/admin/lists/perl-devel@lists.fedoraproject.org

psabata pushed to perl-Data-Denter (master). "Package cleanup"

2016-01-26 Thread notifications
From c5d66f05f4869111ff9ff9ddb6197f31e62cded4 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Petr=20=C5=A0abata?= 
Date: Tue, 26 Jan 2016 17:17:02 +0100
Subject: Package cleanup

---
 perl-Data-Denter.spec | 63 ---
 1 file changed, 30 insertions(+), 33 deletions(-)

diff --git a/perl-Data-Denter.spec b/perl-Data-Denter.spec
index 50358de..8948844 100644
--- a/perl-Data-Denter.spec
+++ b/perl-Data-Denter.spec
@@ -1,21 +1,25 @@
-Name:   perl-Data-Denter 
-Version:0.15 
-Release:17%{?dist}
-# Denter.pod -> GPL+ or Artistic
-License:GPL+ or Artistic 
-Group:  Development/Libraries
-Summary:An alternative to Data::Dumper and Storable 
-Source: 
http://search.cpan.org/CPAN/authors/id/I/IN/INGY/Data-Denter-%{version}.tar.gz 
-Url:http://search.cpan.org/dist/Data-Denter
-BuildRoot:  %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) 
-Requires:   perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo 
$version))
-BuildArch:  noarch
-
-BuildRequires: perl(ExtUtils::MakeMaker)
-BuildRequires: perl(YAML)
-# test
-BuildRequires: perl(Data::Dumper)
-BuildRequires: perl(Test)
+Name:   perl-Data-Denter
+Version:0.15
+Release:18%{?dist}
+License:GPL+ or Artistic
+Summary:An alternative to Data::Dumper and Storable
+Source: 
http://search.cpan.org/CPAN/authors/id/I/IN/INGY/Data-Denter-%{version}.tar.gz
+Url:http://search.cpan.org/dist/Data-Denter
+BuildArch:  noarch
+# Build
+BuildRequires:  make
+BuildRequires:  perl
+BuildRequires:  perl(ExtUtils::MakeMaker) >= 6.76
+# Runtime
+BuildRequires:  perl(Carp)
+BuildRequires:  perl(Exporter)
+BuildRequires:  perl(strict)
+BuildRequires:  perl(vars)
+# Tests only
+BuildRequires:  perl(Data::Dumper)
+BuildRequires:  perl(diagnostics)
+BuildRequires:  perl(Test)
+Requires:   perl(:MODULE_COMPAT_%(eval "$(perl -V:version)"; echo 
$version))
 
 %description
 The main problem with Data::Dumper (one of my all-time favorite modules)
@@ -24,7 +28,7 @@ This is great if you can trust the data you're evaling, but 
horrible if
 you can't. A good alternative is Storable.pm. It can safely thaw your
 frozen data.  But if you want to read/edit the frozen data, you're out of
 luck, because Storable uses a binary format. Even Data::Dumper's output
-can be a little cumbersome for larger data objects. Enter Data::Denter. 
+can be a little cumbersome for larger data objects. Enter Data::Denter.
 
 Data::Denter is yet another Perl data serializer/deserializer. It formats
 nested data structures in an indented fashion. It is optimized for human
@@ -35,31 +39,25 @@ readability/editability, safe deserialization, and 
(eventually) speed.
 %setup -q -n Data-Denter-%{version}
 
 %build
-%{__perl} Makefile.PL INSTALLDIRS=vendor
+perl Makefile.PL INSTALLDIRS=vendor NO_PACKLIST=1
 make %{?_smp_mflags}
 
 %install
-rm -rf %{buildroot}
-
-make pure_install PERL_INSTALL_ROOT=%{buildroot}
-find %{buildroot} -type f -name .packlist -exec rm -f {} ';'
-find %{buildroot} -depth -type d -exec rmdir {} 2>/dev/null ';'
-
+make pure_install DESTDIR=%{buildroot}
 %{_fixperms} %{buildroot}/*
 
 %check
 make test
 
-%clean
-rm -rf %{buildroot} 
-
 %files
-%defattr(-,root,root,-)
-%doc Changes README 
+%doc Changes README
 %{perl_vendorlib}/*
-%{_mandir}/man3/*.3*
+%{_mandir}/man3/*
 
 %changelog
+* Tue Jan 26 2016 Petr Šabata  - 0.15-18
+- Package cleanup
+
 * Thu Jun 18 2015 Fedora Release Engineering  
- 0.15-17
 - Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild
 
@@ -114,4 +112,3 @@ rm -rf %{buildroot}
 * Wed Mar 18 2009 Chris Weyl  0.15-0
 - initial RPM packaging
 - generated with cpan2dist (CPANPLUS::Dist::RPM version 0.0.8)
-
-- 
cgit v0.11.2



http://pkgs.fedoraproject.org/cgit/perl-Data-Denter.git/commit/?h=master=c5d66f05f4869111ff9ff9ddb6197f31e62cded4
--
Fedora Extras Perl SIG
http://www.fedoraproject.org/wiki/Extras/SIGs/Perl
perl-devel mailing list
perl-devel@lists.fedoraproject.org
http://lists.fedoraproject.org/admin/lists/perl-devel@lists.fedoraproject.org

corsepiu pushed to perl-IO-Handle-Util (master). "Remove %defattr. (..more)"

2016-01-26 Thread notifications
From a5a343984e173aaf3beb9a9b455f3dc0aa23796a Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Ralf=20Cors=C3=A9pius?= 
Date: Tue, 26 Jan 2016 17:21:55 +0100
Subject: Remove %defattr.

- Modernize spec.
- Cleanup spec.
---
 perl-IO-Handle-Util.spec | 26 --
 1 file changed, 8 insertions(+), 18 deletions(-)

diff --git a/perl-IO-Handle-Util.spec b/perl-IO-Handle-Util.spec
index 4593874..6ceca18 100644
--- a/perl-IO-Handle-Util.spec
+++ b/perl-IO-Handle-Util.spec
@@ -1,12 +1,11 @@
 Name:   perl-IO-Handle-Util
 Summary:Utilities for working with IO::Handle-like objects
 Version:0.01
-Release:14%{?dist}
+Release:15%{?dist}
 License:GPL+ or Artistic
 Group:  Development/Libraries
 Source0:
http://search.cpan.org/CPAN/authors/id/N/NU/NUFFIN/IO-Handle-Util-%{version}.tar.gz
 
 URL:http://search.cpan.org/dist/IO-Handle-Util
-BuildRoot:  %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
 Requires:   perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo 
$version))
 BuildArch:  noarch
 
@@ -19,11 +18,8 @@ BuildRequires:  perl(Sub::Exporter)
 BuildRequires:  perl(Test::More) >= 0.88
 BuildRequires:  perl(Test::use::ok)
 
-Requires:   perl(asa)
+# Optional, require it for now.
 Requires:   perl(IO::String)
-Requires:   perl(parent)
-Requires:   perl(Scalar::Util)
-Requires:   perl(Sub::Exporter)
 
 %{?perl_default_filter}
 %{?perl_default_subpackage_tests}
@@ -36,14 +32,11 @@ create IO::Handle like objects.
 %setup -q -n IO-Handle-Util-%{version}
 
 %build
-%{__perl} Makefile.PL INSTALLDIRS=vendor
+%{__perl} Makefile.PL INSTALLDIRS=vendor NO_PACKLIST=1
 make %{?_smp_mflags}
 
 %install
-rm -rf %{buildroot}
-
 make pure_install DESTDIR=%{buildroot}
-find %{buildroot} -type f -name .packlist -exec rm -f {} ';'
 find %{buildroot} -depth -type d -exec rmdir {} 2>/dev/null ';'
 
 %{_fixperms} %{buildroot}/*
@@ -51,17 +44,16 @@ find %{buildroot} -depth -type d -exec rmdir {} 2>/dev/null 
';'
 %check
 make test
 
-
-%clean
-rm -rf %{buildroot}
-
 %files
-%defattr(-,root,root,-)
-%doc 
 %{perl_vendorlib}/*
 %{_mandir}/man3/*.3*
 
 %changelog
+* Tue Jan 26 2016 Ralf Corsépius  - 0.01-15
+- Remove %defattr.
+- Modernize spec.
+- Cleanup spec.
+
 * Thu Jun 18 2015 Fedora Release Engineering  
- 0.01-14
 - Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild
 
@@ -103,5 +95,3 @@ rm -rf %{buildroot}
 
 * Sun Apr 11 2010 Chris Weyl  0.01-1
 - specfile by Fedora::App::MaintainerTools 0.006
-
-
-- 
cgit v0.11.2



http://pkgs.fedoraproject.org/cgit/perl-IO-Handle-Util.git/commit/?h=master=a5a343984e173aaf3beb9a9b455f3dc0aa23796a
--
Fedora Extras Perl SIG
http://www.fedoraproject.org/wiki/Extras/SIGs/Perl
perl-devel mailing list
perl-devel@lists.fedoraproject.org
http://lists.fedoraproject.org/admin/lists/perl-devel@lists.fedoraproject.org

corsepiu pushed to perl-IPC-Run-SafeHandles (master). "Remove %defattr. (..more)"

2016-01-26 Thread notifications
From 1264337ea21aa8adef3fd353dd85678e8d7455d6 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Ralf=20Cors=C3=A9pius?= 
Date: Tue, 26 Jan 2016 17:26:50 +0100
Subject: Remove %defattr.

- Modernize spec.
---
 perl-IPC-Run-SafeHandles.spec | 11 ++-
 1 file changed, 6 insertions(+), 5 deletions(-)

diff --git a/perl-IPC-Run-SafeHandles.spec b/perl-IPC-Run-SafeHandles.spec
index c645ee3..fc506b6 100644
--- a/perl-IPC-Run-SafeHandles.spec
+++ b/perl-IPC-Run-SafeHandles.spec
@@ -1,6 +1,6 @@
 Name:   perl-IPC-Run-SafeHandles
 Version:0.04
-Release:8%{?dist}
+Release:9%{?dist}
 Summary:Use IPC::Run and IPC::Run3 safely
 License:GPL+ or Artistic
 Group:  Development/Libraries
@@ -29,13 +29,11 @@ such as under fastcgi.
 %build
 # --skipdeps causes ExtUtils::AutoInstall not to try auto-installing
 # missing optional features
-%{__perl} Makefile.PL INSTALLDIRS=vendor --skipdeps
+%{__perl} Makefile.PL INSTALLDIRS=vendor --skipdeps NO_PACKLIST=1
 make %{?_smp_mflags}
 
 %install
 make pure_install PERL_INSTALL_ROOT=$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/*
@@ -44,12 +42,15 @@ find $RPM_BUILD_ROOT -depth -type d -exec rmdir {} 
2>/dev/null \;
 make test
 
 %files
-%defattr(-,root,root,-)
 %doc Changes README
 %{perl_vendorlib}/*
 %{_mandir}/man3/*
 
 %changelog
+* Tue Jan 26 2016 Ralf Corsépius  - 0.04-9
+- Remove %%defattr.
+- Modernize spec.
+
 * Thu Jun 18 2015 Fedora Release Engineering  
- 0.04-8
 - Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild
 
-- 
cgit v0.11.2



http://pkgs.fedoraproject.org/cgit/perl-IPC-Run-SafeHandles.git/commit/?h=master=1264337ea21aa8adef3fd353dd85678e8d7455d6
--
Fedora Extras Perl SIG
http://www.fedoraproject.org/wiki/Extras/SIGs/Perl
perl-devel mailing list
perl-devel@lists.fedoraproject.org
http://lists.fedoraproject.org/admin/lists/perl-devel@lists.fedoraproject.org

ppisar pushed to perl-Perlbal-XS-HTTPHeaders (master). "Modernize spec file"

2016-01-26 Thread notifications
From 0ed39fc3fae1ade1cca7211de229b298a0938b37 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Petr=20P=C3=ADsa=C5=99?= 
Date: Tue, 26 Jan 2016 17:28:25 +0100
Subject: Modernize spec file

---
 perl-Perlbal-XS-HTTPHeaders.spec | 53 +++-
 1 file changed, 30 insertions(+), 23 deletions(-)

diff --git a/perl-Perlbal-XS-HTTPHeaders.spec b/perl-Perlbal-XS-HTTPHeaders.spec
index 0ab1ac1..e161af1 100644
--- a/perl-Perlbal-XS-HTTPHeaders.spec
+++ b/perl-Perlbal-XS-HTTPHeaders.spec
@@ -1,17 +1,36 @@
 %global libname Perlbal-XS-HTTPHeaders
-%global _use_internal_dependency_generator 0
-
 Name:   perl-%{libname}
 Version:0.20
-Release:18%{?dist}
+Release:19%{?dist}
 Summary:Perlbal extension for processing HTTP headers
 License:GPL+ or Artistic
 Group:  Development/Libraries
 URL:http://search.cpan.org/dist/%{libname}/
 Source0:
http://search.cpan.org/CPAN/authors/id/D/DO/DORMANDO/%{libname}-%{version}.tar.gz
-
-BuildRequires:  perl(Perlbal) perl(Test::More) perl(ExtUtils::MakeMaker)
-Requires:   perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo 
$version))
+BuildRequires:  coreutils
+BuildRequires:  findutils
+BuildRequires:  make
+BuildRequires:  perl
+BuildRequires:  perl-devel
+BuildRequires:  perl(ExtUtils::Constant)
+BuildRequires:  perl(ExtUtils::MakeMaker)
+BuildRequires:  perl(File::Copy)
+BuildRequires:  perl(File::Spec)
+BuildRequires:  sed
+# Run-time:
+BuildRequires:  perl(AutoLoader)
+BuildRequires:  perl(Carp)
+BuildRequires:  perl(Exporter)
+BuildRequires:  perl(Perlbal)
+BuildRequires:  perl(Perlbal::HTTPHeaders)
+BuildRequires:  perl(strict)
+BuildRequires:  perl(warnings)
+BuildRequires:  perl(XSLoader)
+# Tests:
+BuildRequires:  perl(Test::More)
+Requires:   perl(:MODULE_COMPAT_%(eval "`perl -V:version`"; echo $version))
+
+%{?perl_default_filter}
 
 %description
 This module is used to read HTTP headers from a string and to parse them
@@ -25,41 +44,29 @@ maintaining the ability to modify individual parts of the 
whole.
 # Work around bug in EU::MM (RT#68613), remove forced CC options
 sed -i -e "/CCFLAGS/d" Makefile.PL
 
-# filter unwanted Provides
-cat << \EOF > %{name}-prov
-#!/bin/sh
-%{__find_provides} $* |\
-grep -v HTTPHeaders.so
-EOF
-
-%global __find_provides %{_builddir}/%{libname}-%{version}/%{name}-prov
-chmod +x %{__find_provides}
-
-
 %build
-%{__perl} Makefile.PL INSTALLDIRS=vendor OPTIMIZE="%{optflags}"
+perl Makefile.PL INSTALLDIRS=vendor OPTIMIZE="%{optflags}"
 make %{?_smp_mflags}
 
 %install
-make pure_install PERL_INSTALL_ROOT=%{buildroot}
-
+make pure_install DESTDIR=%{buildroot}
 find %{buildroot} -type f -name .packlist -exec rm -f {} \;
 find %{buildroot} -type f -name '*.bs' -size 0 -exec rm -f {} \;
-find %{buildroot} -depth -type d -exec rmdir {} 2>/dev/null \;
-
 %{_fixperms} %{buildroot}/*
 
 %check
 make test
 
 %files
-%defattr(-,root,root,-)
 %doc Changes README
 %{perl_vendorarch}/auto/Perlbal/XS
 %{perl_vendorarch}/Perlbal/XS
 %{_mandir}/man3/Perlbal::XS::HTTPHeaders.*
 
 %changelog
+* Tue Jan 26 2016 Petr Pisar  - 0.20-19
+- Modernize spec file
+
 * Thu Jun 18 2015 Fedora Release Engineering  
- 0.20-18
 - Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild
 
-- 
cgit v0.11.2



http://pkgs.fedoraproject.org/cgit/perl-Perlbal-XS-HTTPHeaders.git/commit/?h=master=0ed39fc3fae1ade1cca7211de229b298a0938b37
--
Fedora Extras Perl SIG
http://www.fedoraproject.org/wiki/Extras/SIGs/Perl
perl-devel mailing list
perl-devel@lists.fedoraproject.org
http://lists.fedoraproject.org/admin/lists/perl-devel@lists.fedoraproject.org

  1   2   >