|
|
@ -6,7 +6,7 @@
|
|
|
|
#%%global without_hscolour 1
|
|
|
|
#%%global without_hscolour 1
|
|
|
|
|
|
|
|
|
|
|
|
Name: ghc-rpm-macros
|
|
|
|
Name: ghc-rpm-macros
|
|
|
|
Version: 1.3.1
|
|
|
|
Version: 1.3.2
|
|
|
|
Release: 1%{?dist}
|
|
|
|
Release: 1%{?dist}
|
|
|
|
Summary: RPM macros for building packages for GHC
|
|
|
|
Summary: RPM macros for building packages for GHC
|
|
|
|
|
|
|
|
|
|
|
@ -24,6 +24,7 @@ Source3: ghc-deps.sh
|
|
|
|
Source4: cabal-tweak-dep-ver
|
|
|
|
Source4: cabal-tweak-dep-ver
|
|
|
|
Source5: cabal-tweak-flag
|
|
|
|
Source5: cabal-tweak-flag
|
|
|
|
Source6: macros.ghc-extra
|
|
|
|
Source6: macros.ghc-extra
|
|
|
|
|
|
|
|
Source7: ghc.attr
|
|
|
|
Requires: ghc-srpm-macros
|
|
|
|
Requires: ghc-srpm-macros
|
|
|
|
# macros.ghc-srpm moved out from redhat-rpm-config-21
|
|
|
|
# macros.ghc-srpm moved out from redhat-rpm-config-21
|
|
|
|
Requires: redhat-rpm-config > 20-1.fc21
|
|
|
|
Requires: redhat-rpm-config > 20-1.fc21
|
|
|
@ -62,6 +63,7 @@ install -p -D -m 0644 %{SOURCE0} %{buildroot}/%{macros_dir}/macros.ghc
|
|
|
|
install -p -D -m 0644 %{SOURCE6} %{buildroot}/%{macros_dir}/macros.ghc-extra
|
|
|
|
install -p -D -m 0644 %{SOURCE6} %{buildroot}/%{macros_dir}/macros.ghc-extra
|
|
|
|
|
|
|
|
|
|
|
|
install -p -D -m 0755 %{SOURCE3} %{buildroot}/%{_prefix}/lib/rpm/ghc-deps.sh
|
|
|
|
install -p -D -m 0755 %{SOURCE3} %{buildroot}/%{_prefix}/lib/rpm/ghc-deps.sh
|
|
|
|
|
|
|
|
install -p -D -m 0644 %{SOURCE7} %{buildroot}/%{_prefix}/lib/rpm/fileattrs/ghc.attr
|
|
|
|
|
|
|
|
|
|
|
|
install -p -D -m 0755 %{SOURCE4} %{buildroot}/%{_bindir}/cabal-tweak-dep-ver
|
|
|
|
install -p -D -m 0755 %{SOURCE4} %{buildroot}/%{_bindir}/cabal-tweak-dep-ver
|
|
|
|
install -p -D -m 0755 %{SOURCE5} %{buildroot}/%{_bindir}/cabal-tweak-flag
|
|
|
|
install -p -D -m 0755 %{SOURCE5} %{buildroot}/%{_bindir}/cabal-tweak-flag
|
|
|
@ -70,6 +72,7 @@ install -p -D -m 0755 %{SOURCE5} %{buildroot}/%{_bindir}/cabal-tweak-flag
|
|
|
|
%files
|
|
|
|
%files
|
|
|
|
%doc COPYING AUTHORS
|
|
|
|
%doc COPYING AUTHORS
|
|
|
|
%{macros_dir}/macros.ghc
|
|
|
|
%{macros_dir}/macros.ghc
|
|
|
|
|
|
|
|
%{_prefix}/lib/rpm/fileattrs/ghc.attr
|
|
|
|
%{_prefix}/lib/rpm/ghc-deps.sh
|
|
|
|
%{_prefix}/lib/rpm/ghc-deps.sh
|
|
|
|
%{_bindir}/cabal-tweak-dep-ver
|
|
|
|
%{_bindir}/cabal-tweak-dep-ver
|
|
|
|
%{_bindir}/cabal-tweak-flag
|
|
|
|
%{_bindir}/cabal-tweak-flag
|
|
|
@ -80,6 +83,11 @@ install -p -D -m 0755 %{SOURCE5} %{buildroot}/%{_bindir}/cabal-tweak-flag
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
%changelog
|
|
|
|
%changelog
|
|
|
|
|
|
|
|
* Thu Aug 21 2014 Jens Petersen <petersen@redhat.com> - 1.3.2-1
|
|
|
|
|
|
|
|
- add an rpm .attr file for ghc-deps.sh rather than running it
|
|
|
|
|
|
|
|
as an external dep generator (#1132275)
|
|
|
|
|
|
|
|
(see http://rpm.org/wiki/PackagerDocs/DependencyGenerator)
|
|
|
|
|
|
|
|
|
|
|
|
* Wed Aug 20 2014 Jens Petersen <petersen@redhat.com> - 1.3.1-1
|
|
|
|
* Wed Aug 20 2014 Jens Petersen <petersen@redhat.com> - 1.3.1-1
|
|
|
|
- fix warning in macros.ghc-extra about unused pkgnamever
|
|
|
|
- fix warning in macros.ghc-extra about unused pkgnamever
|
|
|
|
|
|
|
|
|
|
|
|