move mime.types to mailcap rpm and change mime.types to mime_mailcap.types

This commit is contained in:
桐小哥 2020-09-02 17:56:28 +08:00 committed by sxt1001
parent 7f9ed1f49a
commit 1eadc8a064

View File

@ -1,6 +1,6 @@
Name: mailcap
Version: 2.1.49
Release: 1
Release: 2
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<shixuantong@huawei.com> - 2.1.49-2
- Type:bugfix
- ID:NA
- SUG:NA
- DESC:move mime.types to mailcap rpm and change mime.types to mime_mailcap.types
* Thu Jul 28 2020 wenzhanli<wenzhanli2@huawei.com> - 2.1.49-1
- Type:bugfix
- ID:NA