From 97b4de0d4accfc7ccda561da9856db5f0f560b6b Mon Sep 17 00:00:00 2001 From: Andrei Belov Date: Fri, 26 Mar 2021 18:29:26 +0300 Subject: Packages: corrected permissions for /var/log/unit in rpm. Found by rpmlint. --- pkg/rpm/unit.spec.in | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'pkg/rpm/unit.spec.in') diff --git a/pkg/rpm/unit.spec.in b/pkg/rpm/unit.spec.in index 3a148b9d..9d16265d 100644 --- a/pkg/rpm/unit.spec.in +++ b/pkg/rpm/unit.spec.in @@ -203,7 +203,7 @@ BANNER %dir %{_libdir}/unit/modules %dir %{_libdir}/unit/debug-modules %dir %{_sharedstatedir}/unit -%dir %attr(0700,root,root) %{_localstatedir}/log/unit +%dir %attr(0755,root,root) %{_localstatedir}/log/unit %config(noreplace) %{_sysconfdir}/logrotate.d/%{name} %{_mandir}/man8/unitd.8* -- cgit From 30922c5741af0c712f465d0e98b71f8848c0db91 Mon Sep 17 00:00:00 2001 From: Konstantin Pavlov Date: Thu, 8 Apr 2021 10:55:30 +0300 Subject: Packages: moved Amazon Linux 2 packages to use openssl 1.1 --- pkg/rpm/unit.spec.in | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'pkg/rpm/unit.spec.in') diff --git a/pkg/rpm/unit.spec.in b/pkg/rpm/unit.spec.in index 9d16265d..07ca9e6f 100644 --- a/pkg/rpm/unit.spec.in +++ b/pkg/rpm/unit.spec.in @@ -4,8 +4,12 @@ %if 0%{?rhel}%{?fedora} BuildRequires: gcc +%if 0%{?amzn2} +BuildRequires: openssl11-devel +%else BuildRequires: openssl-devel %endif +%endif %if 0%{?rhel} %if 0%{?amzn} == 0 -- cgit From f90754f84a375d5183ed6883862d19dfd417225a Mon Sep 17 00:00:00 2001 From: Andrei Belov Date: Wed, 21 Apr 2021 16:07:26 +0300 Subject: Packages: switched to common address for package maintainers. --- pkg/rpm/unit.spec.in | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'pkg/rpm/unit.spec.in') diff --git a/pkg/rpm/unit.spec.in b/pkg/rpm/unit.spec.in index 07ca9e6f..b35b8998 100644 --- a/pkg/rpm/unit.spec.in +++ b/pkg/rpm/unit.spec.in @@ -33,9 +33,8 @@ Summary: NGINX Unit Version: %%VERSION%% Release: %%RELEASE%%%{?dist}.ngx License: ASL 2.0 -Vendor: Nginx Software, Inc. +Vendor: %%PACKAGE_VENDOR%% URL: https://unit.nginx.org/ -Packager: Nginx Software, Inc. Group: System Environment/Daemons Source0: unit-%{version}.tar.gz -- cgit