diff --git a/miniz.spec b/miniz.spec index 44ad53b..2cef50f 100644 --- a/miniz.spec +++ b/miniz.spec @@ -17,6 +17,7 @@ BuildRequires: coreutils # diffutils for cmp BuildRequires: diffutils BuildRequires: gcc +BuildRequires: sed BuildRequires: unzip %description @@ -42,6 +43,10 @@ Header files for developing applications that use the %{name} library. %setup -c -T -n %{name}-%{version} unzip -e '%{SOURCE0}' %patch0 -p1 +# Normalize end-of-lines +sed -e 's/\r$//' ChangeLog.md > ChangeLog.md.new +touch -r ChangeLog.md ChangeLog.md.new +mv ChangeLog.md.new ChangeLog.md %global soname lib%{name}.so.0.2 @@ -114,6 +119,7 @@ install -m 0644 %{name}.h '%{buildroot}/%{_includedir}' %changelog * Thu May 23 2019 Petr Pisar - 2.1.0-2 - Remove a dependency on gcc from miniz-devel +- Normalize end-of-lines in a change log * Wed May 22 2019 Petr Pisar - 2.1.0-1 - 2.1.0 bump