Update to 8.12.7, fix cmake build
This commit is contained in:
parent
9ca1096f85
commit
5f25fc4af7
|
@ -1,2 +1,3 @@
|
|||
/libphonenumber-8.12.1.tar.gz
|
||||
/libphonenumber-8.12.3.tar.gz
|
||||
/libphonenumber-8.12.7.tar.gz
|
||||
|
|
|
@ -1,11 +1,10 @@
|
|||
Summary: Library to handle international phone numbers
|
||||
Name: libphonenumber
|
||||
Version: 8.12.3
|
||||
Release: 5%{?dist}
|
||||
Version: 8.12.7
|
||||
Release: 1%{?dist}
|
||||
Summary: Library to handle international phone numbers
|
||||
# The project itself is ASL 2.0 but contains files from Chromium which are BSD and MIT.
|
||||
License: ASL 2.0 and BSD and MIT
|
||||
URL: https://github.com/google/libphonenumber/
|
||||
|
||||
Source0: https://github.com/google/%{name}/archive/v%{version}/%{name}-%{version}.tar.gz
|
||||
|
||||
BuildRequires: boost-devel
|
||||
|
@ -32,19 +31,16 @@ developing applications that use %{name}.
|
|||
|
||||
|
||||
%prep
|
||||
%autosetup -n %{name}-%{version} -p1
|
||||
%autosetup -p1
|
||||
|
||||
|
||||
%build
|
||||
mkdir -p cpp/build
|
||||
cd cpp/build
|
||||
%cmake ..
|
||||
cd ../../
|
||||
%make_build -C cpp/build phonenumber phonenumber-shared
|
||||
%cmake cpp
|
||||
%cmake_build
|
||||
|
||||
|
||||
%install
|
||||
%make_install -C cpp/build
|
||||
%cmake_install
|
||||
find %{buildroot} -name '*.a' -delete
|
||||
find %{buildroot} -name '*.la' -delete
|
||||
|
||||
|
@ -63,6 +59,9 @@ find %{buildroot} -name '*.la' -delete
|
|||
|
||||
|
||||
%changelog
|
||||
* Wed Aug 05 2020 Peter Robinson <pbrobinson@fedoraproject.org> - 8.12.7-1
|
||||
- Update to 8.12.7
|
||||
|
||||
* Sat Aug 01 2020 Fedora Release Engineering <releng@fedoraproject.org> - 8.12.3-5
|
||||
- Second attempt - Rebuilt for
|
||||
https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
|
||||
|
|
2
sources
2
sources
|
@ -1 +1 @@
|
|||
SHA512 (libphonenumber-8.12.3.tar.gz) = f117debb3d7a7f177b5a276e1cac90ba128df8e64953bfe3a568f659171fa1dac68c2565d70c986595097bc813896b1e91e4fccdd1de4aae3c897d3351a460bf
|
||||
SHA512 (libphonenumber-8.12.7.tar.gz) = 2d07b5df01389e380307846931da14c969c6c406fcca178843dae96d2bf47c3a0c2d1e8432deb5790c2386bbf7d32e2b197cfc83d70603142bcf1e77b686bd8c
|
||||
|
|
Loading…
Reference in New Issue