[libbsd/f19] Added check section. Add BuildRoot for EL5.
Eric Smith
brouhaha at fedoraproject.org
Wed Jun 12 03:50:21 UTC 2013
commit 5b63ea83fd7506387a6b50fccaa3909c518fd981
Author: Eric Smith <brouhaha at fedoraproject.org>
Date: Tue Jun 11 21:50:10 2013 -0600
Added check section. Add BuildRoot for EL5.
libbsd.spec | 13 +++++++++++--
1 files changed, 11 insertions(+), 2 deletions(-)
---
diff --git a/libbsd.spec b/libbsd.spec
index 9509173..4507359 100644
--- a/libbsd.spec
+++ b/libbsd.spec
@@ -1,11 +1,12 @@
Name: libbsd
Version: 0.5.2
-Release: 1%{?dist}
+Release: 2%{?dist}
Summary: Library providing BSD-compatible functions for portability
URL: http://libbsd.freedesktop.org/
License: BSD and ISC and Copyright only and Public Domain
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
%description
@@ -34,7 +35,11 @@ make CFLAGS="%{optflags}" %{?_smp_mflags} \
usrlibdir=%{_libdir} \
exec_prefix=%{_prefix}
+%check
+make check
+
%install
+rm -rf %{buildroot} # necessary for EL5 only
make libdir=%{_libdir} \
usrlibdir=%{_libdir} \
exec_prefix=%{_prefix} \
@@ -62,6 +67,10 @@ rm %{buildroot}%{_libdir}/%{name}.la
%{_libdir}/pkgconfig/%{name}-overlay.pc
%changelog
+* Tue Jun 11 2013 Eric Smith <brouhaha at fedoraproject.org> - 0.5.2-2
+- Added check section.
+- Add BuildRoot for EL5.
+
* Mon Jun 10 2013 Eric Smith <brouhaha at fedoraproject.org> - 0.5.2-1
- Update to latest upstream release. Remove patch 0.
More information about the scm-commits
mailing list