diff --git a/.gitignore b/.gitignore index 83f6934..c27cbf8 100644 --- a/.gitignore +++ b/.gitignore @@ -1 +1 @@ -/mime-types-data-3.2016.0521.gem +/mime-types-data-*.gem diff --git a/rubygem-mime-types-data.spec b/rubygem-mime-types-data.spec index d997b8e..522745f 100644 --- a/rubygem-mime-types-data.spec +++ b/rubygem-mime-types-data.spec @@ -2,15 +2,15 @@ %global gem_name mime-types-data Name: rubygem-%{gem_name} -Version: 3.2016.0521 -Release: 6%{?dist} +Version: 3.2019.0331 +Release: 1%{?dist} Summary: A registry for information about MIME media type definitions License: MIT URL: https://github.com/mime-types/mime-types-data/ Source0: https://rubygems.org/gems/%{gem_name}-%{version}.gem BuildRequires: ruby(release) BuildRequires: rubygems-devel -BuildRequires: ruby >= 2.0 +BuildRequires: ruby BuildArch: noarch %description @@ -29,18 +29,10 @@ BuildArch: noarch Documentation for %{name}. %prep -gem unpack %{SOURCE0} - -%setup -q -D -T -n %{gem_name}-%{version} - -gem spec %{SOURCE0} -l --ruby > %{gem_name}.gemspec +%setup -q -n %{gem_name}-%{version} %build -# Create the gem as gem install only works on a gem file -gem build %{gem_name}.gemspec - -# %%gem_install compiles any C extensions and installs the gem into ./%%gem_dir -# by default, so that we can move it into the buildroot in %%install +gem build ../%{gem_name}-%{version}.gemspec %gem_install %install @@ -49,9 +41,6 @@ cp -a .%{gem_dir}/* \ %{buildroot}%{gem_dir}/ - - -# Run the test suite %check pushd .%{gem_instdir} # There is nothing to test, since this is just the data package. @@ -61,6 +50,7 @@ popd %dir %{gem_instdir} %license %{gem_instdir}/Licence.md %{gem_instdir}/data +%{gem_instdir}/types %{gem_libdir} %exclude %{gem_cache} %{gem_spec} @@ -75,6 +65,9 @@ popd %{gem_instdir}/Rakefile %changelog +* Tue Jul 23 2019 Pavel Valena - 3.2019.0331-1 +- Update to mime-types-data 3.2019.0331. + * Sat Feb 02 2019 Fedora Release Engineering - 3.2016.0521-6 - Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild diff --git a/sources b/sources index d473a5c..be8ae9d 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -09fa6e5e6f366a01e5622b52a34701d8 mime-types-data-3.2016.0521.gem +SHA512 (mime-types-data-3.2019.0331.gem) = e5b158a90ce78eba2e0f328bda98d3622d8114ab61bb9636069b5e89a507d39e4c41de7f6ab48a4f49e4b5976cad645928c5d1bcc79f09654dde87e5babeba03