rpms/alpine/devel alpine.spec,1.2,1.3

Rex Dieter (rdieter) fedora-extras-commits at redhat.com
Thu Oct 25 14:56:01 UTC 2007


Author: rdieter

Update of /cvs/pkgs/rpms/alpine/devel
In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv31239

Modified Files:
	alpine.spec 
Log Message:
* Thu Oct 25 2007 Rex Dieter <rdieter[AT]fedoraproject.org. 0.9999-4
- omit sample pine.conf, instead use %ghost to preserve existing pine.conf's



Index: alpine.spec
===================================================================
RCS file: /cvs/pkgs/rpms/alpine/devel/alpine.spec,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -r1.2 -r1.3
--- alpine.spec	24 Oct 2007 18:28:08 -0000	1.2
+++ alpine.spec	25 Oct 2007 14:55:27 -0000	1.3
@@ -3,7 +3,7 @@
 Summary: UW Alpine mail user agent
 Name: alpine
 Version: 0.9999
-Release: 3%{?dist}
+Release: 4%{?dist}
 
 License: Apache Software License
 Group: Applications/Internet
@@ -27,9 +27,6 @@
 Conflicts: pine
 BuildRoot: %(mktemp -ud %{_tmppath}/%{name}-%{version}-%{release}-XXXXXX)
 
-Source2: pine.conf
-Source3: pine.conf.fixed
-
 BuildRequires: /usr/sbin/sendmail
 BuildRequires: gettext inews krb5-devel ncurses-devel 
 BuildRequires: openldap-devel openssl-devel pam-devel passwd sendmail
@@ -69,8 +66,10 @@
 rm -rf $RPM_BUILD_ROOT
 make install DESTDIR=$RPM_BUILD_ROOT
 
-install -p -m644 -D %{SOURCE2} $RPM_BUILD_ROOT/etc/pine.conf
-install -p -m644 -D %{SOURCE3} $RPM_BUILD_ROOT/etc/pine.conf.fixed
+# create/touch %ghost'd files
+mkdir -p $RPM_BUILD_ROOT/etc
+touch $RPM_BUILD_ROOT/etc/pine.conf
+touch $RPM_BUILD_ROOT/etc/pine.conf.fixed
 
 %clean
 rm -rf $RPM_BUILD_ROOT
@@ -78,8 +77,8 @@
 %files
 %defattr(-,root,root,-)
 %doc README LICENSE doc/tech-notes.txt
-%config(missingok,noreplace) /etc/pine.conf
-%config(missingok,noreplace) /etc/pine.conf.fixed
+%ghost %config(noreplace) /etc/pine.conf
+%ghost %config(noreplace) /etc/pine.conf.fixed
 %{_bindir}/alpine
 %{_bindir}/pico
 %{_bindir}/pilot
@@ -92,6 +91,9 @@
 %{_mandir}/man1/rpdump.1*
 
 %changelog
+* Thu Oct 25 2007 Rex Dieter <rdieter[AT]fedoraproject.org. 0.9999-4
+- omit sample pine.conf, instead use %%ghost to preserve existing pine.conf's
+
 * Wed Oct 24 2007 Rex Dieter <rdieter[AT]fedoraproject.org> 0.9999-3
 - include stock pine.conf, pine.conf.fixed
 




More information about the fedora-extras-commits mailing list