Browse Source

readline-8.2.1-2

Tomohiro "Tomo-p" KATO 1 year ago
parent
commit
4b84633cba
1 changed files with 10 additions and 1 deletions
  1. 10 1
      r/readline/readline-vl.spec

+ 10 - 1
r/readline/readline-vl.spec

@@ -4,7 +4,7 @@ Name: readline
 Version: 8.2.1
 %global shortver %(echo %{version} | cut -d . -f 1-2)
 %global shortver_nodots %(echo %{shortver} | tr -d ".")
-Release: 1%{?_dist_release}
+Release: 2%{?_dist_release}
 Group: system
 Vendor: Project Vine
 Distribution: Vine Linux
@@ -27,6 +27,9 @@ Requires(post): /sbin/install-info
 Requires(preun): /sbin/install-info
 
 %define build_compat32 %{?_with_compat32:1}%{!?_with_compat32:0}
+%if %{build_compat32}
+%global __provides_exclude_from ^%{_libdir}/pkgconfig/.*$
+%endif
 
 %description
 The Readline library provides a set of functions that allow users to
@@ -48,6 +51,9 @@ Summary(ja): Readline ライブラリを使うプログラムための開発用
 Group: programming
 Requires: readline = %{version}
 Requires: ncurses-devel
+%if %{build_compat32}
+Provides: pkgconfig(readline) = %{version}-%{release}
+%endif
 
 %description devel
 The Readline library provides a set of functions that allow users to
@@ -161,6 +167,9 @@ rm -f $RPM_BUILD_ROOT%{_infodir}/dir
 
 
 %changelog
+* Fri Nov 18 2022 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 8.2.1-2
+- droped "Provides:pkgconfig(readline)" from compat32.
+
 * Sun Nov 06 2022 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 8.2.1-1
 - new upstream release.
 - updated to patchlevel 001.