rpms/beagle/devel beagle.spec,1.161,1.162

Adel Gadllah drago01 at fedoraproject.org
Sat Feb 28 11:11:19 UTC 2009


Author: drago01

Update of /cvs/pkgs/rpms/beagle/devel
In directory cvs1.fedora.phx.redhat.com:/tmp/cvs-serv13189

Modified Files:
	beagle.spec 
Log Message:
spec file cleanups


Index: beagle.spec
===================================================================
RCS file: /cvs/pkgs/rpms/beagle/devel/beagle.spec,v
retrieving revision 1.161
retrieving revision 1.162
diff -u -r1.161 -r1.162
--- beagle.spec	24 Feb 2009 04:21:17 -0000	1.161
+++ beagle.spec	28 Feb 2009 11:10:48 -0000	1.162
@@ -1,6 +1,6 @@
 Name:		beagle
 Version:	0.3.9
-Release:	3%{?dist}
+Release:	4%{?dist}
 Summary:	The Beagle Search Infrastructure
 Group:		User Interface/Desktops
 # see COPYING for details
@@ -195,9 +195,17 @@
 find $RPM_BUILD_ROOT -name '*.la' -exec rm -f {} ';'
 find $RPM_BUILD_ROOT -name '*.a' -exec rm -f {} ';'
 
-chmod a+x $RPM_BUILD_ROOT%{_libdir}/beagle/*/*.dll
-chmod a+x $RPM_BUILD_ROOT%{_libdir}/beagle/*.dll
-chmod a+x $RPM_BUILD_ROOT%{_libdir}/beagle/*.exe
+%{__sed} -i 's/\r//' $RPM_BUILD_ROOT%{_libdir}/mozilla/extensions/%{firefox_app_id}/%{firefox_ext_id}/chrome/locale/zh-CN/contents.rdf
+
+#Fix bogus permissions
+find $RPM_BUILD_ROOT -name '*.dll' -exec chmod a+x {} ';'
+find $RPM_BUILD_ROOT -name '*.exe' -exec chmod a+x {} ';'
+find $RPM_BUILD_ROOT -name '*.py' -exec chmod a+x {} ';'
+find $RPM_BUILD_ROOT -name '*.js' -exec chmod a-x {} ';'
+find $RPM_BUILD_ROOT -name '*.rdf' -exec chmod a-x {} ';'
+find $RPM_BUILD_ROOT -name '*.xul' -exec chmod a-x {} ';'
+find $RPM_BUILD_ROOT -name '*.dtd' -exec chmod a-x {} ';'
+
 
 %pre
 %define beagle_user_uid 58
@@ -271,7 +279,6 @@
 %defattr(-,root,root,-)
 %doc COPYING README
 %{_sysconfdir}/cron.daily/*
-%{_sysconfdir}/beagle
 %{_bindir}/beagled
 %{_bindir}/blocate
 %{_bindir}/beagle-config
@@ -286,6 +293,13 @@
 %{_bindir}/beagle-status
 %{_sbindir}/*
 %{_libdir}/beagle/
+%dir %{_sysconfdir}/beagle
+%dir %{_sysconfdir}/beagle/config-files
+%dir %{_sysconfdir}/beagle/crawl-rules
+%config(noreplace) %{_sysconfdir}/beagle/blocate.conf
+%config(noreplace) %{_sysconfdir}/beagle/config-files/*
+%config(noreplace) %{_sysconfdir}/beagle/crawl-rules/*
+%config(noreplace) %{_sysconfdir}/beagle/*.xml
 %exclude %{_libdir}/beagle/Backends/Thunder*
 %exclude %{_libdir}/beagle/Backends/Evolution*
 %exclude %{_datadir}/beagle/beagle-thunderbird-update.sh
@@ -333,12 +347,13 @@
 
 %files devel
 %defattr(-, root, root)
-%{_libdir}/monodoc/sources/beagle-docs.source
-%{_libdir}/monodoc/sources/beagle-docs.tree
-%{_libdir}/monodoc/sources/beagle-docs.zip
+%doc %{_libdir}/monodoc/sources/beagle-docs.*
 %{_libdir}/pkgconfig/beagle*.pc
 
 %changelog
+* Sat Feb 28 2009 Adel Gadllah <adel.gadllah at gmail.com> - 0.3.9-4
+- Spec file cleanups (RH #225612)
+
 * Mon Feb 23 2009 Fedora Release Engineering <rel-eng at lists.fedoraproject.org> - 0.3.9-3
 - Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild
 




More information about the scm-commits mailing list