]> git.pld-linux.org Git - packages/perl-libwww.git/commitdiff
- release 3: symlinks instead of copies
authorradek <radek@pld-linux.org>
Fri, 17 Dec 2004 12:40:53 +0000 (12:40 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
Changed files:
    perl-libwww.spec -> 1.86

perl-libwww.spec

index 28f772f108510a8e424315e212f1ba409f49651d..8b195ee54fe897b85bb9b6160dde320926650c7b 100644 (file)
@@ -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
 
This page took 0.032929 seconds and 4 git commands to generate.