From d6f06bb3610fbbf23615f6a0a1f88486205c469cf5e33244f83a1161bdfc8fd2 Mon Sep 17 00:00:00 2001 From: Thorsten Kukuk Date: Tue, 28 Mar 2017 11:15:49 +0000 Subject: [PATCH] - Update to version 1.3 - make list of network interfaces configureable OBS-URL: https://build.opensuse.org/package/show/Base:System/issue-generator?expand=0&rev=3 --- issue-generator-1.2.tar.bz2 | 3 -- issue-generator-1.3.tar.bz2 | 3 ++ issue-generator.changes | 6 ++++ issue-generator.spec | 66 +++++++++++++++++++++---------------- 4 files changed, 46 insertions(+), 32 deletions(-) delete mode 100644 issue-generator-1.2.tar.bz2 create mode 100644 issue-generator-1.3.tar.bz2 diff --git a/issue-generator-1.2.tar.bz2 b/issue-generator-1.2.tar.bz2 deleted file mode 100644 index ef5ac85..0000000 --- a/issue-generator-1.2.tar.bz2 +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:2ddf6418e57d0a6b15b7e138d59340cb8a8f5b284886e93efd47ca4a50ea278e -size 70397 diff --git a/issue-generator-1.3.tar.bz2 b/issue-generator-1.3.tar.bz2 new file mode 100644 index 0000000..25fb21a --- /dev/null +++ b/issue-generator-1.3.tar.bz2 @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:58b5987c235a2aa1db43fb91f657d329c49e27ae611010427ee1e3d06c628f73 +size 77323 diff --git a/issue-generator.changes b/issue-generator.changes index 4dc4b8e..8646e1a 100644 --- a/issue-generator.changes +++ b/issue-generator.changes @@ -1,3 +1,9 @@ +------------------------------------------------------------------- +Tue Mar 28 12:58:59 CEST 2017 - kukuk@suse.de + +- Update to version 1.3 + - make list of network interfaces configureable + ------------------------------------------------------------------- Fri Nov 25 09:53:43 CET 2016 - kukuk@suse.de diff --git a/issue-generator.spec b/issue-generator.spec index fa52511..c7a3a3e 100644 --- a/issue-generator.spec +++ b/issue-generator.spec @@ -1,7 +1,7 @@ # # spec file for package issue-generator # -# Copyright (c) 2016 SUSE LINUX GmbH, Nuernberg, Germany. +# Copyright (c) 2017 SUSE LINUX GmbH, Nuernberg, Germany. # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -17,15 +17,17 @@ Name: issue-generator -BuildRoot: %{_tmppath}/%{name}-%{version}-build -Version: 1.2 +Version: 1.3 Release: 0 Summary: Generates an issue files from different snippets License: GPL-2.0+ -Group: System/Base -URL: https://github.com/thkukuk/issue-generator +Group: System/Base +Url: https://github.com/thkukuk/issue-generator +Source: %{name}-%{version}.tar.bz2 +BuildRequires: fdupes +Requires(post): %fillup_prereq +BuildRoot: %{_tmppath}/%{name}-%{version}-build BuildArch: noarch -Source: %name-%version.tar.bz2 %{?systemd_requires} %description @@ -36,18 +38,22 @@ issue-generator is a tool to create an issue file dynamically. %build %configure -make +make %{?_smp_mflags} %install -make install DESTDIR=$RPM_BUILD_ROOT -ln -sf service $RPM_BUILD_ROOT/usr/sbin/rcissue-generator -ln -sf service $RPM_BUILD_ROOT/usr/sbin/rcissue-add-ssh-keys +make %{?_smp_mflags} DESTDIR=%{buildroot} install +ln -sf service %{buildroot}%{_sbindir}/rcissue-generator +ln -sf service %{buildroot}%{_sbindir}/rcissue-add-ssh-keys +mkdir -p %{buildroot}%{_localstatedir}/adm/fillup-templates +install -m 644 udev/sysconfig.issue-generator %{buildroot}%{_localstatedir}/adm/fillup-templates/ +%fdupes %{buildroot}%{_mandir} %pre %service_add_pre issue-generator.service issue-add-ssh-keys.service %post -/usr/bin/systemd-tmpfiles --create issue-generator.conf ||: +%{_bindir}/systemd-tmpfiles --create issue-generator.conf ||: +%{fillup_only -n issue-generator} %service_add_post issue-generator.service issue-add-ssh-keys.service %preun @@ -59,23 +65,25 @@ ln -sf service $RPM_BUILD_ROOT/usr/sbin/rcissue-add-ssh-keys %files %defattr(-,root,root) %doc NEWS COPYING README.md -%dir /etc/issue.d -%dir /usr/lib/issue.d -%dir /usr/lib/tmpfiles.d -%dir /usr/lib/udev -%dir /usr/lib/udev/rules.d -/usr/lib/tmpfiles.d/issue-generator.conf -/usr/lib/udev/rules.d/90-issue-generator.rules -/usr/lib/systemd/system/issue-add-ssh-keys.service -/usr/lib/systemd/system/issue-generator.service -/usr/sbin/issue-generator -/usr/sbin/rcissue-generator -/usr/sbin/rcissue-add-ssh-keys -%doc %{_mandir}/man5/issue.d.5.gz -%doc %{_mandir}/man8/issue-generator.8.gz -%doc %{_mandir}/man8/90-issue-generator.rules.8.gz -%doc %{_mandir}/man8/issue-add-ssh-keys.service.8.gz -%doc %{_mandir}/man8/issue-generator.conf.8.gz -%doc %{_mandir}/man8/issue-generator.service.8.gz +%ghost %{_sysconfdir}/issue +%dir %{_sysconfdir}/issue.d +%dir %{_prefix}/lib/issue.d +%dir %{_prefix}/lib/tmpfiles.d +%dir %{_prefix}/lib/udev +%dir %{_prefix}/lib/udev/rules.d +%{_localstatedir}/adm/fillup-templates/sysconfig.issue-generator +%{_prefix}/lib/tmpfiles.d/issue-generator.conf +%{_prefix}/lib/udev/rules.d/90-issue-generator.rules +%{_prefix}/lib/systemd/system/issue-add-ssh-keys.service +%{_prefix}/lib/systemd/system/issue-generator.service +%{_sbindir}/issue-generator +%{_sbindir}/rcissue-generator +%{_sbindir}/rcissue-add-ssh-keys +%{_mandir}/man5/issue.d.5%{ext_man} +%{_mandir}/man8/issue-generator.8%{ext_man} +%{_mandir}/man8/90-issue-generator.rules.8%{ext_man} +%{_mandir}/man8/issue-add-ssh-keys.service.8%{ext_man} +%{_mandir}/man8/issue-generator.conf.8%{ext_man} +%{_mandir}/man8/issue-generator.service.8%{ext_man} %changelog