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
This commit is contained in:
Pedro Monreal Gonzalez 2021-08-25 10:23:28 +00:00 committed by Git OBS Bridge
parent 79021b7a01
commit 5e64e88ac3
2 changed files with 10 additions and 6 deletions

View File

@ -1,3 +1,8 @@
-------------------------------------------------------------------
Fri Jun 18 14:28:47 UTC 2021 - Jan Engelhardt <jengelh@inai.de>
- Drop --with-pic (no effect with --disable-static).
-------------------------------------------------------------------
Fri Mar 26 14:32:20 UTC 2021 - Andreas Stieger <andreas.stieger@gmx.de>

View File

@ -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