|
|
@@ -21,10 +21,6 @@
|
|
|
## SUCH DAMAGE.
|
|
|
##
|
|
|
|
|
|
-# package version
|
|
|
-%define V_dist 3.1.15
|
|
|
-%define V_git 8a7194a
|
|
|
-
|
|
|
# package information
|
|
|
Name: sass
|
|
|
Summary: SASS Languages for CSS
|
|
|
@@ -35,11 +31,11 @@ Distribution: OpenPKG Community
|
|
|
Class: EVAL
|
|
|
Group: Web
|
|
|
License: MIT
|
|
|
-Version: %{V_dist}
|
|
|
-Release: 20120303
|
|
|
+Version: 3.3.10
|
|
|
+Release: 20140714
|
|
|
|
|
|
# list of sources
|
|
|
-Source0: https://download.github.com/nex3-sass-%{V_dist}-g%{V_git}.tar.gz
|
|
|
+Source0: https://github.com/sass/sass/archive/%{version}.tar.gz
|
|
|
|
|
|
# build information
|
|
|
BuildPreReq: OpenPKG, openpkg >= 20100101
|
|
|
@@ -53,13 +49,13 @@ PreReq: OpenPKG, openpkg >= 20100101, ruby
|
|
|
|
|
|
%track
|
|
|
prog sass = {
|
|
|
- version = %{V_dist}
|
|
|
- url = https://github.com/nex3/sass/downloads
|
|
|
- regex = (\d+\.\d+\.\d+)\.zip
|
|
|
+ version = %{version}
|
|
|
+ url = https://github.com/sass/sass/releases
|
|
|
+ regex = (\d+\.\d+\.\d+)\.tar\.gz
|
|
|
}
|
|
|
|
|
|
%prep
|
|
|
- %setup -q -n nex3-sass-%{V_git}
|
|
|
+ %setup -q
|
|
|
|
|
|
%build
|
|
|
|