- Requires: iso-codes for basic filesystem in build subpackage
- add scl_require_package() macro to depend on a particular package from the collection - fix filesystem file list - tighten runtime package dependency via scl_require() - fix _localstatedir to point to the correct path according to redhat-rpm-config - thanks to Bohuslav Kabrda for feature proposals/QA/fixes
This commit is contained in:
parent
91cab64f91
commit
f6491d184d
2
.gitignore
vendored
2
.gitignore
vendored
@ -1,4 +1,4 @@
|
|||||||
/scl
|
/scl
|
||||||
/scl.o
|
/scl.o
|
||||||
/scl.1
|
/scl.1
|
||||||
/scl-utils-20120503.tar.gz
|
/scl-utils-20120613.tar.gz
|
||||||
|
@ -19,7 +19,7 @@
|
|||||||
%global _root_datadir %{_prefix}/share
|
%global _root_datadir %{_prefix}/share
|
||||||
%global _root_sysconfdir %{_sysconfdir}
|
%global _root_sysconfdir %{_sysconfdir}
|
||||||
%global _root_sharedstatedir %{_prefix}/com
|
%global _root_sharedstatedir %{_prefix}/com
|
||||||
%global _root_localstatedir %{_prefix}/var
|
%global _root_localstatedir %{_localstatedir}
|
||||||
%global _root_libdir %{_exec_prefix}/%{_lib}
|
%global _root_libdir %{_exec_prefix}/%{_lib}
|
||||||
%global _root_includedir %{_prefix}/include
|
%global _root_includedir %{_prefix}/include
|
||||||
%global _root_infodir %{_datadir}/info
|
%global _root_infodir %{_datadir}/info
|
||||||
@ -33,7 +33,7 @@
|
|||||||
%global _datadir %{_prefix}/share
|
%global _datadir %{_prefix}/share
|
||||||
%global _sysconfdir %{_scl_root}/etc
|
%global _sysconfdir %{_scl_root}/etc
|
||||||
%global _sharedstatedir %{_prefix}/com
|
%global _sharedstatedir %{_prefix}/com
|
||||||
%global _localstatedir %{_prefix}/var
|
%global _localstatedir %{_scl_root}/var
|
||||||
%global _libdir %{_exec_prefix}/%{_lib}
|
%global _libdir %{_exec_prefix}/%{_lib}
|
||||||
%global _includedir %{_prefix}/include
|
%global _includedir %{_prefix}/include
|
||||||
%global _infodir %{_datadir}/info
|
%global _infodir %{_datadir}/info
|
||||||
@ -44,5 +44,6 @@
|
|||||||
BuildRequires: scl-utils-build
|
BuildRequires: scl-utils-build
|
||||||
}}
|
}}
|
||||||
|
|
||||||
%scl_require() %{_scl_prefix}/%1/enable
|
%scl_require() %{_scl_prefix}/%1/enable, %1
|
||||||
|
%scl_require_package() %1-%2
|
||||||
|
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
%scl_files %{expand:
|
%scl_files %{expand:
|
||||||
%dir %attr(555,root,root) %{_scl_root}
|
%dir %attr(555,root,root) %{_scl_root}
|
||||||
%{_scl_scripts}
|
%dir %attr(555,root,root) %{_scl_scripts}
|
||||||
%{_scl_scripts}/enable
|
%{_scl_scripts}/enable
|
||||||
%{_root_sysconfdir}/scl/prefixes/%scl
|
%{_root_sysconfdir}/scl/prefixes/%scl
|
||||||
%{_scl_root}/bin
|
%{_scl_root}/bin
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
Summary: Utilities for alternative packaging
|
Summary: Utilities for alternative packaging
|
||||||
Name: scl-utils
|
Name: scl-utils
|
||||||
Version: 20120503
|
Version: 20120613
|
||||||
Release: 1%{?dist}
|
Release: 1%{?dist}
|
||||||
License: GPLv2+
|
License: GPLv2+
|
||||||
Group: Applications/File
|
Group: Applications/File
|
||||||
@ -15,6 +15,7 @@ Run-time utility for alternative packaging.
|
|||||||
%package build
|
%package build
|
||||||
Summary: RPM build macros for alternative packaging
|
Summary: RPM build macros for alternative packaging
|
||||||
Group: Applications/File
|
Group: Applications/File
|
||||||
|
Requires: iso-codes
|
||||||
|
|
||||||
%description build
|
%description build
|
||||||
Essential RPM build macros for alternative packaging.
|
Essential RPM build macros for alternative packaging.
|
||||||
@ -51,6 +52,15 @@ rm -rf %buildroot
|
|||||||
%{_sysconfdir}/rpm/macros.scl
|
%{_sysconfdir}/rpm/macros.scl
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Wed Jun 13 2012 Jindrich Novy <jnovy@redhat.com> 20120613-1
|
||||||
|
- Requires: iso-codes for basic filesystem in build subpackage
|
||||||
|
- add scl_require_package() macro to depend on a particular package
|
||||||
|
from the collection
|
||||||
|
- fix filesystem file list
|
||||||
|
- tighten runtime package dependency via scl_require()
|
||||||
|
- fix _localstatedir to point to the correct path according to redhat-rpm-config
|
||||||
|
- thanks to Bohuslav Kabrda for feature proposals/QA/fixes
|
||||||
|
|
||||||
* Thu May 03 2012 Jindrich Novy <jnovy@redhat.com> 20120503-1
|
* Thu May 03 2012 Jindrich Novy <jnovy@redhat.com> 20120503-1
|
||||||
- avoid doublefree corruption when reading commands from stdin
|
- avoid doublefree corruption when reading commands from stdin
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user