Compare commits
3 Commits
master
...
master-ris
Author | SHA1 | Date |
---|---|---|
David Abdurachmanov | b535f964d9 | |
David Abdurachmanov | 3819e57486 | |
David Abdurachmanov | b122a23b98 |
|
@ -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
|
||||
Version: 0.85
|
||||
Release: 3%{?dist}
|
||||
Release: 3.0.riscv64%{?dist}
|
||||
Summary: Interface to read and parse BibTeX files
|
||||
License: GPL+ or Artistic
|
||||
Group: Development/Libraries
|
||||
URL: https://metacpan.org/release/Text-BibTeX
|
||||
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: coreutils
|
||||
BuildRequires: findutils
|
||||
|
@ -53,6 +54,7 @@ entries, as well as other miscellaneous functions.
|
|||
|
||||
%prep
|
||||
%setup -q -n Text-BibTeX-%{version}
|
||||
%patch0 -p1 -b .lib64_riscv64~
|
||||
chmod a-x scripts/* examples/*
|
||||
|
||||
%build
|
||||
|
@ -78,6 +80,9 @@ chrpath -d $RPM_BUILD_ROOT%{_bindir}/*
|
|||
%{_libdir}/*.so
|
||||
|
||||
%changelog
|
||||
* Sun Jul 15 2018 David Abdurachmanov <david.abdurachmanov@gmail.com> - 0.85-3.0.riscv64
|
||||
- Use lib64 for riscv64
|
||||
|
||||
* Thu Jun 28 2018 Jitka Plesnikova <jplesnik@redhat.com> - 0.85-3
|
||||
- Perl 5.28 rebuild
|
||||
|
||||
|
|
Loading…
Reference in New Issue