SPECS: ntfs-config.spec - remove pt_PT locale - install python stu...

sls sls at pld-linux.org
Fri Mar 28 07:03:55 CET 2008


Author: sls                          Date: Fri Mar 28 06:03:55 2008 GMT
Module: SPECS                         Tag: HEAD
---- Log message:
- remove pt_PT locale
- install python stuff to py_sitescriptdir

---- Files affected:
SPECS:
   ntfs-config.spec (1.5 -> 1.6) 

---- Diffs:

================================================================
Index: SPECS/ntfs-config.spec
diff -u SPECS/ntfs-config.spec:1.5 SPECS/ntfs-config.spec:1.6
--- SPECS/ntfs-config.spec:1.5	Fri Mar 28 06:27:19 2008
+++ SPECS/ntfs-config.spec	Fri Mar 28 07:03:50 2008
@@ -18,6 +18,7 @@
 BuildRequires:	perl-XML-Parser
 BuildRequires:	python-devel > 1:2.4
 BuildRequires:	python-pygtk-devel > 2:2.6
+BuildRequires:	sed >= 4.0
 Requires:	ntfs-3g
 #Requires:	usermode
 BuildArch:	noarch
@@ -38,6 +39,10 @@
 %prep
 %setup -q
 
+# there's newer pt.po
+rm -f po/pt_PT.po
+%{__sed} -i s/^pt_PT$// po/LINGUAS
+
 %build
 %{__intltoolize}
 %{__aclocal}
@@ -52,6 +57,7 @@
 rm -rf $RPM_BUILD_ROOT
 
 %{__make} install \
+	pyexecdir=%{py_sitescriptdir} \
 	DESTDIR=$RPM_BUILD_ROOT \
 	INSTALL="install -p -Dm 644"
 
@@ -76,7 +82,7 @@
 %attr(755,root,root) %{_sbindir}/%{name}-root
 %{_datadir}/%{name}
 %{_desktopdir}/%{name}.desktop
-%{py_sitedir}/NtfsConfig
+%{py_sitescriptdir}/NtfsConfig
 %{_mandir}/man8/ntfs-config-root.8*
 %{_mandir}/man8/ntfs-config.8*
 
@@ -86,6 +92,10 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.6  2008-03-28 06:03:50  sls
+- remove pt_PT locale
+- install python stuff to py_sitescriptdir
+
 Revision 1.5  2008-03-28 05:27:19  sls
 - install using Makefile
 
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/SPECS/ntfs-config.spec?r1=1.5&r2=1.6&f=u



More information about the pld-cvs-commit mailing list