OSDN Git Service

Changed mirror again, add sed.spec
authorHe Chenlan <210hcl@gmail.com>
Thu, 4 Feb 2021 14:07:37 +0000 (22:07 +0800)
committerHe Chenlan <210hcl@gmail.com>
Thu, 4 Feb 2021 14:07:37 +0000 (22:07 +0800)
glibc.spec
nano.spec
sed.spec [new file with mode: 0644]

index aaee038..884b3c8 100644 (file)
@@ -35,8 +35,8 @@ Group:          System/Libraries
 Version:        2.32
 Release:        1
 URL:            https://www.gnu.org/software/libc/
-Source:         https://mirror.sjtu.edu.cn/gnu/glibc/glibc-%{version}.tar.xz
-Source1:        https://mirror.sjtu.edu.cn/gnu/glibc/glibc-%{version}.tar.xz.sig
+Source:         https://mirrors.ustc.edu.cn/gnu/glibc/glibc-%{version}.tar.xz
+Source1:        https://mirrors.ustc.edu.cn/gnu/glibc/glibc-%{version}.tar.xz.sig
 
 %if %{with fast_build} || %{build_utils} && %{without build_all}
 %define build_profile 0
index 9a6a831..65a04a8 100644 (file)
--- a/nano.spec
+++ b/nano.spec
@@ -4,8 +4,8 @@ Release: 0
 Summary: A small, friendly text editor
 License: GPLv3+
 URL: https://nano-editor.org/
-Source0: https://mirror.sjtu.edu.cn/gnu/%{name}/%{name}-%{version}.tar.xz
-Source1: https://mirror.sjtu.edu.cn/gnu/%{name}/%{name}-%{version}.tar.xz.sig
+Source0: https://mirrors.ustc.edu.cn/gnu/%{name}/%{name}-%{version}.tar.xz
+Source1: https://mirrors.ustc.edu.cn/gnu/%{name}/%{name}-%{version}.tar.xz.sig
 Source2: nanorc
 
 %description
diff --git a/sed.spec b/sed.spec
new file mode 100644 (file)
index 0000000..088718e
--- /dev/null
+++ b/sed.spec
@@ -0,0 +1,32 @@
+Summary: A Stream-Oriented Non-Interactive Text Editor
+Name: sed
+Version: 4.8
+Release: 1
+License: GPLv3+
+URL: https://www.gnu.org/software/sed/
+Source0: https://mirrors.ustc.edu.cn/gnu/%{name}/%{name}-%{version}.tar.xz
+Source1: https://mirrors.ustc.edu.cn/gnu/%{name}/%{name}-%{version}.tar.xz.sig
+
+%description
+sed is commonly used to filter text, i.e., it takes text input, performs some
+operation (or set of operations) on it, and outputs the modified text. sed is
+typically used for extracting part of a file using pattern matching or
+substituting multiple occurrences of a string within a file.
+
+%prep
+%setup -q
+
+%build
+%configure --without-included-regex
+make %{?_smp_mflags} V=1
+
+%check
+make %{?_smp_mflags} check
+
+%install
+%make_install
+
+%files
+
+
+%changelog