[packages/pspp] conflicts before -libs split; adapter

glen glen at pld-linux.org
Wed Sep 14 21:06:37 CEST 2016


commit f2f3e11f74b1e65fcca6d5c71f0b41a02e560146
Author: Elan Ruusamäe <glen at delfi.ee>
Date:   Wed Sep 14 22:06:29 2016 +0300

    conflicts before -libs split; adapter

 pspp.spec | 10 ++++++----
 1 file changed, 6 insertions(+), 4 deletions(-)
---
diff --git a/pspp.spec b/pspp.spec
index 52c6db9..6339221 100644
--- a/pspp.spec
+++ b/pspp.spec
@@ -24,7 +24,7 @@ BuildRequires:	postgresql-devel
 BuildRequires:	readline-devel
 BuildRequires:	texinfo
 BuildRequires:	zlib-devel
-Requires:	%{name}-libs = %{version}
+Requires:	%{name}-libs = %{version}-%{release}
 Requires:	cairo >= 1.5
 Requires:	gtk+2 >= 2:2.24
 Requires:	gtksourceview2 >= 2.2
@@ -42,12 +42,13 @@ to wolnodostępny zamiennik własnościowego programu SPSS; jest do niego
 dosyć podobny z kilkoma wyjątkami.
 
 %package libs
-Summary:	GNU PSPP libraries and command line tools 
+Summary:	GNU PSPP libraries and command line tools
 Group:		Applications/Science
 Requires:	gsl >= 1.13
+Conflicts:	pspp < 0.8.5-1
 
 %description libs
-GNU PSP libraries command line tools 
+GNU PSP libraries command line tools
 
 %prep
 %setup -q
@@ -90,6 +91,8 @@ rm -rf $RPM_BUILD_ROOT
 %{_mandir}/man1/psppire.1*
 
 %files libs
+%defattr(644,root,root,755)
+%doc AUTHORS ChangeLog NEWS ONEWS README THANKS TODO
 %attr(755,root,root) %{_bindir}/pspp-convert
 %attr(755,root,root) %{_bindir}/pspp-dump-sav
 %dir %{_libdir}/pspp
@@ -97,4 +100,3 @@ rm -rf $RPM_BUILD_ROOT
 %attr(755,root,root) %{_libdir}/pspp/libpspp-core-%{version}.so
 %{_mandir}/man1/pspp-convert.1*
 %{_mandir}/man1/pspp-dump-sav.1*
-%doc AUTHORS ChangeLog NEWS ONEWS README THANKS TODO
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/pspp.git/commitdiff/f2f3e11f74b1e65fcca6d5c71f0b41a02e560146



More information about the pld-cvs-commit mailing list