%global uvcommit d8ab1c6a33e77bf155facb54215dd8798e13825d %global uvversion 1.9.0 %global llvmversion 3.9 Name: julia Version: 0.6.3 Release: 3%{?dist} Summary: High-level, high-performance dynamic language for technical computing Group: Development/Languages # Julia itself is MIT, with a few LGPLv2+ and GPLv2+ files # libuv is MIT License: MIT and LGPLv2+ and GPLv2+ URL: http://julialang.org/ Source0: https://github.com/JuliaLang/julia/releases/download/v%{version}/julia-%{version}.tar.gz # Julia currently uses a custom version of libuv, patches are not yet upstream Source1: https://api.github.com/repos/JuliaLang/libuv/tarball/%{uvcommit}#/libuv-%{uvcommit}.tar.gz Patch0: julia_unwind_version.patch Patch1: julia_msg_case.patch Provides: bundled(libuv) = %{uvversion} BuildRequires: arpack-devel BuildRequires: desktop-file-utils BuildRequires: dSFMT-devel BuildRequires: fftw-devel >= 3.3.2 BuildRequires: gcc-c++ # Needed to test package management until the switch to libgit2 BuildRequires: git BuildRequires: gmp-devel >= 5.0 # Needed for libgit2 test BuildRequires: hostname BuildRequires: ImageMagick BuildRequires: libgit2-devel >= 0.23 BuildRequires: libunwind-devel >= 1.2 BuildRequires: llvm%{llvmversion}-devel BuildRequires: mpfr-devel >= 3.0 BuildRequires: openblas-threads BuildRequires: openlibm-devel >= 0.4 BuildRequires: openspecfun-devel >= 0.4 # Needed for libgit2 test BuildRequires: openssl BuildRequires: pcre2-devel BuildRequires: perl-interpreter BuildRequires: suitesparse-devel BuildRequires: utf8proc-devel >= 2.1 BuildRequires: zlib-devel # Needed for package management until the switch to libgit2 Requires: git Requires: julia-common = %{version}-%{release} Requires: openblas-threads # Currently, Julia does not work properly architectures other than x86 # https://bugzilla.redhat.com/show_bug.cgi?id=1158024 # https://bugzilla.redhat.com/show_bug.cgi?id=1158026 # https://bugzilla.redhat.com/show_bug.cgi?id=1158025 ExclusiveArch: %{ix86} x86_64 %description Julia is a high-level, high-performance dynamic programming language for technical computing, with syntax that is familiar to users of other technical computing environments. It provides a sophisticated compiler, distributed parallel execution, numerical accuracy, and an extensive mathematical function library. The library, largely written in Julia itself, also integrates mature, best-of-breed C and Fortran libraries for linear algebra, random number generation, signal processing, and string processing. This package only contains the essential parts of the Julia environment: the julia executable and the standard library. %package common Summary: Julia architecture-independent files Group: Development/Languages BuildArch: noarch Requires: julia = %{version}-%{release} %description common Contains architecture-independent files required to run Julia. %package doc Summary: Julia documentation and code examples Group: Documentation BuildArch: noarch Requires: julia = %{version}-%{release} %description doc Contains the Julia manual, the reference documentation of the standard library and code examples. %package devel Summary: Julia development, debugging and testing files Group: Development/Libraries Requires: julia%{?_isa} = %{version}-%{release} %description devel Contains library symbolic links and header files for developing applications linking to the Julia library, in particular embedding it, as well as tests and a debugging version of Julia. This package is normally not needed when programming in the Julia language, but rather for embedding Julia into external programs or debugging Julia itself. %prep %setup -qn julia %patch0 -p1 %patch1 -p1 mkdir -p deps/srccache pushd deps/srccache # Julia downloads tarballs for external dependencies even when the folder is present: # we need to copy the tarball and let the build process unpack it # https://github.com/JuliaLang/julia/pull/10280 cp -p %SOURCE1 . popd # Required so that the image is not optimized for the build CPU # (i386 does not work yet: https://github.com/JuliaLang/julia/issues/7185) # Without specifying MARCH, the Julia system image would only work on native CPU %ifarch %{ix86} %global march pentium4 %endif %ifarch x86_64 %global march x86-64 %endif %ifarch %{arm} # gcc and LLVM do not support the same targets %global march $(echo %optflags | grep -Po 'march=\\K[^ ]*') %endif %ifarch armv7hl %global march $(echo %optflags | grep -Po 'march=\\K[^ ]*') %endif %ifarch aarch64 %global march armv8-a %endif %global blas USE_BLAS64=0 LIBBLAS=-lopenblasp LIBBLASNAME=libopenblasp.so.0 LIBLAPACK=-lopenblasp LIBLAPACKNAME=libopenblasp.so.0 # About build, build_libdir and build_bindir, see https://github.com/JuliaLang/julia/issues/5063#issuecomment-32628111 %global julia_builddir %{_builddir}/%{name}/build %global commonopts USE_SYSTEM_LLVM=1 USE_LLVM_SHLIB=1 LLVM_CONFIG=%{_libdir}/llvm%{llvmversion}/bin/llvm-config USE_SYSTEM_LIBUNWIND=1 USE_SYSTEM_READLINE=1 USE_SYSTEM_PCRE=1 USE_SYSTEM_OPENSPECFUN=1 USE_SYSTEM_BLAS=1 USE_SYSTEM_LAPACK=1 USE_SYSTEM_FFTW=1 USE_SYSTEM_GMP=1 USE_SYSTEM_MPFR=1 USE_SYSTEM_ARPACK=1 USE_SYSTEM_SUITESPARSE=1 USE_SYSTEM_ZLIB=1 USE_SYSTEM_GRISU=1 USE_SYSTEM_DSFMT=1 USE_SYSTEM_LIBUV=0 USE_SYSTEM_UTF8PROC=1 USE_SYSTEM_LIBGIT2=1 USE_SYSTEM_LIBSSH2=1 USE_SYSTEM_MBEDTLS=1 USE_SYSTEM_PATCHELF=1 USE_SYSTEM_LIBM=0 USE_SYSTEM_OPENLIBM=1 VERBOSE=1 MARCH=%{march} %{blas} prefix=%{_prefix} bindir=%{_bindir} libdir=%{_libdir} libexecdir=%{_libexecdir} datarootdir=%{_datarootdir} includedir=%{_includedir} sysconfdir=%{_sysconfdir} build_prefix=%{julia_builddir} build_bindir=%{julia_builddir}%{_bindir} build_libdir=%{julia_builddir}%{_libdir} build_private_libdir=%{julia_builddir}%{_libdir}/julia build_libexecdir=%{julia_builddir}%{_libexecdir} build_datarootdir=%{julia_builddir}%{_datarootdir} build_includedir=%{julia_builddir}%{_includedir} build_sysconfdir=%{julia_builddir}%{_sysconfdir} JULIA_CPU_CORES=$(echo %{?_smp_mflags} | sed s/-j//) %build # Need to repeat -march here to override i686 from optflags %global buildflags CFLAGS="%{optflags} -march=%{march}" CXXFLAGS="%{optflags} -march=%{march}" # If debug is not built here, it is built during make install make %{?_smp_mflags} %{buildflags} %{commonopts} release debug %check make %{commonopts} test %install make %{commonopts} DESTDIR=%{buildroot} install # Julia currently needs the unversioned .so files: # https://github.com/JuliaLang/julia/issues/6742 # By creating symlinks to versioned libraries, we hardcode a dependency # on the specific SOVERSION so that any breaking update in one of the # dependencies can be detected (just as what happens with the C linker). # Automatic dependency detection is smart enough to add Requires as needed. pushd %{buildroot}%{_libdir}/julia for LIB in arpack cholmod dSFMT git2 fftw3 gmp mpfr openspecfun pcre2-8 umfpack do ln -s %{_libdir}/$(readelf -d %{_libdir}/lib$LIB.so | sed -n '/SONAME/s/.*\(lib[^ ]*\.so\.[0-9]*\).*/\1/p') lib$LIB.so # Raise an error in case of failure realpath -e lib$LIB.so done # Note the "libopen" trick because of greedy matching ln -s %{_libdir}/libopen$(readelf -d %{_libdir}/libopenlibm.so | sed -n '/SONAME/s/.*\(lib[^ ]*\.so\.[0-9]*\).*/\1/p') libopenlibm.so # Raise an error in case of failure realpath -e libopenlibm.so popd cp -p CONTRIBUTING.md LICENSE.md NEWS.md README.md %{buildroot}%{_docdir}/julia/ pushd %{buildroot}%{_prefix}/share/man/man1/ ln -s julia.1.gz julia-debug.1.gz popd # Install .desktop file and icons mkdir -p %{buildroot}%{_datarootdir}/icons/hicolor/scalable/apps/ mkdir -p %{buildroot}%{_datarootdir}/icons/hicolor/16x16/apps/ mkdir -p %{buildroot}%{_datarootdir}/icons/hicolor/24x24/apps/ mkdir -p %{buildroot}%{_datarootdir}/icons/hicolor/32x32/apps/ mkdir -p %{buildroot}%{_datarootdir}/icons/hicolor/48x48/apps/ mkdir -p %{buildroot}%{_datarootdir}/icons/hicolor/256x256/apps/ cp -p contrib/julia.svg %{buildroot}%{_datarootdir}/icons/hicolor/scalable/apps/%{name}.svg convert -scale 16x16 -extent 16x16 -gravity center -background transparent \ contrib/julia.svg %{buildroot}%{_datarootdir}/icons/hicolor/16x16/apps/%{name}.png convert -scale 24x24 -extent 24x24 -gravity center -background transparent \ contrib/julia.svg %{buildroot}%{_datarootdir}/icons/hicolor/24x24/apps/%{name}.png convert -scale 32x32 -extent 32x32 -gravity center -background transparent \ contrib/julia.svg %{buildroot}%{_datarootdir}/icons/hicolor/32x32/apps/%{name}.png convert -scale 48x48 -extent 48x48 -gravity center -background transparent \ contrib/julia.svg %{buildroot}%{_datarootdir}/icons/hicolor/48x48/apps/%{name}.png convert -scale 256x256 -extent 256x256 -gravity center -background transparent \ contrib/julia.svg %{buildroot}%{_datarootdir}/icons/hicolor/256x256/apps/%{name}.png desktop-file-validate %{buildroot}%{_datarootdir}/applications/%{name}.desktop %files %dir %{_docdir}/julia/ %{_docdir}/julia/LICENSE.md %doc %{_docdir}/julia/CONTRIBUTING.md %doc %{_docdir}/julia/NEWS.md %doc %{_docdir}/julia/README.md %{_bindir}/julia %{_libdir}/julia/ %{_libdir}/libjulia.so.* %exclude %{_libdir}/libjulia.so %exclude %{_libdir}/libjulia-debug.so* %{_mandir}/man1/julia.1* %{_datarootdir}/appdata/julia.appdata.xml %{_datarootdir}/applications/%{name}.desktop %{_datarootdir}/icons/hicolor/scalable/apps/%{name}.svg %{_datarootdir}/icons/hicolor/16x16/apps/%{name}.png %{_datarootdir}/icons/hicolor/24x24/apps/%{name}.png %{_datarootdir}/icons/hicolor/32x32/apps/%{name}.png %{_datarootdir}/icons/hicolor/48x48/apps/%{name}.png %{_datarootdir}/icons/hicolor/256x256/apps/%{name}.png %files common %dir %{_datarootdir}/julia/ %{_datarootdir}/julia/*.jl %{_datarootdir}/julia/base/ %dir %{_sysconfdir}/julia/ %config(noreplace) %{_sysconfdir}/julia/juliarc.jl %files doc %doc %{_docdir}/julia/ %files devel %{_bindir}/julia-debug %{_libdir}/libjulia.so %{_libdir}/libjulia-debug.so* %{_includedir}/julia/ %{_datarootdir}/julia/test/ %{_mandir}/man1/julia-debug.1* %post /sbin/ldconfig /bin/touch --no-create %{_datarootdir}/icons/hicolor &>/dev/null || : exit 0 %postun /sbin/ldconfig if [ $1 -eq 0 ] ; then /bin/touch --no-create %{_datarootdir}/icons/hicolor &>/dev/null /usr/bin/gtk-update-icon-cache %{_datarootdir}/icons/hicolor &>/dev/null || : fi exit 0 %posttrans /usr/bin/gtk-update-icon-cache %{_datarootdir}/icons/hicolor &>/dev/null || : %changelog * Fri Aug 10 2018 Igor Gnatenko - 0.6.3-3 - Rebuild for libgit2 0.27.x * Fri Jul 13 2018 Fedora Release Engineering - 0.6.3-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild * Sun Jun 3 2018 Milan Bouchet-Valat - 0.6.3-1 - New upstream release. * Fri Mar 23 2018 Milan Bouchet-Valat - 0.6.2-3 - Work around bug in UNW_VERSION_MINOR not being a single integer by removing redundant check. - Fix libgit2 test failure due to letter case. * Wed Feb 07 2018 Fedora Release Engineering - 0.6.2-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild * Thu Dec 14 2017 Milan Bouchet-Valat - 0.6.2-1 - New upstream release. * Thu Aug 03 2017 Fedora Release Engineering - 0.6.0-4 - Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Binutils_Mass_Rebuild * Wed Jul 26 2017 Fedora Release Engineering - 0.6.0-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild * Sun Jul 09 2017 Milan Bouchet-Valat - 0.6.0-2 - Fix build with libgit2 0.26. * Sat Jul 08 2017 Igor Gnatenko - 0.6.0-2 - Rebuild for libgit2 0.26.x * Thu Jun 22 2017 Milan Bouchet-Valat - 0.6.0-1 - New upstream release. * Sun Jun 11 2017 Milan Bouchet-Valat - 0.6.0-0.5.rc3 - New upstream release. - Use system libunwind instead of bundling it. * Thu May 25 2017 Peter Robinson 0.6.0-0.4.rc2 - Rebuild llvm-4 * Fri May 19 2017 Milan Bouchet-Valat - 0.6.0-0.3.rc2 - New upstream release. * Sat Apr 1 2017 Milan Bouchet-Valat - 0.6.0-0.2.pre.beta - New upstream release. * Thu Mar 2 2017 Milan Bouchet-Valat - 0.6.0-0.1.pre.alpha - New upstream release, fixes build with libgit 0.25. * Tue Feb 21 2017 Milan Bouchet-Valat - 0.5.0-3 - Rebuild for GCC7. * Tue Feb 07 2017 Igor Gnatenko - 0.5.0-2 - Rebuild for libgit2-0.25.x * Tue Sep 20 2016 Milan Bouchet-Valat - 0.5.0-1 - New upstream release. * Thu Sep 15 2016 Milan Bouchet-Valat - 0.5.0-0.rc4 - New upstream release candidate. * Mon Jun 20 2016 Milan Bouchet-Valat - 0.4.6-1 - New upstream release. - Drop tridiag patch, now included upstream. * Wed Mar 30 2016 Igor Gnatenko - 0.4.5-2 - Rebuild for libgit2 0.24.0 once more * Sun Mar 20 2016 Milan Bouchet-Valat - 0.4.5-1 - New upstream release. * Sun Mar 20 2016 Milan Bouchet-Valat - 0.4.3-9 - Add patch to fix non-deterministic test failure with OpenBLAS 0.2.16. * Sun Mar 20 2016 Igor Gnatenko - 0.4.3-8 - Rebuild for libgit2 0.24.0 * Tue Mar 8 2016 Milan Bouchet-Valat - 0.4.3-7 - Fix generation of library symlinks to rely only on major version. - Rebuild for openlibm SONAME bump. - Use openlibm on all platforms. * Wed Mar 2 2016 Milan Bouchet-Valat - 0.4.3-6 - Fix missing PCRE2 dependency, use realpath -e to detect this problem. * Tue Mar 1 2016 Milan Bouchet-Valat - 0.4.3-5 - Automate generation of library symlinks, and include them in the package instead of in %%post so that dependencies on specific library versions are detected. * Fri Feb 26 2016 Suvayu Ali - 0.4.3-4 - Fix broken symlinks in libdir * Thu Feb 04 2016 Fedora Release Engineering - 0.4.3-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild * Thu Jan 28 2016 Milan Bouchet-Valat - 0.4.3-2 - Fix build with GCC 6. * Thu Jan 28 2016 Milan Bouchet-Valat - 0.4.3-1 - New upstream release. - Revert to LP64 OpenBLAS until ILP64 works correctly. * Wed Jan 27 2016 Adam Jackson 0.4.2-4 - Rebuild for llvm 3.7.1 library split * Tue Jan 5 2016 Orion Poplawski - 0.4.2-3 - Use proper conditional for __isa_bits tests * Thu Dec 24 2015 Milan Bouchet-Valat - 0.4.2-2 - Use new ILP64 OpenBLAS, suffixed with 64_ (ARPACK and SuiteSparse still use the LP64 Atlas). * Wed Dec 9 2015 Milan Bouchet-Valat - 0.4.2-1 - New upstream release. - Update bundled libuv to latest Julia fork. * Mon Nov 9 2015 Milan Bouchet-Valat - 0.4.1-1 - New upstream release. - Pass explicitly -march to override default -march=i686 with pentium4. - Get rid of useless build dependencies. * Fri Oct 9 2015 Milan Bouchet-Valat - 0.4.0-2 - Use LLVM 3.3 to fix bugs and improve compilation performance. - Run all the tests now that they pass. - Stop specifying -fsigned-char explicitly, since it is now handled by Julia. - Refactor architecture checking logic to prepare support for new arches. - Use upstream .desktop file instead of a custom one. * Fri Oct 9 2015 Milan Bouchet-Valat - 0.4.0-1 - New upstream release. - Drop patches now included upstream. - Drop obsolete rm commands. * Thu Sep 17 2015 Dave Airlie 0.4.0-0.4.rc1 - drag in latest upstream 0.4 branch in hope of fixing i686 - drop out some tests on i686 - build against LLVM 3.7 * Fri Sep 11 2015 Milan Bouchet-Valat - 0.4.0-0.3.rc1 - New upstream release candidate. - Drop now useless patch. - Remove libccalltest.so file installed under /usr/share/. * Fri Aug 28 2015 Nils Philippsen - 0.4.0-0.2.20150823git - rebuild against suitesparse-4.4.5, to work around https://github.com/JuliaLang/julia/issues/12841 * Sun Aug 23 2015 Milan Bouchet-Valat - 0.4.0-0.1.20150823git - Update to development version 0.4.0 to fix FTBFS. - Move to PCRE2, libgit2, utf8proc 1.3, and up-to-date libuv fork. - Preliminary support for ARM. - patchelf no longer needed when the same paths are passed to 'make' and 'make install'. - Building Sphynx documentation no longer needed. - Fix icons to be square. * Wed Jun 17 2015 Fedora Release Engineering - 0.3.7-5 - Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild * Thu Jun 11 2015 Nils Philippsen - 0.3.7-4 - rebuild for suitesparse-4.4.4 * Fri Apr 10 2015 Milan Bouchet-Valat - 0.3.7-3 - Rebuilt for LLVM 3.6. * Sat Mar 28 2015 Milan Bouchet-Valat - 0.3.7-2 - Rebuild for utf8proc ABI break. * Tue Mar 24 2015 Milan Bouchet-Valat - 0.3.7-1 - New upstream release. * Mon Mar 2 2015 Milan Bouchet-Valat - 0.3.6-2 - Fix loading libcholmod, libfftw3_threads and libumfpack. * Tue Feb 17 2015 Milan Bouchet-Valat - 0.3.6-1 - New upstream release. * Fri Jan 9 2015 Milan Bouchet-Valat - 0.3.5-1 - New upstream release. * Fri Dec 26 2014 Milan Bouchet-Valat - 0.3.4-1 - New upstream release. * Fri Dec 12 2014 Adam Jackson 0.3.3-2 - Rebuild for F21 LLVM 3.5 rebase * Sun Nov 23 2014 Milan Bouchet-Valat - 0.3.3-1 - New upstream release. - Bump libuv to follow upstream. * Wed Nov 05 2014 Adam Jackson 0.3.2-4 - Don't BuildRequire: llvm-static * Tue Oct 28 2014 Milan Bouchet-Valat - 0.3.2-3 - Trigger rebuild to use LLVM 3.5. * Thu Oct 23 2014 Milan Bouchet-Valat - 0.3.2-2 - New upstream release. * Sun Oct 12 2014 Milan Bouchet-Valat - 0.3.1-3 - Fix missing symlinks to libarpack, libpcre, libgmp and libmpfr, which could prevent Julia from working correcly if the -devel packages were missing. - Fix invalid hard-coded reference to /usr/lib64. * Fri Sep 26 2014 Milan Bouchet-Valat - 0.3.1-2 - Add git to dependencies, as it is needed to install packages. * Mon Sep 22 2014 Milan Bouchet-Valat - 0.3.1-1 - New upstream version. - Depend on openblas-threads instead of openblas. - Make source URL automatically depend on version. * Sat Sep 20 2014 Peter Robinson 0.3.0-10 - Add dist tag * Fri Sep 19 2014 Milan Bouchet-Valat - 0.3.0-9 - Use libopenblasp to enable threading. - Make julia-common depend on julia. * Fri Sep 19 2014 Milan Bouchet-Valat - 0.3.0-8 - Use versioned OpenBLAS library.so to work without openblas-devel. - Use LAPACK from OpenBLAS instead of reference implementation. - Add .desktop file. - Remove objects.inv feil from HTML documentation. * Thu Sep 18 2014 Milan Bouchet-Valat - 0.3.0-7 - Fix double inclusion of HTML documentation. - Improve working directory logic. * Thu Sep 18 2014 Milan Bouchet-Valat - 0.3.0-6 - Do not remove _sources directory in HTML documentation. - Make -doc depend on julia to avoid mismatches. * Wed Sep 17 2014 Milan Bouchet-Valat - 0.3.0-5 - Revert to installing performance suite (needed to run tests). - Fix double inclusion of some documentation files. - Move architecture-independent files to a -common subpackage. - Install HTML documentation instead of .rst files. - Fix build and install paths. - Remove dependencies on dSFMT-devel, openlibm-devel and openlibm-devel, replacing them with private symbolic links. - Stop installing libjulia.so to libdir. * Mon Sep 15 2014 Milan Bouchet-Valat - 0.3.0-4 - Do not install non-functional performance test suite and Makefiles. - Install documentation to docdir instead of /usr/share/julia/doc. - Clarify comment about Julia's license. * Mon Sep 15 2014 Milan Bouchet-Valat - 0.3.0-3 - Remove -xnolibs argument passed by libuv to dtrace (no longer supported by systemtap 2.5). * Fri Sep 5 2014 Milan Bouchet-Valat - 0.3.0-2 - Claim ownership of Julia directories where needed. - Move libjulia.so to the base package instead of -devel. * Thu Aug 28 2014 Milan Bouchet-Valat - 0.3.0-1 - New upstream 0.3 final release. - Set MARCH=pentium4 for 32-bit builds to work on CPUs older than core2. - Use llvm package instead of requiring llvm3.3. - Temporarily disable failing backtrace test. * Sat Jul 26 2014 Milan Bouchet-Valat - 0.3.0-0.6.rc1 - Add dSFMT-devel to Requires. - Use versioned tarball names for libuv and Rmath. * Sun Jul 06 2014 Milan Bouchet-Valat - 0.3.0-0.5.git - Bump libuv and libRmath, simplify tarball names. * Sat Jun 28 2014 Milan Bouchet-Valat - 0.3.0-0.4.git - Use system dSFMT instead of bundling it. * Thu Jun 12 2014 Milan Bouchet-Valat - 0.3.0-0.3.git - Use llvm3.3 package when llvm is 3.4 to avoid failures. - Fixes to support EPEL. * Sun May 4 2014 Milan Bouchet-Valat - 0.3.0-0.2.git - Automatically use the installed LLVM version. - Mark dSFMT as bundled library and store version in a macro. * Tue Apr 29 2014 Milan Bouchet-Valat - 0.3.0-0.1.git - New upstream version 0.3.0. - Switch to LLVM 3.4. - Drop useless %%exclude. - Add blank lines between changelog entries. * Thu Dec 12 2013 Milan Bouchet-Valat - 0.2.0-2 - Make julia a meta-package and move essential parts to julia-base. - Use %%{ix86} in ExclusiveArch rather than i386. - Use %%{buildroot}/%%{_prefix}, %%{_sysconfdir}, %%{_libdir} and %%{_mandir} instead of hardcoding paths. - Use glob pattern to match compressed or uncompressed man pages. - Move %%post and %%postun before %%files. - Add blank lines between Changelog entries. * Wed Dec 11 2013 Milan Bouchet-Valat - 0.2.0-1 - Update to upstream version 0.2.0 and use system libraries as much as possible. * Thu Jun 14 2012 Orion Poplawski - 0-0.1.giteecafbe656863a6a8ad4969f53eed358ec2e7555 - Initial package