Signed-off-by: Stefan Schantl <stefan.schantl@ipfire.org>
name = cups
version = 2.3.6
-release = 2
+release = 3
groups = Applications/Printing
url = https://cups.org/software.php
--enable-webif \
--with-xinetd=no
- install
- make install BUILDROOT=%{BUILDROOT}
+ make_install_targets += \
+ BUILDROOT=%{BUILDROOT}
+ install_cmds
# Install default config file.
mkdir -pv %{BUILDROOT}/etc/cups
cp -vf %{DIR_APP}/conf/cupsd.conf %{BUILDROOT}/etc/cups/
+
+ # Fix file permissions in /usr/include
+ find %{BUILDROOT}%{includedir} -type f -iname "*.h" \
+ -exec chmod 644 {} \;
+
+ # Drop /var/run
+ rm -rvf %{BUILDROOT}%{localstatedir}/run
end
end