Merge branch 'master' into el6

Conflicts:
	torque.spec
This commit is contained in:
David Brown 2015-04-02 09:52:30 -07:00
commit 435bcf6c6c

View File

@ -474,6 +474,22 @@ rm %{buildroot}%{_mandir}/man1/basl2c.1
# fix permissions for some directories in /var/lib/torque
chmod 755 `find %{buildroot}/var/lib/torque -type d`
# Merge applications into one software center item
%if %{build_gui}
mkdir -p $RPM_BUILD_ROOT%{_datadir}/appdata
cat > $RPM_BUILD_ROOT%{_datadir}/appdata/xpbsmon.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>xpbsmon.desktop</id>
<metadata>
<value key="X-Merge-With-Parent">xpbs.desktop</value>
</metadata>
</component>
EOF
%endif
%clean
rm -rf %{buildroot}
@ -654,6 +670,7 @@ fi
%{_bindir}/xpbsmon
%{_libdir}/xpbs
%{_libdir}/xpbsmon
%{_datadir}/appdata/*.appdata.xml
%{_datadir}/applications/*.desktop
%{_datadir}/pixmaps/*.png
%{_mandir}/man1/xpbs.1.*
@ -796,6 +813,9 @@ fi
%endif
%changelog
* Thu Mar 26 2015 Richard Hughes <rhughes@redhat.com> - 4.2.8-2
- Add an AppData file for the software center
* Tue Oct 14 2014 David Brown <david.brown@pnnl.gov> - 4.2.8-2
- merged fedora latest into epel
- This breaks old configs and should be treated carefully