Hello community, here is the log from the commit of package ser2net for openSUSE:Factory checked in at 2020-05-16 22:26:40 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/ser2net (Old) and /work/SRC/openSUSE:Factory/.ser2net.new.2738 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "ser2net" Sat May 16 22:26:40 2020 rev:10 rq:798209 version:4.1.6 Changes: -------- --- /work/SRC/openSUSE:Factory/ser2net/ser2net.changes 2018-09-15 15:40:48.900805760 +0200 +++ /work/SRC/openSUSE:Factory/.ser2net.new.2738/ser2net.changes 2020-05-16 22:26:48.921332361 +0200 @@ -1,0 +2,15 @@ +Tue Apr 21 10:17:48 UTC 2020 - Martin Hauke <[email protected]> + +- Install the configuration file into the correct directory + -> %{_sysconfdir}/ser2net/ + +------------------------------------------------------------------- +Sun Apr 19 12:19:00 UTC 2020 - Martin Hauke <[email protected]> + +- Update to version 4.1.6 + * upstream does not provide a changelog +- Drop patch: + * ser2net-config.patch (config is now done via YAML) +- Add BR: pkgconfig(libgensio), pkgconfig(yaml-0.1) + +------------------------------------------------------------------- Old: ---- ser2net-3.5.tar.xz ser2net-config.patch New: ---- ser2net-4.1.6.tar.gz ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ ser2net.spec ++++++ --- /var/tmp/diff_new_pack.EgJoiq/_old 2020-05-16 22:26:51.181337001 +0200 +++ /var/tmp/diff_new_pack.EgJoiq/_new 2020-05-16 22:26:51.181337001 +0200 @@ -1,7 +1,7 @@ # # spec file for package ser2net # -# Copyright (c) 2018 SUSE LINUX GmbH, Nuernberg, Germany. +# Copyright (c) 2020 SUSE LLC # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -12,25 +12,26 @@ # 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/ # Name: ser2net -Version: 3.5 +Version: 4.1.6 Release: 0 -BuildRoot: %{_tmppath}/%{name}-%{version}-build -Url: https://github.com/cminyard/ser2net.git -Source: %{name}-%{version}.tar.xz -Source2: ser2net.service Summary: Serial port to network proxy License: GPL-2.0-or-later Group: Productivity/Networking/Other +URL: https://github.com/cminyard/ser2net.git +Source: https://github.com/cminyard/ser2net/archive/v%{version}.tar.gz#/%{name}-%{version}.tar.gz +Source2: ser2net.service BuildRequires: autoconf BuildRequires: automake BuildRequires: libtool +BuildRequires: pkgconfig BuildRequires: systemd-rpm-macros -Patch0: ser2net-config.patch +BuildRequires: pkgconfig(libgensio) +BuildRequires: pkgconfig(yaml-0.1) %{?systemd_requires} %description @@ -40,18 +41,17 @@ monitoring ports, and controlling ports. %prep -%setup -q -n %{name}-%{version} -%patch0 -p1 +%setup -q %build -autoreconf -i +autoreconf -fiv %configure --disable-static -make %{?_smp_mflags} +%make_build %install %make_install -install -D -m 0644 %{name}.conf %{buildroot}/%{_sysconfdir}/%{name}.conf -install -D -m 0644 %{S:2} %{buildroot}/%{_unitdir}/ser2net.service +install -D -m 0644 %{name}.yaml %{buildroot}/%{_sysconfdir}/ser2net/%{name}.yaml +install -D -m 0644 %{SOURCE2} %{buildroot}/%{_unitdir}/ser2net.service %pre %service_add_pre ser2net.service @@ -66,11 +66,13 @@ %service_del_postun ser2net.service %files -%defattr(-,root,root) -%doc COPYING ChangeLog AUTHORS README -%{_unitdir}/ser2net.service -%config(noreplace) %{_sysconfdir}/%{name}.conf +%license COPYING +%doc ChangeLog AUTHORS README %{_sbindir}/%{name} -%{_mandir}/man8/%{name}* +%dir %{_sysconfdir}/ser2net +%config(noreplace) %{_sysconfdir}/ser2net/%{name}.yaml +%{_unitdir}/ser2net.service +%{_mandir}/man5/ser2net.yaml.5%{?ext_man} +%{_mandir}/man8/ser2net.8%{?ext_man} %changelog ++++++ ser2net.service ++++++ --- /var/tmp/diff_new_pack.EgJoiq/_old 2020-05-16 22:26:51.229337100 +0200 +++ /var/tmp/diff_new_pack.EgJoiq/_new 2020-05-16 22:26:51.233337108 +0200 @@ -6,4 +6,4 @@ ExecStart=/usr/sbin/ser2net -n [Install] -WantedBy=multi-user.target \ No newline at end of file +WantedBy=multi-user.target
