commit 568e1a64d670a709ca5c6284db83e355e17c4b6d Author: Elan Ruusamäe <g...@delfi.ee> Date: Tue Sep 16 09:26:22 2014 +0300
unify thermal-daemon.spec | 15 ++++++++------- 1 file changed, 8 insertions(+), 7 deletions(-) --- diff --git a/thermal-daemon.spec b/thermal-daemon.spec index c0947c7..8230588 100644 --- a/thermal-daemon.spec +++ b/thermal-daemon.spec @@ -4,16 +4,19 @@ Version: 1.3 Release: 1 License: GPL v2+ Group: Base -URL: https://github.com/01org/thermal_daemon -Source0: https://github.com/01org/thermal_daemon/archive/v%{version}.tar.gz +# TODO: use "%{name}-%{version}.tar.gz" as filename when updating version +Source0: https://github.com/01org/thermal_daemon/archive/v%{version}/v%{version}.tar.gz # Source0-md5: d80f6dd4e8c080cdeaa943afbfa87523 +URL: https://github.com/01org/thermal_daemon BuildRequires: autoconf BuildRequires: automake BuildRequires: dbus-glib-devel BuildRequires: glib2-devel BuildRequires: libxml2-devel +BuildRequires: rpmbuild(macros) >= 1.671 Requires(post,preun,postun): systemd-units >= 38 Requires: systemd-units >= 38 +BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) %description Thermal Daemon monitors and controls platform temperature. @@ -28,12 +31,10 @@ install -d build-aux %{__autoheader} %{__automake} %configure - %{__make} %install rm -rf $RPM_BUILD_ROOT - %{__make} install \ DESTDIR=$RPM_BUILD_ROOT @@ -52,12 +53,12 @@ rm -rf $RPM_BUILD_ROOT %files %defattr(644,root,root,755) %doc README.txt -%attr(755,root,root) %{_sbindir}/thermald -%config(noreplace) /etc/dbus-1/system.d/org.freedesktop.thermald.conf -%{_datadir}/dbus-1/system-services/org.freedesktop.thermald.service %dir %{_sysconfdir}/thermald %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/thermald/thermal-conf.xml %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/thermald/thermal-cpu-cdev-order.xml +%config(noreplace) /etc/dbus-1/system.d/org.freedesktop.thermald.conf +%attr(755,root,root) %{_sbindir}/thermald +%{_datadir}/dbus-1/system-services/org.freedesktop.thermald.service %{_mandir}/man5/thermal-conf.xml.5* %{_mandir}/man8/thermald.8* %{systemdunitdir}/thermald.service ================================================================ ---- gitweb: http://git.pld-linux.org/gitweb.cgi/packages/thermal-daemon.git/commitdiff/568e1a64d670a709ca5c6284db83e355e17c4b6d _______________________________________________ pld-cvs-commit mailing list pld-cvs-commit@lists.pld-linux.org http://lists.pld-linux.org/mailman/listinfo/pld-cvs-commit