Skip to content

Commit 5ed4959

Browse files
Upgrade libplist to 2.6.0 (#10884)
1 parent 9b95278 commit 5ed4959

3 files changed

Lines changed: 22 additions & 18 deletions

File tree

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
{
22
"Signatures": {
3-
"libplist-2.1.0.tar.gz": "4b33f9af3f9208d54a3c3e1a8c149932513f451c98d1dd696fe42c06e30b7f03"
3+
"libplist-2.6.0.tar.bz2": "67be9ee3169366589c92dc7c22809b90f51911dd9de22520c39c9a64fb047c9c"
44
}
5-
}
5+
}

SPECS-EXTENDED/libplist/libplist.spec

Lines changed: 18 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -3,16 +3,17 @@ Distribution: Azure Linux
33
%{!?python3_sitearch: %global python_sitearch %(%{__python3} -c "from distutils.sysconfig import get_python_lib; print(get_python_lib(1))")}
44

55
Name: libplist
6-
Version: 2.1.0
7-
Release: 4%{?dist}
6+
Version: 2.6.0
7+
Release: 1%{?dist}
88
Summary: Library for manipulating Apple Binary and XML Property Lists
99

10-
License: LGPLv2+
10+
License: LGPLv2.1+ AND GPLv2.1
1111
URL: http://www.libimobiledevice.org/
12-
Source0: https://github.com/libimobiledevice/%{name}/archive/%{version}.tar.gz#/%{name}-%{version}.tar.gz
12+
Source0: https://github.com/libimobiledevice/libplist/releases/download/%{version}/%{name}-%{version}.tar.bz2
1313

1414
BuildRequires: chrpath
1515
BuildRequires: gcc gcc-c++
16+
BuildRequires: python3
1617
BuildRequires: python3-Cython
1718
BuildRequires: python3-devel
1819
BuildRequires: python3-setuptools
@@ -49,14 +50,12 @@ Requires: python3
4950
%prep
5051
%autosetup -p1
5152

52-
NOCONFIGURE=1 ./autogen.sh
53-
5453
%build
5554
export CC=%{__cc}
5655
export CXX=%{__cxx}
5756
export CFLAGS='%optflags -fno-strict-aliasing'
5857
export CXXFLAGS='%optflags -fno-strict-aliasing'
59-
export PYTHON='python3'
58+
export PYTHON='%{_bindir}/python3'
6059
%configure --disable-static
6160

6261
%make_build V=1
@@ -67,7 +66,7 @@ export PYTHON='python3'
6766
find $RPM_BUILD_ROOT -type f -name "*.la" -delete
6867

6968
chrpath --delete $RPM_BUILD_ROOT%{_bindir}/plistutil
70-
chrpath --delete $RPM_BUILD_ROOT%{_libdir}/libplist++.so.3*
69+
chrpath --delete $RPM_BUILD_ROOT%{_libdir}/libplist++-2.0.so.4*
7170
chrpath --delete $RPM_BUILD_ROOT%{python3_sitearch}/plist*
7271

7372
%check
@@ -78,21 +77,26 @@ make check
7877
%files
7978
%license COPYING.LESSER
8079
%doc AUTHORS README.md
80+
%doc %{_mandir}/man1/plistutil.1.gz
8181
%{_bindir}/plistutil
82-
%{_libdir}/libplist.so.3*
83-
%{_libdir}/libplist++.so.3*
82+
%{_libdir}/libplist-2.0.so.4*
83+
%{_libdir}/libplist++-2.0.so.4*
8484

8585
%files devel
86-
%{_libdir}/pkgconfig/libplist.pc
87-
%{_libdir}/pkgconfig/libplist++.pc
88-
%{_libdir}/libplist.so
89-
%{_libdir}/libplist++.so
86+
%{_libdir}/pkgconfig/libplist-2.0.pc
87+
%{_libdir}/pkgconfig/libplist++-2.0.pc
88+
%{_libdir}/libplist-2.0.so
89+
%{_libdir}/libplist++-2.0.so
9090
%{_includedir}/plist
9191

9292
%files -n python3-libplist
9393
%{python3_sitearch}/plist*
9494

9595
%changelog
96+
* Tue Oct 29 2024 Kevin Lockwood <v-klockwood@microsoft.com> - 2.6.0-1
97+
- Update to 2.6.0
98+
- License verified.
99+
96100
* Fri Oct 15 2021 Pawel Winogrodzki <pawelwi@microsoft.com> - 2.1.0-4
97101
- Initial CBL-Mariner import from Fedora 32 (license: MIT).
98102

cgmanifest.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10681,8 +10681,8 @@
1068110681
"type": "other",
1068210682
"other": {
1068310683
"name": "libplist",
10684-
"version": "2.1.0",
10685-
"downloadUrl": "https://github.com/libimobiledevice/libplist/archive/2.1.0.tar.gz"
10684+
"version": "2.6.0",
10685+
"downloadUrl": "https://github.com/libimobiledevice/libplist/releases/download/2.6.0/libplist-2.6.0.tar.bz2"
1068610686
}
1068710687
}
1068810688
},

0 commit comments

Comments
 (0)