forked from pool/patch2mail
Accepting request 544816 from home:RBrownSUSE:branches:system:packagemanager
Replace references to /var/adm/fillup-templates with new %_fillupdir macro (boo#1069468) OBS-URL: https://build.opensuse.org/request/show/544816 OBS-URL: https://build.opensuse.org/package/show/system:packagemanager/patch2mail?expand=0&rev=14
This commit is contained in:
parent
2e763b7e2b
commit
a7adaecbc8
@ -1,3 +1,9 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Thu Nov 23 13:52:29 UTC 2017 - rbrown@suse.com
|
||||||
|
|
||||||
|
- Replace references to /var/adm/fillup-templates with new
|
||||||
|
%_fillupdir macro (boo#1069468)
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Fri Nov 27 18:56:57 UTC 2015 - opensuse@cboltz.de
|
Fri Nov 27 18:56:57 UTC 2015 - opensuse@cboltz.de
|
||||||
|
|
||||||
|
@ -1,6 +1,7 @@
|
|||||||
#
|
#
|
||||||
# spec file for package patch2mail
|
# spec file for package patch2mail
|
||||||
#
|
#
|
||||||
|
# Copyright (c) 2017 SUSE LINUX GmbH, Nuernberg, Germany.
|
||||||
# Copyright (c) 2008-2015 Christian Boltz
|
# Copyright (c) 2008-2015 Christian Boltz
|
||||||
#
|
#
|
||||||
# All modifications and additions to the file contributed by third parties
|
# All modifications and additions to the file contributed by third parties
|
||||||
@ -16,17 +17,22 @@
|
|||||||
#
|
#
|
||||||
|
|
||||||
|
|
||||||
|
#Compat macro for new _fillupdir macro introduced in Nov 2017
|
||||||
|
%if ! %{defined _fillupdir}
|
||||||
|
%define _fillupdir /var/adm/fillup-templates
|
||||||
|
%endif
|
||||||
|
|
||||||
Name: patch2mail
|
Name: patch2mail
|
||||||
Version: 1.1.2
|
Version: 1.1.2
|
||||||
Release: 0
|
Release: 0
|
||||||
#
|
#
|
||||||
#
|
#
|
||||||
Summary: Patch and package update notification via mail
|
Summary: Patch and package update notification via mail
|
||||||
License: GPL-2.0+
|
|
||||||
Group: System/Packages
|
|
||||||
#BuildRequires: bash
|
#BuildRequires: bash
|
||||||
#
|
#
|
||||||
#Url: http://blog.cboltz.de/plugin/tag/patch2mail
|
#Url: http://blog.cboltz.de/plugin/tag/patch2mail
|
||||||
|
License: GPL-2.0+
|
||||||
|
Group: System/Packages
|
||||||
Url: https://github.com/openSUSE/zypp-utils/tree/master/patch2mail
|
Url: https://github.com/openSUSE/zypp-utils/tree/master/patch2mail
|
||||||
Source: %{name}-%{version}.tar.bz2
|
Source: %{name}-%{version}.tar.bz2
|
||||||
#
|
#
|
||||||
@ -60,7 +66,7 @@ if any patches or updated packages (configureable) are available.
|
|||||||
%install
|
%install
|
||||||
%{__install} -d -m 0755 %{buildroot}%{_datadir}/%{name}
|
%{__install} -d -m 0755 %{buildroot}%{_datadir}/%{name}
|
||||||
%{__install} -d -m 0755 %{buildroot}%{_sysconfdir}/cron.daily
|
%{__install} -d -m 0755 %{buildroot}%{_sysconfdir}/cron.daily
|
||||||
%{__install} -d -m 0755 %{buildroot}%{_localstatedir}/adm/fillup-templates/
|
%{__install} -d -m 0755 %{buildroot}%{_fillupdir}/
|
||||||
|
|
||||||
%{__install} -m 0644 patch2mail.xsl %{buildroot}%{_datadir}/%{name}/patch2mail.xsl
|
%{__install} -m 0644 patch2mail.xsl %{buildroot}%{_datadir}/%{name}/patch2mail.xsl
|
||||||
%if 0%{?suse_version} < 1030
|
%if 0%{?suse_version} < 1030
|
||||||
@ -74,7 +80,7 @@ if any patches or updated packages (configureable) are available.
|
|||||||
%if 0%{?suse_version} < 1100
|
%if 0%{?suse_version} < 1100
|
||||||
%{__install} -m 0755 patch2mail_10.3 %{buildroot}%{_sysconfdir}/cron.daily/patch2mail
|
%{__install} -m 0755 patch2mail_10.3 %{buildroot}%{_sysconfdir}/cron.daily/patch2mail
|
||||||
%endif
|
%endif
|
||||||
%{__install} -m 0644 patch2mail.sysconfig %{buildroot}%{_localstatedir}/adm/fillup-templates/sysconfig.patch2mail
|
%{__install} -m 0644 patch2mail.sysconfig %{buildroot}%{_fillupdir}/sysconfig.patch2mail
|
||||||
|
|
||||||
echo ==== Buildroot: %{buildroot} ====
|
echo ==== Buildroot: %{buildroot} ====
|
||||||
find %{buildroot}
|
find %{buildroot}
|
||||||
@ -90,7 +96,7 @@ echo ================================
|
|||||||
%defattr(-,root,root)
|
%defattr(-,root,root)
|
||||||
%{_sysconfdir}/cron.daily/%{name}
|
%{_sysconfdir}/cron.daily/%{name}
|
||||||
%{_datadir}/%{name}
|
%{_datadir}/%{name}
|
||||||
%{_localstatedir}/adm/fillup-templates/sysconfig.patch2mail
|
%{_fillupdir}/sysconfig.patch2mail
|
||||||
%doc README COPYING
|
%doc README COPYING
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
Loading…
Reference in New Issue
Block a user