mirror of
https://github.com/ekaaty/ca-certificates-brazil.git
synced 2025-12-06 01:22:38 -03:00
Fix RPM changelog
This commit is contained in:
@@ -61,6 +61,14 @@ configure_file(
|
||||
)
|
||||
|
||||
if(BUILD_RPMS)
|
||||
execute_process(
|
||||
COMMAND bash -c
|
||||
"LANG=C DATE=$(date +'%a %b %d %Y'); \
|
||||
echo \"* $DATE %{packager} - ${PROJECT_VERSION}-1%{?dist}\"; \
|
||||
echo \"- This is an automatically built package (See our Git URL for more info).\"; \
|
||||
"
|
||||
OUTPUT_VARIABLE CPACK_RPM_CHANGELOG
|
||||
)
|
||||
CONFIGURE_FILE("${CMAKE_CURRENT_SOURCE_DIR}/packaging/pkg.spec.in"
|
||||
"${CMAKE_CURRENT_BINARY_DIR}/${PROJECT_NAME}.spec"
|
||||
@ONLY
|
||||
|
||||
@@ -1,5 +1,6 @@
|
||||
%global debug_package %{nil}
|
||||
%global source_date_epoch_from_changelog 0
|
||||
%global packager Christian Tosta <7252968+christiantosta@users.noreply.github.com>
|
||||
|
||||
%define __openssl %{_bindir}/openssl
|
||||
|
||||
@@ -55,4 +56,4 @@ chain, supervise and audit the processes.
|
||||
%postun -p %{_bindir}/update-ca-trust
|
||||
|
||||
%changelog
|
||||
%autochangelog
|
||||
@CPACK_RPM_CHANGELOG@
|
||||
|
||||
Reference in New Issue
Block a user