Script 'mail_helper' called by obssrc
Hello community,

here is the log from the commit of package libpcd for openSUSE:Factory checked 
in at 2024-12-16 19:17:22
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/libpcd (Old)
 and      /work/SRC/openSUSE:Factory/.libpcd.new.29675 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "libpcd"

Mon Dec 16 19:17:22 2024 rev:6 rq:1231322 version:1.0.1

Changes:
--------
--- /work/SRC/openSUSE:Factory/libpcd/libpcd.changes    2012-05-09 
07:25:18.000000000 +0200
+++ /work/SRC/openSUSE:Factory/.libpcd.new.29675/libpcd.changes 2024-12-16 
19:17:32.299462740 +0100
@@ -1,0 +2,5 @@
+Tue Dec 10 14:46:17 UTC 2024 - Martin Pluskal <[email protected]>
+
+- Modernise spec file 
+
+-------------------------------------------------------------------

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

Other differences:
------------------
++++++ libpcd.spec ++++++
--- /var/tmp/diff_new_pack.fl1emi/_old  2024-12-16 19:17:32.859485958 +0100
+++ /var/tmp/diff_new_pack.fl1emi/_new  2024-12-16 19:17:32.859485958 +0100
@@ -1,7 +1,7 @@
 #
 # spec file for package libpcd
 #
-# Copyright (c) 2012 SUSE LINUX Products GmbH, Nuernberg, Germany.
+# Copyright (c) 2024 SUSE LLC
 #
 # All modifications and additions to the file contributed by third parties
 # remain the property of their copyright owners, unless otherwise agreed
@@ -12,63 +12,51 @@
 # license that conforms to the Open Source Definition (Version 1.9)
 # published by the Open Source Initiative.
 
-# Please submit bugfixes or comments via http://bugs.opensuse.org/
+# Please submit bugfixes or comments via https://bugs.opensuse.org/
 #
 
 
 %define sover 2
-
 Name:           libpcd
 Version:        1.0.1
 Release:        0
 Summary:        Library For Reading PhotoCD Images
-License:        GPL-2.0+
-Group:          Development/Libraries/C and C++
-Url:            http://bytesex.org/libpcd.html
+License:        GPL-2.0-or-later
+URL:            http://bytesex.org/libpcd.html
 Source:         http://www.kraxel.org/releases/libpcd/%{name}_%{version}.tar.gz
-BuildRoot:      %{_tmppath}/%{name}-%{version}-build
 
 %description
 Libraries for reading PhotoCD images.
 
 %package -n %{name}%{sover}
 Summary:        Library For Reading PhotoCD Images
-Group:          Development/Libraries/C and C++
 
 %description -n %{name}%{sover}
 Libraries for reading PhotoCD images.
 
 %package      devel
 Summary:        Library For Reading PhotoCD Images
-Group:          Development/Libraries/C and C++
 Requires:       %{name}%{sover} = %{version}
 
 %description devel
 Header files for library for reading PhotoCD images.
 
 %prep
-%setup -q
+%autosetup
 
 %build
-make prefix=%{_prefix} CFLAGS="%{optflags}" libdir=%{_libdir}  all
+%make_build prefix=%{_prefix} CFLAGS="%{optflags}" libdir=%{_libdir}  all
 
 %install
 make prefix=%{_prefix} CFLAGS="%{optflags}" DESTDIR=%{buildroot} 
libdir=%{buildroot}%{_libdir} install
 rm -f %{buildroot}%{_libdir}/libpcd.a
 
-%clean
-rm -rf %{buildroot}
-
-%post -n %{name}%{sover} -p /sbin/ldconfig
-
-%postun -n %{name}%{sover} -p /sbin/ldconfig
+%ldconfig_scriptlets -n %{name}%{sover}
 
 %files -n %{name}%{sover}
-%defattr(-,root,root)
 %{_libdir}/libpcd.so.%{sover}*
 
 %files devel
-%defattr(-,root,root)
 %doc pcd.html pcd.css
 %doc README
 %{_includedir}/pcd.h

Reply via email to