Accepting request 500406 from home:pluskalm:branches:devel:libraries:c_c++
- Add gpg signature - Re-enable profiling OBS-URL: https://build.opensuse.org/request/show/500406 OBS-URL: https://build.opensuse.org/package/show/devel:libraries:c_c++/zlib?expand=0&rev=43
This commit is contained in:
parent
20b10f1999
commit
75dd41b720
7
zlib-1.2.11.tar.gz.asc
Normal file
7
zlib-1.2.11.tar.gz.asc
Normal file
@ -0,0 +1,7 @@
|
|||||||
|
-----BEGIN PGP SIGNATURE-----
|
||||||
|
Comment: GPGTools - http://gpgtools.org
|
||||||
|
|
||||||
|
iD8DBQBYe7UDeD/Njli8r7oRAgRsAJ4mHDka1VqgCYija3bLjGMyD+tohACg+y+d
|
||||||
|
JCGR0qc+wctJGy2vEg5nDqk=
|
||||||
|
=8VNa
|
||||||
|
-----END PGP SIGNATURE-----
|
@ -1,3 +1,9 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Thu Jun 1 13:34:38 UTC 2017 - mpluskal@suse.com
|
||||||
|
|
||||||
|
- Add gpg signature
|
||||||
|
- Re-enable profiling
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Wed May 10 13:43:08 UTC 2017 - mpluskal@suse.com
|
Wed May 10 13:43:08 UTC 2017 - mpluskal@suse.com
|
||||||
|
|
||||||
|
38
zlib.keyring
Normal file
38
zlib.keyring
Normal file
@ -0,0 +1,38 @@
|
|||||||
|
-----BEGIN PGP PUBLIC KEY BLOCK-----
|
||||||
|
|
||||||
|
mQGiBDuVqKgRBAD5Mcvdc41W5lpeZvYplEuyEBXwmxnUryE2KaCG1C06sGyqgiec
|
||||||
|
VPXPbgIPKOUt4veMycVoqU4U4ZNuIeCGPfUvkGKLKvy5lK3iexC1Qvat+9ek2+yX
|
||||||
|
9zFlTo9QyT4kjn+xaZQYVctL370gUNV4eoiWDdrTjIvBfQCb+bf87eHv0QCg/7xt
|
||||||
|
wnq3uMpQHX+k2LGD2QDEjUcEALalUPPX99ZDjBN75CFUt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
||||||
|
=5shY
|
||||||
|
-----END PGP PUBLIC KEY BLOCK-----
|
39
zlib.spec
39
zlib.spec
@ -1,7 +1,7 @@
|
|||||||
#
|
#
|
||||||
# spec file for package zlib
|
# spec file for package zlib
|
||||||
#
|
#
|
||||||
# Copyright (c) 2015 SUSE LINUX GmbH, Nuernberg, Germany.
|
# Copyright (c) 2017 SUSE LINUX GmbH, Nuernberg, Germany.
|
||||||
#
|
#
|
||||||
# All modifications and additions to the file contributed by third parties
|
# All modifications and additions to the file contributed by third parties
|
||||||
# remain the property of their copyright owners, unless otherwise agreed
|
# remain the property of their copyright owners, unless otherwise agreed
|
||||||
@ -16,7 +16,6 @@
|
|||||||
#
|
#
|
||||||
|
|
||||||
|
|
||||||
%bcond_with profiling
|
|
||||||
Name: zlib
|
Name: zlib
|
||||||
Version: 1.2.11
|
Version: 1.2.11
|
||||||
Release: 0
|
Release: 0
|
||||||
@ -25,9 +24,11 @@ License: Zlib
|
|||||||
Group: Development/Libraries/C and C++
|
Group: Development/Libraries/C and C++
|
||||||
Url: http://www.zlib.net/
|
Url: http://www.zlib.net/
|
||||||
Source0: http://zlib.net/zlib-%{version}.tar.gz
|
Source0: http://zlib.net/zlib-%{version}.tar.gz
|
||||||
Source1: LICENSE
|
Source1: http://zlib.net/zlib-%{version}.tar.gz.asc
|
||||||
Source2: baselibs.conf
|
Source2: %{name}.keyring
|
||||||
Source3: zlib-rpmlintrc
|
Source4: LICENSE
|
||||||
|
Source5: baselibs.conf
|
||||||
|
Source6: zlib-rpmlintrc
|
||||||
#PATCH-FIX-SUSE: fate#314093, sent upstream by IBM
|
#PATCH-FIX-SUSE: fate#314093, sent upstream by IBM
|
||||||
Patch0: zlib-1.2.11-optimized-s390.patch
|
Patch0: zlib-1.2.11-optimized-s390.patch
|
||||||
#PATCH-FIX-SUSE: compiler check of varguments passed to gzprintf
|
#PATCH-FIX-SUSE: compiler check of varguments passed to gzprintf
|
||||||
@ -36,7 +37,6 @@ BuildRequires: autoconf
|
|||||||
BuildRequires: automake
|
BuildRequires: automake
|
||||||
BuildRequires: libtool
|
BuildRequires: libtool
|
||||||
BuildRequires: pkgconfig
|
BuildRequires: pkgconfig
|
||||||
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
|
||||||
|
|
||||||
%description
|
%description
|
||||||
zlib is a general-purpose lossless data-compression library,
|
zlib is a general-purpose lossless data-compression library,
|
||||||
@ -118,7 +118,6 @@ developing applications which use minizip.
|
|||||||
|
|
||||||
%build
|
%build
|
||||||
export LDFLAGS="-Wl,-z,relro,-z,now"
|
export LDFLAGS="-Wl,-z,relro,-z,now"
|
||||||
|
|
||||||
export CFLAGS="%{optflags}"
|
export CFLAGS="%{optflags}"
|
||||||
# For sure not autotools build
|
# For sure not autotools build
|
||||||
CC="cc" ./configure \
|
CC="cc" ./configure \
|
||||||
@ -126,16 +125,13 @@ CC="cc" ./configure \
|
|||||||
--prefix=%{_prefix} \
|
--prefix=%{_prefix} \
|
||||||
--libdir=/%{_lib}
|
--libdir=/%{_lib}
|
||||||
|
|
||||||
# Marcus: breaks example64 in 32bit builds, so it's disabled by default
|
%if %{do_profiling}
|
||||||
%if %{with profiling}
|
make %{?_smp_mflags} CFLAGS="%{optflags} %{cflags_profile_generate}"
|
||||||
profiledir=$(mktemp -d)
|
make check %{?_smp_mflags}
|
||||||
trap "rm -rf $profiledir" EXIT
|
make clean
|
||||||
make CFLAGS="%{optflags} %{cflags_profile_generate}=$profiledir" %{?_smp_mflags}
|
make %{?_smp_mflags} CFLAGS="%{optflags} %{cflags_profile_feedback}"
|
||||||
time make check %{?_smp_mflags}
|
|
||||||
make %{?_smp_mflags} clean
|
|
||||||
make CFLAGS="%{optflags} %{cflags_profile_feedback}=$profiledir" %{?_smp_mflags}
|
|
||||||
%else
|
%else
|
||||||
make %{?_smp_mflags}
|
make %{?_smp_mflags}
|
||||||
%endif
|
%endif
|
||||||
|
|
||||||
# And build minizip
|
# And build minizip
|
||||||
@ -147,11 +143,11 @@ autoreconf -fvi
|
|||||||
make %{?_smp_mflags}
|
make %{?_smp_mflags}
|
||||||
|
|
||||||
%check
|
%check
|
||||||
time make check %{?_smp_mflags}
|
make check %{?_smp_mflags}
|
||||||
|
|
||||||
%install
|
%install
|
||||||
mkdir -p %{buildroot}%{_libdir}
|
mkdir -p %{buildroot}%{_libdir}
|
||||||
make DESTDIR=%{buildroot} install %{?_smp_mflags}
|
%make_install
|
||||||
# Fix shared library placement/symlinks
|
# Fix shared library placement/symlinks
|
||||||
ln -s -v /%{_lib}/$(readlink %{buildroot}/%{_lib}/libz.so) %{buildroot}%{_libdir}/libz.so
|
ln -s -v /%{_lib}/$(readlink %{buildroot}/%{_lib}/libz.so) %{buildroot}%{_libdir}/libz.so
|
||||||
rm -v %{buildroot}/%{_lib}/libz.so
|
rm -v %{buildroot}/%{_lib}/libz.so
|
||||||
@ -168,15 +164,12 @@ cp -r examples/ %{buildroot}%{_docdir}/%{name}/
|
|||||||
|
|
||||||
# Install minizip
|
# Install minizip
|
||||||
cd contrib/minizip
|
cd contrib/minizip
|
||||||
make DESTDIR=%{buildroot} install %{?_smp_mflags}
|
%make_install
|
||||||
find %{buildroot} -type f -name "*.la" -delete -print
|
find %{buildroot} -type f -name "*.la" -delete -print
|
||||||
|
|
||||||
%post -n libz1 -p /sbin/ldconfig
|
%post -n libz1 -p /sbin/ldconfig
|
||||||
|
|
||||||
%postun -n libz1 -p /sbin/ldconfig
|
%postun -n libz1 -p /sbin/ldconfig
|
||||||
|
|
||||||
%post -n libminizip1 -p /sbin/ldconfig
|
%post -n libminizip1 -p /sbin/ldconfig
|
||||||
|
|
||||||
%postun -n libminizip1 -p /sbin/ldconfig
|
%postun -n libminizip1 -p /sbin/ldconfig
|
||||||
|
|
||||||
%files -n libz1
|
%files -n libz1
|
||||||
@ -190,7 +183,7 @@ find %{buildroot} -type f -name "*.la" -delete -print
|
|||||||
%dir %{_docdir}/%{name}/
|
%dir %{_docdir}/%{name}/
|
||||||
%dir %{_docdir}/%{name}/examples
|
%dir %{_docdir}/%{name}/examples
|
||||||
%{_docdir}/%{name}/examples/*
|
%{_docdir}/%{name}/examples/*
|
||||||
%{_mandir}/man3/zlib.3.gz
|
%{_mandir}/man3/zlib.3%{ext_man}
|
||||||
%{_includedir}/zlib.h
|
%{_includedir}/zlib.h
|
||||||
%{_includedir}/zconf.h
|
%{_includedir}/zconf.h
|
||||||
%{_includedir}/zutil.h
|
%{_includedir}/zutil.h
|
||||||
|
Loading…
Reference in New Issue
Block a user