SPECS: pastebinit.spec - use install to preserve executable bit an...
glen
glen at pld-linux.org
Sat Jan 19 23:37:38 CET 2008
Author: glen Date: Sat Jan 19 22:37:38 2008 GMT
Module: SPECS Tag: HEAD
---- Log message:
- use install to preserve executable bit and rpm autodeps; rel 5
---- Files affected:
SPECS:
pastebinit.spec (1.11 -> 1.12)
---- Diffs:
================================================================
Index: SPECS/pastebinit.spec
diff -u SPECS/pastebinit.spec:1.11 SPECS/pastebinit.spec:1.12
--- SPECS/pastebinit.spec:1.11 Tue Dec 25 23:28:21 2007
+++ SPECS/pastebinit.spec Sat Jan 19 23:37:33 2008
@@ -3,12 +3,14 @@
Summary(pl.UTF-8): Pastebin działający z linii poleceń
Name: pastebinit
Version: 0.8.1
-Release: 4
+Release: 5
License: GPL v2+
Group: Applications
Source0: http://www.stgraber.org/download/projects/pastebin/%{name}-%{version}.tar.gz
# Source0-md5: 1727da833b6eb0769f9d341e16e765c9
URL: http://www.stgraber.org/?cat=5
+BuildRequires: rpm-pythonprov
+BuildRequires: sed >= 4.0
Requires: python-modules
BuildArch: noarch
BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
@@ -25,12 +27,12 @@
%prep
%setup -q
+%{__sed} -i -e 's#http://paste.stgraber.org#http://pld.pastebin.com#g' pastebinit
%install
rm -rf $RPM_BUILD_ROOT
install -d $RPM_BUILD_ROOT%{_bindir}
-
-sed -e 's#http://paste.stgraber.org#http://pld.pastebin.com#g' pastebinit > $RPM_BUILD_ROOT%{_bindir}/%{name}
+install pastebinit $RPM_BUILD_ROOT%{_bindir}/%{name}
%clean
rm -rf $RPM_BUILD_ROOT
@@ -45,6 +47,9 @@
All persons listed below can be reached at <cvs_login>@pld-linux.org
$Log$
+Revision 1.12 2008-01-19 22:37:33 glen
+- use install to preserve executable bit and rpm autodeps; rel 5
+
Revision 1.11 2007-12-25 22:28:21 glen
- rel 4
================================================================
---- CVS-web:
http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/SPECS/pastebinit.spec?r1=1.11&r2=1.12&f=u
More information about the pld-cvs-commit
mailing list