Normalize indentation
rpmlint is crazy about it. Tabs expanded as 4 spaces.
This commit is contained in:
parent
a88bb2b1cb
commit
37388ac22f
57
perl.spec
57
perl.spec
@ -282,7 +282,7 @@ Requires: perl(Module::CoreList)
|
|||||||
Requires: perl(DBIx::Simple)
|
Requires: perl(DBIx::Simple)
|
||||||
Requires: perl = %{perl_epoch}:%{perl_version}-%{release}
|
Requires: perl = %{perl_epoch}:%{perl_version}-%{release}
|
||||||
Provides: perl-CPANPLUS-Dist-Build = 0.06
|
Provides: perl-CPANPLUS-Dist-Build = 0.06
|
||||||
Obsoletes: perl-CPANPLUS-Dist-Build <= 0.05
|
Obsoletes: perl-CPANPLUS-Dist-Build <= 0.05
|
||||||
BuildArch: noarch
|
BuildArch: noarch
|
||||||
|
|
||||||
%description CPANPLUS
|
%description CPANPLUS
|
||||||
@ -443,7 +443,7 @@ License: MIT
|
|||||||
# Epoch bump for clean upgrade over old standalone package
|
# Epoch bump for clean upgrade over old standalone package
|
||||||
Epoch: 1
|
Epoch: 1
|
||||||
Version: 0.21
|
Version: 0.21
|
||||||
Requires: perl = %{perl_epoch}:%{perl_version}-%{release}
|
Requires: perl = %{perl_epoch}:%{perl_version}-%{release}
|
||||||
BuildArch: noarch
|
BuildArch: noarch
|
||||||
|
|
||||||
%description Locale-Maketext-Simple
|
%description Locale-Maketext-Simple
|
||||||
@ -656,12 +656,12 @@ of YAML::Tiny.
|
|||||||
|
|
||||||
%package Pod-Escapes
|
%package Pod-Escapes
|
||||||
Summary: Perl module for resolving POD escape sequences
|
Summary: Perl module for resolving POD escape sequences
|
||||||
Group: Development/Libraries
|
Group: Development/Libraries
|
||||||
License: GPL+ or Artistic
|
License: GPL+ or Artistic
|
||||||
# Epoch bump for clean upgrade over old standalone package
|
# Epoch bump for clean upgrade over old standalone package
|
||||||
Epoch: 1
|
Epoch: 1
|
||||||
Version: 1.04
|
Version: 1.04
|
||||||
Requires: perl = %{perl_epoch}:%{perl_version}-%{release}
|
Requires: perl = %{perl_epoch}:%{perl_version}-%{release}
|
||||||
BuildArch: noarch
|
BuildArch: noarch
|
||||||
|
|
||||||
%description Pod-Escapes
|
%description Pod-Escapes
|
||||||
@ -779,7 +779,7 @@ License: GPL+ or Artistic
|
|||||||
# Epoch bump for clean upgrade over old standalone package
|
# Epoch bump for clean upgrade over old standalone package
|
||||||
Epoch: 3
|
Epoch: 3
|
||||||
Version: 0.82
|
Version: 0.82
|
||||||
Requires: perl = %{perl_epoch}:%{perl_version}-%{release}
|
Requires: perl = %{perl_epoch}:%{perl_version}-%{release}
|
||||||
BuildArch: noarch
|
BuildArch: noarch
|
||||||
|
|
||||||
%description version
|
%description version
|
||||||
@ -881,26 +881,26 @@ chmod +x %{__perl_provides}
|
|||||||
|
|
||||||
# Configure Compress::Zlib to use system zlib
|
# Configure Compress::Zlib to use system zlib
|
||||||
sed -i 's|BUILD_ZLIB = True|BUILD_ZLIB = False|
|
sed -i 's|BUILD_ZLIB = True|BUILD_ZLIB = False|
|
||||||
s|INCLUDE = ./zlib-src|INCLUDE = %{_includedir}|
|
s|INCLUDE = ./zlib-src|INCLUDE = %{_includedir}|
|
||||||
s|LIB = ./zlib-src|LIB = %{_libdir}|' \
|
s|LIB = ./zlib-src|LIB = %{_libdir}|' \
|
||||||
cpan/Compress-Raw-Zlib/config.in
|
cpan/Compress-Raw-Zlib/config.in
|
||||||
|
|
||||||
%build
|
%build
|
||||||
echo "RPM Build arch: %{_arch}"
|
echo "RPM Build arch: %{_arch}"
|
||||||
|
|
||||||
# use "lib", not %{_lib}, for privlib, sitelib, and vendorlib
|
# use "lib", not %%{_lib}, for privlib, sitelib, and vendorlib
|
||||||
# To build production version, we would need -DDEBUGGING=-g
|
# To build production version, we would need -DDEBUGGING=-g
|
||||||
|
|
||||||
# transition period:
|
# transition period:
|
||||||
%define old_sitearch %{_prefix}/local/%{_lib}/perl5/site_perl/5.10.0/%{perl_archname}
|
%define old_sitearch %{_prefix}/local/%{_lib}/perl5/site_perl/5.10.0/%{perl_archname}
|
||||||
%define old_sitelib %{_prefix}/local/lib/perl5/site_perl/5.10.0
|
%define old_sitelib %{_prefix}/local/lib/perl5/site_perl/5.10.0
|
||||||
%define old_vendorarch %{_libdir}/perl5/vendor_perl/5.10.0/%{perl_archname}
|
%define old_vendorarch %{_libdir}/perl5/vendor_perl/5.10.0/%{perl_archname}
|
||||||
# for a reason that is not clear, the version component got stripped here:
|
# for a reason that is not clear, the version component got stripped here:
|
||||||
%define old_vendorlib %{_prefix}/lib/perl5/vendor_perl
|
%define old_vendorlib %{_prefix}/lib/perl5/vendor_perl
|
||||||
# No need to add old privdir and archdir to otherlibdirs.
|
# No need to add old privdir and archdir to otherlibdirs.
|
||||||
|
|
||||||
%define privlib %{_prefix}/share/perl5
|
%define privlib %{_prefix}/share/perl5
|
||||||
%define archlib %{_libdir}/perl5
|
%define archlib %{_libdir}/perl5
|
||||||
|
|
||||||
/bin/sh Configure -des -Doptimize="$RPM_OPT_FLAGS" \
|
/bin/sh Configure -des -Doptimize="$RPM_OPT_FLAGS" \
|
||||||
-Dccdlflags="-Wl,--enable-new-dtags" \
|
-Dccdlflags="-Wl,--enable-new-dtags" \
|
||||||
@ -964,9 +964,9 @@ make install DESTDIR=$RPM_BUILD_ROOT
|
|||||||
%define build_privlib $RPM_BUILD_ROOT%{privlib}
|
%define build_privlib $RPM_BUILD_ROOT%{privlib}
|
||||||
%define build_bindir $RPM_BUILD_ROOT%{_bindir}
|
%define build_bindir $RPM_BUILD_ROOT%{_bindir}
|
||||||
%define new_perl LD_PRELOAD="%{build_archlib}/CORE/libperl.so" \\\
|
%define new_perl LD_PRELOAD="%{build_archlib}/CORE/libperl.so" \\\
|
||||||
LD_LIBRARY_PATH="%{build_archlib}/CORE" \\\
|
LD_LIBRARY_PATH="%{build_archlib}/CORE" \\\
|
||||||
PERL5LIB="%{build_archlib}:%{build_privlib}" \\\
|
PERL5LIB="%{build_archlib}:%{build_privlib}" \\\
|
||||||
%{build_bindir}/perl
|
%{build_bindir}/perl
|
||||||
|
|
||||||
# perl doesn't create the auto subdirectory, but modules put things in it,
|
# perl doesn't create the auto subdirectory, but modules put things in it,
|
||||||
# so we need to own it.
|
# so we need to own it.
|
||||||
@ -975,9 +975,9 @@ mkdir -p -m 755 %{build_archlib}/auto
|
|||||||
install -p -m 755 utils/pl2pm %{build_bindir}/pl2pm
|
install -p -m 755 utils/pl2pm %{build_bindir}/pl2pm
|
||||||
|
|
||||||
for i in asm/termios.h syscall.h syslimits.h syslog.h \
|
for i in asm/termios.h syscall.h syslimits.h syslog.h \
|
||||||
sys/ioctl.h sys/socket.h sys/time.h wait.h
|
sys/ioctl.h sys/socket.h sys/time.h wait.h
|
||||||
do
|
do
|
||||||
%{new_perl} %{build_bindir}/h2ph -a -d %{build_archlib} $i || true
|
%{new_perl} %{build_bindir}/h2ph -a -d %{build_archlib} $i || true
|
||||||
done
|
done
|
||||||
|
|
||||||
#
|
#
|
||||||
@ -1019,18 +1019,18 @@ popd
|
|||||||
# Local patch tracking
|
# Local patch tracking
|
||||||
pushd %{build_archlib}/CORE/
|
pushd %{build_archlib}/CORE/
|
||||||
%{new_perl} -x patchlevel.h \
|
%{new_perl} -x patchlevel.h \
|
||||||
'Fedora Patch1: Removes date check, Fedora/RHEL specific' \
|
'Fedora Patch1: Removes date check, Fedora/RHEL specific' \
|
||||||
%ifnarch sparc64 \
|
%ifnarch sparc64 \
|
||||||
'Fedora Patch2: Work around annoying rpath issue' \
|
'Fedora Patch2: Work around annoying rpath issue' \
|
||||||
%endif \
|
%endif \
|
||||||
%ifarch %{multilib_64_archs} \
|
%ifarch %{multilib_64_archs} \
|
||||||
'Fedora Patch3: support for libdir64' \
|
'Fedora Patch3: support for libdir64' \
|
||||||
%endif \
|
%endif \
|
||||||
'Fedora Patch4: use libresolv instead of libbind' \
|
'Fedora Patch4: use libresolv instead of libbind' \
|
||||||
'Fedora Patch5: USE_MM_LD_RUN_PATH' \
|
'Fedora Patch5: USE_MM_LD_RUN_PATH' \
|
||||||
'Fedora Patch6: Skip hostname tests, due to builders not being network capable' \
|
'Fedora Patch6: Skip hostname tests, due to builders not being network capable' \
|
||||||
'Fedora Patch7: Dont run one io test due to random builder failures'
|
'Fedora Patch7: Dont run one io test due to random builder failures'
|
||||||
%{nil}
|
%{nil}
|
||||||
|
|
||||||
rm patchlevel.bak
|
rm patchlevel.bak
|
||||||
popd
|
popd
|
||||||
@ -1705,6 +1705,7 @@ rm -rf $RPM_BUILD_ROOT
|
|||||||
- Add "-Wl,--enable-new-dtags" to linker to allow to override perl's rpath by
|
- Add "-Wl,--enable-new-dtags" to linker to allow to override perl's rpath by
|
||||||
LD_LIBRARY_PATH used in tests. Otherwise tested perl would link to old
|
LD_LIBRARY_PATH used in tests. Otherwise tested perl would link to old
|
||||||
in-system libperl.so.
|
in-system libperl.so.
|
||||||
|
- Normalize spec file indentation
|
||||||
|
|
||||||
* Mon Jul 26 2010 Marcela Mašláňová <mmaslano@redhat.com> - 4:5.12.1-129
|
* Mon Jul 26 2010 Marcela Mašláňová <mmaslano@redhat.com> - 4:5.12.1-129
|
||||||
- 617956 move perlxs* docs files into perl-devel
|
- 617956 move perlxs* docs files into perl-devel
|
||||||
|
Loading…
Reference in New Issue
Block a user