Script 'mail_helper' called by obssrc
Hello community,

here is the log from the commit of package qelectrotech for openSUSE:Factory 
checked in at 2023-06-04 16:42:19
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/qelectrotech (Old)
 and      /work/SRC/openSUSE:Factory/.qelectrotech.new.15902 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "qelectrotech"

Sun Jun  4 16:42:19 2023 rev:9 rq:1090689 version:0.90

Changes:
--------
--- /work/SRC/openSUSE:Factory/qelectrotech/qelectrotech.changes        
2021-03-03 18:34:36.727366215 +0100
+++ /work/SRC/openSUSE:Factory/.qelectrotech.new.15902/qelectrotech.changes     
2023-06-04 16:42:56.530251006 +0200
@@ -1,0 +2,8 @@
+Sat Mar 11 05:29:24 UTC 2023 - Stefan Brüns <[email protected]>
+
+- Update to version 0.90:
+  * Lots of changes (see ChangeLog).
+- Use github mirror for source, git.tuxfamily.org is unreliable.
+- Clean up spec file.
+
+-------------------------------------------------------------------

Old:
----
  qelectrotech-0.80.tar.gz

New:
----
  qelectrotech-0.90.tar.gz

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

Other differences:
------------------
++++++ qelectrotech.spec ++++++
--- /var/tmp/diff_new_pack.6NXe4w/_old  2023-06-04 16:42:57.034254005 +0200
+++ /var/tmp/diff_new_pack.6NXe4w/_new  2023-06-04 16:42:57.042254053 +0200
@@ -1,7 +1,7 @@
 #
 # spec file for package qelectrotech
 #
-# Copyright (c) 2021 SUSE LLC
+# Copyright (c) 2023 SUSE LLC
 # Copyright (c) 2021 Asterios Dramis <[email protected]>.
 #
 # All modifications and additions to the file contributed by third parties
@@ -17,15 +17,15 @@
 #
 
 
-%define src 0.8.0
+%define src 0.9
 Name:           qelectrotech
-Version:        0.80
+Version:        0.90
 Release:        0
 Summary:        Application to Design Electric Diagrams
-License:        GPL-2.0-or-later AND CC-BY-3.0
+License:        CC-BY-3.0 AND GPL-2.0-or-later
 Group:          Productivity/Scientific/Electronics
 URL:            https://qelectrotech.org/
-Source0:        
https://git.tuxfamily.org/qet/qet.git/snapshot/qet-%{src}.tar.gz#/%{name}-%{version}.tar.gz
+Source0:        
https://github.com/qelectrotech/qelectrotech-source-mirror/archive/refs/tags/%{src}.tar.gz#/%{name}-%{version}.tar.gz
 BuildRequires:  fdupes
 BuildRequires:  hicolor-icon-theme
 BuildRequires:  kcoreaddons-devel
@@ -41,12 +41,6 @@
 BuildRequires:  pkgconfig(Qt5Svg)
 BuildRequires:  pkgconfig(Qt5Widgets)
 BuildRequires:  pkgconfig(Qt5Xml)
-%if 0%{?suse_version} < 1500
-Requires(post): desktop-file-utils
-Requires(post): shared-mime-info
-Requires(postun): desktop-file-utils
-Requires(postun): shared-mime-info
-%endif
 
 %description
 QElectroTech is a Qt5 application to design electric diagrams. It uses XML
@@ -54,22 +48,18 @@
 element editor.
 
 %prep
-%setup -q -n qet-%{src}
+%setup -q -n qelectrotech-source-mirror-%{src}
 
 # Fix compilation and installation paths
 sed -e s,%{_prefix}/local/,%{_prefix}/, \
     -e /QET_LICENSE_PATH/s,'doc/,'share/doc/packages/, \
     -e /QET_MIME/s,../,, \
     -e /QET_MAN_PATH/s,'man/','share/man/', \
+    -e /DEFINES/s,GIT_COMMIT_SHA.*,GIT_COMMIT_SHA="", \
     -i qelectrotech.pro
 
-# Remove build time references so build-compare can do its work
-FAKE_BUILDTIME=$(LC_ALL=C date -u -r %{_sourcedir}/%{name}.changes '+%%H:%%M')
-FAKE_BUILDDATE=$(LC_ALL=C date -u -r %{_sourcedir}/%{name}.changes '+%%b %%e 
%%Y')
-sed -i "s/__TIME__/\"$FAKE_BUILDTIME\"/g" sources/machine_info.h
-sed -i "s/__DATE__/\"$FAKE_BUILDDATE\"/g" sources/machine_info.h
-
 %build
+%global optflags ${optflags} -Wno-error=return-type
 %qmake5
 %make_build
 
@@ -79,22 +69,10 @@
 # Fix desktop file
 %suse_update_desktop_file -r qelectrotech "Education;Engineering"
 
-%fdupes -s %{buildroot}
+%fdupes %{buildroot}/%{_prefix}
 
 %find_lang %{name} --with-qt --with-man --all-name
 
-%if 0%{?suse_version} < 1500
-%post
-%mime_database_post
-%desktop_database_post
-%icon_theme_cache_post
-
-%postun
-%desktop_database_postun
-%mime_database_postun
-%icon_theme_cache_postun
-%endif
-
 %files -f %{name}.lang
 %doc CREDIT ChangeLog README README.md
 %license %{_defaultdocdir}/%{name}/ELEMENTS.LICENSE
@@ -106,16 +84,7 @@
 %dir %{_mandir}/fr.ISO8859-1
 %dir %{_mandir}/fr.UTF-8
 %{_mandir}/man1/qelectrotech.1%{?ext_man}
-%dir %{_datadir}/mime/application
-%{_datadir}/mime/application/x-qet-element.xml
-%{_datadir}/mime/application/x-qet-project.xml
-%{_datadir}/mime/application/x-qet-titleblock.xml
 %{_datadir}/mime/packages/qelectrotech.xml
-%dir %{_datadir}/mimelnk
-%dir %{_datadir}/mimelnk/application
-%{_datadir}/mimelnk/application/x-qet-element.desktop
-%{_datadir}/mimelnk/application/x-qet-project.desktop
-%{_datadir}/mimelnk/application/x-qet-titleblock.desktop
 %{_datadir}/qelectrotech/
 
 %changelog

++++++ qelectrotech-0.80.tar.gz -> qelectrotech-0.90.tar.gz ++++++
/work/SRC/openSUSE:Factory/qelectrotech/qelectrotech-0.80.tar.gz 
/work/SRC/openSUSE:Factory/.qelectrotech.new.15902/qelectrotech-0.90.tar.gz 
differ: char 12, line 1

Reply via email to