Script 'mail_helper' called by obssrc Hello community, here is the log from the commit of package perl-local-lib for openSUSE:Factory checked in at 2021-09-17 23:25:47 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/perl-local-lib (Old) and /work/SRC/openSUSE:Factory/.perl-local-lib.new.1899 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "perl-local-lib" Fri Sep 17 23:25:47 2021 rev:17 rq:919588 version:2.000024 Changes: -------- --- /work/SRC/openSUSE:Factory/perl-local-lib/perl-local-lib.changes 2020-10-26 16:19:22.511082892 +0100 +++ /work/SRC/openSUSE:Factory/.perl-local-lib.new.1899/perl-local-lib.changes 2021-09-17 23:26:03.477241873 +0200 @@ -1,0 +2,5 @@ +Tue Sep 14 20:03:17 UTC 2021 - Dirk Stoecker <opens...@dstoecker.de> + +- refresh spec file, use cpanspec compatible build + +------------------------------------------------------------------- ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ perl-local-lib.spec ++++++ --- /var/tmp/diff_new_pack.DbA7WP/_old 2021-09-17 23:26:03.945242290 +0200 +++ /var/tmp/diff_new_pack.DbA7WP/_new 2021-09-17 23:26:03.945242290 +0200 @@ -1,7 +1,7 @@ # # spec file for package perl-local-lib # -# Copyright (c) 2020 SUSE LLC +# Copyright (c) 2021 SUSE LLC # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -16,20 +16,18 @@ # +%define cpan_name local-lib Name: perl-local-lib Version: 2.000024 Release: 0 -%define cpan_name local-lib -Summary: Create and use a local lib/ for perl modules with PERL5LIB License: Artistic-1.0 OR GPL-1.0-or-later -Group: Development/Libraries/Perl +Summary: Create and use a local lib/ for perl modules with PERL5LIB URL: https://metacpan.org/release/%{cpan_name} Source0: https://cpan.metacpan.org/authors/id/H/HA/HAARG/%{cpan_name}-%{version}.tar.gz Source1: perl-homedir.sh Source2: perl-homedir.csh Source3: cpanspec.yml BuildArch: noarch -BuildRoot: %{_tmppath}/%{name}-%{version}-build BuildRequires: perl BuildRequires: perl-macros BuildRequires: perl(CPAN) >= 1.82 @@ -74,27 +72,12 @@ These values are then available for reference by any code after import. -%package -n perl-homedir -Summary: Per-user Perl local::lib setup -Group: Development/Libraries/Perl -Requires: %{name} = %{version}-%{release} -Requires: /usr/bin/cpan - -%description -n perl-homedir -perl-homedir configures the system to automatically create a ~/perl5 -directory in each user's $HOME on user login. This allows each user to -install and CPAN packages via the CPAN to their $HOME, with no additional -configuration or privliges, and without installing them system-wide. - -If you want your users to be able to install and use their own Perl modules, -install this package. - %prep -%setup -q -n %{cpan_name}-%{version} +%autosetup -n %{cpan_name}-%{version} %build perl Makefile.PL INSTALLDIRS=vendor -make %{?_smp_mflags} +%make_build %check make test @@ -103,16 +86,30 @@ %perl_make_install %perl_process_packlist # MANUAL BEGIN -%__install -d "%{buildroot}%{_sysconfdir}/profile.d" -%__install -m0644 "%{SOURCE1}" "%{SOURCE2}" "%{buildroot}%{_sysconfdir}/profile.d/" +install -d "%{buildroot}%{_sysconfdir}/profile.d" +install -m0644 "%{SOURCE1}" "%{SOURCE2}" "%{buildroot}%{_sysconfdir}/profile.d/" # MANUAL END %perl_gen_filelist %files -f %{name}.files -%defattr(-,root,root,755) %doc Changes README %license LICENSE +%package -n perl-homedir +Summary: Per-user Perl local::lib setup +Group: Development/Libraries/Perl +Requires: %{name} = %{version}-%{release} +Requires: /usr/bin/cpan + +%description -n perl-homedir +perl-homedir configures the system to automatically create a ~/perl5 +directory in each user's $HOME on user login. This allows each user to +install and CPAN packages via the CPAN to their $HOME, with no additional +configuration or privliges, and without installing them system-wide. + +If you want your users to be able to install and use their own Perl modules, +install this package. + %files -n perl-homedir %defattr(-,root,root) %config(noreplace) %{_sysconfdir}/profile.d/* ++++++ cpanspec.yml ++++++ --- /var/tmp/diff_new_pack.DbA7WP/_old 2021-09-17 23:26:03.973242316 +0200 +++ /var/tmp/diff_new_pack.DbA7WP/_new 2021-09-17 23:26:03.977242319 +0200 @@ -18,8 +18,8 @@ #post_build: |- # rm unused.files post_install: |- - %__install -d "%{buildroot}%{_sysconfdir}/profile.d" - %__install -m0644 "%{SOURCE1}" "%{SOURCE2}" "%{buildroot}%{_sysconfdir}/profile.d/" + install -d "%{buildroot}%{_sysconfdir}/profile.d" + install -m0644 "%{SOURCE1}" "%{SOURCE2}" "%{buildroot}%{_sysconfdir}/profile.d/" #license: SUSE-NonFree #skip_noarch: 1 #custom_build: |- @@ -27,3 +27,24 @@ #custom_test: |- #startserver && make test #ignore_requires: Bizarre::Module +#skip_doc: regexp_to_skip_for_doc.* +#add_doc: files to add to docs +misc: |- + %package -n perl-homedir + Summary: Per-user Perl local::lib setup + Group: Development/Libraries/Perl + Requires: %{name} = %{version}-%{release} + Requires: /usr/bin/cpan + + %description -n perl-homedir + perl-homedir configures the system to automatically create a ~/perl5 + directory in each user's $HOME on user login. This allows each user to + install and CPAN packages via the CPAN to their $HOME, with no additional + configuration or privliges, and without installing them system-wide. + + If you want your users to be able to install and use their own Perl modules, + install this package. + + %files -n perl-homedir + %defattr(-,root,root) + %config(noreplace) %{_sysconfdir}/profile.d/*