roma pushed to xpaint (master). "Updated to xpaint-2.9.10.3"

notifications at fedoraproject.org notifications at fedoraproject.org
Fri May 15 21:07:12 UTC 2015


From 388b4d5f239c3bf22d4a5addd0840d8683c437d5 Mon Sep 17 00:00:00 2001
From: Paulo Roma Cavalcanti <promac at gmail.com>
Date: Fri, 15 May 2015 18:06:44 -0300
Subject: Updated to xpaint-2.9.10.3


diff --git a/xpaint.spec b/xpaint.spec
index c8a191d..6198254 100644
--- a/xpaint.spec
+++ b/xpaint.spec
@@ -6,7 +6,7 @@
 Summary:        An X Window System image editing or paint program
 Name:           xpaint
 Version:        2.9.10.3
-Release:        1%{?dist}
+Release:        2%{?dist}
 License:        GPLv3+
 Group:          Applications/Multimedia
 URL:            http://sourceforge.net/projects/sf-xpaint
@@ -59,9 +59,6 @@ some support for batch processing.
 %prep
 %setup -q
 
-sed -i -e 's|-lXext|-lXext -lfontconfig|g' Local.config
-sed -i -e 's|/lib |/%{_lib} |g' Local.config
-sed -i -e 's|@XPMDIR@|%{_prefix}|g' Local.config
 sed -i -e 's|/usr/lib|%{_libdir}|g' configure
 sed -i -e 's|/usr/lib|%{_libdir}|g' configure.old
 sed -i -e 's|ln -s xpaint|ln -sf xpaint|g' configure.old
@@ -74,7 +71,7 @@ for f in ChangeLog README; do
 done
 
 %build
-sed -i -e "s/\(XCOMM CDEBUGFLAGS =\)/CDEBUGFLAGS = $RPM_OPT_FLAGS\nCXXDEBUGFLAGS = $RPM_OPT_FLAGS/g" Local.config
+sed -i -e "s|XCOMM CDEBUGFLAGS =|CDEBUGFLAGS = $RPM_OPT_FLAGS\nCXXDEBUGFLAGS = $RPM_OPT_FLAGS|g" Local.config
 # this is for debugging, to save the temporary file Imakefile.c
 touch fake
 ln fake Imakefile.c
@@ -142,6 +139,9 @@ rm -rf %{buildroot}
 %{_mandir}/man1/pdfconcat.1.gz
 
 %changelog
+* Fri May 15 2015 Paulo Roma <roma at lcg.ufrj.br> - 2.9.10.3-2
+- Removed some deprecated sed replacements.
+
 * Sun May 10 2015 Paulo Roma <roma at lcg.ufrj.br> - 2.9.10.3-1
 - Update to 2.9.10.3
 
-- 
cgit v0.10.2


	http://pkgs.fedoraproject.org/cgit/xpaint.git/commit/?h=master&id=388b4d5f239c3bf22d4a5addd0840d8683c437d5


More information about the scm-commits mailing list