[iec16022] Add ARM64 build support (#925577). Update spec file to recent packaging guidelines.
Peter Gordon
pgordon at fedoraproject.org
Sun May 25 05:05:11 UTC 2014
commit 62de323ac9cc666d8f8d39bdbd8e5db223eff3a2
Author: Peter Gordon <peter at thecodergeek.com>
Date: Sat May 24 22:05:06 2014 -0700
Add ARM64 build support (#925577). Update spec file to recent packaging guidelines.
iec16022.spec | 17 +++++++++--------
1 files changed, 9 insertions(+), 8 deletions(-)
---
diff --git a/iec16022.spec b/iec16022.spec
index 327ba6e..2027765 100644
--- a/iec16022.spec
+++ b/iec16022.spec
@@ -2,7 +2,7 @@
Name: iec16022
Version: 0.2.4
-Release: 11%{?dist}
+Release: 12%{?dist}
Summary: Generate ISO/IEC 16022 2D barcodes
Group: Applications/Engineering
@@ -42,6 +42,7 @@ Requires: pkgconfig
%build
+%{__autoconf}
%configure --disable-static
sed -i 's|^hardcode_libdir_flag_spec=.*|hardcode_libdir_flag_spec=""|g' libtool
sed -i 's|^runpath_var=LD_RUN_PATH|runpath_var=DIE_RPATH_DIE|g' libtool
@@ -49,7 +50,6 @@ make %{?_smp_mflags}
%install
-rm -rf $RPM_BUILD_ROOT
make install DESTDIR=$RPM_BUILD_ROOT
rm -f $RPM_BUILD_ROOT%{_libdir}/libiec16022.la
@@ -58,9 +58,6 @@ rm -f $RPM_BUILD_ROOT%{_libdir}/libiec16022.la
export LD_LIBRARY_PATH=$RPM_BUILD_ROOT%{_libdir}
make -C test check
-%clean
-rm -rf $RPM_BUILD_ROOT
-
%post libs -p /sbin/ldconfig
@@ -68,23 +65,27 @@ rm -rf $RPM_BUILD_ROOT
%files
-%defattr(-,root,root,-)
%{_bindir}/iec16022
%{_mandir}/man1/iec16022.1*
%files libs
-%defattr(-,root,root,-)
%doc AUTHORS ChangeLog COPYING README TODO
%{_libdir}/libiec16022.so.*
%files devel
-%defattr(-,root,root,-)
%{_includedir}/iec16022/
%{_libdir}/libiec16022.so
%{_libdir}/pkgconfig/libiec16022.pc
%changelog
+* Sat May 24 2014 Peter Gordon <peter at thecodergeek.com> - 0.2.4-12
+- Update spec file in accordane with newer packaging guidelines:
+ - Remove unnecessary BuildRoot references;
+ - Remove %%defattr lines in %%files listings.
+- Rerun autoconf in %%build to update for ARM64 arch support.
+- Fixes bug #925577 (iec16022: Does not support aarch64 in f19 and rawhide)
+
* Sat Aug 03 2013 Fedora Release Engineering <rel-eng at lists.fedoraproject.org> - 0.2.4-11
- Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild
More information about the scm-commits
mailing list