condition the gcc deprecation patch on epel

epel9
Jens Petersen 7 years ago
parent fffdbb22a7
commit 93fb035dab

@ -8,7 +8,7 @@ Group: System Environment/Libraries
# BuildRoot tag necessary for EL5 only:
BuildRoot: %(mktemp -ud %{_tmppath}/%{name}-%{version}-%{release}-XXXXXX)
Source0: http://libbsd.freedesktop.org/releases/libbsd-%{version}.tar.xz
Patch1: %{name}-%{version}-deprecated.patch
Patch1: %{name}-0.8.3-deprecated.patch
%description
libbsd provides useful functions commonly found on BSD systems, and
@ -40,7 +40,9 @@ configured using "pkg-config --libs libbsd-ctor".
%prep
%setup -q
%if 0%{?rhel} && 0%{?rhel} < 7
%patch1 -p1 -b .deprecated
%endif
%build
%configure
@ -89,6 +91,7 @@ rm %{buildroot}%{_libdir}/%{name}.la
* Tue Nov 21 2017 Jens Petersen <petersen@redhat.com> - 0.8.6-1
- update to 0.8.6 (#1462722)
- fixes manpage conflict (#1504831)
- condition the gcc deprecation patch on epel < 7
* Thu Aug 03 2017 Fedora Release Engineering <releng@fedoraproject.org> - 0.8.3-5
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Binutils_Mass_Rebuild

Loading…
Cancel
Save