Accepting request 568875 from home:jengelh:branches:graphics
- Remove %__-type macro indirections. Fix SRPM group. - Use %_smp_mflags for parallel build. - Drop pointless --with-pic (no effect since --disable-static). OBS-URL: https://build.opensuse.org/request/show/568875 OBS-URL: https://build.opensuse.org/package/show/graphics/libexif?expand=0&rev=32
This commit is contained in:
parent
2923373f20
commit
bfddd3280c
@ -1,3 +1,10 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Wed Jan 24 11:36:21 UTC 2018 - jengelh@inai.de
|
||||||
|
|
||||||
|
- Remove %__-type macro indirections. Fix SRPM group.
|
||||||
|
- Use %_smp_mflags for parallel build.
|
||||||
|
- Drop pointless --with-pic (no effect since --disable-static).
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Wed Jan 17 09:32:25 UTC 2018 - kbabioch@suse.com
|
Wed Jan 17 09:32:25 UTC 2018 - kbabioch@suse.com
|
||||||
|
|
||||||
|
18
libexif.spec
18
libexif.spec
@ -17,27 +17,26 @@
|
|||||||
|
|
||||||
|
|
||||||
Name: libexif
|
Name: libexif
|
||||||
BuildRequires: doxygen
|
Version: 0.6.21
|
||||||
BuildRequires: pkg-config
|
Release: 0
|
||||||
Url: http://libexif.sourceforge.net
|
Url: http://libexif.sourceforge.net
|
||||||
Summary: An EXIF Tag Parsing Library for Digital Cameras
|
Summary: An EXIF Tag Parsing Library for Digital Cameras
|
||||||
License: LGPL-2.1+
|
License: LGPL-2.1+
|
||||||
Group: System/Libraries
|
Group: Development/Libraries/C and C++
|
||||||
Version: 0.6.21
|
|
||||||
Release: 0
|
|
||||||
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
||||||
Source0: https://downloads.sourceforge.net/project/libexif/%{name}/%{version}/%{name}-%{version}.tar.bz2
|
Source0: https://downloads.sourceforge.net/project/libexif/%{name}/%{version}/%{name}-%{version}.tar.bz2
|
||||||
Source1: baselibs.conf
|
Source1: baselibs.conf
|
||||||
Patch0: libexif-build-date.patch
|
Patch0: libexif-build-date.patch
|
||||||
Patch1: CVE-2016-6328.patch
|
Patch1: CVE-2016-6328.patch
|
||||||
Patch2: CVE-2017-7544.patch
|
Patch2: CVE-2017-7544.patch
|
||||||
|
BuildRequires: doxygen
|
||||||
|
BuildRequires: pkg-config
|
||||||
|
|
||||||
%define pname libexif12
|
%define pname libexif12
|
||||||
|
|
||||||
%define debug_package_requires %{pname} = %{version}-%{release}
|
%define debug_package_requires %{pname} = %{version}-%{release}
|
||||||
|
|
||||||
%package -n %{pname}
|
%package -n %{pname}
|
||||||
|
|
||||||
Summary: An EXIF Tag Parsing Library for Digital Cameras
|
Summary: An EXIF Tag Parsing Library for Digital Cameras
|
||||||
Group: System/Libraries
|
Group: System/Libraries
|
||||||
Provides: libexif = %{version}
|
Provides: libexif = %{version}
|
||||||
@ -66,12 +65,13 @@ digital cameras.
|
|||||||
%patch0 -p1
|
%patch0 -p1
|
||||||
%patch1 -p1
|
%patch1 -p1
|
||||||
%patch2 -p0
|
%patch2 -p0
|
||||||
|
|
||||||
%build
|
%build
|
||||||
export CFLAGS="%optflags $(getconf LFS_CFLAGS)"
|
export CFLAGS="%optflags $(getconf LFS_CFLAGS)"
|
||||||
%configure --with-pic \
|
%configure \
|
||||||
--disable-static \
|
--disable-static \
|
||||||
--with-doc-dir=%{_docdir}/%{name}
|
--with-doc-dir=%{_docdir}/%{name}
|
||||||
%{__make} %{?jobs:-j%jobs}
|
make %{?_smp_mflags}
|
||||||
|
|
||||||
%check
|
%check
|
||||||
make check
|
make check
|
||||||
@ -79,7 +79,7 @@ make check
|
|||||||
%install
|
%install
|
||||||
%makeinstall
|
%makeinstall
|
||||||
%find_lang %{name}-12
|
%find_lang %{name}-12
|
||||||
%{__rm} -f %{buildroot}%{_libdir}/*.la
|
rm -f %{buildroot}/%{_libdir}/*.la
|
||||||
|
|
||||||
%post -n %{pname} -p /sbin/ldconfig
|
%post -n %{pname} -p /sbin/ldconfig
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user