Hello community,
here is the log from the commit of package perl-B-Hooks-OP-PPAddr for
openSUSE:Factory checked in at 2016-11-04 21:00:05
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/perl-B-Hooks-OP-PPAddr (Old)
and /work/SRC/openSUSE:Factory/.perl-B-Hooks-OP-PPAddr.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "perl-B-Hooks-OP-PPAddr"
Changes:
--------
---
/work/SRC/openSUSE:Factory/perl-B-Hooks-OP-PPAddr/perl-B-Hooks-OP-PPAddr.changes
2012-01-04 07:25:59.000000000 +0100
+++
/work/SRC/openSUSE:Factory/.perl-B-Hooks-OP-PPAddr.new/perl-B-Hooks-OP-PPAddr.changes
2016-11-04 21:00:06.000000000 +0100
@@ -1,0 +2,6 @@
+Thu Jul 14 05:02:02 UTC 2016 - [email protected]
+
+- updated to 0.05
+ see /usr/share/doc/packages/perl-B-Hooks-OP-PPAddr/Changes
+
+-------------------------------------------------------------------
Old:
----
B-Hooks-OP-PPAddr-0.03.tar.gz
New:
----
B-Hooks-OP-PPAddr-0.05.tar.gz
cpanspec.yml
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ perl-B-Hooks-OP-PPAddr.spec ++++++
--- /var/tmp/diff_new_pack.NKXkDc/_old 2016-11-04 21:00:07.000000000 +0100
+++ /var/tmp/diff_new_pack.NKXkDc/_new 2016-11-04 21:00:07.000000000 +0100
@@ -1,8 +1,7 @@
-# vim: set sw=4 ts=4 et nu:
#
# spec file for package perl-B-Hooks-OP-PPAddr
#
-# Copyright (c) 2011 SUSE LINUX Products GmbH, Nuernberg, Germany.
+# Copyright (c) 2016 SUSE LINUX GmbH, Nuernberg, Germany.
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
@@ -15,61 +14,60 @@
# Please submit bugfixes or comments via http://bugs.opensuse.org/
#
+
+
Name: perl-B-Hooks-OP-PPAddr
-Version: 0.03
+Version: 0.05
Release: 0
+%define cpan_name B-Hooks-OP-PPAddr
Summary: Hook into opcode execution
License: Artistic-1.0 or GPL-1.0+
Group: Development/Libraries/Perl
-Source:
http://search.cpan.org/CPAN/authors/id/F/FL/FLORA/B-Hooks-OP-PPAddr-%{version}.tar.gz
-Source99: %{name}-rpmlintrc
-Url: http://search.cpan.org/dist/B-Hooks-OP-PPAddr
+Url: http://search.cpan.org/dist/B-Hooks-OP-PPAddr/
+Source0:
http://www.cpan.org/authors/id/E/ET/ETHER/%{cpan_name}-%{version}.tar.gz
+Source1: perl-B-Hooks-OP-PPAddr-rpmlintrc
+Source2: cpanspec.yml
BuildRoot: %{_tmppath}/%{name}-%{version}-build
-%{perl_requires}
-BuildRequires: make
BuildRequires: perl
BuildRequires: perl-macros
BuildRequires: perl(ExtUtils::Depends) >= 0.302
-BuildRequires: perl(ExtUtils::MakeMaker)
-BuildRequires: perl(ExtUtils::MakeMaker) >= 6.42
+BuildRequires: perl(Module::Metadata)
BuildRequires: perl(parent)
-Requires: perl(ExtUtils::Depends)
Requires: perl(parent)
+%{perl_requires}
%description
-This module provides a c api for XS modules to hook into the execution of
+This module provides a C API for XS modules to hook into the execution of
perl opcodes.
+ExtUtils::Depends is used to export all functions for other XS modules to
+use. Include the following in your _Makefile.PL_:
+
+ my $pkg = ExtUtils::Depends->new('Your::XSModule', 'B::Hooks::OP::PPAddr');
+ WriteMakefile(
+ ... # your normal makefile flags
+ $pkg->get_makefile_vars,
+ );
+
+Your XS module can now include 'hook_op_ppaddr.h'.
+
%prep
-%setup -q -n "B-Hooks-OP-PPAddr-%{version}"
-%__sed -i '/^auto_install/d' Makefile.PL
+%setup -q -n %{cpan_name}-%{version}
%build
-%__perl Makefile.PL PREFIX="%{_prefix}"
-%__make %{?jobs:-j%{jobs}}
+%{__perl} Makefile.PL INSTALLDIRS=vendor OPTIMIZE="%{optflags}"
+%{__make} %{?_smp_mflags}
+
+%check
+%{__make} test
%install
%perl_make_install
%perl_process_packlist
+%perl_gen_filelist
-%check
-%__make test
-
-%clean
-%{?buildroot:%__rm -rf "%{buildroot}"}
-
-%files
-%defattr(-,root,root)
-%doc Changes README
-%dir %{perl_vendorarch}/B
-%dir %{perl_vendorarch}/B/Hooks
-%dir %{perl_vendorarch}/B/Hooks/OP
-%{perl_vendorarch}/B/Hooks/OP/PPAddr.pm
-%{perl_vendorarch}/B/Hooks/OP/PPAddr
-%dir %{perl_vendorarch}/auto/B
-%dir %{perl_vendorarch}/auto/B/Hooks
-%dir %{perl_vendorarch}/auto/B/Hooks/OP
-%{perl_vendorarch}/auto/B/Hooks/OP/PPAddr
-%doc %{perl_man3dir}/B::Hooks::OP::PPAddr.%{perl_man3ext}%{ext_man}
+%files -f %{name}.files
+%defattr(-,root,root,755)
+%doc Changes CONTRIBUTING LICENCE README
%changelog
++++++ B-Hooks-OP-PPAddr-0.03.tar.gz -> B-Hooks-OP-PPAddr-0.05.tar.gz ++++++
++++ 9352 lines of diff (skipped)
++++++ cpanspec.yml ++++++
---
#description_paragraphs: 3
#description: |-
# override description from CPAN
#summary: override summary from CPAN
#no_testing: broken upstream
sources:
- perl-B-Hooks-OP-PPAddr-rpmlintrc
#patches:
# foo.patch: -p1
# bar.patch:
#preamble: |-
# BuildRequires: gcc-c++
#post_prep: |-
# hunspell=`pkg-config --libs hunspell | sed -e 's,-l,,; s, *,,g'`
# sed -i -e "s,hunspell-X,$hunspell," t/00-prereq.t Makefile.PL
#post_build: |-
# rm unused.files
#post_install: |-
# sed on %{name}.files
#license: SUSE-NonFree
#skip_noarch: 1
#custom_build: |-
#./Build build flags=%{?_smp_mflags} --myflag
#custom_test: |-
#startserver && make test
#ignore_requires: Bizarre::Module