- be more careful with the libperl.so compatibility symlink (#543936)
This commit is contained in:
parent
e6547d4a14
commit
748021e3d6
11
perl.spec
11
perl.spec
|
@ -7,7 +7,7 @@
|
||||||
|
|
||||||
Name: perl
|
Name: perl
|
||||||
Version: %{perl_version}
|
Version: %{perl_version}
|
||||||
Release: 100%{?dist}
|
Release: 101%{?dist}
|
||||||
Epoch: %{perl_epoch}
|
Epoch: %{perl_epoch}
|
||||||
Summary: Practical Extraction and Report Language
|
Summary: Practical Extraction and Report Language
|
||||||
Group: Development/Languages
|
Group: Development/Languages
|
||||||
|
@ -1168,8 +1168,8 @@ rm patchlevel.bak
|
||||||
popd
|
popd
|
||||||
|
|
||||||
#FIXME: temporary compatibility hack: for perl(:MODULE_COMPAT_5.10.0)
|
#FIXME: temporary compatibility hack: for perl(:MODULE_COMPAT_5.10.0)
|
||||||
mkdir -p $RPM_BUILD_ROOT%{_libdir}/perl5/5.10.0/%{perl_archname}
|
mkdir -p $RPM_BUILD_ROOT%{_libdir}/perl5/5.10.0/%{perl_archname}/CORE
|
||||||
ln -s ../../CORE $RPM_BUILD_ROOT%{_libdir}/perl5/5.10.0/%{perl_archname}/CORE
|
ln -s ../../../CORE/libperl.so $RPM_BUILD_ROOT%{_libdir}/perl5/5.10.0/%{perl_archname}/CORE/libperl.so
|
||||||
|
|
||||||
%clean
|
%clean
|
||||||
rm -rf $RPM_BUILD_ROOT
|
rm -rf $RPM_BUILD_ROOT
|
||||||
|
@ -1197,6 +1197,7 @@ TMPDIR="$PWD/tmp" make test
|
||||||
|
|
||||||
# libs
|
# libs
|
||||||
%exclude %{archlib}/CORE/libperl.so
|
%exclude %{archlib}/CORE/libperl.so
|
||||||
|
%exclude %{_libdir}/perl5/5.10.0/%{perl_archname}/CORE/libperl.so
|
||||||
|
|
||||||
# devel
|
# devel
|
||||||
%exclude %{_bindir}/enc2xs
|
%exclude %{_bindir}/enc2xs
|
||||||
|
@ -1471,6 +1472,7 @@ TMPDIR="$PWD/tmp" make test
|
||||||
%files libs
|
%files libs
|
||||||
%defattr(-,root,root)
|
%defattr(-,root,root)
|
||||||
%{archlib}/CORE/libperl.so
|
%{archlib}/CORE/libperl.so
|
||||||
|
%{_libdir}/perl5/5.10.0/%{perl_archname}/CORE/libperl.so
|
||||||
|
|
||||||
%files devel
|
%files devel
|
||||||
%defattr(-,root,root,-)
|
%defattr(-,root,root,-)
|
||||||
|
@ -1787,6 +1789,9 @@ TMPDIR="$PWD/tmp" make test
|
||||||
|
|
||||||
# Old changelog entries are preserved in CVS.
|
# Old changelog entries are preserved in CVS.
|
||||||
%changelog
|
%changelog
|
||||||
|
* Thu Dec 3 2009 Stepan Kasal <skasal@redhat.com> - 4:5.10.1-101
|
||||||
|
- be more careful with the libperl.so compatibility symlink (#543936)
|
||||||
|
|
||||||
* Wed Dec 2 2009 Stepan Kasal <skasal@redhat.com> - 4:5.10.1-100
|
* Wed Dec 2 2009 Stepan Kasal <skasal@redhat.com> - 4:5.10.1-100
|
||||||
- new upstream version
|
- new upstream version
|
||||||
- release number must be high, because of stale version numbers of some
|
- release number must be high, because of stale version numbers of some
|
||||||
|
|
Loading…
Reference in New Issue