diff --git a/.gitignore b/.gitignore index 34ac028..a4e39ab 100644 --- a/.gitignore +++ b/.gitignore @@ -4,3 +4,4 @@ /mujs-a0ceaf5.tar.gz /mujs-4006739.tar.gz /mujs-25821e6.tar.gz +/mujs-1.0.4.tar.gz diff --git a/mujs.spec b/mujs.spec index 20a6c00..31098ca 100644 --- a/mujs.spec +++ b/mujs.spec @@ -1,26 +1,17 @@ -%global codate 20180129 -%global cohash 25821e6 -%global checkout %{codate}git%{cohash} - %global debug_package %{nil} Name: mujs -Version: 0 -Release: 13.%{checkout}%{?dist} +Version: 1.0.4 +Release: 1%{?dist} Summary: An embeddable Javascript interpreter License: AGPLv3+ URL: http://mujs.com/ -# Source is a git checkout (git://git.ghostscript.com/mujs.git) -# export hash=your-hash-or-tag && \ -# git archive --format=tar.gz --prefix=mujs-$hash/ $hash \ -# > mujs-$hash.tar.gz -# Or simply, for the latest release, run: -# make tarball -Source0: %{name}-%{cohash}.tar.gz +Source0: https://mujs.com/downloads/%{name}-%{version}.tar.gz BuildRequires: coreutils BuildRequires: gcc BuildRequires: grep BuildRequires: make +BuildRequires: readline-devel %description MuJS is a lightweight Javascript interpreter designed for embedding in @@ -34,7 +25,7 @@ Provides: %{name}-static = %{version}-%{release} This package provides the MuJS static library. %prep -%setup -q -n %{name}-%{cohash} +%setup -q -n %{name}-%{version} chmod a-x -v docs/* %build @@ -58,6 +49,9 @@ make install DESTDIR=%{buildroot} prefix="%{_prefix}" libdir="%{_libdir}" %{_libdir}/lib%{name}.a %changelog +* Thu Sep 27 2018 Michael J Gruber - 1.0.4-1 +* Upstream release + * Fri Jul 13 2018 Fedora Release Engineering - 0-13.20180129git25821e6 - Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild diff --git a/sources b/sources index c2d7bb5..121b8ff 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (mujs-25821e6.tar.gz) = 4eb74cf698eb09b926bfe260de4a91d70c02a092e7e0835273972ca3d511627ffdb4a4e30be65960e4f66cb5d189a506050eca8b24cda8fb00dd58ab72576b44 +SHA512 (mujs-1.0.4.tar.gz) = ee88012c22265532de1b9154f39e5a2905bdb8fcd739a0176cfa4a53ae2025d5d142964afe852cdeec47553f8aa2612b24333e4d63287b540bd472ce858aaa60