rpms/scribus/devel scribus.spec,1.50,1.51
Dan Horák
sharkcz at fedoraproject.org
Tue Aug 25 14:06:03 UTC 2009
- Previous message (by thread): rpms/emesene/F-11 emesene-1.5-pythonpath.patch, NONE, 1.1 emesene.spec, 1.8, 1.9 import.log, 1.1, 1.2
- Next message (by thread): rpms/emesene/F-10 emesene-1.5-pythonpath.patch, NONE, 1.1 emesene.spec, 1.6, 1.7 import.log, 1.1, 1.2
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
Author: sharkcz
Update of /cvs/pkgs/rpms/scribus/devel
In directory cvs1.fedora.phx.redhat.com:/tmp/cvs-serv19842
Modified Files:
scribus.spec
Log Message:
* Tue Aug 25 2009 Dan Horák <dan[AT]danny.cz> - 1.3.5.1-3
- drop shebang line from python scripts
- don't package precompiled python scripts
Index: scribus.spec
===================================================================
RCS file: /cvs/pkgs/rpms/scribus/devel/scribus.spec,v
retrieving revision 1.50
retrieving revision 1.51
diff -u -p -r1.50 -r1.51
--- scribus.spec 21 Aug 2009 15:46:32 -0000 1.50
+++ scribus.spec 25 Aug 2009 14:06:03 -0000 1.51
@@ -1,6 +1,6 @@
Name: scribus
Version: 1.3.5.1
-Release: 2%{?dist}
+Release: 3%{?dist}
Summary: DeskTop Publishing application written in Qt
@@ -87,6 +87,14 @@ popd
# fix permissions
chmod a-x scribus/pageitem_latexframe.h
+# drop shebang lines from python scripts
+for f in scribus/plugins/scriptplugin/{samples,scripts}/*.py
+do
+ sed '1{/#!\/usr\/bin\/env\|#!\/usr\/bin\/python/d}' $f > $f.new
+ touch -r $f $f.new
+ mv $f.new $f
+done
+
%build
mkdir build
@@ -142,11 +150,13 @@ update-mime-database %{_datadir}/mime >
%doc %{_datadir}/doc/%{name}-%{version}/README
%doc %{_datadir}/doc/%{name}-%{version}/TODO
%{_bindir}/%{name}
-%{_datadir}/applications/fedora-scribus.desktop
-%{_datadir}/mime/packages/scribus.xml
+%{_libdir}/%{name}
+%{_datadir}/applications/fedora-%{name}.desktop
+%{_datadir}/mime/packages/%{name}.xml
%{_datadir}/pixmaps/*
%{_datadir}/%{name}
-%{_libdir}/%{name}
+%exclude %{_datadir}/%{name}/samples/*.py[co]
+%exclude %{_datadir}/%{name}/scripts/*.py[co]
%{_mandir}/man1/*
%{_mandir}/pl/man1/*
%{_mandir}/de/man1/*
@@ -173,6 +183,10 @@ update-mime-database %{_datadir}/mime >
%changelog
+* Tue Aug 25 2009 Dan Horák <dan[AT]danny.cz> - 1.3.5.1-3
+- drop shebang line from python scripts
+- don't package precompiled python scripts
+
* Fri Aug 21 2009 Tomas Mraz <tmraz at redhat.com> - 1.3.5.1-2
- rebuilt with new openssl
- Previous message (by thread): rpms/emesene/F-11 emesene-1.5-pythonpath.patch, NONE, 1.1 emesene.spec, 1.8, 1.9 import.log, 1.1, 1.2
- Next message (by thread): rpms/emesene/F-10 emesene-1.5-pythonpath.patch, NONE, 1.1 emesene.spec, 1.6, 1.7 import.log, 1.1, 1.2
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
More information about the fedora-extras-commits
mailing list