diff --git a/_service b/_service new file mode 100644 index 0000000..271a110 --- /dev/null +++ b/_service @@ -0,0 +1,14 @@ + + + https://github.com/mhulden/foma.git + git + enable + foma + 0.9.18+git%cd.%h + + + *.tar + xz + + + diff --git a/foma-0.9.18+git20170507.07bb944.tar.xz b/foma-0.9.18+git20170507.07bb944.tar.xz new file mode 100644 index 0000000..bb8c85b --- /dev/null +++ b/foma-0.9.18+git20170507.07bb944.tar.xz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:2dbdd391a45d3733f7515f1ab4d8a62a96ce5ff8c57926d76fc186e4d5a0167e +size 135360 diff --git a/foma-0.9.18.tar.gz b/foma-0.9.18.tar.gz deleted file mode 100644 index b34fe1d..0000000 --- a/foma-0.9.18.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:cb380f43e86fc7b3d4e43186db3e7cff8f2417e18ea69cc991e466a3907d8cbd -size 337134 diff --git a/foma.changes b/foma.changes index b86c64b..4d7aa76 100644 --- a/foma.changes +++ b/foma.changes @@ -1,3 +1,10 @@ +------------------------------------------------------------------- +Wed May 17 09:13:27 UTC 2017 - tchvatal@suse.com + +- Update to version 0.9.18+git20170507.07bb944: + * Switch to git snapshot to ensure license to be correctly set + * Install COPYING + ------------------------------------------------------------------- Wed Apr 26 10:55:31 UTC 2017 - tchvatal@suse.com diff --git a/foma.spec b/foma.spec index 7db0aa1..b807154 100644 --- a/foma.spec +++ b/foma.spec @@ -18,13 +18,15 @@ %define libname libfoma0 Name: foma -Version: 0.9.18 +Version: 0.9.18+git20170507.07bb944 Release: 0 Summary: Finite-state compiler and C library License: Apache-2.0 Group: Productivity/Text/Utilities Url: https://fomafst.github.io/ -Source0: https://bitbucket.org/mhulden/foma/downloads/foma-%{version}.tar.gz +# Source must be from git tarball has different license than git, no idea why +Source0: foma-%{version}.tar.xz +BuildRequires: flex bison BuildRequires: ncurses-devel BuildRequires: pkgconfig BuildRequires: readline-devel @@ -58,7 +60,7 @@ Requires: %{libname} = %{version} Finite-state C library development files and headers for %{name}. %prep -%setup -q +%setup -q -n %{name}-%{version}/%{name} %build make %{?_smp_mflags} \ @@ -76,6 +78,7 @@ rm -rf %{buildroot}%{_libdir}/*.a %files %defattr(-,root,root) +%doc COPYING %{_bindir}/cgflookup %{_bindir}/flookup %{_bindir}/foma