From 5e64e88ac3904a2b9631bf4d352a4497b936bc8cd0fe88e73567ddd41f835a2a Mon Sep 17 00:00:00 2001 From: Pedro Monreal Gonzalez Date: Wed, 25 Aug 2021 10:23:28 +0000 Subject: [PATCH] Accepting request 913780 from home:jengelh:pic - Drop --with-pic (no effect with --disable-static). OBS-URL: https://build.opensuse.org/request/show/913780 OBS-URL: https://build.opensuse.org/package/show/Base:System/libgpg-error?expand=0&rev=93 --- libgpg-error.changes | 5 +++++ libgpg-error.spec | 11 +++++------ 2 files changed, 10 insertions(+), 6 deletions(-) diff --git a/libgpg-error.changes b/libgpg-error.changes index 84d2ed5..bab808a 100644 --- a/libgpg-error.changes +++ b/libgpg-error.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Fri Jun 18 14:28:47 UTC 2021 - Jan Engelhardt + +- Drop --with-pic (no effect with --disable-static). + ------------------------------------------------------------------- Fri Mar 26 14:32:20 UTC 2021 - Andreas Stieger diff --git a/libgpg-error.spec b/libgpg-error.spec index 0e3c4b2..4cc88b4 100644 --- a/libgpg-error.spec +++ b/libgpg-error.spec @@ -54,18 +54,16 @@ Group: Development/Libraries/C and C++ Requires: glibc-devel Requires: libgpg-error0 = %{version} Requires(post): info -Requires(preun): info +Requires(preun):info %description devel Files needed for software development using libgpg-error. %prep -%setup -q +%autosetup -p1 %build -%configure \ - --disable-static \ - --with-pic +%configure --disable-static %make_build %install @@ -80,10 +78,11 @@ rm -r %{buildroot}%{_datadir}/common-lisp %make_build check %post -n libgpg-error0 -p /sbin/ldconfig +%postun -n libgpg-error0 -p /sbin/ldconfig + %post devel %install_info --info-dir=%{_infodir} %{_infodir}/gpgrt.info.gz -%postun -n libgpg-error0 -p /sbin/ldconfig %preun devel %install_info_delete --info-dir=%{_infodir} %{_infodir}/gpgrt.info.gz