Update Dockerfile and spec file to refine build dependencies and add RPM linting

This commit is contained in:
2026-06-06 13:10:54 +02:00
parent 754715b526
commit 7173cf999f
4 changed files with 9 additions and 10 deletions
+1 -1
View File
@@ -1,4 +1,4 @@
FROM rockylinux/rockylinux:10.1.20251123-minimal AS base FROM rockylinux/rockylinux:10.1.20251123 AS base
WORKDIR /root WORKDIR /root
+2 -1
View File
@@ -25,6 +25,7 @@ RUN dnf update -y && dnf install -y \
RUN crb enable RUN crb enable
RUN dnf install -y \ RUN dnf install -y \
cfitsio-devel \
fftw-devel \ fftw-devel \
fontconfig-devel \ fontconfig-devel \
ImageMagick-devel \ ImageMagick-devel \
@@ -37,7 +38,7 @@ RUN dnf install -y \
openexr-devel \ openexr-devel \
openjpeg2-devel \ openjpeg2-devel \
openslide-devel \ openslide-devel \
poppler-devel \ poppler-glib-devel \
rpmlint \ rpmlint \
&& dnf clean all && dnf clean all
+3 -8
View File
@@ -10,11 +10,7 @@ ExclusiveArch: x86_64
Source: https://github.com/libvips/libvips/releases/download/v%{LIBVIPS_VERSION}/vips-%{LIBVIPS_VERSION}.tar.xz Source: https://github.com/libvips/libvips/releases/download/v%{LIBVIPS_VERSION}/vips-%{LIBVIPS_VERSION}.tar.xz
URL: https://www.libvips.org/ URL: https://www.libvips.org/
Requires: cairo BuildRequires: cfitsio-devel
Requires: expat
Requires: openexr
Requires: openjpeg2
BuildRequires: cmake BuildRequires: cmake
BuildRequires: expat-devel BuildRequires: expat-devel
BuildRequires: fftw-devel BuildRequires: fftw-devel
@@ -38,10 +34,9 @@ BuildRequires: ninja-build
BuildRequires: openexr-devel BuildRequires: openexr-devel
BuildRequires: openjpeg2-devel BuildRequires: openjpeg2-devel
BuildRequires: openslide-devel BuildRequires: openslide-devel
BuildRequires: poppler-devel BuildRequires: poppler-glib-devel
BuildRequires: python3-pip BuildRequires: python3-pip
%description %description
libvips is a demand-driven, horizontally threaded image processing library. libvips is a demand-driven, horizontally threaded image processing library.
Compared to similar libraries, libvips runs quickly and uses little memory. Compared to similar libraries, libvips runs quickly and uses little memory.
@@ -93,5 +88,5 @@ meson install -C build --destdir %{buildroot}
%{_libdir}/pkgconfig/* %{_libdir}/pkgconfig/*
%%changelog %%changelog
* Wed Jun 03 2026 Marko Zivanovic <marko@zivanovic.email> - 8.18.2-1 * Wed Jun 6 2026 Marko Zivanovic <marko@zivanovic.email> - 8.18.2-1
- Initial package. - Initial package.
+3
View File
@@ -19,3 +19,6 @@ create_repo:
s3_sync: s3_sync:
aws s3 sync dist s3://noisy-lab-com-rpms-crnrnya0 aws s3 sync dist s3://noisy-lab-com-rpms-crnrnya0
rpm_lint:
rpmlint dist/libvips/el10/*.rpm