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