Update to 1.12.0
Signed-off-by: Igor Raits <ignatenkobrain@fedoraproject.org>
This commit is contained in:
parent
629b826aa4
commit
ee701e9d46
1
.gitignore
vendored
1
.gitignore
vendored
@ -1,3 +1,4 @@
|
||||
/leatherman-1.3.0.tar.gz
|
||||
/leatherman-1.6.1.tar.gz
|
||||
/leatherman-1.10.0.tar.gz
|
||||
/leatherman-1.12.0.tar.gz
|
||||
|
@ -1,12 +1,6 @@
|
||||
%if 0%{?rhel} && 0%{?rhel} <= 7
|
||||
%global boost_suffix 169
|
||||
%global cmake_suffix 3
|
||||
%global cmake %%cmake%{?cmake_suffix}
|
||||
%endif
|
||||
|
||||
Name: leatherman
|
||||
Version: 1.10.0
|
||||
Release: 2%{?dist}
|
||||
Version: 1.12.0
|
||||
Release: 1%{?dist}
|
||||
Summary: Collection of C++ and CMake utility libraries
|
||||
|
||||
# leatherman is ASL 2.0
|
||||
@ -21,11 +15,10 @@ Patch0: shared_nowide.patch
|
||||
# Add missing include for <stdexcept>, no longer indirectly included in GCC 10
|
||||
Patch1: leatherman-gcc10.patch
|
||||
|
||||
BuildRequires: cmake%{?cmake_suffix} >= 3.2.2
|
||||
BuildRequires: cmake >= 3.2.2
|
||||
BuildRequires: make
|
||||
BuildRequires: gcc-c++
|
||||
BuildRequires: boost%{?boost_suffix}-devel >= 1.54
|
||||
BuildRequires: boost-devel
|
||||
BuildRequires: boost-devel >= 1.73
|
||||
BuildRequires: libcurl-devel
|
||||
BuildRequires: gettext
|
||||
Provides: bundled(rapidjson) = 1.0.2
|
||||
@ -56,8 +49,6 @@ sed -i -e "s/\s*-Werror\s*//g" cmake/cflags.cmake
|
||||
|
||||
%build
|
||||
%cmake . -B%{_target_platform} \
|
||||
-DBOOST_INCLUDEDIR=%{_includedir}/boost%{?boost_suffix} \
|
||||
-DBOOST_LIBRARYDIR=%{_libdir}/boost%{?boost_suffix} \
|
||||
-DLEATHERMAN_SHARED=ON \
|
||||
-DLEATHERMAN_DEBUG=ON \
|
||||
%{nil}
|
||||
@ -65,10 +56,6 @@ sed -i -e "s/\s*-Werror\s*//g" cmake/cflags.cmake
|
||||
|
||||
%install
|
||||
%make_install -C %{_target_platform}
|
||||
%if %{defined cmake_suffix}
|
||||
mkdir -p %{buildroot}%{_libdir}/cmake%{cmake_suffix}
|
||||
mv %{buildroot}%{_libdir}/cmake/%{name} %{buildroot}%{_libdir}/cmake%{cmake_suffix}/
|
||||
%endif
|
||||
%find_lang %{name}_logging
|
||||
%find_lang %{name}_locale
|
||||
|
||||
@ -81,10 +68,13 @@ mv %{buildroot}%{_libdir}/cmake/%{name} %{buildroot}%{_libdir}/cmake%{cmake_suff
|
||||
%files devel
|
||||
%{_includedir}/%{name}
|
||||
%{_libdir}/%{name}*.so
|
||||
%dir %{_libdir}/cmake%{?cmake_suffix}
|
||||
%{_libdir}/cmake%{?cmake_suffix}/%{name}/
|
||||
%dir %{_libdir}/cmake
|
||||
%{_libdir}/cmake/%{name}/
|
||||
|
||||
%changelog
|
||||
* Wed Jun 03 2020 Igor Raits <ignatenkobrain@fedoraproject.org> - 1.12.0-1
|
||||
- Update to 1.12.0
|
||||
|
||||
* Tue Jun 02 2020 Jonathan Wakely <jwakely@redhat.com> - 1.10.0-2
|
||||
- Rebuilt and patched for Boost 1.73
|
||||
|
||||
|
2
sources
2
sources
@ -1 +1 @@
|
||||
SHA512 (leatherman-1.10.0.tar.gz) = 66d630980db7a8e5eb394c07d4a8221169271af1eabfceec107343b6c3afddde04c7cadd72b0d8b89327c46b7127dfdf01fa54938a3bf1b44892020a4e7ea209
|
||||
SHA512 (leatherman-1.12.0.tar.gz) = 2ceb16f94bf3d06bfe477a40e15db5a1d3d3999eaa7023245a08ab4e0054179f28308d9bf6ba73a839ca3a68130259894593fc8e77664b672ac5f3d20511a4d2
|
||||
|
Loading…
Reference in New Issue
Block a user