rpms/shortrpm/F-11 shortrpm.spec, NONE, 1.1 .cvsignore, 1.1, 1.2 sources, 1.1, 1.2

Lubomir Rintel lkundrak at fedoraproject.org
Wed Apr 29 04:54:23 UTC 2009


Author: lkundrak

Update of /cvs/pkgs/rpms/shortrpm/F-11
In directory cvs1.fedora.phx.redhat.com:/tmp/cvs-serv28313/F-11

Modified Files:
	.cvsignore sources 
Added Files:
	shortrpm.spec 
Log Message:
Initial import of shortrpm


--- NEW FILE shortrpm.spec ---
Name:           shortrpm
Version:        1.0
Release:        1%{?dist}
Summary:        Short-circuit binary RPM package build

Group:          Development/Tools
License:        GPLv2+
URL:            http://v3.sk/~lkundrak/shortrpm
Source0:        http://v3.sk/~lkundrak/shortrpm/shortrpm-%{version}.tar.gz
BuildRoot:      %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)

Requires:       rpm-build

%description
shortrpm tricks rpmbuild(1) into thinking certain scriptlets in SPEC file
are empty, effectively skipping their run and proceeding to build the binary
package from files from previous %%install scriptlet run in BuildRoot. The
trickery only takes place if both -bb and --short-circuit options are
specified.


%prep
%setup -q


%build
make %{?_smp_mflags} CFLAGS="%{optflags}" PREFIX="%{_prefix}"


%install
rm -rf $RPM_BUILD_ROOT
make install DESTDIR=$RPM_BUILD_ROOT PREFIX="%{_prefix}"
install -d $RPM_BUILD_ROOT%{_sysconfdir}/profile.d
install -pm 0644 shortrpm.sh shortrpm.csh \
        $RPM_BUILD_ROOT%{_sysconfdir}/profile.d


%check
make test


%clean
rm -rf $RPM_BUILD_ROOT


%files
%defattr(-,root,root,-)
%{_bindir}/shortrpm
%{_libexecdir}/shortrpm
%{_mandir}/man1/shortrpm.1.gz
%config(noreplace) %{_sysconfdir}/profile.d/*
%doc COPYING


%changelog
* Mon Apr 27 2009 Lubomir Rintel <lkundrak at v3.sk> - 1.0-1
- Initial packaging


Index: .cvsignore
===================================================================
RCS file: /cvs/pkgs/rpms/shortrpm/F-11/.cvsignore,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -p -r1.1 -r1.2
--- .cvsignore	29 Apr 2009 03:17:01 -0000	1.1
+++ .cvsignore	29 Apr 2009 04:53:53 -0000	1.2
@@ -0,0 +1 @@
+shortrpm-1.0.tar.gz


Index: sources
===================================================================
RCS file: /cvs/pkgs/rpms/shortrpm/F-11/sources,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -p -r1.1 -r1.2
--- sources	29 Apr 2009 03:17:02 -0000	1.1
+++ sources	29 Apr 2009 04:53:53 -0000	1.2
@@ -0,0 +1 @@
+5ce79f81c50159dfc8c9d20503809df8  shortrpm-1.0.tar.gz




More information about the scm-commits mailing list