fix pkgconfgpath for 64bit archs [release 2.4.2-3mamba;Sat Jan 14 2023]

This commit is contained in:
Silvan Calarco 2024-01-05 21:35:06 +01:00
parent 6e865d3cbc
commit 03a188ec32

View File

@ -7,7 +7,7 @@
Name: cups Name: cups
Version: 2.4.2 Version: 2.4.2
Release: 2mamba Release: 3mamba
Summary: Common UNIX Printing System Summary: Common UNIX Printing System
Group: System/Spooling Group: System/Spooling
Vendor: openmamba Vendor: openmamba
@ -29,10 +29,9 @@ Patch3: cups-1.7.0-statedir.patch
Patch4: cups-2.2.8-fix-balidation-rejecting-all-names.patch Patch4: cups-2.2.8-fix-balidation-rejecting-all-names.patch
License: GPL License: GPL
## AUTOBUILDREQ-BEGIN ## AUTOBUILDREQ-BEGIN
#ld-linux.so.3(GLIBC_2.4): .so link not found
#ld-linux.so.3: .so link not found
BuildRequires: glibc-devel BuildRequires: glibc-devel
BuildRequires: libacl-devel BuildRequires: libacl-devel
BuildRequires: libapparmor-devel
BuildRequires: libavahi-devel BuildRequires: libavahi-devel
BuildRequires: libdbus-devel BuildRequires: libdbus-devel
BuildRequires: libgcc BuildRequires: libgcc
@ -87,7 +86,8 @@ autoconf
--enable-static \ --enable-static \
--with-icondir=%{_datadir}/icons \ --with-icondir=%{_datadir}/icons \
--without-xinetd \ --without-xinetd \
--with-tls=gnutls --with-tls=gnutls \
--with-pkgconfpath=%{_libdir}/pkgconfig
# --with-cups-user=lpadmin \ # --with-cups-user=lpadmin \
# --with-cups-group=lpadmin # --with-cups-group=lpadmin
@ -96,7 +96,8 @@ autoconf
%install %install
[ "%{buildroot}" != / ] && rm -rf %{buildroot} [ "%{buildroot}" != / ] && rm -rf %{buildroot}
%makeinstall BUILDROOT=%{buildroot} CUPS_USER=root CUPS_GROUP=root %makeinstall BUILDROOT=%{buildroot} \
CUPS_USER=root CUPS_GROUP=root
install -D %{SOURCE1} %{buildroot}%{_sysconfdir}/pam.d/cups install -D %{SOURCE1} %{buildroot}%{_sysconfdir}/pam.d/cups
install -d %{buildroot}/var/log/cups install -d %{buildroot}/var/log/cups
@ -293,10 +294,13 @@ fi
%{_libdir}/libcups.so %{_libdir}/libcups.so
%{_libdir}/libcupsimage.a %{_libdir}/libcupsimage.a
%{_libdir}/libcupsimage.so %{_libdir}/libcupsimage.so
%{_prefix}/lib/pkgconfig/cups.pc %{_libdir}/pkgconfig/cups.pc
#%doc CHANGES.txt README.txt #%doc CHANGES.txt README.txt
%changelog %changelog
* Sat Jan 14 2023 Silvan Calarco <silvan.calarco@mambasoft.it> 2.4.2-3mamba
- fix pkgconfgpath for 64bit archs
* Wed Jun 22 2022 Silvan Calarco <silvan.calarco@mambasoft.it> 2.4.2-2mamba * Wed Jun 22 2022 Silvan Calarco <silvan.calarco@mambasoft.it> 2.4.2-2mamba
- rebuilt with --with-tls=gnutls to fix web interface - rebuilt with --with-tls=gnutls to fix web interface