2011-12-15 09:53:17 +00:00
|
|
|
Summary: Utilities for alternative packaging
|
|
|
|
Name: scl-utils
|
2012-05-03 10:19:52 +00:00
|
|
|
Version: 20120503
|
2011-12-15 09:53:17 +00:00
|
|
|
Release: 1%{?dist}
|
|
|
|
License: GPLv2+
|
|
|
|
Group: Applications/File
|
|
|
|
URL: http://jnovy.fedorapeople.org/scl-utils/
|
|
|
|
Source0: http://jnovy.fedorapeople.org/scl-utils/%{name}-%{version}.tar.gz
|
2012-04-23 10:59:49 +00:00
|
|
|
Source1: macros.scl-filesystem
|
2011-12-15 09:53:17 +00:00
|
|
|
Buildroot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
|
|
|
|
|
|
|
|
%description
|
|
|
|
Run-time utility for alternative packaging.
|
|
|
|
|
|
|
|
%package build
|
|
|
|
Summary: RPM build macros for alternative packaging
|
|
|
|
Group: Applications/File
|
|
|
|
|
|
|
|
%description build
|
|
|
|
Essential RPM build macros for alternative packaging.
|
|
|
|
|
|
|
|
%prep
|
|
|
|
%setup -q
|
|
|
|
|
|
|
|
%build
|
|
|
|
export CFLAGS="$RPM_OPT_FLAGS"
|
|
|
|
make
|
|
|
|
|
|
|
|
%install
|
|
|
|
rm -rf %buildroot
|
|
|
|
mkdir -p %buildroot%{_sysconfdir}/rpm
|
|
|
|
mkdir -p %buildroot%{_sysconfdir}/scl/prefixes
|
|
|
|
mkdir -p %buildroot/opt/rh
|
2012-04-13 14:54:53 +00:00
|
|
|
install -d -m 755 %buildroot%{_mandir}/man1
|
2011-12-15 09:53:17 +00:00
|
|
|
make install DESTDIR=%buildroot
|
2012-04-23 10:59:49 +00:00
|
|
|
cat %SOURCE1 >> %buildroot%{_sysconfdir}/rpm/macros.scl
|
2011-12-15 09:53:17 +00:00
|
|
|
|
|
|
|
%clean
|
|
|
|
rm -rf %buildroot
|
|
|
|
|
|
|
|
%files
|
|
|
|
%defattr(-,root,root,-)
|
|
|
|
%dir /opt/rh
|
|
|
|
%dir %{_sysconfdir}/scl/prefixes
|
|
|
|
%{_bindir}/scl
|
|
|
|
%{_bindir}/scl_enabled
|
2012-04-13 14:54:53 +00:00
|
|
|
%{_mandir}/man1/*
|
2011-12-15 09:53:17 +00:00
|
|
|
|
|
|
|
%files build
|
|
|
|
%defattr(-,root,root,-)
|
2012-01-25 13:25:36 +00:00
|
|
|
%{_sysconfdir}/rpm/macros.scl
|
2011-12-15 09:53:17 +00:00
|
|
|
|
|
|
|
%changelog
|
2012-05-03 10:19:52 +00:00
|
|
|
* Thu May 03 2012 Jindrich Novy <jnovy@redhat.com> 20120503-1
|
|
|
|
- avoid doublefree corruption when reading commands from stdin
|
|
|
|
|
2012-04-23 10:59:49 +00:00
|
|
|
* Mon Apr 22 2012 Jindrich Novy <jnovy@redhat.com> 20120423-1
|
|
|
|
- keep filesystem macros out of the main sources as
|
|
|
|
it is distro-dependent
|
|
|
|
|
2012-04-13 14:54:53 +00:00
|
|
|
* Fri Apr 13 2012 Jindrich Novy <jnovy@redhat.com> 20120413-1
|
|
|
|
- filesystem ownership by meta package
|
|
|
|
- add man page
|
|
|
|
- fix memory leak when parsing commands from stdin
|
|
|
|
- use more descriptive error message if /etc/prefixes is missing
|
|
|
|
|
2012-02-29 13:30:42 +00:00
|
|
|
* Wed Feb 29 2012 Jindrich Novy <jnovy@redhat.com> 20120229-1
|
|
|
|
- do not prepend scl_* prefix to package names
|
|
|
|
- unify package naming to <SCL>-package-version
|
|
|
|
- add scl --list functionality to list available SCLs
|
|
|
|
|
2012-02-09 07:46:14 +00:00
|
|
|
* Thu Feb 09 2012 Jindrich Novy <jnovy@redhat.com> 20120209-1
|
|
|
|
- fix minor bugs (#788194)
|
|
|
|
- clear temp files
|
|
|
|
- handle commands from stdin properly
|
|
|
|
- run command even if ran as "scl enable SCL command" from already
|
|
|
|
enabled SCL
|
|
|
|
|
2012-01-25 13:25:36 +00:00
|
|
|
* Wed Jan 25 2012 Jindrich Novy <jnovy@redhat.com> 20120125-1
|
|
|
|
- remove dsc macros
|
|
|
|
- trigger scl-utils-build BR inclusion while using scl macros
|
|
|
|
|
2012-01-11 10:19:49 +00:00
|
|
|
* Wed Jan 11 2012 Jindrich Novy <jnovy@redhat.com> 20120111-1
|
|
|
|
- add "dsc" alias to "scl" utility
|
|
|
|
|
2011-12-15 09:53:17 +00:00
|
|
|
* Wed Dec 14 2011 Jindrich Novy <jnovy@redhat.com> 20111214-1
|
|
|
|
- initial review fixes (#767556)
|
|
|
|
|
|
|
|
* Fri Dec 9 2011 Jindrich Novy <jnovy@redhat.com> 20111209-1
|
|
|
|
- allow to use dsc_* macros and dsc* package naming
|
|
|
|
|
|
|
|
* Wed Nov 16 2011 Jindrich Novy <jnovy@redhat.com> 20111116-1
|
|
|
|
- package is now named scl-utils
|
|
|
|
|
|
|
|
* Mon Oct 17 2011 Jindrich Novy <jnovy@redhat.com> 20111017-1
|
|
|
|
- initial packaging for upstream
|
|
|
|
|
|
|
|
* Thu Sep 21 2011 Jindrich Novy <jnovy@redhat.com> 0.1-14
|
|
|
|
- define %%_defaultdocdir to properly relocate docs into
|
|
|
|
a stack
|
|
|
|
- document a way how to pass command to stack via stdin
|
|
|
|
|
|
|
|
* Wed Jun 22 2011 Jindrich Novy <jnovy@redhat.com> 0.1-13
|
|
|
|
- fix Stack meta config configuration
|
|
|
|
|
|
|
|
* Fri Jun 17 2011 Jindrich Novy <jnovy@redhat.com> 0.1-12
|
|
|
|
- use own Stack path configuration mechanism
|
|
|
|
|
|
|
|
* Fri Jun 17 2011 Jindrich Novy <jnovy@redhat.com> 0.1-11
|
|
|
|
- avoid redefinition of %%_root* macros by multiple
|
|
|
|
occurence of %%stack_package
|
|
|
|
- make the Stack root path configurable
|
|
|
|
|
|
|
|
* Tue Jun 14 2011 Jindrich Novy <jnovy@redhat.com> 0.1-10
|
|
|
|
- stack utility allows to read command from stdin
|
|
|
|
|
|
|
|
* Mon Jun 13 2011 Jindrich Novy <jnovy@redhat.com> 0.1-9
|
|
|
|
- introduce stack enablement tracking
|
|
|
|
- introduce "stack_enabled" helper utility to let a stack
|
|
|
|
application figure out which stacks are actually enabled
|
|
|
|
- disallow running stacks recursively
|
|
|
|
|
|
|
|
* Mon Jun 13 2011 Jindrich Novy <jnovy@redhat.com> 0.1-8
|
|
|
|
- stack utility returns executed commands' exit value
|
|
|
|
|
|
|
|
* Fri Jun 10 2011 Jindrich Novy <jnovy@redhat.com> 0.1-7
|
|
|
|
- fix possible segfault in the stack utility
|
|
|
|
|
|
|
|
* Fri Jun 10 2011 Jindrich Novy <jnovy@redhat.com> 0.1-6
|
|
|
|
- %%stack_name: initial part of stack prefix and name of
|
|
|
|
meta package providing scriptlets
|
|
|
|
- %%stack_prefix: stack namespacing part to be prepended to
|
|
|
|
original non-stack package name, can be used for Provides
|
|
|
|
namespacing as well
|
|
|
|
- %%stack_runtime: run-time package name providing scriptlets
|
|
|
|
- %%stack_require: macro to define dependency to other stacks
|
|
|
|
|
|
|
|
* Thu Jun 09 2011 Jindrich Novy <jnovy@redhat.com> 0.1-5
|
|
|
|
- split the package into two - runtime and build part
|
|
|
|
- decrease verbosity when enabling a stack
|
|
|
|
|
|
|
|
* Wed Jun 08 2011 Jindrich Novy <jnovy@redhat.com> 0.1-4
|
|
|
|
- prepend stack package with stack_* to prevent namespace
|
|
|
|
conflicts with core packages
|
|
|
|
|
|
|
|
* Thu Jun 02 2011 Jindrich Novy <jnovy@redhat.com> 0.1-3
|
|
|
|
- introduce metapackage concept
|
|
|
|
|
|
|
|
* Wed Jun 01 2011 Jindrich Novy <jnovy@redhat.com> 0.1-2
|
|
|
|
- modify macros so that they don't change preamble tags
|
|
|
|
|
|
|
|
* Sun May 08 2011 Jindrich Novy <jnovy@redhat.com> 0.1-1
|
|
|
|
- initial packaging
|