diff --git a/distros/redhat/zoneminder.spec b/distros/redhat/zoneminder.spec index 0784f0ca8..293f84b22 100644 --- a/distros/redhat/zoneminder.spec +++ b/distros/redhat/zoneminder.spec @@ -223,6 +223,8 @@ desktop-file-install \ # Remove unwanted files and folders find %{buildroot} \( -name .htaccess -or -name .editorconfig -or -name .packlist -or -name .git -or -name .gitignore -or -name .gitattributes -or -name .travis.yml \) -type f -delete > /dev/null 2>&1 || : +rm -rf %{buildroot}/usr/include +rm -rf %{buildroot}/usr/cmake # Recursively change shebang in all relevant scripts and set execute permission find %{buildroot}%{_datadir}/zoneminder/www/api \( -name cake -or -name cake.php \) -type f -exec sed -i 's\^#!/usr/bin/env bash$\#!%{_buildshell}\' {} \; -exec %{__chmod} 755 {} \; @@ -415,6 +417,9 @@ ln -sf %{_sysconfdir}/zm/www/zoneminder.nginx.conf %{_sysconfdir}/zm/www/zonemin %dir %attr(755,nginx,nginx) %{_localstatedir}/log/zoneminder %changelog +* Sunday Nov 12 2023 Jonathan Bennett - 1.37.47 +- Specify folders to remove before packaging + * Thu Sep 28 2023 Andrew Bauer - 1.37.45-2 - buildrequire mariadb-connector-c-devel - conditionals around gsoap and php-json packages no longer needed