Re: rpms/perl-LWP-UserAgent-Determined/devel perl-LWP-UserAgent-Determined.spec, 1.3, 1.4

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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

--
Fedora Extras Perl SIG
http://www.fedoraproject.org/wiki/Extras/SIGs/Perl
Fedora-perl-devel-list mailing list
Fedora-perl-devel-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/fedora-perl-devel-list

[Index of Archives]     [Fedora Announce]     [Fedora Kernel]     [Fedora Testing]     [Fedora Legacy Announce]     [Fedora PHP Devel]     [Kernel Devel]     [Fedora Legacy]     [Fedora Maintainers]     [Fedora Desktop]     [PAM]     [Red Hat Development]     [Big List of Linux Books]     [Gimp]     [Yosemite Information]
  Powered by Linux