Update Dockerfile and spec file to refine build dependencies and add RPM linting
This commit is contained in:
+1
-1
@@ -1,4 +1,4 @@
|
||||
FROM rockylinux/rockylinux:10.1.20251123-minimal AS base
|
||||
FROM rockylinux/rockylinux:10.1.20251123 AS base
|
||||
|
||||
WORKDIR /root
|
||||
|
||||
|
||||
+2
-1
@@ -25,6 +25,7 @@ RUN dnf update -y && dnf install -y \
|
||||
RUN crb enable
|
||||
|
||||
RUN dnf install -y \
|
||||
cfitsio-devel \
|
||||
fftw-devel \
|
||||
fontconfig-devel \
|
||||
ImageMagick-devel \
|
||||
@@ -37,7 +38,7 @@ RUN dnf install -y \
|
||||
openexr-devel \
|
||||
openjpeg2-devel \
|
||||
openslide-devel \
|
||||
poppler-devel \
|
||||
poppler-glib-devel \
|
||||
rpmlint \
|
||||
&& dnf clean all
|
||||
|
||||
|
||||
@@ -10,11 +10,7 @@ ExclusiveArch: x86_64
|
||||
Source: https://github.com/libvips/libvips/releases/download/v%{LIBVIPS_VERSION}/vips-%{LIBVIPS_VERSION}.tar.xz
|
||||
URL: https://www.libvips.org/
|
||||
|
||||
Requires: cairo
|
||||
Requires: expat
|
||||
Requires: openexr
|
||||
Requires: openjpeg2
|
||||
|
||||
BuildRequires: cfitsio-devel
|
||||
BuildRequires: cmake
|
||||
BuildRequires: expat-devel
|
||||
BuildRequires: fftw-devel
|
||||
@@ -38,10 +34,9 @@ BuildRequires: ninja-build
|
||||
BuildRequires: openexr-devel
|
||||
BuildRequires: openjpeg2-devel
|
||||
BuildRequires: openslide-devel
|
||||
BuildRequires: poppler-devel
|
||||
BuildRequires: poppler-glib-devel
|
||||
BuildRequires: python3-pip
|
||||
|
||||
|
||||
%description
|
||||
libvips is a demand-driven, horizontally threaded image processing library.
|
||||
Compared to similar libraries, libvips runs quickly and uses little memory.
|
||||
@@ -93,5 +88,5 @@ meson install -C build --destdir %{buildroot}
|
||||
%{_libdir}/pkgconfig/*
|
||||
|
||||
%%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.
|
||||
|
||||
Reference in New Issue
Block a user