rpms/pbzip2/devel pbzip2.spec,1.9,1.10

Jeff Gilchrist (jeffg) fedora-extras-commits at redhat.com
Thu Jul 26 20:28:17 UTC 2007


Author: jeffg

Update of /cvs/extras/rpms/pbzip2/devel
In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv20011

Modified Files:
	pbzip2.spec 
Log Message:
Added proper way to link file



Index: pbzip2.spec
===================================================================
RCS file: /cvs/extras/rpms/pbzip2/devel/pbzip2.spec,v
retrieving revision 1.9
retrieving revision 1.10
diff -u -r1.9 -r1.10
--- pbzip2.spec	26 Jul 2007 17:16:26 -0000	1.9
+++ pbzip2.spec	26 Jul 2007 20:27:45 -0000	1.10
@@ -30,26 +30,18 @@
 rm -rf %{buildroot}
 install -D -m755 %{name} %{buildroot}%{_bindir}/%{name}
 install -D -m644 %{name}.1 %{buildroot}%{_mandir}/man1/%{name}.1
+ln -sf ./%{name} %{buildroot}%{_bindir}/pbunzip2
 
 
 %clean
 rm -rf %{buildroot}
 
 
-%post
-cd %{_bindir}
-ln -s -f %{name} pbunzip2
-
-
-%postun
-cd %{_bindir}
-rm -rf pbunzip2
-
-
 %files
 %defattr(-,root,root)
 %doc AUTHORS ChangeLog COPYING README
 %{_bindir}/%{name}
+%{_bindir}/pbunzip2
 %{_mandir}/man1/*
 
 




More information about the scm-commits mailing list