SHA256
1
0
forked from pool/perl
Go to file
Dominique Leuenberger f098891a5f Accepting request 352540 from devel:languages:perl
- fix perl_gen_filelist macro to not fail on foo.1 man page

e.g. https://build.opensuse.org/package/show/devel:languages:perl/perl-Pod-Parser failed builds from this and is tested to be fixed (forwarded request 352472 from bmwiedemann)

OBS-URL: https://build.opensuse.org/request/show/352540
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/perl?expand=0&rev=98
2016-01-12 15:10:44 +00:00
.gitattributes OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/perl?expand=0&rev=1 2006-12-18 23:17:26 +00:00
.gitignore OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/perl?expand=0&rev=1 2006-12-18 23:17:26 +00:00
baselibs.conf Accepting request 313011 from home:hsk17:branches:devel:languages:perl 2015-06-23 19:23:16 +00:00
macros.perl Accepting request 352472 from home:bmwiedemann:branches:devel:languages:perl 2016-01-08 09:08:20 +00:00
perl-5.18.2-overflow.diff Accepting request 313011 from home:hsk17:branches:devel:languages:perl 2015-06-23 19:23:16 +00:00
perl-5.22.0_wrong_rpm_provides.diff Accepting request 347821 from home:dstoecker:branches:devel:languages:perl 2015-12-09 11:12:36 +00:00
perl-5.22.0.dif Accepting request 313011 from home:hsk17:branches:devel:languages:perl 2015-06-23 19:23:16 +00:00
perl-5.22.0.tar.bz2 Accepting request 313011 from home:hsk17:branches:devel:languages:perl 2015-06-23 19:23:16 +00:00
perl-HiRes.t-timeout.diff - update to perl-5.20.0 2014-06-02 15:21:22 +00:00
perl-incfix.diff - update to perl-5.18.1 2013-09-03 16:08:31 +00:00
perl-netcmdutf8.diff Accepting request 313011 from home:hsk17:branches:devel:languages:perl 2015-06-23 19:23:16 +00:00
perl-nroff.diff - update to perl-5.20.0 2014-06-02 15:21:22 +00:00
perl-regexp-refoverflow.diff Accepting request 313011 from home:hsk17:branches:devel:languages:perl 2015-06-23 19:23:16 +00:00
perl-rpmlintrc OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/perl?expand=0&rev=8 2007-10-31 20:54:06 +00:00
perl-saverecontext.diff Accepting request 313011 from home:hsk17:branches:devel:languages:perl 2015-06-23 19:23:16 +00:00
perl.changes Accepting request 352472 from home:bmwiedemann:branches:devel:languages:perl 2016-01-08 09:08:20 +00:00
perl.spec Accepting request 352472 from home:bmwiedemann:branches:devel:languages:perl 2016-01-08 09:08:20 +00:00
README.macros OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/perl?expand=0&rev=28 2009-07-03 14:07:28 +00:00
skip_time_hires.patch Accepting request 186417 from home:k0da:ppc 2013-08-08 15:39:00 +00:00

README for perl-macros

Author: Christian Wittmer <chris@computersalat.de>


%perl_gen_filelist generates an rpmlint happy filelist of your installed files

In most cases you only need to check the %doc part
sometimes there is a "Changes" or "ChangeLog",....

Requirements for %perl_gen_filelist
You have to define following parts inside your spec file

Example:

BuildRequires:  perl-macros

%install
%perl_make_install
%perl_process_packlist
%perl_gen_filelist

%files -f %{name}.files
%defattr(-,root,root)
%doc Changes README


And here an Example of the generated filelist:

%dir /usr/lib/perl5/vendor_perl/5.8.8/Algorithm
/usr/lib/perl5/vendor_perl/5.8.8/Algorithm/DiffOld.pm
/usr/lib/perl5/vendor_perl/5.8.8/Algorithm/diff.pl
/usr/lib/perl5/vendor_perl/5.8.8/Algorithm/Diff.pm
/usr/lib/perl5/vendor_perl/5.8.8/Algorithm/diffnew.pl
/usr/lib/perl5/vendor_perl/5.8.8/Algorithm/cdiff.pl
/usr/lib/perl5/vendor_perl/5.8.8/Algorithm/htmldiff.pl
%dir /usr/lib/perl5/vendor_perl/5.8.8/x86_64-linux-thread-multi/auto/Algorithm
%dir /usr/lib/perl5/vendor_perl/5.8.8/x86_64-linux-thread-multi/auto/Algorithm/Diff
/usr/lib/perl5/vendor_perl/5.8.8/x86_64-linux-thread-multi/auto/Algorithm/Diff/.packlist
/usr/share/man/man?/*
/var/adm/perl-modules/perl-Algorithm-Diff