commit b7ce129f8c497d75bd4143fac240b41f65331c47
Author: Elan Ruusamäe <[email protected]>
Date:   Tue Aug 28 23:10:34 2012 +0300

    xz source deps

 perl-Qt4.spec | 20 ++++++++++----------
 1 file changed, 10 insertions(+), 10 deletions(-)
---
diff --git a/perl-Qt4.spec b/perl-Qt4.spec
index 592e9e0..eec1f66 100644
--- a/perl-Qt4.spec
+++ b/perl-Qt4.spec
@@ -1,13 +1,12 @@
-
 %define         _state          stable
 %define         orgname         perlqt
 %define         qtver           4.8.0
 
 # Conditional build:
 %bcond_with    tests           # do not perform "make test"
-#
-%include       /usr/lib/rpm/macros.perl
+
 %define        pdir    PerlQt
+%include       /usr/lib/rpm/macros.perl
 Summary:       Qt4 - A Perl module interface to Qt4
 Summary(pl.UTF-8):     Qt4 - interfejs Perla do Qt4
 Name:          perl-Qt4
@@ -19,6 +18,8 @@ Source0:      
ftp://ftp.kde.org/pub/kde/%{_state}/%{version}/src/%{orgname}-%{version
 # Source0-md5: ef513d388d381091b316d3a05c2a7069
 URL:           http://www.kde.org/
 BuildRequires: kde4-smokeqt-devel >= %{version}
+BuildRequires: tar >= 1:1.22
+BuildRequires: xz
 BuildRoot:     %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
 
 %description
@@ -39,8 +40,8 @@ Header files for perl Qt 4.
 %description devel -l pl.UTF-8
 Plik nagłówkoww perl Qt 4.
 
-# which package provides this?
 %define                _noautoreq      'perl(Qt::_internal)'
+# which package provides this?
 
 %prep
 %setup -q -n %{orgname}-%{version}
@@ -55,16 +56,15 @@ cd build
 
 %install
 rm -rf $RPM_BUILD_ROOT
-
-%{__make} -C build/ install \
-       DESTDIR=$RPM_BUILD_ROOT \
-       kde_htmldir=%{_kdedocdir}
+%{__make} -C build install \
+       kde_htmldir=%{_kdedocdir} \
+       DESTDIR=$RPM_BUILD_ROOT
 
 %clean
 rm -rf $RPM_BUILD_ROOT
 
-%post -p /sbin/ldconfig
-%postun -p /sbin/ldconfig
+%post  -p /sbin/ldconfig
+%postun        -p /sbin/ldconfig
 
 %files
 %defattr(644,root,root,755)
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/perl-Qt4.git/commitdiff/b7ce129f8c497d75bd4143fac240b41f65331c47

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

Reply via email to