From 5fdd03b30d3e4103297fe4b182e4172ef54ce041 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E6=A1=90=E5=B0=8F=E5=93=A5?= Date: Wed, 2 Sep 2020 18:01:24 +0800 Subject: [PATCH] move mime.types to mailcap rpm and change mime.types to mime_mailcap.types --- mailcap.spec | 12 ++++++++++-- 1 file changed, 10 insertions(+), 2 deletions(-) diff --git a/mailcap.spec b/mailcap.spec index 23292e7..cf15057 100644 --- a/mailcap.spec +++ b/mailcap.spec @@ -1,6 +1,6 @@ Name: mailcap Version: 2.1.49 -Release: 2 +Release: 3 Summary: Configuration tool for MIME-aware applications License: Public Domain and MIT URL: https://pagure.io/mailcap @@ -32,6 +32,8 @@ the xmpeg program can be automatically started to view the file. %install %make_install +mv %{buildroot}/etc/nginx/mime.types %{buildroot}/etc/nginx/mime_mailcap.types + %check make check @@ -49,12 +51,18 @@ make check %license COPYING %config(noreplace) %{_sysconfdir}/mailcap %config(noreplace) %{_sysconfdir}/mime.types +%config(noreplace) %{_sysconfdir}/nginx/mime_mailcap.types %files help %{_mandir}/man5/mailcap.* -%config(noreplace) %{_sysconfdir}/nginx/mime.types %changelog +* Wed Sep 2 2020 shixuantong - 2.1.49-3 +- Type:bugfix +- ID:NA +- SUG:NA +- DESC:move mime.types to mailcap rpm and change mime.types to mime_mailcap.types + * Fri Avg 28 2020 shixuantong - 2.1.49-2 - Type:bugfix - ID:NA -- Gitee