Skip to content

Commit

Permalink
Minor macro cleanup
Browse files Browse the repository at this point in the history
- removed the Provides: scl-package(%scl) because it's redundant.
  The same is already done by included dependency generator.
- removed the %global __provides_exclude_from ^%{_libdir}/.*.so.*$
  (revert by popular demand)
- add new Requires: %scl_runtime, as every scl package requires the
  runtime to be installed anyway
  NOTE: this won't work for subpackages, those have to be handled by
  hand
  • Loading branch information
Jan Zeleny committed Jan 27, 2014
1 parent 2187471 commit 029120d
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions macros.scl
Original file line number Diff line number Diff line change
Expand Up @@ -60,6 +60,7 @@
Summary: Debug information for package %{name}
Group: Development/Debug
AutoReqProv: 0
Requires: %scl_runtime
Provides: scl-package(%scl)
%description debuginfo
This package provides debug information for package %{name}.
Expand All @@ -69,10 +70,9 @@ package or when debugging this package.
%defattr(-,root,root)
%endif
%{nil}}
BuildRequires: scl-utils-build
Provides: scl-package(%scl)
%global __provides_exclude_from ^%{_libdir}/.*.so.*$
Requires: %scl_runtime
}
BuildRequires: scl-utils-build
%{?scl_package_override:%scl_package_override}
}

Expand Down

0 comments on commit 029120d

Please sign in to comment.