- 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

View File

@ -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