rpms/quotatool/devel import.log, NONE, 1.1 quotatool-1.4.10_MAKEFILE_DESTDIR.patch, NONE, 1.1 quotatool.spec, NONE, 1.1 .cvsignore, 1.1, 1.2 sources, 1.1, 1.2

xiashing xiashing at fedoraproject.org
Thu Sep 17 07:56:06 UTC 2009


Author: xiashing

Update of /cvs/pkgs/rpms/quotatool/devel
In directory cvs1.fedora.phx.redhat.com:/tmp/cvs-serv11302/devel

Modified Files:
	.cvsignore sources 
Added Files:
	import.log quotatool-1.4.10_MAKEFILE_DESTDIR.patch 
	quotatool.spec 
Log Message:
Initial import (#520832)


--- NEW FILE import.log ---
quotatool-1_4_10-5_fc11:HEAD:quotatool-1.4.10-5.fc11.src.rpm:1253173885

quotatool-1.4.10_MAKEFILE_DESTDIR.patch:
 Makefile |    8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)

--- NEW FILE quotatool-1.4.10_MAKEFILE_DESTDIR.patch ---
diff -up quotatool-1.4.10/Makefile.OLD quotatool-1.4.10/Makefile
--- quotatool-1.4.10/Makefile.OLD	2007-09-24 13:44:43.000000000 -0600
+++ quotatool-1.4.10/Makefile	2009-09-15 09:30:08.000000000 -0600
@@ -65,8 +65,8 @@ $(prog): $(objs) 
 men   :=   $(wildcard $(srcdir)/man/*)
 install: $(prog)
 	$(NORMAL_INSTALL)
-	$(INSTALL_PROGRAM) $(srcdir)/$(prog) $(bindir)/$(prog)
-	$(foreach man,$(men),$(INSTALL_DATA) $(man) $(mandir)/man$(subst .,,$(suffix $(man)))/$(notdir $(man)))
+	$(INSTALL_PROGRAM) $(srcdir)/$(prog) $(DESTDIR)$(bindir)/$(prog)
+	$(foreach man,$(men),$(INSTALL_DATA) $(man) $(DESTDIR)$(mandir)/man$(subst .,,$(suffix $(man)))/$(notdir $(man)))
 
 uninstall:
 	$(NORMAL_UNINSTALL)
@@ -88,8 +88,8 @@ clean: 
 	rm -f $(foreach sfix,$(cfixes),$(addsuffix /*$(sfix),$(dirs)))
 	rm -f $(addsuffix /core,$(dirs))
 	rm -f $(prog) 
-	rm -f $(foreach sfix,$(cfixes),$(addsuffix /*$(sfix),$(srcdir)/man))
-	rm -f $(foreach sfix,$(cfixes),$(addsuffix /*$(sfix),$(srcdir)/tools))
+	rm -f $(foreach sfix,$(cfixes),$(addsuffix /*$(sfix),$(DESTDIR)$(srcdir)/man))
+	rm -f $(foreach sfix,$(cfixes),$(addsuffix /*$(sfix),$(DESTDIR)$(srcdir)/tools))
 
 
 dcfixes    :=   .d  


--- NEW FILE quotatool.spec ---
Name:           quotatool
Version:        1.4.10
Release:        5%{?dist}
Summary:        A utility to set filesystem quotas

Group:          Applications/System
License:        GPLv2
URL:            http://quotatool.ekenberg.se
Source0:        http://quotatool.ekenberg.se/%{name}-%{version}.tar.gz

#Patch makes the Makefile honor DESTDIR
#Upstream was sent an updated Makefile via email
Patch0:         quotatool-%{version}_MAKEFILE_DESTDIR.patch
BuildRoot:      %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)

%description
Quotatool is a utility to set filesystem quotas from the commandline.
It is suitable for use in scripts and other non-interactive situations.

%prep
%setup -q
%patch0 -p1 -b .destdir

%build
%configure
make %{?_smp_mflags}

%install
rm -rf $RPM_BUILD_ROOT
mkdir -p $RPM_BUILD_ROOT%{_bindir}
mkdir -p $RPM_BUILD_ROOT%{_mandir}/man8

make install DESTDIR=$RPM_BUILD_ROOT

%clean
rm -rf $RPM_BUILD_ROOT

%files
%defattr(-,root,root,-)
%doc README TODO COPYING ChangeLog
%{_bindir}/quotatool
%{_mandir}/man8/quotatool.8.gz

%changelog
* Wed Sep 16 2009 Xia Shing Zee <XiaShing at gmail.com> 1.4.10-5
- Makefile and Makefile.old in wrong order.

* Wed Sep 16 2009 Xia Shing Zee <XiaShing at gmail.com> 1.4.10-4
- Makefile.patch was renamed
- Source0 editted to be consistent with the name and version of the package
- %%patch editted to make a backup of the Makefile
- New Makefile sent to upstream
- rm -rf $RPM_BUILD_ROOT was removed from %%install

* Tue Sep 08 2009 Xia Shing Zee <XiaShing at gmail.com> 1.4.10-3
- Fixed some changelog and spec file errors

* Thu Sep 03 2009  Xia Shing Zee <XiaShing at gmail.com> 1.4.10-2
- Comments added above Patch0. %%doc cleaned up.

* Thu Sep 03 2009 Xia Shing Zee <XiaShing at gmail.com> 1.4.10-1
- Initial RPM release


Index: .cvsignore
===================================================================
RCS file: /cvs/pkgs/rpms/quotatool/devel/.cvsignore,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -p -r1.1 -r1.2
--- .cvsignore	17 Sep 2009 07:03:04 -0000	1.1
+++ .cvsignore	17 Sep 2009 07:56:06 -0000	1.2
@@ -0,0 +1 @@
+quotatool-1.4.10.tar.gz


Index: sources
===================================================================
RCS file: /cvs/pkgs/rpms/quotatool/devel/sources,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -p -r1.1 -r1.2
--- sources	17 Sep 2009 07:03:05 -0000	1.1
+++ sources	17 Sep 2009 07:56:06 -0000	1.2
@@ -0,0 +1 @@
+d0eb99718a0dbc02189993d8667ef9b1  quotatool-1.4.10.tar.gz




More information about the fedora-extras-commits mailing list