diff --git a/.gitignore b/.gitignore index ba3d9e1..5731dc6 100644 --- a/.gitignore +++ b/.gitignore @@ -44,3 +44,4 @@ /rpm-4.16.0.tar.bz2 /rpm-4.16.1.tar.bz2 /rpm-4.16.1.1.tar.bz2 +/rpm-4.16.1.2.tar.bz2 diff --git a/rpm.spec b/rpm.spec index 2318e68..239d36c 100644 --- a/rpm.spec +++ b/rpm.spec @@ -30,9 +30,10 @@ %define rpmhome /usr/lib/rpm -%global rpmver 4.16.1.1 +%global rpmver 4.16.1.2 #global snapver rc1 %global rel 1 +%global sover 9 %global srcver %{rpmver}%{?snapver:-%{snapver}} %global srcdir %{?snapver:testing}%{!?snapver:rpm-%(echo %{rpmver} | cut -d'.' -f1-2).x} @@ -475,8 +476,10 @@ fi %dir %{rpmhome}/fileattrs %files libs -%{_libdir}/librpmio.so.* -%{_libdir}/librpm.so.* +%{_libdir}/librpmio.so.%{sover} +%{_libdir}/librpm.so.%{sover} +%{_libdir}/librpmio.so.%{sover}.* +%{_libdir}/librpm.so.%{sover}.* %if %{with plugins} %dir %{_libdir}/rpm-plugins @@ -507,10 +510,12 @@ fi %endif %files build-libs -%{_libdir}/librpmbuild.so.* +%{_libdir}/librpmbuild.so.%{sover} +%{_libdir}/librpmbuild.so.%{sover}.* %files sign-libs -%{_libdir}/librpmsign.so.* +%{_libdir}/librpmsign.so.%{sover} +%{_libdir}/librpmsign.so.%{sover}.* %files build %{_bindir}/rpmbuild @@ -560,6 +565,10 @@ fi %doc doc/librpm/html/* %changelog +* Wed Dec 16 2020 Panu Matilainen - 4.16.1.2-1 +- Rebase to rpm 4.16.1.2 (http://rpm.org/wiki/Releases/4.16.1.2) +- Add a spec safeguard for accidental soname bumps + * Wed Dec 16 2020 Panu Matilainen - 4.16.1.1-1 - Rebase to rpm 4.16.1.1 (http://rpm.org/wiki/Releases/4.16.1.1) diff --git a/sources b/sources index c5bfb67..6ff9108 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (rpm-4.16.1.1.tar.bz2) = ea691028e65d265c777b5072127b4ef3da0ed8c99e148dc303bb79be21d61759fbcf28808e7e24ef43f75b69bffb0c0eb64faf2fcd024c9c06ffa6c7dc4d956e +SHA512 (rpm-4.16.1.2.tar.bz2) = 066b67838312f9ad076285fe8f43527aded694f5562ead4e90df48675f2e99c1f2d68693fd20b2037e2614b978ed94c417753e2dbd055a9869b45264cd932afc