public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
From: Filipe Rosset <rosset.filipe@gmail.com>
To: git-commits@fedoraproject.org
Subject: [rpms/lis] rawhide: spec cleanup and modernization
Date: Tue, 09 Jun 2026 03:08:08 GMT [thread overview]
Message-ID: <178097448836.1.3200811174364791493.rpms-lis-2684a7ff1bd5@fedoraproject.org> (raw)
A new commit has been pushed.
Repo : rpms/lis
Branch : rawhide
Commit : 2684a7ff1bd53c5f48374602f11c931bb36a800c
Author : Filipe Rosset <rosset.filipe@gmail.com>
Date : 2026-06-09T00:07:56-03:00
Stats : +10/-32 in 1 file(s)
URL : https://src.fedoraproject.org/rpms/lis/c/2684a7ff1bd53c5f48374602f11c931bb36a800c?branch=rawhide
Log:
spec cleanup and modernization
---
diff --git a/lis.spec b/lis.spec
index 1fecb68..a4baee7 100644
--- a/lis.spec
+++ b/lis.spec
@@ -1,14 +1,16 @@
+%global _configure ../configure
+
Name: lis
Version: 2.1.11
Release: %autorelease
Summary: A library for solving linear equations and eigenvalue problems
-# Automatically converted from old format: BSD - review is highly recommended.
-License: LicenseRef-Callaway-BSD
+License: BSD-3-Clause
URL: http://www.ssisc.org/lis/index.en.html
Source0: http://www.ssisc.org/lis/dl/lis-%{version}.zip
BuildRequires: autoconf
BuildRequires: chrpath
+BuildRequires: gcc
BuildRequires: gcc-gfortran
BuildRequires: make
@@ -55,7 +57,6 @@ autoconf --force
mkdir -p omp
pushd omp
-%global _configure ../configure
%configure --disable-static --enable-shared \
--enable-saamg \
--enable-quad --disable-rpath
@@ -63,58 +64,35 @@ pushd omp
popd
%install
-make -C omp install DESTDIR=%{buildroot}
+%make_install -C omp
# Get rid of RPATHs
# https://fedoraproject.org/wiki/Packaging:Guidelines#Beware_of_Rpath
chrpath --delete %{buildroot}%{_bindir}/*
# Get rid of .la file
-rm %{buildroot}%{_libdir}/liblis.la
+find %{buildroot} -name "*.la" -delete
# .. and examples
rm -rf %{buildroot}%{_datadir}/examples
-%ldconfig_scriptlets
-
%files
%doc AUTHORS
-%{!?_licensedir:%global license %%doc}
%license COPYING
%{_libdir}/liblis.so.*
%files bin
-%{_bindir}/esolve
-%{_bindir}/gesolve
-%{_bindir}/esolver
-%{_bindir}/gesolver
-%{_bindir}/lsolve
-%{_bindir}/spmvtest?
-%{_bindir}/spmvtest?b
-%{_bindir}/hpcg_kernel
-%{_bindir}/hpcg_spmvtest
-%{_mandir}/man1/esolve.1.*
-%{_mandir}/man1/gesolve.1.*
-%{_mandir}/man1/esolver.1.*
-%{_mandir}/man1/gesolver.1.*
-%{_mandir}/man1/lsolve.1.*
-%{_mandir}/man1/spmvtest?.1.*
-%{_mandir}/man1/spmvtest?b.1.*
-%{_mandir}/man1/hpcg_kernel.1.*
-%{_mandir}/man1/hpcg_spmvtest.1.*
+%{_bindir}/*
+%{_mandir}/man1/*
%files devel
-%{_includedir}/lis.h
-%{_includedir}/lis_config.h
-%{_includedir}/lisf.h
+%{_includedir}/*.h
%{_libdir}/liblis.so
%files doc
%doc doc/*.pdf
-%{!?_licensedir:%global license %%doc}
%license COPYING
-%{_mandir}/man3/lis*.3.*
-%{_mandir}/man3/lis*.3f.*
+%{_mandir}/man3/lis*.3*
%changelog
%autochangelog
reply other threads:[~2026-06-09 3:08 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=178097448836.1.3200811174364791493.rpms-lis-2684a7ff1bd5@fedoraproject.org \
--to=rosset.filipe@gmail.com \
--cc=git-commits@fedoraproject.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox