rpms/awn-extras-applets/devel awn-extras-applets.spec,1.16,1.17

Sindre Pedersen Bjørdal sindrepb at fedoraproject.org
Thu Apr 2 14:55:44 UTC 2009


Author: sindrepb

Update of /cvs/pkgs/rpms/awn-extras-applets/devel
In directory cvs1.fedora.phx.redhat.com:/tmp/cvs-serv25319

Modified Files:
	awn-extras-applets.spec 
Log Message:
fixes


Index: awn-extras-applets.spec
===================================================================
RCS file: /cvs/pkgs/rpms/awn-extras-applets/devel/awn-extras-applets.spec,v
retrieving revision 1.16
retrieving revision 1.17
diff -u -r1.16 -r1.17
--- awn-extras-applets.spec	2 Apr 2009 12:43:40 -0000	1.16
+++ awn-extras-applets.spec	2 Apr 2009 14:55:13 -0000	1.17
@@ -2,7 +2,7 @@
 
 Name:           awn-extras-applets
 Version:        0.3.2.1
-Release:        2%{?dist}
+Release:        3%{?dist}
 Summary:        Extras applets for avant window navigator
 
 Group:          User Interface/Desktops
@@ -32,7 +32,7 @@
 BuildRequires:  libXcomposite-devel
 BuildRequires:  libtool
 BuildRequires:  intltool 
-BuildRequires:  gettext
+#BuildRequires:  gettext
 
 Requires:       avant-window-navigator >= 0.3.2
 Requires:       gnome-python2-gnome
@@ -95,7 +95,19 @@
 # mv ${RPM_BUILD_ROOT}/etc/gconf/schemas/notification-daemon.schemas \
 #   ${RPM_BUILD_ROOT}/etc/gconf/schemas/awn-notification-daemon.schemas
 
-%find_lang %{name}
+#%find_lang
+
+#remove script-shebang in non-executables
+stripscript()
+{
+  sed '1d' "$1" > "${1}_"
+  mv -f "${1}_" "$1"
+}
+for f in `find $RPM_BUILD_ROOT%{_datadir}/avant-window-navigator/applets/ -name *.py ! -executable`
+ do stripscript $f
+done
+stripscript $RPM_BUILD_ROOT%{python_sitearch}/awn/detach.py
+
 
 %pre
 SCHEMAS="arss awn-notification-daemon awnsystemmonitor awnterm cairo-clock DesktopManager digitalClock file-browser-launcher filebrowser places pynot-rgba pynot shinyswitcher to-do trash"
@@ -145,7 +157,7 @@
 %clean
 rm -rf $RPM_BUILD_ROOT
 
-%files -f %{name}.lang
+%files 
 %defattr(-,root,root,-)
 %doc ChangeLog COPYING README
 %config(noreplace) %{_sysconfdir}/gconf/schemas/*
@@ -166,11 +178,11 @@
 
 
 %changelog
-* Tue Apr 02 2009 Sindre Pedersen Bjørdal <sindrepb at fedoraproject.org> - 0.3.2.1-2
+* Tue Apr 02 2009 Sindre Pedersen Bjørdal <sindrepb at fedoraproject.org> - 0.3.2.1-3
 - New upstream release
 - Add devel package
 - Update schemas scriplets
-- Enable translations shebang
+- Fix rpmlint warnings about non-executable scripts
 - Add gnome-icon-cache scriplet
 - Add shared library scriplet
 - clean up files list




More information about the scm-commits mailing list