commit ef31b6647ed3e63997d34201fddaaa569d294db2
Author: Jan Rękorajski <[email protected]>
Date:   Sun Jul 10 20:50:07 2016 +0200

    - up to 0.5.1
    - fixed icons install

 install.patch        | 11 +++++++++++
 python-EditObj2.spec | 12 +++++++-----
 2 files changed, 18 insertions(+), 5 deletions(-)
---
diff --git a/python-EditObj2.spec b/python-EditObj2.spec
index 857b38f..485e2bc 100644
--- a/python-EditObj2.spec
+++ b/python-EditObj2.spec
@@ -2,13 +2,14 @@
 Summary:       Useful tool for writing editors of all kinds
 Summary(pl.UTF-8):     Narzędzie służące do tworzenia różnych edytorów
 Name:          python-%{module}
-Version:       0.4
-Release:       2
+Version:       0.5.1
+Release:       1
 License:       GPL v2+
 Group:         Applications
-Source0:       http://download.gna.org/songwrite/%{module}-%{version}.tar.gz
-# Source0-md5: 6f9d1422726da58743252c0779a4858b
-URL:           http://home.gna.org/oomadness/en/editobj/
+Source0:       
https://pypi.python.org/packages/source/E/%{module}/%{module}-%{version}.tar.gz
+# Source0-md5: fd7c0c16bb70cdf5eaa30f0e47b16e4f
+Patch0:                install.patch
+URL:           
http://www.lesfleursdunormal.fr/static/informatique/editobj/index_en.html
 BuildRequires: python-devel
 BuildRequires: rpm-pythonprov
 BuildRequires: rpmbuild(macros) >= 1.710
@@ -31,6 +32,7 @@ edytorów (tekstowych lub nie), włącznie z edytorami GUI i 3D.
 
 %prep
 %setup -q -n %{module}-%{version}
+%patch0 -p1
 
 %install
 rm -rf $RPM_BUILD_ROOT
diff --git a/install.patch b/install.patch
new file mode 100644
index 0000000..0f178af
--- /dev/null
+++ b/install.patch
@@ -0,0 +1,11 @@
+--- EditObj2-0.5.1/setup.py~   2016-01-19 10:23:37.000000000 +0100
++++ EditObj2-0.5.1/setup.py    2016-07-10 20:47:17.062045391 +0200
+@@ -19,7 +19,7 @@
+ import os, os.path, sys, glob
+ import distutils.core, distutils.sysconfig
+ 
+-install_dir = distutils.sysconfig.get_python_lib()
++install_dir = distutils.sysconfig.get_python_lib(prefix='/usr')
+ 
+ distutils.core.setup(name         = "EditObj2",
+                      version      = "0.5.1",
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/python-EditObj2.git/commitdiff/ef31b6647ed3e63997d34201fddaaa569d294db2

_______________________________________________
pld-cvs-commit mailing list
[email protected]
http://lists.pld-linux.org/mailman/listinfo/pld-cvs-commit

Reply via email to