Remove no longer required AppData file

epel9
Richard Hughes 9 years ago
parent e1838b3896
commit a1a017687b

@ -1,6 +1,6 @@
Name: stoken
Version: 0.90
Release: 2%{?dist}
Release: 3%{?dist}
Summary: Token code generator compatible with RSA SecurID 128-bit (AES) token
License: LGPLv2+
@ -82,20 +82,6 @@ desktop-file-validate %{buildroot}%{_datadir}/applications/%{name}-gui-small.des
find %{buildroot} -type f -name "*.la" -delete
rm -fr %{buildroot}%{_docdir}/%{name}
# Merge applications into one software center item
mkdir -p $RPM_BUILD_ROOT%{_datadir}/appdata
cat > $RPM_BUILD_ROOT%{_datadir}/appdata/stoken-gui-small.appdata.xml <<EOF
<?xml version="1.0" encoding="UTF-8"?>
<!-- Copyright 2014 Richard Hughes <richard@hughsie.com> -->
<component type="desktop">
<metadata_license>CC0-1.0</metadata_license>
<id>stoken-gui-small.desktop</id>
<metadata>
<value key="X-Merge-With-Parent">stoken-gui.desktop</value>
</metadata>
</component>
EOF
%post libs -p /sbin/ldconfig
%postun libs -p /sbin/ldconfig
@ -110,7 +96,6 @@ EOF
%files gui
%{_bindir}/%{name}-gui
%{_datadir}/appdata/*.appdata.xml
%{_datadir}/applications/%{name}-gui.desktop
%{_datadir}/applications/%{name}-gui-small.desktop
%{_datadir}/pixmaps/%{name}-gui.png
@ -123,6 +108,9 @@ EOF
%{_libdir}/pkgconfig/%{name}.pc
%changelog
* Fri Sep 18 2015 Richard Hughes <rhughes@redhat.com> - 0.90-3
- Remove no longer required AppData file
* Mon Aug 10 2015 Simone Caronni <negativo17@gmail.com> - 0.90-2
- Upstream has re-released 0.9 as 0.90 fixing versioning issues.

Loading…
Cancel
Save