!10 [sync] PR-6: Modify lib64 to $(basename %{_libdir})
From: @openeuler-sync-bot Reviewed-by: @wk333 Signed-off-by: @wk333
This commit is contained in:
commit
709a014166
@ -1,17 +1,13 @@
|
||||
Name: perl-Mail-Sender
|
||||
Version: 0.903
|
||||
Epoch: 1
|
||||
Release: 9
|
||||
Release: 10
|
||||
Summary: Module for sending mails with attachments through an SMTP server
|
||||
License: GPL+ or Artistic
|
||||
URL: https://metacpan.org/release/Mail-Sender
|
||||
Source0: https://cpan.metacpan.org/authors/id/C/CA/CAPOEIRAB/Mail-Sender-%{version}.tar.gz
|
||||
|
||||
%ifarch sw_64
|
||||
BuildArch: sw_64
|
||||
%else
|
||||
BuildArch: noarch
|
||||
%endif
|
||||
BuildRequires: coreutils findutils make perl-interpreter perl-generators perl(base) perl(Carp)
|
||||
BuildRequires: perl(CPAN::Meta) >= 2.120900 perl(Encode) perl(Exporter) perl(ExtUtils::MakeMaker)
|
||||
BuildRequires: perl(File::Basename) perl(File::Spec) perl(IO::Handle) perl(IO::Socket::INET)
|
||||
@ -38,11 +34,7 @@ This package contains some man help files for perl-Mail-Sender.
|
||||
|
||||
%install
|
||||
make pure_install DESTDIR=$RPM_BUILD_ROOT
|
||||
%ifarch sw_64
|
||||
find $RPM_BUILD_ROOT -type d -name lib | xargs rm -r
|
||||
%else
|
||||
find $RPM_BUILD_ROOT -type d -name lib64 | xargs rm -r
|
||||
%endif
|
||||
find $RPM_BUILD_ROOT -type d -name %{_lib} | xargs rm -r
|
||||
find $RPM_BUILD_ROOT -type f -name Win32.pm | xargs rm
|
||||
chmod -R u+w $RPM_BUILD_ROOT/*
|
||||
|
||||
@ -57,6 +49,9 @@ make test
|
||||
%{_mandir}/man3/*.3pm*
|
||||
|
||||
%changelog
|
||||
* Wed Jul 17 2024 yangchenguang <yangchenguang@kylinsec.com.cn> - 1:0.903-10
|
||||
- Modify lib64 to $(basename %{_libdir})
|
||||
|
||||
* Thu Nov 3 2022 wuzx<wuzx1226@qq.com> - 1:0.903-9
|
||||
- Add sw64 architecture
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user