Skip to content

Commit 3a6f8d4

Browse files
authored
Upgrade: drpm version to 0.5.2 (#10847)
1 parent 6621bff commit 3a6f8d4

4 files changed

Lines changed: 15 additions & 63 deletions

File tree

SPECS-EXTENDED/drpm/drpm-0.3.0-workaround-ppc64le-gcc.patch

Lines changed: 0 additions & 39 deletions
This file was deleted.
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
{
22
"Signatures": {
3-
"drpm-0.5.0.tar.bz2": "4ae6595273763a13ef4b66af160aa802c3afd9c792db0d7639e7fa1ed50a5aec"
3+
"drpm-0.5.2.tar.bz2": "9968707816908bbc8d9e70207a10413addca1b67225b527b04756c5767aad74e"
44
}
55
}

SPECS-EXTENDED/drpm/drpm.spec

Lines changed: 12 additions & 21 deletions
Original file line numberDiff line numberDiff line change
@@ -8,20 +8,14 @@ Distribution: Azure Linux
88
%endif
99

1010
Name: drpm
11-
Version: 0.5.0
12-
Release: 2%{?dist}
11+
Version: 0.5.2
12+
Release: 1%{?dist}
1313
Summary: A library for making, reading and applying deltarpm packages
1414
# the entire source code is LGPLv2+, except src/drpm_diff.c and src/drpm_search.c which are BSD
1515
License: LGPLv2+ and BSD
1616
URL: https://github.com/rpm-software-management/%{name}
1717
Source: %{url}/releases/download/%{version}/%{name}-%{version}.tar.bz2
1818

19-
20-
# add workaround for gcc7 on ppc64le temporary before it's fixed in gcc
21-
# https://bugzilla.redhat.com/show_bug.cgi?id=1420350
22-
Patch1: drpm-0.3.0-workaround-ppc64le-gcc.patch
23-
24-
BuildRequires: gcc-c++
2519
BuildRequires: cmake >= 2.8.5
2620
BuildRequires: gcc
2721

@@ -58,24 +52,17 @@ The drpm-devel package provides a C interface (drpm.h) for the drpm library.
5852

5953
%prep
6054
%autosetup -p1
61-
mkdir build
6255

6356
%build
64-
pushd build
65-
%cmake .. -DWITH_ZSTD:BOOL=%{?with_zstd:ON}%{!?with_zstd:OFF} -DHAVE_LZLIB_DEVEL:BOOL=%{?suse_version:ON}%{!?suse_version:OFF}
66-
%make_build
67-
make doc
68-
popd
57+
%cmake -DWITH_ZSTD:BOOL=%{?with_zstd:ON}%{!?with_zstd:OFF} -DHAVE_LZLIB_DEVEL:BOOL=%{?suse_version:ON}%{!?suse_version:OFF}
58+
%cmake_build
59+
%cmake_build --target doc
6960

7061
%install
71-
pushd build
72-
%make_install
73-
popd
62+
%cmake_install
7463

7564
%check
76-
pushd build
77-
ctest -VV
78-
popd
65+
%ctest
7966

8067
%if (0%{?rhel} && 0%{?rhel} < 8) || 0%{?suse_version}
8168
%post -p /sbin/ldconfig
@@ -88,12 +75,16 @@ popd
8875
%license COPYING LICENSE.BSD
8976

9077
%files devel
91-
%doc build/doc/html/
78+
%doc doc/html/
9279
%{_libdir}/lib%{name}.so
9380
%{_includedir}/%{name}.h
9481
%{_libdir}/pkgconfig/%{name}.pc
9582

9683
%changelog
84+
* Fri Oct 25 2024 Sumit Jena <v-sumitjena@microsoft.com> - 0.5.2-1
85+
- Update to version 0.5.2
86+
- License verified.
87+
9788
* Fri Oct 15 2021 Pawel Winogrodzki <pawelwi@microsoft.com> - 0.5.0-2
9889
- Initial CBL-Mariner import from Fedora 32 (license: MIT).
9990

cgmanifest.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3018,8 +3018,8 @@
30183018
"type": "other",
30193019
"other": {
30203020
"name": "drpm",
3021-
"version": "0.5.0",
3022-
"downloadUrl": "https://github.com/rpm-software-management/drpm/releases/download/0.5.0/drpm-0.5.0.tar.bz2"
3021+
"version": "0.5.2",
3022+
"downloadUrl": "https://github.com/rpm-software-management/drpm/releases/download/0.5.2/drpm-0.5.2.tar.bz2"
30233023
}
30243024
}
30253025
},

0 commit comments

Comments
 (0)