]> git.pld-linux.org Git - packages/libgtop.git/commitdiff
- install time versioned glib dependency auto/th/libgtop-2.30.0-1
authorJakub Bogusz <qboosh@pld-linux.org>
Sat, 17 May 2014 05:19:17 +0000 (07:19 +0200)
committerJakub Bogusz <qboosh@pld-linux.org>
Sat, 17 May 2014 05:19:17 +0000 (07:19 +0200)
libgtop.spec

index 106b5edcc27e47bf1d12854863954cf9152b3e46..e7be776d576594a080d014ef3dd0936828e0a105 100644 (file)
@@ -31,6 +31,7 @@ BuildRequires:        tar >= 1:1.22
 BuildRequires: texinfo
 BuildRequires: xorg-lib-libXau-devel
 BuildRequires: xz
+Requires:      glib2 >= 1:2.16.0
 Obsoletes:     libgtop1
 # sr@Latn vs. sr@latin
 Conflicts:     glibc-misc < 6:2.7
@@ -202,7 +203,7 @@ install -d $RPM_BUILD_ROOT%{_examplesdir}/%{name}-%{version}
 %{__make} install \
        DESTDIR=$RPM_BUILD_ROOT
 
-cp examples/*.c $RPM_BUILD_ROOT%{_examplesdir}/%{name}-%{version}
+cp -p examples/*.c $RPM_BUILD_ROOT%{_examplesdir}/%{name}-%{version}
 
 %find_lang %{name} --all-name
 
@@ -212,10 +213,10 @@ rm -rf $RPM_BUILD_ROOT
 %post  -p /sbin/ldconfig
 %postun        -p /sbin/ldconfig
 
-%post devel    -p      /sbin/postshell
+%post  devel -p /sbin/postshell
 -/usr/sbin/fix-info-dir -c %{_infodir}
 
-%postun devel  -p      /sbin/postshell
+%postun        devel -p /sbin/postshell
 -/usr/sbin/fix-info-dir -c %{_infodir}
 
 %files -f %{name}.lang
This page took 0.126312 seconds and 4 git commands to generate.