diff --git a/esc.spec b/esc.spec index d65d101..99e9707 100644 --- a/esc.spec +++ b/esc.spec @@ -1,13 +1,11 @@ Name: esc Version: 1.1.0 -Release: 29%{?dist} +Release: 30%{?dist} Summary: Enterprise Security Client Smart Card Client License: GPL+ URL: http://directory.fedora.redhat.com/wiki/CoolKey Group: Applications/Internet -BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) - #Fix to build against XUlrunner SDK. Patch1: esc-1.1.0-fix1.patch #Fix to the smart card handling thread @@ -127,7 +125,7 @@ GECKO_BIN_PATH=%{_libdir}/xulrunner GECKO_INCLUDE_PATH=%{_includedir}/xulrunner-%{geckoversion} GECKO_IDL_PATH=/usr/share/idl/xulrunner-%{geckoversion} -%ifarch x86_64 ppc64 ia64 +%ifarch x86_64 %{power64} ia64 aarch64 USE_64=1 export USE_64 %endif @@ -166,7 +164,7 @@ chmod 755 $RPM_BUILD_ROOT/%{escbindir}/esc mkdir -p $RPM_BUILD_ROOT/%{escdir} -%ifarch x86_64 ppc64 ia64 +%ifarch x86_64 %{power64} ia64 aarch64 USE_64=1 export USE_64 %endif @@ -198,12 +196,10 @@ chmod 755 -R $RPM_BUILD_ROOT/%{escdir}/defaults chmod 755 $RPM_BUILD_ROOT/%{escdir}/application.ini -%clean - -rm -rf $RPM_BUILD_ROOT %files -%defattr(-,root,root,-) +%{!?_licensedir:%global license %%doc} +%license %{docdir}/LICENSE %{escdir}/esc %{escdir}/escd @@ -225,7 +221,6 @@ rm -rf $RPM_BUILD_ROOT %{pixmapdir}/esc.png %{autostartdir}/esc.desktop %{_datadir}/%{appdir}/esc.desktop -%doc %{docdir}/LICENSE %post touch --no-create %{_datadir}/icons/hicolor || : @@ -245,10 +240,14 @@ if [ -x %{_bindir}/gtk-update-icon-cache ]; then fi %changelog -* Mon Feb 08 2016 Jack Magne =1.1.0-29 +* Sun May 8 2016 Peter Robinson 1.1.0-30 +- Secondary arch fixes +- Use %%license + +* Mon Feb 08 2016 Jack Magne 1.1.0-29 - Apease latest xullrunner api changes. -* Thu Apr 09 2015 Jack Magne =1.1.0-27 +* Thu Apr 09 2015 Jack Magne 1.1.0-27 - More xulrunner adjustments. * Sat Aug 16 2014 Fedora Release Engineering - 1.1.0-26 - Rebuilt for https://fedoraproject.org/wiki/Fedora_21_22_Mass_Rebuild