X-Git-Url: https://git.pld-linux.org/?a=blobdiff_plain;ds=sidebyside;f=perl-libwww.spec;h=8b195ee54fe897b85bb9b6160dde320926650c7b;hb=328e8fcd40bd79ee406aefd690af3993e4dad2a0;hp=28f772f108510a8e424315e212f1ba409f49651d;hpb=667f460da0bb597b3d39c1aa0a1b88c4d9cd4852;p=packages%2Fperl-libwww.git diff --git a/perl-libwww.spec b/perl-libwww.spec index 28f772f..8b195ee 100644 --- a/perl-libwww.spec +++ b/perl-libwww.spec @@ -9,7 +9,7 @@ Summary: libwww-perl - a simple and consistent API to the World-Wide Web Summary(pl): libwww-perl - prosty i logiczny API do WWW Name: perl-libwww Version: 5.802 -Release: 2 +Release: 3 # same as perl License: GPL v1+ or Artistic Group: Development/Languages/Perl @@ -64,6 +64,12 @@ rm -rf $RPM_BUILD_ROOT %{__make} install \ DESTDIR=$RPM_BUILD_ROOT +for file in GET HEAD POST; do + ln -sf lwp-request $RPM_BUILD_ROOT%{_bindir}/$file + rm -f $RPM_BUILD_ROOT%{_mandir}/man1/$file.1p + echo '.so lwp-request.1p' > $RPM_BUILD_ROOT%{_mandir}/man1/$file.1p +done + %clean rm -rf $RPM_BUILD_ROOT