rpms/hal/devel hal.spec,1.112,1.113
fedora-cvs-commits at redhat.com
fedora-cvs-commits at redhat.com
Sun Feb 4 01:23:26 UTC 2007
Author: mclasen
Update of /cvs/dist/rpms/hal/devel
In directory cvs.devel.redhat.com:/tmp/cvs-serv7652
Modified Files:
hal.spec
Log Message:
use %%find_lang
Index: hal.spec
===================================================================
RCS file: /cvs/dist/rpms/hal/devel/hal.spec,v
retrieving revision 1.112
retrieving revision 1.113
diff -u -r1.112 -r1.113
--- hal.spec 15 Nov 2006 03:57:28 -0000 1.112
+++ hal.spec 4 Feb 2007 01:23:24 -0000 1.113
@@ -22,7 +22,7 @@
Summary: Hardware Abstraction Layer
Name: hal
Version: 0.5.8.1
-Release: 6%{?dist}
+Release: 7%{?dist}
URL: http://www.freedesktop.org/Software/hal
Source0: %{name}-%{version}.tar.gz
Source1: 99-redhat-storage-policy-fixed-drives.fdi
@@ -37,8 +37,9 @@
License: AFL/GPL
Group: System Environment/Libraries
-BuildRoot: %{_tmppath}/%{name}-root
-PreReq: chkconfig
+BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
+Requires(post): chkconfig
+Requres(preun): chkconfig
BuildRequires: expat-devel >= %{expat_version}
BuildRequires: glib2-devel >= %{glib2_version}
BuildRequires: dbus-devel >= %{dbus_version}
@@ -128,6 +129,8 @@
rm -f $RPM_BUILD_ROOT%{_libdir}/*.la
rm -f $RPM_BUILD_ROOT%{_libdir}/*.a
+%find_lang hal
+
%clean
rm -rf %{buildroot}
@@ -162,7 +165,7 @@
/bin/cp -f fstab.replace /etc/fstab
fi
-%files
+%files -f hal.lang
%defattr(-,root,root)
#%doc COPYING ChangeLog NEWS
@@ -196,7 +199,6 @@
%dir %{_libdir}/hal/scripts/linux
%{_datadir}/hal/fdi/*
-%{_datadir}/locale/*
%{_datadir}/doc/hal-%{version}/conf/*
%{_libdir}/hal/scripts/*
@@ -225,6 +227,10 @@
%{_datadir}/applications/*.desktop
%changelog
+* Sat Feb 3 2007 Matthias Clasen <mclasen at redhat.com> - 0.5.8.1-7
+- Use %%find_lang
+- Correct BuildRoot
+
* Tue Nov 14 2006 David Zeuthen <davidz at redhat.com> - 0.5.8.1-6%{?dist}
- Rebuild
More information about the fedora-cvs-commits
mailing list