forked from jhuntwork/merelinux
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
1 changed file
with
10 additions
and
20 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,32 +1,32 @@ | ||
Summary: GNU Patch | ||
Name: patch | ||
Version: 2.6.1 | ||
Release: 3 | ||
Release: 1 | ||
Group: System Environment/Base | ||
License: GPLv2 | ||
Distribution: LightCube OS | ||
Vendor: LightCube Solutions | ||
URL: http://savannah.gnu.org/projects/patch | ||
Source0: ftp://ftp.gnu.org/gnu/patch/patch-2.6.1.tar.xz | ||
Source0: http://ftp.gnu.org/gnu/patch/patch-2.6.1.tar.xz | ||
|
||
BuildRequires: digest(sha1:%{SOURCE0}) = 8cc3485aa433b8feb70f6783efb766554230fee8 | ||
BuildRequires: ed | ||
|
||
%description | ||
Patch allows merging of textual changes | ||
|
||
%prep | ||
%setup -q | ||
%{config_musl} | ||
|
||
%build | ||
export CFLAGS='-Os -pipe' | ||
export CFLAGS='-D_GNU_SOURCE -Os' | ||
./configure \ | ||
--prefix=/usr | ||
--prefix='' | ||
make %{PMFLAGS} | ||
make check | ||
#make check | ||
|
||
%install | ||
make prefix=%{buildroot}/usr mandir=%{buildroot}/usr/share/man install | ||
make prefix=%{buildroot} mandir=%{buildroot}/share/man install | ||
%{compress_man} | ||
%{strip} | ||
|
||
|
@@ -35,19 +35,9 @@ rm -rf %{buildroot} | |
|
||
%files | ||
%defattr(-,root,root) | ||
/usr/bin/patch | ||
/usr/share/man/man1/patch.1.bz2 | ||
/bin/patch | ||
/share/man/man1/patch.1.bz2 | ||
|
||
%changelog | ||
* Wed Oct 26 2011 Jeremy Huntwork <[email protected]> - 2.6.1-3 | ||
- Optimize for size | ||
- Remove testsuite patch since ed is available | ||
|
||
* Sun Apr 11 2010 Jeremy Huntwork <[email protected]> - 2.6.1-2 | ||
- Add in a patch for the testsuite | ||
|
||
* Thu Apr 01 2010 Jeremy Huntwork <[email protected]> - 2.6.1-1 | ||
- Upgrade to 2.6.1 | ||
|
||
* Fri Aug 14 2009 Jeremy Huntwork <[email protected]> - | ||
* Mon Apr 16 2012 Jeremy Huntwork <[email protected]> - 2.6.1-1 | ||
- Initial version |