diff --git a/ghc-rpm-macros.changes b/ghc-rpm-macros.changes index bd00532..273aabf 100644 --- a/ghc-rpm-macros.changes +++ b/ghc-rpm-macros.changes @@ -1,3 +1,9 @@ +------------------------------------------------------------------- +Fri Mar 27 08:17:55 UTC 2015 - peter.trommler@ohm-hochschule.de + +- add rpm library directory to files on older openSUSE +* fix build on openSUSE 11.4 + ------------------------------------------------------------------- Mon Feb 23 16:38:21 UTC 2015 - peter.trommler@ohm-hochschule.de diff --git a/ghc-rpm-macros.spec b/ghc-rpm-macros.spec index 56326c8..7338dc4 100644 --- a/ghc-rpm-macros.spec +++ b/ghc-rpm-macros.spec @@ -1,7 +1,7 @@ # # spec file for package ghc-rpm-macros # -# Copyright (c) 2015 SUSE LINUX Products GmbH, Nuernberg, Germany. +# Copyright (c) 2015 SUSE LINUX GmbH, Nuernberg, Germany. # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -109,6 +109,10 @@ install -p -D -m 0755 cabal-tweak-flag %{buildroot}/%{_bindir}/cabal-tweak-flag %defattr(-,root,root,-) %doc COPYING AUTHORS %config %{macros_dir}/macros.ghc +%if 0%{suse_version} < 1200 +%dir %{_prefix}/lib/rpm +%dir %{_prefix}/lib/rpm/fileattrs +%endif %{_prefix}/lib/rpm/fileattrs/ghc_bin.attr %{_prefix}/lib/rpm/fileattrs/ghc_lib.attr %{_prefix}/lib/rpm/ghc-deps.sh