update to 1.0.1

This commit is contained in:
Travis Kendrick 2017-09-22 11:52:28 -05:00
parent 0775697d70
commit 52e0947402

View File

@ -1,6 +1,6 @@
Name: brotli Name: brotli
Version: 0.6.0 Version: 1.0.1
Release: 6%{?dist} Release: 1%{?dist}
Summary: Lossless compression algorithm Summary: Lossless compression algorithm
License: MIT License: MIT
@ -61,8 +61,9 @@ This package installs the development files
# fix permissions for -debuginfo # fix permissions for -debuginfo
# rpmlint will complain if I create an extra %%files section for # rpmlint will complain if I create an extra %%files section for
# -debuginfo for this so we'll put it here instead # -debuginfo for this so we'll put it here instead
%{__chmod} 644 enc/*.[ch] %{__chmod} 644 c/enc/*.[ch]
%{__chmod} 644 include/brotli/*.h %{__chmod} 644 c/include/brotli/*.h
%{__chmod} 644 c/tools/brotli.c
%build %build
mkdir -p build mkdir -p build
@ -77,6 +78,10 @@ cd ..
%install %install
cd build cd build
%make_install %make_install
# I couldn't find the option to not build the static libraries
%__rm "%{buildroot}%{_libdir}/"*.a
cd .. cd ..
# Must do the python2 install first because the scripts in /usr/bin are # Must do the python2 install first because the scripts in /usr/bin are
# overwritten with every setup.py install, and in general we want the # overwritten with every setup.py install, and in general we want the
@ -103,7 +108,7 @@ cd ..
%{__python3} setup.py test %{__python3} setup.py test
%files %files
%{_bindir}/bro %{_bindir}/brotli
%{_libdir}/*.so.* %{_libdir}/*.so.*
%license LICENSE %license LICENSE
@ -125,6 +130,9 @@ cd ..
%changelog %changelog
* Fri Sep 22 2017 Travis Kendrick <pouar@pouar.net> - 1.0.1-1
- update to 1.0.1
* Wed Aug 02 2017 Fedora Release Engineering <releng@fedoraproject.org> - 0.6.0-6 * Wed Aug 02 2017 Fedora Release Engineering <releng@fedoraproject.org> - 0.6.0-6
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Binutils_Mass_Rebuild - Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Binutils_Mass_Rebuild