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

This commit is contained in:
桐小哥 2020-09-02 18:01:24 +08:00 committed by sxt1001
parent 48284a4d4d
commit 5fdd03b30d

View File

@ -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 <shixuantong@huawei.com> - 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 <shixuantong@huawei.com> - 2.1.49-2
- Type:bugfix
- ID:NA