Hello community,

here is the log from the commit of package pspp for openSUSE:Factory checked in 
at 2017-09-12 19:56:27
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/pspp (Old)
 and      /work/SRC/openSUSE:Factory/.pspp.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "pspp"

Tue Sep 12 19:56:27 2017 rev:8 rq:523488 version:1.0.1

Changes:
--------
--- /work/SRC/openSUSE:Factory/pspp/pspp.changes        2017-09-05 
15:19:19.582606301 +0200
+++ /work/SRC/openSUSE:Factory/.pspp.new/pspp.changes   2017-09-12 
19:56:32.297431043 +0200
@@ -1,0 +2,6 @@
+Mon Sep 11 19:39:03 UTC 2017 - [email protected]
+
+- Update boilerplate descriptions. Replace $RPM_ shell variables
+  by macros. Unify mix of different CFLAGS.
+
+-------------------------------------------------------------------

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Other differences:
------------------
++++++ pspp.spec ++++++
--- /var/tmp/diff_new_pack.43GcTa/_old  2017-09-12 19:56:32.933341629 +0200
+++ /var/tmp/diff_new_pack.43GcTa/_new  2017-09-12 19:56:32.937341067 +0200
@@ -99,7 +99,7 @@
 
 
 %package devel
-Summary:        Include Files and Libraries mandatory for Development
+Summary:        Development files for pspp, a statistical analysis program
 Group:          Development/Libraries/C and C++
 License:        LGPL-2.1+
 Requires:       glibc-devel
@@ -109,10 +109,11 @@
 Requires:       zlib-devel
 
 %description devel
-This package contains all necessary include files and libraries needed
-to develop applications that require these.
-
+PSPP is a program for statistical analysis of sampled data. It
+is a free replacement for the proprietary program SPSS.
 
+This subpackage contains libraries and header files for developing
+applications that want to build pspp plugins.
 
 %prep
 %if 0%{?fedora} || 0%{?rhel_version} || 0%{?centos_version} || 
0%{?mandriva_version}
@@ -127,19 +128,17 @@
 %build -n pspp-%{version}
 %endif
 export SUSE_ASNEEDED=0
-%configure CFLAGS="${CFLAGS:-%optflags} -fgnu89-inline" \
+export CFLAGS="%{optflags} -fgnu89-inline"
+%configure \
              --disable-relocatable --disable-static --disable-rpath \
              --disable-anachronistic-dependencies --enable-debug \
              --without-libreadline-prefix
 
 #Fix "File is compiled without RPM_OPT_FLAGS"
-make CFLAGS='%{optflags}'
+make
 
 %install
-rm -rf $RPM_BUILD_ROOT
-mkdir $RPM_BUILD_ROOT
-
-make install DESTDIR=$RPM_BUILD_ROOT
+%make_install
 %if 0%{?suse_version} 
 %suse_update_desktop_file -r %{name} Education Math
 %endif
@@ -148,19 +147,19 @@
 # do nothing
 %else
 # don't own /usr/share/info/dir
-rm $RPM_BUILD_ROOT%{_infodir}/dir
+rm %{buildroot}/%{_infodir}/dir
 %endif
 
 #Config for ld
-mkdir -p $RPM_BUILD_ROOT/etc/ld.so.conf.d
-cat > $RPM_BUILD_ROOT/etc/ld.so.conf.d/pspp.conf <<EOF
+mkdir -p %{buildroot}/etc/ld.so.conf.d
+cat >%{buildroot}/etc/ld.so.conf.d/pspp.conf <<EOF
 %if 0%{?suse_version} > 1120 
 %{_libdir}/pspp
 %endif
 EOF
 
 %if 0%{?suse_version} 
-%fdupes -s $RPM_BUILD_ROOT/%_datadir
+%fdupes -s %{buildroot}/%_datadir
 %endif
 
 # localization
@@ -187,10 +186,6 @@
 %desktop_database_postun
 %endif
 
-
-%clean
-rm -rf $RPM_BUILD_ROOT
-
 %files -f pspp.lang
 %defattr(-,root,root,-)
 %defattr(644,root,root,755) 


Reply via email to