public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
* [rpms/lis] rawhide: spec cleanup and modernization
@ 2026-06-09  3:08 Filipe Rosset
  0 siblings, 0 replies; only message in thread
From: Filipe Rosset @ 2026-06-09  3:08 UTC (permalink / raw)
  To: git-commits

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

^ permalink raw reply related	[flat|nested] only message in thread

only message in thread, other threads:[~2026-06-09  3:08 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-06-09  3:08 [rpms/lis] rawhide: spec cleanup and modernization Filipe Rosset

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox