devel/notecase notecase.spec,1.5,1.6

Ignacio Vazquez-Abrams (ivazquez) fedora-extras-commits at redhat.com
Mon Apr 11 22:06:51 UTC 2005


Author: ivazquez

Update of /cvs/extras/devel/notecase
In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv25416

Modified Files:
	notecase.spec 
Log Message:
Fixed hard-coded paths in src/config.h


Index: notecase.spec
===================================================================
RCS file: /cvs/extras/devel/notecase/notecase.spec,v
retrieving revision 1.5
retrieving revision 1.6
diff -u -r1.5 -r1.6
--- notecase.spec	11 Apr 2005 21:02:59 -0000	1.5
+++ notecase.spec	11 Apr 2005 22:06:34 -0000	1.6
@@ -30,6 +30,8 @@
 %patch2 -p1 -b .x86_64
 find docs -type f -exec /usr/bin/dos2unix \{\} \;
 /usr/bin/dos2unix readme.txt
+sed -i -e 's!\(#define HELP_FILE_PATH\).*!\1 "%{_docdir}/%{name}-%{version}/help.ncd"!
+s!\(#define LOCALE_DIR\).*!\1 "%{_datadir}/locale/"!' src/config.h
 
 %build
 make LD="$(CXX) $(DEBUG) $(PROFILE) -L%{_libdir} -L%{_prefix}/X11R6/%{_lib} -ldl -export-dynamic" CFLAGS="$RPM_OPT_FLAGS" %{?_smp_mflags}
@@ -68,6 +70,7 @@
 %changelog
 * Mon Apr 11 2005 Ignacio Vazquez-Abrams <ivazquez at ivazquez.net> 0.8.2-5
 - Add patch from Toshio to fix x86_64 compiler warnings
+- Fixed hard-coded paths in src/config.h
 
 * Wed Apr  6 2005 Ignacio Vazquez-Abrams <ivazquez at ivazquez.net> 0.8.2-4
 - Change group to Applications/Productivity




More information about the fedora-extras-commits mailing list