Mailinglist Archive: zypp-commit (266 mails)

< Previous Next >
[zypp-commit] r11780 - in /trunk/tools/patch2mail: patch2mail patch2mail.changes patch2mail.spec
  • From: cboltz@xxxxxxxxxxxxxxxx
  • Date: Fri, 21 Nov 2008 20:15:51 -0000
  • Message-id: <20081121201551.51DE2FB7BB@xxxxxxxxxxxxxxxx>
Author: cboltz
Date: Fri Nov 21 21:15:50 2008
New Revision: 11780

URL: http://svn.opensuse.org/viewcvs/zypp?rev=11780&view=rev
Log:
- update for openSUSE 11.1 (zypper needs "lu -t patch" now)
- version 0.9.3
- some small specfile enhancements

Modified:
trunk/tools/patch2mail/patch2mail
trunk/tools/patch2mail/patch2mail.changes
trunk/tools/patch2mail/patch2mail.spec

Modified: trunk/tools/patch2mail/patch2mail
URL:
http://svn.opensuse.org/viewcvs/zypp/trunk/tools/patch2mail/patch2mail?rev=11780&r1=11779&r2=11780&view=diff
==============================================================================
--- trunk/tools/patch2mail/patch2mail (original)
+++ trunk/tools/patch2mail/patch2mail Fri Nov 21 21:15:50 2008
@@ -3,7 +3,7 @@
tmp="$(mktemp /tmp/updates.XXXXXX)"

/usr/sbin/zypp-refresh-wrapper >/dev/null
-/usr/bin/zypper --xmlout lu | xsltproc /usr/share/patch2mail/patch2mail.xsl -
"$tmp"
+/usr/bin/zypper --xmlout lu -t patch | xsltproc
/usr/share/patch2mail/patch2mail.xsl - > "$tmp"
grep "ERROR\|^===" "$tmp" >/dev/null || {
rm -f "$tmp"
exit 0 # no updates, no errors

Modified: trunk/tools/patch2mail/patch2mail.changes
URL:
http://svn.opensuse.org/viewcvs/zypp/trunk/tools/patch2mail/patch2mail.changes?rev=11780&r1=11779&r2=11780&view=diff
==============================================================================
--- trunk/tools/patch2mail/patch2mail.changes (original)
+++ trunk/tools/patch2mail/patch2mail.changes Fri Nov 21 21:15:50 2008
@@ -1,3 +1,8 @@
+Fri Nov 21 20:45:00 CEST 2008 - cboltz
+
+- update for openSUSE 11.1 (zypper needs "lu -t patch" now)
+- version 0.9.3
+
Sun Jul 20 18:20:00 CEST 2008 - cboltz

- update for openSUSE 11.0 (scripts for older versions still included)

Modified: trunk/tools/patch2mail/patch2mail.spec
URL:
http://svn.opensuse.org/viewcvs/zypp/trunk/tools/patch2mail/patch2mail.spec?rev=11780&r1=11779&r2=11780&view=diff
==============================================================================
--- trunk/tools/patch2mail/patch2mail.spec (original)
+++ trunk/tools/patch2mail/patch2mail.spec Fri Nov 21 21:15:50 2008
@@ -1,7 +1,7 @@
# norootforbuild
#
Name: patch2mail
-Version: 0.9.2
+Version: 0.9.3
Release: 1
#
License: GPL
@@ -33,20 +33,23 @@
Christian Boltz < p a c k a g e s AT c b o l t z DOT d e >

%prep
-%setup
+%setup -q

%build

%install
-%{__mkdir} -p %{buildroot}/usr/share/%{name}
+%{__mkdir} -p %{buildroot}%{_datadir}/%{name}
%{__mkdir} -p %{buildroot}/etc/cron.daily

-%{__cp} patch2mail.xsl %{buildroot}/usr/share/%{name}/
+%{__cp} patch2mail.xsl %{buildroot}%{_datadir}/%{name}/
%if 0%{?suse_version} < 1030
- %{__cp} patch2mail.xsl_10.2
%{buildroot}/usr/share/%{name}/patch2mail.xsl
+ %{__cp} patch2mail.xsl_10.2
%{buildroot}%{_datadir}/%{name}/patch2mail.xsl
%endif

%{__cp} patch2mail %{buildroot}/etc/cron.daily/
+%if 0%{?suse_version} < 1110
+ %{__cp} patch2mail_11.0 %{buildroot}/etc/cron.daily/patch2mail
+%endif
%if 0%{?suse_version} < 1100
%{__cp} patch2mail_10.3 %{buildroot}/etc/cron.daily/patch2mail
%endif
@@ -56,12 +59,13 @@
echo ================================

%clean
+rm -rf %{buildroot}

%files
%defattr(-,root,root)
%attr(755, root, root) /etc/cron.daily/%{name}
-/usr/share/%{name}/
-/usr/share/%{name}/%{name}.xsl
+%{_datadir}/%{name}/
+%{_datadir}/%{name}/%{name}.xsl
%doc README

%changelog

--
To unsubscribe, e-mail: zypp-commit+unsubscribe@xxxxxxxxxxxx
For additional commands, e-mail: zypp-commit+help@xxxxxxxxxxxx

< Previous Next >
This Thread
  • No further messages