From d765034309f3cb56249301c341d703217fef512f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ville=20Skytt=C3=A4?= Date: Fri, 25 Sep 2015 09:43:32 +0300 Subject: [PATCH] Update to 2.1.45, output nginx-mimetypes subpackage, spec cleanups --- mailcap.spec | 31 ++++++++++++++++++++----------- 1 file changed, 20 insertions(+), 11 deletions(-) diff --git a/mailcap.spec b/mailcap.spec index 7967c3e..7f42d80 100644 --- a/mailcap.spec +++ b/mailcap.spec @@ -1,13 +1,11 @@ Name: mailcap -Version: 2.1.44 -Release: 2%{?dist} +Version: 2.1.45 +Release: 1%{?dist} Summary: Helper application and MIME type associations for file types -Group: System Environment/Base License: Public Domain and MIT URL: http://git.fedorahosted.org/git/mailcap.git Source0: https://fedorahosted.org/released/mailcap/%{name}-%{version}.tar.xz -BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) BuildArch: noarch %description @@ -22,6 +20,14 @@ Also included in this package is the mime.types file which contains a list of MIME types and their filename "extension" associations, used by several applications e.g. to determine MIME types for filenames. +%package -n nginx-mimetypes +Summary: MIME type mappings for nginx +License: Public Domain +Requires: nginx-filesystem + +%description -n nginx-mimetypes +MIME type mappings for nginx. + %prep %setup -q @@ -32,28 +38,31 @@ by several applications e.g. to determine MIME types for filenames. %install rm -rf $RPM_BUILD_ROOT -make install DESTDIR=$RPM_BUILD_ROOT sysconfdir=%{_sysconfdir} mandir=%{_mandir} +%make_install sysconfdir=%{_sysconfdir} mandir=%{_mandir} %check make check -%clean -rm -rf $RPM_BUILD_ROOT - - %files -%defattr(-,root,root) -%{!?_licensedir:%global license %%doc} %license COPYING %doc NEWS %config(noreplace) %{_sysconfdir}/mailcap %config(noreplace) %{_sysconfdir}/mime.types %{_mandir}/man4/mailcap.* +%files -n nginx-mimetypes +%license COPYING +%doc NEWS +%config(noreplace) %{_sysconfdir}/nginx/mime.types + %changelog +* Fri Sep 25 2015 Ville Skyttä - 2.1.45-1 +- Update to 2.1.45 +- Output nginx-mimetypes subpackage + * Wed Jun 17 2015 Fedora Release Engineering - 2.1.44-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild