update to 3.2 (#1956027)

This commit is contained in:
Dominik 'Rathann' Mierzejewski 2021-05-04 13:27:06 +02:00
commit ce4f7fdccc
4 changed files with 14 additions and 39 deletions

View file

@ -1,20 +1,21 @@
%undefine __cmake_in_source_build
# This package only contains header files.
%global debug_package %{nil}
%global ftest_commit 9c7e60cc1b7c76f59e2ffbbc3dad15bafc5cdac5
%global ftest_shortcommit %(c=%{ftest_commit}; echo ${c:0:7})
Name: utf8cpp
Version: 3.1.2
Release: 2%{?dist}
Version: 3.2
Release: 1%{?dist}
Summary: A simple, portable and lightweight library for handling UTF-8 encoded strings
License: Boost
URL: https://github.com/nemtrif/utfcpp
Source0: https://github.com/nemtrif/utfcpp/archive/v%{version}/utfcpp-%{version}.tar.gz
Patch0: %{name}-use-system-gtest.patch
Source1: https://github.com/nemtrif/ftest/archive/%{ftest_commit}/ftest-%{ftest_shortcommit}.tar.gz
# put cmake import file in arch-agnostic directory
Patch1: %{name}-noarch.patch
BuildRequires: cmake3
BuildRequires: gcc-c++
BuildRequires: gtest-devel
%description
%{summary}.
@ -45,8 +46,8 @@ This project currently only contains header files, which can be found in the
%{name}-devel package.
%prep
%setup -q -n utfcpp-%{version}
%patch0 -p1 -b .gtest
%setup -q -n utfcpp-%{version} -a1
rmdir extern/ftest && mv ftest-%{ftest_commit} extern/ftest
%patch1 -p1 -b .noarch
#%%patch10 -p1
@ -82,6 +83,9 @@ popd
%{_datadir}/cmake/utf8cpp
%changelog
* Tue May 04 2021 Dominik 'Rathann' Mierzejewski <rpm@greysector.net> - 3.2-1
- update to 3.2 (#1956027)
* Wed Jan 27 2021 Fedora Release Engineering <releng@fedoraproject.org> - 3.1.2-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild