pidgin: 827ffb8e: Update RPM spec file to cope with change...

nosnilmot at pidgin.im nosnilmot at pidgin.im
Sat Jul 11 11:45:36 EDT 2009


-----------------------------------------------------------------
Revision: 827ffb8e2fd1c5b11f8d00383298716548d06872
Ancestor: ac0b789b612cd2f7a67f5e6dd91686095852ef4a
Author: nosnilmot at pidgin.im
Date: 2009-07-11T15:42:28
Branch: im.pidgin.pidgin
URL: http://d.pidgin.im/viewmtn/revision/info/827ffb8e2fd1c5b11f8d00383298716548d06872

Modified files:
        pidgin.spec.in

ChangeLog: 

Update RPM spec file to cope with changes to where perl bits are installed

-------------- next part --------------
============================================================
--- pidgin.spec.in	4c2539a58dcb4e97043e4da1ff84e16ddf3bc11a
+++ pidgin.spec.in	169e9147c9b1a1b9d49a7d2109ed60cbd8dceb61
@@ -234,8 +234,6 @@ CFLAGS="$RPM_OPT_FLAGS" ./configure --pr
                                     %{?_without_nm:--disable-nm} \
                                     %{!?_without_gevolution:--enable-gevolution} \
                                     %{?_with_mono:--enable-mono} \
-                                    %{?_with_perlmakehack:--with-perl-lib=%{buildroot}%{_prefix}} \
-                                    %{!?_with_perlmakehack:--with-perl-lib=%{_prefix}} \
                                     %{?_with_sasl:--enable-cyrus-sasl} \
                                     %{?_without_tcl:--disable-tcl} \
                                     %{?_without_text:--disable-consoleui}
@@ -244,15 +242,7 @@ rm -rf %{buildroot}
 
 %install
 rm -rf %{buildroot}
-%if 0%{?_with_perlmakehack:1}
-make prefix=%{buildroot}%{_prefix} bindir=%{buildroot}%{_bindir} \
-     datadir=%{buildroot}%{_datadir} includedir=%{buildroot}%{_includedir} \
-     libdir=%{buildroot}%{_libdir} mandir=%{buildroot}%{_mandir} \
-     sysconfdir=%{buildroot}%{_sysconfdir} \
-     install
-%else
 make DESTDIR=$RPM_BUILD_ROOT LIBTOOL=/usr/bin/libtool install
-%endif
 
 # Delete files that we don't want to put in any of the RPMs
 rm -f $RPM_BUILD_ROOT%{_libdir}/finch/*.la
@@ -374,9 +364,9 @@ fi
 %doc %{_mandir}/man3*/*
 
 %dir %{_libdir}/pidgin
-%attr(755, root, root) %{perl_vendorarch}/Pidgin.pm
-%attr(755, root, root) %{perl_vendorarch}/auto/Pidgin
-
+%dir %{_libdir}/pidgin/perl
+%dir %{_libdir}/pidgin/perl/auto
+%dir %{_libdir}/pidgin/perl/auto/Pidgin
 %{_bindir}/pidgin
 %{_datadir}/pixmaps/pidgin
 %{_datadir}/icons/hicolor/*/apps/pidgin.*
@@ -389,10 +379,11 @@ fi
 
 %{_libdir}/libpurple.so.*
 %dir %{_libdir}/purple-2
+%dir %{_libdir}/purple-2/perl
+%dir %{_libdir}/purple-2/perl/auto
+%dir %{_libdir}/purple-2/perl/auto/Purple
 %{_datadir}/purple
 %{_datadir}/sounds/purple
-%attr(755, root, root) %{perl_vendorarch}/Purple.pm
-%attr(755, root, root) %{perl_vendorarch}/auto/Purple
 
 %if 0%{?_with_dbus:1}
 %{_bindir}/purple-client-example
@@ -473,6 +464,9 @@ fi
 %endif
 
 %changelog
+* Sat Jul 11 2009 Stu Tomlinson <stu at nosnilmot.com>
+- Update to reflect changes in perl module installation directories
+
 * Mon May 19 2008 Stu Tomlinson <stu at nosnilmot.com>
 - Fix building without meanwhile support
 


More information about the Commits mailing list