Use lib64 for riscv64
Signed-off-by: David Abdurachmanov <david.abdurachmanov@gmail.com>
This commit is contained in:
parent
ea73624106
commit
b122a23b98
13
Text-BibTeX-0.85-lib64-riscv64.patch
Normal file
13
Text-BibTeX-0.85-lib64-riscv64.patch
Normal file
@ -0,0 +1,13 @@
|
|||||||
|
diff --git a/Build.PL b/Build.PL
|
||||||
|
index ab9ddba..75ac683 100644
|
||||||
|
--- a/Build.PL
|
||||||
|
+++ b/Build.PL
|
||||||
|
@@ -86,7 +86,7 @@ if ( $^O =~ /mswin32/i ) {
|
||||||
|
}
|
||||||
|
}
|
||||||
|
else {
|
||||||
|
- if ( $Config{archname} =~ /^x86_64|^ppc64|^s390x|^aarch64/ ) {
|
||||||
|
+ if ( $Config{archname} =~ /^x86_64|^ppc64|^s390x|^aarch64|^riscv64/ ) {
|
||||||
|
$libdir =~ s/\bbin\b/lib64/;
|
||||||
|
if ( !-d $libdir ) {
|
||||||
|
my $test = $libdir;
|
@ -1,11 +1,12 @@
|
|||||||
Name: perl-Text-BibTeX
|
Name: perl-Text-BibTeX
|
||||||
Version: 0.85
|
Version: 0.85
|
||||||
Release: 2%{?dist}
|
Release: 2.0.riscv64%{?dist}
|
||||||
Summary: Interface to read and parse BibTeX files
|
Summary: Interface to read and parse BibTeX files
|
||||||
License: GPL+ or Artistic
|
License: GPL+ or Artistic
|
||||||
Group: Development/Libraries
|
Group: Development/Libraries
|
||||||
URL: https://metacpan.org/release/Text-BibTeX
|
URL: https://metacpan.org/release/Text-BibTeX
|
||||||
Source0: https://cpan.metacpan.org/authors/id/A/AM/AMBS/Text-BibTeX-%{version}.tar.gz
|
Source0: https://cpan.metacpan.org/authors/id/A/AM/AMBS/Text-BibTeX-%{version}.tar.gz
|
||||||
|
Patch0: Text-BibTeX-0.85-lib64-riscv64.patch
|
||||||
BuildRequires: chrpath
|
BuildRequires: chrpath
|
||||||
BuildRequires: coreutils
|
BuildRequires: coreutils
|
||||||
BuildRequires: findutils
|
BuildRequires: findutils
|
||||||
@ -53,6 +54,7 @@ entries, as well as other miscellaneous functions.
|
|||||||
|
|
||||||
%prep
|
%prep
|
||||||
%setup -q -n Text-BibTeX-%{version}
|
%setup -q -n Text-BibTeX-%{version}
|
||||||
|
%patch0 -p1 -b .lib64_riscv64~
|
||||||
chmod a-x scripts/* examples/*
|
chmod a-x scripts/* examples/*
|
||||||
|
|
||||||
%build
|
%build
|
||||||
@ -78,6 +80,9 @@ chrpath -d $RPM_BUILD_ROOT%{_bindir}/*
|
|||||||
%{_libdir}/*.so
|
%{_libdir}/*.so
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Fri Jun 22 2018 David Abdurachmanov <david.abdurachmanov@gmail.com> - 0.85-2.0.riscv64
|
||||||
|
- Use lib64 for riscv64
|
||||||
|
|
||||||
* Fri Feb 09 2018 Fedora Release Engineering <releng@fedoraproject.org> - 0.85-2
|
* Fri Feb 09 2018 Fedora Release Engineering <releng@fedoraproject.org> - 0.85-2
|
||||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user