From 26585e78feef81d2ec01afb4d855cfbbfced791243582556068ec2476e7a29dd Mon Sep 17 00:00:00 2001 From: Stephan Kulow Date: Sun, 25 Jun 2017 08:39:52 +0000 Subject: [PATCH] OBS-URL: https://build.opensuse.org/package/show/devel:languages:perl/perl-local-lib?expand=0&rev=40 --- perl-local-lib.spec | 34 ++++++++++++++++++++++++++++++++-- 1 file changed, 32 insertions(+), 2 deletions(-) diff --git a/perl-local-lib.spec b/perl-local-lib.spec index 2ed62eb..80b38db 100644 --- a/perl-local-lib.spec +++ b/perl-local-lib.spec @@ -87,9 +87,39 @@ These values are then available for reference by any code after import. %perl_process_packlist %perl_gen_filelist -%files -f %{name}.files -%defattr(-,root,root,755) +%__install -d "%{buildroot}%{_sysconfdir}/profile.d" +%__install -m0644 "%{SOURCE1}" "%{SOURCE2}" "%{buildroot}%{_sysconfdir}/profile.d/" + +%check +unset PERL_MM_OPT +%__make test + +%files +%defattr(-,root,root) %doc Changes README %license LICENSE +%dir %{perl_vendorlib}/lib +%dir %{perl_vendorlib}/lib/core +%{perl_vendorlib}/lib/core/only.pm +%dir %{perl_vendorlib}/local/ +%{perl_vendorlib}/local/lib.pm +%dir %{perl_vendorarch}/auto/local +%{perl_vendorarch}/auto/local/lib +%doc %{perl_man3dir}/lib::core::only.%{perl_man3ext}%{ext_man} +%doc %{perl_man3dir}/local::lib.%{perl_man3ext}%{ext_man} + +%dir %{perl_vendorlib}/POD2 +%lang(de) %dir %{perl_vendorlib}/POD2/DE +%lang(de) %dir %{perl_vendorlib}/POD2/DE/local +%lang(de) %{perl_vendorlib}/POD2/DE/local/lib.pod +%lang(de) %doc %{perl_man3dir}/POD2::DE::local::lib.%{perl_man3ext}%{ext_man} +%lang(pt_BR) %dir %{perl_vendorlib}/POD2/PT_BR +%lang(pt_BR) %dir %{perl_vendorlib}/POD2/PT_BR/local +%lang(pt_BR) %{perl_vendorlib}/POD2/PT_BR/local/lib.pod +%lang(pt_BR) %doc %{perl_man3dir}/POD2::PT_BR::local::lib.%{perl_man3ext}%{ext_man} + +%files -n perl-homedir +%defattr(-,root,root) +%config(noreplace) %{_sysconfdir}/profile.d/* %changelog