Remove last python2 bits
This commit is contained in:
parent
1f19c72434
commit
e8c9c02dd0
12
brotli.spec
12
brotli.spec
@ -1,13 +1,13 @@
|
|||||||
Name: brotli
|
Name: brotli
|
||||||
Version: 1.0.7
|
Version: 1.0.7
|
||||||
Release: 1%{?dist}
|
Release: 2%{?dist}
|
||||||
Summary: Lossless compression algorithm
|
Summary: Lossless compression algorithm
|
||||||
|
|
||||||
License: MIT
|
License: MIT
|
||||||
URL: https://github.com/google/brotli
|
URL: https://github.com/google/brotli
|
||||||
Source0: https://github.com/google/brotli/archive/v%{version}.tar.gz
|
Source0: https://github.com/google/brotli/archive/v%{version}.tar.gz
|
||||||
|
|
||||||
BuildRequires: python2-devel python3-devel gcc-c++ gcc cmake
|
BuildRequires: python3-devel gcc-c++ gcc cmake
|
||||||
|
|
||||||
%description
|
%description
|
||||||
Brotli is a generic-purpose lossless compression algorithm that compresses
|
Brotli is a generic-purpose lossless compression algorithm that compresses
|
||||||
@ -68,11 +68,6 @@ cd build
|
|||||||
%__rm "%{buildroot}%{_libdir}/"*.a
|
%__rm "%{buildroot}%{_libdir}/"*.a
|
||||||
|
|
||||||
cd ..
|
cd ..
|
||||||
# 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
|
|
||||||
# python3 version to be the default. If, however, we're installing separate
|
|
||||||
# executables for python2 and python3, the order needs to be reversed so
|
|
||||||
# the unversioned executable is the python2 one.
|
|
||||||
%py3_install
|
%py3_install
|
||||||
%{__install} -dm755 "%{buildroot}%{_mandir}/man3"
|
%{__install} -dm755 "%{buildroot}%{_mandir}/man3"
|
||||||
cd docs
|
cd docs
|
||||||
@ -107,6 +102,9 @@ cd ..
|
|||||||
|
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Sun Dec 09 2018 Miro Hrončok <mhroncok@redhat.com> - 1.0.7-2
|
||||||
|
- Remove last python2 bits
|
||||||
|
|
||||||
* Wed Nov 28 2018 Travis Kendrick pouar@pouar.net> - 1.0.7-1
|
* Wed Nov 28 2018 Travis Kendrick pouar@pouar.net> - 1.0.7-1
|
||||||
- Update to 1.0.7
|
- Update to 1.0.7
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user