Hello community,

here is the log from the commit of package argyllcms for openSUSE:Factory 
checked in at 2019-06-22 11:05:15
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/argyllcms (Old)
 and      /work/SRC/openSUSE:Factory/.argyllcms.new.4615 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "argyllcms"

Sat Jun 22 11:05:15 2019 rev:21 rq:710692 version:1.9.2

Changes:
--------
--- /work/SRC/openSUSE:Factory/argyllcms/argyllcms.changes      2019-05-17 
23:38:54.610052980 +0200
+++ /work/SRC/openSUSE:Factory/.argyllcms.new.4615/argyllcms.changes    
2019-06-22 11:05:22.231933530 +0200
@@ -6,0 +7,6 @@
+Thu Mar 21 11:30:20 UTC 2019 - Jan Engelhardt <[email protected]>
+
+- Modernize old $RPM_* shell variables and tar options.
+- Avoid bash-specific pathname expansion syntax in %install.
+
+-------------------------------------------------------------------

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

Other differences:
------------------
++++++ argyllcms.spec ++++++
--- /var/tmp/diff_new_pack.TgAXMI/_old  2019-06-22 11:05:25.387938807 +0200
+++ /var/tmp/diff_new_pack.TgAXMI/_new  2019-06-22 11:05:25.399938827 +0200
@@ -85,10 +85,8 @@
 This package contains the Argyll color management system documentation.
 
 %prep
-%setup -q -n %{tarname}_V%{version}
+%setup -q -n %{tarname}_V%{version} -a3
 %patch2 -p1
-
-tar xf %{SOURCE3}
 cd ajam-2.5.2-1.3.3
 %patch1 -p1 -b .include
 cd ..
@@ -99,11 +97,11 @@
 %build
 %define _lto_cflags %{nil}
 cd ajam-2.5.2-1.3.3
-make CFLAGS="-std=gnu89 ${RPM_OPT_FLAGS}"
+make CFLAGS="-std=gnu89 %{optflags}"
 ln -s $PWD/bin.unix/jam ../jam
 cd ..
 
-echo "CCFLAGS += -std=gnu89 ${RPM_OPT_FLAGS} -fno-strict-aliasing ;" >> Jamtop
+echo "CCFLAGS += -std=gnu89 %{optflags} -fno-strict-aliasing ;" >> Jamtop
 # Evil hack to get --as-needed working. The build system unfortunately lists 
all
 # the shared libraries by default on the command line _before_ the object to 
be built...
 echo "STDLIBS += -ldl -lrt -lX11 -lXext -lXxf86vm -lXinerama -lXrandr -lXau 
-lXdmcp -lXss -ltiff -ljpeg ;" >> Jamtop
@@ -114,13 +112,10 @@
 ./jam -q -fJambase install
 
 rm bin/License.txt
-
-mkdir -p $RPM_BUILD_ROOT/{%{_bindir},%{_datadir}/color/argyll/ref}
-
-install -m 0755 -D bin/* $RPM_BUILD_ROOT/%{_bindir}
-
+mkdir -p %{buildroot}/%{_bindir} %{buildroot}/%{_datadir}/color/argyll/ref
+install -m 0755 -D bin/* %{buildroot}/%{_bindir}
 install -m 0644 -D ref/*  %{buildroot}/%{_datadir}/color/argyll/ref
-rm -f $RPM_BUILD_ROOT/%{_datadir}/color/argyll/License.txt
+rm -f %{buildroot}/%{_datadir}/color/argyll/License.txt
 
 # ensure timestamp is shipped files is not changing for each rebuild 
(boo#916158)
 TIMESTAMP=$(LC_ALL=C date -r %{SOURCE4} +%c)



Reply via email to