rpms/perl-Alien-wxWidgets/devel perl-Alien-wxWidgets-SONAME.patch, NONE, 1.1 .cvsignore, 1.13, 1.14 perl-Alien-wxWidgets.spec, 1.21, 1.22 sources, 1.13, 1.14
Štěpán Kasal
kasal at fedoraproject.org
Thu Aug 20 15:19:20 UTC 2009
Author: kasal
Update of /cvs/extras/rpms/perl-Alien-wxWidgets/devel
In directory cvs1.fedora.phx.redhat.com:/tmp/cvs-serv5698
Modified Files:
.cvsignore perl-Alien-wxWidgets.spec sources
Added Files:
perl-Alien-wxWidgets-SONAME.patch
Log Message:
- new upstream version
- add patch to remember the canonical sonames of libraries, so that
perl-Wx runs without wxGTK-devel
perl-Alien-wxWidgets-SONAME.patch:
Any_wx_config_Bakefile.pm | 11 +++++++++++
1 file changed, 11 insertions(+)
--- NEW FILE perl-Alien-wxWidgets-SONAME.patch ---
2009-08-20 Stepan Kasal <skasal at redhat.com>
* inc/My/Build/Any_wx_config_Bakefile.pm: convert the lib*.so
file name to the canonical name (soname); the *.so symlink
usually belongs to package *-devel and may not be available at
runtime.
--- Alien-wxWidgets-0.42/inc/My/Build/Any_wx_config_Bakefile.pm.orig 2008-11-08 00:52:22.000000000 +0100
+++ Alien-wxWidgets-0.42/inc/My/Build/Any_wx_config_Bakefile.pm 2009-08-20 15:51:52.000000000 +0200
@@ -32,6 +32,17 @@
&& $lib =~ m/(?:gtk2?|mac)[ud]{0,2}-/;
my $dll = "lib${name}." . $self->awx_dlext;
+ open PIPE1, "ldconfig -p |";
+ while (<PIPE1>) {
+ if (s/^\s+${dll}\s(.*\s)?=>\s+//) {
+ for (`objdump -p $_`) {
+ if (s/^\s+SONAME\s+//) { chomp; $dll = $_; }
+ }
+ last;
+ }
+ }
+ close PIPE1;
+
$data{dlls}{$key} = { dll => $dll,
link => $lib };
}
Index: .cvsignore
===================================================================
RCS file: /cvs/extras/rpms/perl-Alien-wxWidgets/devel/.cvsignore,v
retrieving revision 1.13
retrieving revision 1.14
diff -u -p -r1.13 -r1.14
--- .cvsignore 8 Dec 2008 21:18:58 -0000 1.13
+++ .cvsignore 20 Aug 2009 15:19:20 -0000 1.14
@@ -1 +1 @@
-Alien-wxWidgets-0.42.tar.gz
+Alien-wxWidgets-0.44.tar.gz
Index: perl-Alien-wxWidgets.spec
===================================================================
RCS file: /cvs/extras/rpms/perl-Alien-wxWidgets/devel/perl-Alien-wxWidgets.spec,v
retrieving revision 1.21
retrieving revision 1.22
diff -u -p -r1.21 -r1.22
--- perl-Alien-wxWidgets.spec 26 Jul 2009 01:35:58 -0000 1.21
+++ perl-Alien-wxWidgets.spec 20 Aug 2009 15:19:20 -0000 1.22
@@ -1,14 +1,17 @@
Name: perl-Alien-wxWidgets
-Version: 0.42
-Release: 3%{?dist}
+Version: 0.44
+Release: 1%{?dist}
Summary: Building, finding and using wxWidgets binaries
Group: Development/Libraries
License: GPL+ or Artistic
URL: http://search.cpan.org/dist/Alien-wxWidgets/
-Source0: http://www.cpan.org/authors/id/M/MB/MBARBON/Alien-wxWidgets-%{version}.tar.gz
+#Source0: http://www.cpan.org/authors/id/M/MB/MBARBON/Alien-wxWidgets-%{version}.tar.gz
+Source0: http://search.cpan.org/CPAN/authors/id/M/MB/MBARBON/Alien-wxWidgets-%{version}.tar.gz
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
+Patch0: perl-Alien-wxWidgets-SONAME.patch
+
BuildRequires: wxGTK-devel
BuildRequires: perl(Module::Build)
BuildRequires: perl(Module::Pluggable)
@@ -26,6 +29,7 @@ settings from an installed wxWidgets.
%prep
%setup -q -n Alien-wxWidgets-%{version}
+%patch0 -p1
%build
@@ -55,6 +59,11 @@ rm -rf $RPM_BUILD_ROOT
%changelog
+* Thu Aug 20 2009 Stepan Kasal <skasal at redhat.com> - 0.44-1
+- new upstream version
+- add patch to remember the canonical sonames of libraries, so that
+ perl-Wx runs without wxGTK-devel
+
* Sat Jul 25 2009 Fedora Release Engineering <rel-eng at lists.fedoraproject.org> - 0.42-3
- Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild
Index: sources
===================================================================
RCS file: /cvs/extras/rpms/perl-Alien-wxWidgets/devel/sources,v
retrieving revision 1.13
retrieving revision 1.14
diff -u -p -r1.13 -r1.14
--- sources 8 Dec 2008 21:18:58 -0000 1.13
+++ sources 20 Aug 2009 15:19:20 -0000 1.14
@@ -1 +1 @@
-f96c09d393bc8b4cbd7ff8e412183032 Alien-wxWidgets-0.42.tar.gz
+eccb39521c346aa64348f1eff08be5e0 Alien-wxWidgets-0.44.tar.gz
More information about the Fedora-perl-devel-list
mailing list