- 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
This commit is contained in:
Thorsten Kukuk 2017-03-28 11:15:49 +00:00 committed by Git OBS Bridge
parent 0ae1156157
commit d6f06bb361
4 changed files with 46 additions and 32 deletions

View File

@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:2ddf6418e57d0a6b15b7e138d59340cb8a8f5b284886e93efd47ca4a50ea278e
size 70397

View File

@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:58b5987c235a2aa1db43fb91f657d329c49e27ae611010427ee1e3d06c628f73
size 77323

View File

@ -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 Fri Nov 25 09:53:43 CET 2016 - kukuk@suse.de

View File

@ -1,7 +1,7 @@
# #
# spec file for package issue-generator # 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 # All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed # remain the property of their copyright owners, unless otherwise agreed
@ -17,15 +17,17 @@
Name: issue-generator Name: issue-generator
BuildRoot: %{_tmppath}/%{name}-%{version}-build Version: 1.3
Version: 1.2
Release: 0 Release: 0
Summary: Generates an issue files from different snippets Summary: Generates an issue files from different snippets
License: GPL-2.0+ License: GPL-2.0+
Group: System/Base Group: System/Base
URL: https://github.com/thkukuk/issue-generator 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 BuildArch: noarch
Source: %name-%version.tar.bz2
%{?systemd_requires} %{?systemd_requires}
%description %description
@ -36,18 +38,22 @@ issue-generator is a tool to create an issue file dynamically.
%build %build
%configure %configure
make make %{?_smp_mflags}
%install %install
make install DESTDIR=$RPM_BUILD_ROOT make %{?_smp_mflags} DESTDIR=%{buildroot} install
ln -sf service $RPM_BUILD_ROOT/usr/sbin/rcissue-generator ln -sf service %{buildroot}%{_sbindir}/rcissue-generator
ln -sf service $RPM_BUILD_ROOT/usr/sbin/rcissue-add-ssh-keys 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 %pre
%service_add_pre issue-generator.service issue-add-ssh-keys.service %service_add_pre issue-generator.service issue-add-ssh-keys.service
%post %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 %service_add_post issue-generator.service issue-add-ssh-keys.service
%preun %preun
@ -59,23 +65,25 @@ ln -sf service $RPM_BUILD_ROOT/usr/sbin/rcissue-add-ssh-keys
%files %files
%defattr(-,root,root) %defattr(-,root,root)
%doc NEWS COPYING README.md %doc NEWS COPYING README.md
%dir /etc/issue.d %ghost %{_sysconfdir}/issue
%dir /usr/lib/issue.d %dir %{_sysconfdir}/issue.d
%dir /usr/lib/tmpfiles.d %dir %{_prefix}/lib/issue.d
%dir /usr/lib/udev %dir %{_prefix}/lib/tmpfiles.d
%dir /usr/lib/udev/rules.d %dir %{_prefix}/lib/udev
/usr/lib/tmpfiles.d/issue-generator.conf %dir %{_prefix}/lib/udev/rules.d
/usr/lib/udev/rules.d/90-issue-generator.rules %{_localstatedir}/adm/fillup-templates/sysconfig.issue-generator
/usr/lib/systemd/system/issue-add-ssh-keys.service %{_prefix}/lib/tmpfiles.d/issue-generator.conf
/usr/lib/systemd/system/issue-generator.service %{_prefix}/lib/udev/rules.d/90-issue-generator.rules
/usr/sbin/issue-generator %{_prefix}/lib/systemd/system/issue-add-ssh-keys.service
/usr/sbin/rcissue-generator %{_prefix}/lib/systemd/system/issue-generator.service
/usr/sbin/rcissue-add-ssh-keys %{_sbindir}/issue-generator
%doc %{_mandir}/man5/issue.d.5.gz %{_sbindir}/rcissue-generator
%doc %{_mandir}/man8/issue-generator.8.gz %{_sbindir}/rcissue-add-ssh-keys
%doc %{_mandir}/man8/90-issue-generator.rules.8.gz %{_mandir}/man5/issue.d.5%{ext_man}
%doc %{_mandir}/man8/issue-add-ssh-keys.service.8.gz %{_mandir}/man8/issue-generator.8%{ext_man}
%doc %{_mandir}/man8/issue-generator.conf.8.gz %{_mandir}/man8/90-issue-generator.rules.8%{ext_man}
%doc %{_mandir}/man8/issue-generator.service.8.gz %{_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 %changelog