From be802d463817fcfb21c543c6a11ef106095a5a90 Mon Sep 17 00:00:00 2001 From: Ivana Varekova Date: Fri, 5 Mar 2010 12:05:36 +0000 Subject: [PATCH] - remove rpath fix the license tag remove autoreconf and %{optflags} setting --- pilot-link.spec | 26 +++++++++++++++++--------- 1 file changed, 17 insertions(+), 9 deletions(-) diff --git a/pilot-link.spec b/pilot-link.spec index a05def5..74d1ba2 100644 --- a/pilot-link.spec +++ b/pilot-link.spec @@ -2,10 +2,13 @@ Name: pilot-link Version: 0.12.4 -Release: 7%{?dist} +Release: 8%{?dist} Epoch: 2 -# libpisock/md5.c, include/pi-md5, .. have Public Domain license -License: GPLv2 and GPLv2+ and LGPLv2+ and TCL and Public Domain +# libpisock/md5.c Public Domain +# libpisock/blob.c LGPLv2+ +# libpisock/contact.c GPLv2 +# kittykiller.c GPLv2+ +License: GPLv2 and GPLv2+ and LGPLv2+ and Public Domain Group: Applications/Communications Summary: File transfer utilities between Linux and PalmPilots URL: http://www.pilot-link.org/ @@ -17,9 +20,6 @@ Source5: 60-pilot.perms Source6: 69-pilot-link.rules ExcludeArch: s390 s390x -#Patch1: pilot-link-0.11.0-perlmd5.patch # May be still applied -#Patch2: pilot-link-0.11.0-perlpollute.patch # May be still applied -#Patch3: pilot-link-0.11.2-malsync.patch # May be still applied Patch4: pilot-link-0.12.1-var.patch Patch6: pilot-link-0.12.2-open.patch Patch10: pilot-link-0.12.3-clio.patch @@ -85,8 +85,7 @@ iconv -f windows-1252 -t UTF8 NEWS > NEWS.aux mv NEWS.aux NEWS %build -autoreconf -isf -CFLAGS="%{optflags}" %configure \ +%configure \ --with-python=no \ --with-itcl=no \ --with-tk=no \ @@ -96,6 +95,9 @@ CFLAGS="%{optflags}" %configure \ --with-perl=yes \ --enable-conduits \ --enable-libusb +sed -i 's|^hardcode_libdir_flag_spec=.*|hardcode_libdir_flag_spec=""|g' libtool +sed -i 's|^runpath_var=LD_RUN_PATH|runpath_var=DIE_RPATH_DIE|g' libtool + make @@ -121,6 +123,7 @@ cd ../.. find %{buildroot}%{_libdir}/perl5/ -type f -name '.packlist' -exec rm -f {} \; find %{buildroot}%{_libdir}/perl5/ -type f -name '*.bs' -size 0 -exec rm -f {} \; find %{buildroot}%{_libdir}/perl5/ -type f -name '*.so' -exec chmod 0755 {} \; +find %{buildroot}%{_libdir}/perl5/ -type f -name '*.pod' -exec rm -f {} \; rm -f %{buildroot}%{_libdir}/perl5/perllocal.pod rm -f %{buildroot}%{_libdir}/perl5/*/*/*/PDA/dump.pl @@ -186,7 +189,12 @@ rm -rf %{buildroot} %changelog -* Tue Jan 5 2010 Jan Gorig 2:0.12.4-7 +* Fri Mar 5 2010 Ivana Hutarova Varekova 2:0.12.4-8 +- remove rpath + fix the license tag + remove autoreconf and optflags setting + +* Tue Jan 5 2010 Jan Gorig 2:0.12.4-7 - fix build (#551970) * Fri Dec 18 2009 Ivana Hutarova Varekova 2:0.12.4-6