summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorElan Ruusamäe2007-07-16 12:07:56 (GMT)
committercvs2git2012-06-24 12:13:13 (GMT)
commit671be36497b6fb15a01720184a98a43f310eaf51 (patch)
treeec75143a60848d39ff708c448a7c2859720ae231
parenta59ff69b6c5d52bf618af05934cea374c74f20ec (diff)
downloadcsstidy-671be36497b6fb15a01720184a98a43f310eaf51.zip
csstidy-671be36497b6fb15a01720184a98a43f310eaf51.tar.gz
- use prebuilt binary
Changed files: csstidy.spec -> 1.2
-rw-r--r--csstidy.spec7
1 files changed, 5 insertions, 2 deletions
diff --git a/csstidy.spec b/csstidy.spec
index f11ec55..9f3e3d1 100644
--- a/csstidy.spec
+++ b/csstidy.spec
@@ -4,8 +4,9 @@ Version: 1.2
Release: 0.1
License: GPL v2
Group: Applications/WWW
-Source0: http://dl.sourceforge.net/csstidy/%{name}-source-%{version}.zip
-# Source0-md5: cd2e1e50289fdaba0c56dcb293de8c40
+#Source0: http://dl.sourceforge.net/csstidy/%{name}-source-%{version}.zip
+Source0: http://dl.sourceforge.net/csstidy/%{name}-linux-%{version}.zip
+# Source0-md5: 68a56c0102905d5330233adbcc525faa
URL: http://csstidy.sourceforge.net/
BuildRequires: libstdc++-devel
BuildRequires: sed >= 4.0
@@ -17,10 +18,12 @@ Opensource CSS parser and optimiser.
%prep
%setup -qc
+%if 0
sed -i -e 's,g++,%{__cc},;s,-o,%{rpmcxxflags} -o,' compile.sh
%build
sh -x ./compile.sh
+%endif
%install
rm -rf $RPM_BUILD_ROOT