SPECS (AC-branch): poldek.spec - add trigger to covert old (non-ac...
glen
glen at pld-linux.org
Sat Jul 30 15:53:23 CEST 2005
Author: glen Date: Sat Jul 30 13:53:23 2005 GMT
Module: SPECS Tag: AC-branch
---- Log message:
- add trigger to covert old (non-ac) sources to new format
---- Files affected:
SPECS:
poldek.spec (1.197.2.18 -> 1.197.2.19)
---- Diffs:
================================================================
Index: SPECS/poldek.spec
diff -u SPECS/poldek.spec:1.197.2.18 SPECS/poldek.spec:1.197.2.19
--- SPECS/poldek.spec:1.197.2.18 Thu Jul 28 14:57:18 2005
+++ SPECS/poldek.spec Sat Jul 30 15:53:17 2005
@@ -12,7 +12,7 @@
Summary(pl): Pomocnicze narzędzie do zarządzania pakietami RPM
Name: poldek
Version: 0.19.0
-Release: 1.%{snap}
+Release: 1.%{snap}.0
License: GPL v2
Group: Applications/System
Source0: http://team.pld.org.pl/~mis/poldek/download/snapshots/%{name}-%{version}-cvs%{snap}.tar.bz2
@@ -68,6 +68,8 @@
%{!?with_imode:This version hasn't got interactive mode.}
+#'
+
%description -l pl
poldek jest narzędziem linii poleceń służącym do weryfikacji,
instalacji (włączając instalację systemu od zera), aktualizacji i
@@ -190,6 +192,34 @@
sed -i -e 's://ftp.pld-linux.org://ftp.ac.pld-linux.org:g' /etc/poldek.conf
%endif
+%triggerpostun -- poldek < 0.19.0-1.20050613.22.0
+if [ -f /etc/poldek.conf.rpmsave ]; then
+ awk '/^source/ {
+ name = $3;
+ path = $4;
+ auto = "yes";
+ autoup = "yes";
+ type = "pdir";
+
+ if (sub(",noauto", "", name)) {
+ auto = "no";
+ }
+
+ # skip ac sources. already in new config.
+ if (name !~ /^ac(-(ready|test|supported|updates-(general|security)))?$/) {
+ print "[source]";
+ print "name = " name;
+ print "type = " type;
+ print "path = " path;
+ print "auto = " auto;
+ print "autoup = " autoup;
+ print "";
+ }
+
+ }' < /etc/poldek.conf.rpmsave >> /etc/poldek/source.conf
+# mv -f /etc/poldek.conf.rpmsave /etc/poldek.conf.converted.rpmsave
+fi
+
%files -f %{name}.lang
%defattr(644,root,root,755)
%doc README* NEWS TODO conf/*.conf
@@ -222,6 +252,9 @@
All persons listed below can be reached at <cvs_login>@pld-linux.org
$Log$
+Revision 1.197.2.19 2005/07/30 13:53:17 glen
+- add trigger to covert old (non-ac) sources to new format
+
Revision 1.197.2.18 2005/07/28 12:57:18 qboosh
- added prereq patch ported from poldek 0.18.x
- mark snapshot in release
@@ -902,7 +935,8 @@
- rel 12 for ac... let's play
Revision 1.107 2003/08/18 21:38:54 arekm
-- really apply patch5 (taken from poldek repo by ankry) and add another patch that fixes segfaults when rpmdb is a bit corrupted; rel 11
+- really apply patch5 (taken from poldek repo by ankry) and add another patch
+ that fixes segfaults when rpmdb is a bit corrupted; rel 11
Revision 1.106 2003/07/16 12:24:41 ankry
- merge changes from cvs.pld.org.pl by mis and kloczek
@@ -997,8 +1031,8 @@
Revision 1.80 2002/11/21 21:48:03 kloczek
- release 5: changes in default poldek.conf file:
--- added commneted ra-updates-general packages repository,
--- added uncommented ra-updates-security packages repository.
+- added commneted ra-updates-general packages repository,
+- added uncommented ra-updates-security packages repository.
Revision 1.79 2002/11/14 19:26:27 mis
- yet another bugfix patch
@@ -1010,7 +1044,9 @@
- another bugfix patch; rel 4; stbr
Revision 1.76 2002/11/12 20:23:56 jack
-- Changed location of Ra+2.4.1{8,9} packs for i686. Now they are in the same place as i586 - I think macro in poldek.spec should replace i686 to proper %target_cpu, so please check it first
+- Changed location of Ra+2.4.1{8,9} packs for i686. Now they are in the same
+ place as i586 - I think macro in poldek.spec should replace i686 to proper
+ %target_cpu, so please check it first
- bumped release.
Revision 1.75 2002/11/12 12:34:55 mis
@@ -1047,7 +1083,7 @@
- added Requires: sed (cdid function in vfjuggle)
Revision 1.67 2002/09/20 16:24:01 mis
-- updated to 0.17.9; fixed 'sed s/i686/ARCH/' problem; stbr
+- updated to 0.17.9; fixed 'sed s/i686/ARCH/' problem; STBR
Revision 1.66 2002/09/11 22:13:05 jack
- Bumped release coz modified poldek.conf (corrected and added sources to Ra-Pack)
@@ -1161,7 +1197,7 @@
- autoupdated to 0.16
Revision 1.34 2002/01/18 02:14:38 kloczek
-perl -pi -e "s/pld-list\@pld.org.pl/feedback\@pld.org.pl/"
+- perl -pi -e "s/pld-list\@pld.org.pl/feedback\@pld.org.pl/"
Revision 1.33 2002/01/11 16:43:51 mis
- autoupdated to 0.15.9
@@ -1204,7 +1240,7 @@
- reorder BuildRequires rules.
Revision 1.20 2001/07/16 18:38:31 kloczek
-- added rpm-static to BuildRequires if %%{BOOT}.
+- added rpm-static to BuildRequires if %{BOOT}.
Revision 1.19 2001/07/16 15:19:03 mis
- updated to 0.15.3
@@ -1253,7 +1289,7 @@
- finam cleanups.
Revision 1.4 2001/04/27 14:24:43 wiget
-fix buildrequires
+- fix buildrequires
Revision 1.3 2001/04/27 14:08:11 klakier
- removed rpmvercmp from BOOT
================================================================
---- CVS-web:
http://cvs.pld-linux.org/SPECS/poldek.spec?r1=1.197.2.18&r2=1.197.2.19&f=u
More information about the pld-cvs-commit
mailing list