[libapogee] Fix bz #1037156 (format-security)
Sergio Pascual
sergiopr at fedoraproject.org
Fri Jan 10 17:14:39 UTC 2014
commit ecd4d4acf0276a7c340a1f8255d684432b2a14d2
Author: Sergio Pascual <sergiopr at fis.ucm.es>
Date: Fri Jan 10 18:14:40 2014 +0100
Fix bz #1037156 (format-security)
- Spec cleanup
libapogee.spec | 11 ++++++++---
1 files changed, 8 insertions(+), 3 deletions(-)
---
diff --git a/libapogee.spec b/libapogee.spec
index 3e7ead7..b381962 100644
--- a/libapogee.spec
+++ b/libapogee.spec
@@ -1,6 +1,6 @@
Name: libapogee
Version: 2.2
-Release: 10%{?dist}
+Release: 11%{?dist}
Summary: Library for Apogee CCD Cameras
%define majorver 2
@@ -14,7 +14,7 @@ Patch0: libapogee-suffix.patch
# Patch to build in ppc ppc64
#https://sourceforge.net/tracker2/?func=detail&aid=2215787&group_id=90275&atid=593019
Patch1: libapogee-sysio.patch
-Buildroot: %(mktemp -ud %{_tmppath}/%{name}-%{version}-%{release}-XXXXXX)
+Patch2: libapogee-format-security.patch
# Bug upstream about libapogee calling exit()
# https://sourceforge.net/tracker2/?func=detail&aid=2595732&group_id=90275&atid=593019
@@ -28,7 +28,7 @@ Apogee library is used by applications to control Apogee CCDs.
%package devel
Summary: Libraries, includes, etc. used to develop an application with %{name}
Group: Development/Libraries
-Requires: %{name} = %{version}-%{release}
+Requires: %{name}%{?_isa} = %{version}-%{release}
%description devel
These are the header files needed to develop a %{name} application
@@ -36,6 +36,7 @@ These are the header files needed to develop a %{name} application
%setup -q -n %{name}%{majorver}-%{version}
%patch0 -p1
%patch1 -p1
+%patch2 -p1
# curl/types.h is deprecated
# upstream bug https://sourceforge.net/tracker/?func=detail&aid=3462419&group_id=90275&atid=593019
sed -i '/include.*[<"]curl\/types.h[">]/d' \
@@ -63,6 +64,10 @@ make install DESTDIR=%{buildroot}
%{_libdir}/*.so
%changelog
+* Tue Dec 03 2013 Sergio Pascual <sergiopr at fedoraproject.org> - 2.2-11
+- Fix bz #1037156 (format-security)
+- Spec cleanup
+
* Sat Aug 03 2013 Fedora Release Engineering <rel-eng at lists.fedoraproject.org> - 2.2-10
- Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild
More information about the scm-commits
mailing list