Remove the samples subpackage from RHEL 7
This commit is contained in:
parent
db6d7a77c7
commit
7bac0c82cb
11
LibRaw.spec
11
LibRaw.spec
@ -1,7 +1,7 @@
|
||||
Summary: Library for reading RAW files obtained from digital photo cameras
|
||||
Name: LibRaw
|
||||
Version: 0.19.2
|
||||
Release: 1%{?dist}
|
||||
Release: 2%{?dist}
|
||||
License: BSD and (CDDL or LGPLv2)
|
||||
URL: http://www.libraw.org
|
||||
|
||||
@ -40,12 +40,14 @@ Requires: %{name}-devel%{?_isa} = %{version}-%{release}
|
||||
%description static
|
||||
LibRaw static development libraries.
|
||||
|
||||
%if 0%{?rhel} != 7
|
||||
%package samples
|
||||
Summary: LibRaw sample programs
|
||||
Requires: %{name} = %{version}-%{release}
|
||||
|
||||
%description samples
|
||||
LibRaw sample programs
|
||||
%endif
|
||||
|
||||
%prep
|
||||
%setup -q
|
||||
@ -56,7 +58,11 @@ LibRaw sample programs
|
||||
%build
|
||||
autoreconf -if
|
||||
%configure \
|
||||
%if 0%{?rhel} == 7
|
||||
--enable-examples=no \
|
||||
%else
|
||||
--enable-examples=yes \
|
||||
%endif
|
||||
--enable-jasper \
|
||||
--enable-jpeg \
|
||||
--enable-lcms \
|
||||
@ -109,6 +115,9 @@ rm -fv %{buildroot}%{_libdir}/lib*.la
|
||||
|
||||
|
||||
%changelog
|
||||
* Wed Jan 02 2019 Debarshi Ray <rishi@fedoraproject.org> - 0.19.2-2
|
||||
- Remove the samples subpackage from RHEL 7
|
||||
|
||||
* Wed Dec 26 2018 Gwyn Ciesla <limburgher@gmail.com> - 0.19.2-1
|
||||
- 0.19.2
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user