Compare commits

...

3 Commits

Author SHA1 Message Date
David Abdurachmanov b535f964d9
Fix %changelog entry
Signed-off-by: David Abdurachmanov <david.abdurachmanov@gmail.com>
2018-07-15 19:21:45 +02:00
David Abdurachmanov 3819e57486
Merge commit '372f31aa1538e04aa93c17d1c9cf14d7a4995229' into master-riscv64
Signed-off-by: David Abdurachmanov <david.abdurachmanov@gmail.com>
2018-07-15 19:20:27 +02:00
David Abdurachmanov b122a23b98
Use lib64 for riscv64
Signed-off-by: David Abdurachmanov <david.abdurachmanov@gmail.com>
2018-06-22 22:31:36 +02:00
2 changed files with 19 additions and 1 deletions

View 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;

View File

@ -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