]> git.pld-linux.org Git - packages/cito.git/commitdiff
- added destdir patch (don't let DESTDIR break mono helpers) auto/th/cito-0.3.0-2
authorJakub Bogusz <qboosh@pld-linux.org>
Sat, 13 Apr 2013 09:51:17 +0000 (11:51 +0200)
committerJakub Bogusz <qboosh@pld-linux.org>
Sat, 13 Apr 2013 09:51:17 +0000 (11:51 +0200)
- release 2

cito-destdir.patch [new file with mode: 0644]
cito.spec

diff --git a/cito-destdir.patch b/cito-destdir.patch
new file mode 100644 (file)
index 0000000..255a3b8
--- /dev/null
@@ -0,0 +1,18 @@
+--- cito-0.3.0/Makefile.orig   2013-01-31 12:23:48.000000000 +0100
++++ cito-0.3.0/Makefile        2013-04-13 11:43:59.660060100 +0200
+@@ -36,13 +36,13 @@
+ install-cito: cito.exe
+       mkdir -p $(DESTDIR)$(prefix)/lib/cito $(DESTDIR)$(prefix)/bin
+       cp $< $(DESTDIR)$(prefix)/lib/cito/cito.exe
+-      (echo '#!/bin/sh' && echo 'exec /usr/bin/mono $(DESTDIR)$(prefix)/lib/cito/cito.exe "$$@"') >$(DESTDIR)$(prefix)/bin/cito
++      (echo '#!/bin/sh' && echo 'exec /usr/bin/mono $(prefix)/lib/cito/cito.exe "$$@"') >$(DESTDIR)$(prefix)/bin/cito
+       chmod 755 $(DESTDIR)$(prefix)/bin/cito
+ install-cipad: cipad.exe
+       mkdir -p $(DESTDIR)$(prefix)/lib/cito $(DESTDIR)$(prefix)/bin
+       cp $< $(DESTDIR)$(prefix)/lib/cito/cipad.exe
+-      (echo '#!/bin/sh' && echo 'exec /usr/bin/mono $(DESTDIR)$(prefix)/lib/cito/cipad.exe "$$@"') >$(DESTDIR)$(prefix)/bin/cipad
++      (echo '#!/bin/sh' && echo 'exec /usr/bin/mono $(prefix)/lib/cito/cipad.exe "$$@"') >$(DESTDIR)$(prefix)/bin/cipad
+       chmod 755 $(DESTDIR)$(prefix)/bin/cipad
+ uninstall:
index c7314ef02bbbcf5b884b4598100b54fb78454ba8..5a3812807cdf0edfbb2ea2242aa5b67f4df016a6 100644 (file)
--- a/cito.spec
+++ b/cito.spec
@@ -3,11 +3,12 @@ Summary(en.UTF-8):    Ć programming language
 Summary(pl.UTF-8):     Język programowania Ć
 Name:          cito
 Version:       0.3.0
-Release:       1
+Release:       2
 License:       GPL v3+
 Group:         Development/Languages
 Source0:       http://downloads.sourceforge.net/cito/%{name}-%{version}.tar.gz
 # Source0-md5: 794676f282dc8a2d0b9af220a92ad349
+Patch0:                %{name}-destdir.patch
 URL:           http://cito.sourceforge.net/
 # .NET 3.5 - what is minimal mono version?
 BuildRequires: mono-csharp >= 3
@@ -31,6 +32,7 @@ się "cito".
 
 %prep
 %setup -q
+%patch0 -p1
 
 %build
 %{__make}
This page took 0.10739 seconds and 4 git commands to generate.