rpms/mtools/devel mtools.spec,1.32,1.33
Adam Tkac (atkac)
fedora-extras-commits at redhat.com
Mon Jan 14 15:56:18 UTC 2008
- Previous message (by thread): rpms/sepostgresql/F-8 postgresql-8.2.6.tar.gz,1.1,NONE
- Next message (by thread): rpms/sepostgresql/F-8 .cvsignore, 1.5, 1.6 sepostgresql.init, 1.8, 1.9 sepostgresql.spec, 1.8, 1.9 sepostgresql.te, 1.8, 1.9 sources, 1.2, 1.3
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
Author: atkac
Update of /cvs/pkgs/rpms/mtools/devel
In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv10157
Modified Files:
mtools.spec
Log Message:
- added post and preun sections as written on
http://fedoraproject.org/wiki/Packaging/ScriptletSnippets#head-47896da5fb2662d75deefeb9ba75145a398515db
- fix rpmlint errors
Index: mtools.spec
===================================================================
RCS file: /cvs/pkgs/rpms/mtools/devel/mtools.spec,v
retrieving revision 1.32
retrieving revision 1.33
diff -u -r1.32 -r1.33
--- mtools.spec 14 Jan 2008 14:00:04 -0000 1.32
+++ mtools.spec 14 Jan 2008 15:55:38 -0000 1.33
@@ -2,7 +2,7 @@
Name: mtools
Version: 3.9.11
Release: 2.1%{?dist}
-License: GPlv2+
+License: GPLv2+
Group: Applications/System
Source: http://mtools.linux.lu/mtools-%{version}.tar.bz2
Url: http://mtools.linux.lu/
@@ -48,6 +48,14 @@
%clean
rm -rf $RPM_BUILD_ROOT
+%post
+/sbin/install-info %{_infodir}/%{name}.info %{_infodir}/dir || :;
+
+%preun
+if [ "$1" -eq 0 ]; then
+ /sbin/install-info --delete %{_infodir}/%{name}.info %{_infodir}/dir || :;
+fi
+
%files
%defattr(-,root,root)
%config(noreplace) /etc/mtools.conf
@@ -58,8 +66,8 @@
%changelog
* Mon Jan 14 2008 Adam Tkac <atkac redhat com> 3.9.11-2.1
-- removed spurious post a preun sections whose installed
- /usr/share/info/dir.gz file (#428478)
+- corrected post and preun sections (#428478)
+- fix rpmlint errors
- start use autoreconf
* Wed Aug 22 2007 Adam Tkac <atkac redhat com> 3.9.11-2
@@ -188,7 +196,7 @@
* Sat Jun 17 2000 Trond Eivind Glomsrod <teg at redhat.com>
- specify ownership
-* Wed Jun 07 2000 Trond Eivind Glomsrød <teg at redhat.com>
+* Wed Jun 07 2000 Trond Eivind Glomsrod <teg at redhat.com>
- Version 3.9.7
- use %%{_mandir}, %%{_makeinstall}, %%configure, %%makeinstall
and %%{_tmppath}
- Previous message (by thread): rpms/sepostgresql/F-8 postgresql-8.2.6.tar.gz,1.1,NONE
- Next message (by thread): rpms/sepostgresql/F-8 .cvsignore, 1.5, 1.6 sepostgresql.init, 1.8, 1.9 sepostgresql.spec, 1.8, 1.9 sepostgresql.te, 1.8, 1.9 sources, 1.2, 1.3
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
More information about the fedora-extras-commits
mailing list