rpms/perl-LWP-UserAgent-Determined/devel perl-LWP-UserAgent-Determined.spec, 1.3, 1.4
Robert Rati
rrati at redhat.com
Tue Mar 11 14:44:57 UTC 2008
Tom "spot" Callaway wrote:
> On Tue, 2008-03-11 at 14:12 +0000, Robert H. Rati wrote:
>
>> @@ -47,13 +47,20 @@
>> %files
>> %defattr(-,root,root,-)
>> %doc ChangeLog README
>> +%dir %{perl_vendorlib}/LWP
>> +%dir %{perl_vendorlib}/LWP/UserAgent
>> %{perl_vendorlib}/LWP/UserAgent/Determined.pm
>> %{_mandir}/man3/LWP::UserAgent::Determined.3pm.gz
>
> Robert, you can just do:
>
> %files
> %defattr(-,root,root,-)
> %doc ChangeLog README
> %{perl_vendorlib}/LWP/
> %{_mandir}/man3/LWP::UserAgent::Determined.3pm.gz
>
> It will accomplish the same thing with fewer lines. :)
>
> ~spot
True, but I wanted to spell out all the files so that if a new version
of the package adds a file then it would be caught by rpm during the
build process. I know most packages use the wildcards, and I may end up
switching to that in the future, but I'd prefer to make sure I know what
is going into the package. :)
Rob
More information about the perl-devel
mailing list